Thursday, January 13, 2011

Deploying Java App .war (web archive) through commandline in Weblogic

I am using full paths below for  java command and  location of weblogic.jar so that its easier.

bash-3.00$ /scratch/test/Oracle/sriram/jrockit_160_22_D1.1.1-3/bin/java -classpath /scratch/test/Oracle/sriram/wlserver_10.3/server/lib/weblogic.jar weblogic.Deployer -adminurl t3://adchost.us.apple.com:3333 -username sriram -password xxxx -deploy ./test2.war -id deploy1
weblogic.Deployer invoked with options:  -adminurl t3://adchost.us.apple.com:3333 -username sriram -deploy ./test2.war -id deploy1
<Jan 13, 2011 3:20:47 AM PST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, test2.war [archive: /scratch/aime1/Oracle/sriram/user_projects/domains/sri/autodeploy/./test2.war], to configured targets.>
<Jan 13, 2011 3:20:48 AM PST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'test2.war'.>
<Jan 13, 2011 3:20:48 AM PST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'test2.war'.>
[Deployer:149184]The application 'test2.war' was autodeployed and may only be redeployed by touching REDEPLOY file in the domain autodeploy directory for respected application.
bash-3.00$

No comments:

Post a Comment