-
1. Re: Use updated classes/jsp pages without reboot
francis17101970 Sep 10, 2008 10:52 AM (in response to zlf)why rebooting ? it's really not necessary. Simply redeploy your ear package and the application will be reloaded.
A shortcut is deploying the ear as exploded directory.
Then change the timestamp of META-INF/application.xml file
In unix
$ touch META-INF/application.xml
or simply add an empty space to the file from a text editor and save it.
regards -
2. Re: Use updated classes/jsp pages without reboot
francis17101970 Sep 10, 2008 10:57 AM (in response to zlf)ops sorry I didn't read correclty your question: so you don't want even to reload your ear...
Go to http://localhost:8080/jmx-console/
1. see section jboss.web
2. click on host=localhost,path=/Test,type=Loader (here Test is web application name)
3. make reloadable attribute’s value = true
4. click on "Apply Changes" button
5. you will see INFO [StandardContext] Reloading this Context has started message displayed in jboss console.
...well I have tested this but only with a .war module, not with an .ear
Let me know if it works. -
3. Re: Use updated classes/jsp pages without reboot
zlf Sep 10, 2008 1:18 PM (in response to zlf)Thank you for your reply.
But unfortunately, it does not work for my web app.
It tried host=localhost,path=/jbossws,type=Loader, does not work as well.
I'm using JBoss4.2.2. Can you tell me your JBoss version? Thanks