Rm Deployment Cmd(NE)

Published on December 2016 | Categories: Documents | Downloads: 35 | Comments: 0 | Views: 198
of 1
Download PDF   Embed   Report

Rm Deployment Cmd(NE)

Comments

Content

#
mobetize
zanyzebraszipper
> su root
eggsenterelevator
#backup deployed rentmoola war files
RM_BACKUP_DIR=/home/mobetize/rentmoola-$(date +"%Y%m%d%H%M%S")
mkdir $RM_BACKUP_DIR
cp /webapps/jboss-eap-6.1/standalone/deployments/* $RM_BACKUP_DIR
# find jboss process id
ps -ef | grep java
# kill jboss process id (stop jboss server)
kill -9 <id>
kill -9 `ps -aef | grep java | grep -v grep | awk '{print $2}'`
# delete all jboss temporary files
rm -rf /webapps/jboss-eap-6.1/standalone/tmp/vfs/*
rm -rf /webapps/jboss-eap-6.1/standalone/deployments/*
cp /home/mobetize/deploy/rm-util.jar /uvapps/rentmoola
# copy all war files (desktop, mobile, desktop(dmo), mobile(dmo))
cp /home/mobetize/deploy/*.war /webapps/jboss-eap-6.1/standalone/deployments/
# copy rentmoola war
cp /home/mobetize/deploy/rentmoola.war /webapps/jboss-eap-6.1/standalone/deploym
ents/
# copy rentmoola demo war
cp /home/mobetize/deploy/rentmooladmo.war /webapps/jboss-eap-6.1/standalone/depl
oyments/
# copy rentmoola mobile war
cp /home/mobetize/deploy/mobile.war /webapps/jboss-eap-6.1/standalone/deployment
s/
# copy rentmoola mobile demo war
cp /home/mobetize/deploy/rentmoolamdmo.war /webapps/jboss-eap-6.1/standalone/dep
loyments/
# start jboss
cd /webapps/jboss-eap-6.1/bin
./standalone.sh -b 0.0.0.0 &
find
find
find
find
find

/webapps/jboss-eap-6.1/standalone/tmp/vfs/* -exec touch {} \;
/webapps/jboss-eap-6.1/standalone/tmp/vfs/deployment* -exec touch {} \;
/webapps/jboss-eap-6.1/standalone/tmp/vfs/deployment*/* -exec touch {} \;
/webapps/jboss-eap-6.1/standalone/tmp/vfs/temp* -exec touch {} \;
/webapps/jboss-eap-6.1/standalone/tmp/vfs/temp*/* -exec touch {} \;

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close