-
1. Re: How to deploy an EAr in JBOSS from the command line
peterj May 27, 2008 10:48 AM (in response to padmarathiprithvi)You are asking for the impossible. There are no plan files in JBossAS, and the way to deploy is to copy the archive to server/xxx/deploy.
-
2. Re: How to deploy an EAr in JBOSS from the command line
padmarathiprithvi May 28, 2008 1:25 AM (in response to padmarathiprithvi)Many thanks for your reply, Peter.
But i noticed the below information in Google.I also noticed that deployer.jar is there till JBOSS3.0 used for deploying from the command prompt. Currently i am using JBOSS4.2 and the following doen't work for me.
java -jar bin/deployer.jar --user
system --password manager deploy myrar.rar myplan.xml
I am not sure about the above one in JBoss4.2. Let me know if you have an idea on this.
Do we have something similar to this in JBOSS4.2 or the only way is to copy to deploy folder as you mentioned.
If so i have to follow this only option.
Thanks -
3. Re: How to deploy an EAr in JBOSS from the command line
peterj May 28, 2008 11:18 AM (in response to padmarathiprithvi)There is no deployer.jar for 4.0.x or 4.2.x (and I don't recall one in 3.2.x).
Other than copying a file to the deploy directory, you could invoke the deploy method on the MainDeployer mbean. The only caveat is that the deployment is temporary - when you restart the server you will have to redeploy the application.