connect on the JVM through JMX then in openejb mbeans you have operations where you can deploy/undeploy apps. Just filling your app path and calling these methods will do the job I guess
Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-09-05 15:14 GMT+02:00 anemdhana <[email protected]>: > Sorry, didn't get you.To summarize, > > I have deployable folder, c:/dev/apps/myapp-ear > which is defined in tomee.xml with <Deployments dir="c:/dev/apps/" /> > without autoDeploy attribute in this. > If I have autoDeploy=true, then any changes made in this folder causing to > rename the ear folder as myapp-ear.unpacked and all its content is erased. > > So, I have to prefer autoDeploy=false which will not delete anything, but I > need to restart server every time I made changes in the > folder.i.e.,c:/dev/apps/myapp-ear > > How can I achieve auto deploy/reload ? > > Let me know if I have missed anything. > > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/Auto-reload-in-TomEE-tp4671624p4671666.html > Sent from the TomEE Users mailing list archive at Nabble.com.
