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.
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.
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.