I'm not sure I understand the question?
You put your app into jboss/deploy. JBoss deploys it.
It takes a copy into jboss/tmp to ensure the integrity
of the archive. e.g. You change the archive while
it is running, you don't want it loading the wrong
version of a class.
If you update the archive however, JBoss will undeploy
the old archive and deploy the new one, in a different
directory in tmp.
If you leave the archive in jboss/deploy, the next time
you start the server it will be redeployed.
Do you really use \ when running linux? :-)
I'm sorry. Let me rephrase the question.
I'm trying to deploy to a remote JBoss server running Linux. I'm looking for an alternative other than FTPing the .Ear file to <JBoss_Dist>/deploy folder (Sorry for the '\' mixup.).
At http://remotehost:8082/ViewObjectRes//J2EE%3Aservice%3DJ2eeDeployer, I use the deploy parameter to deploy http://localhost/test.ear. The deployment goes really well, but it only seems to deploy the test.ear in the <JBoss_Dist>/tmp/deploy/Default folder. Then when I reboot the remote host, my test.ear is not deploy anymore.
Is there a way to remotely deploy to JBoss through J2EE:Service=J2eeDeployer that retains the .Ear file after reboot?
There is no way to do exactly this.
However, you can specify a remove URL in the AutoDeployer.
In jboss.jcml change the AutoDeployer to have the
The J2eeDeployer will download the ear from the location
you specify at startup, and the AutoDeployer will watch
it for changes. However, it won't get undeployed if the
website goes down.