-
1. Re: how can i hot deploy the jars
wdfink Nov 12, 2010 8:19 AM (in response to kunal_kk15)the hotdeploy feature is only available for the deploy directory.
Archives in /lib or /server/.../lib are not hot deployed.
If you want to hot deploy jars you must it pack into the WAR/EAR file
-
2. Re: how can i hot deploy the jars
kunal_kk15 Nov 12, 2010 12:11 PM (in response to wdfink)Thanks for the reply.
Thats fine placing the jar file in the WAR, but unless i re save the web.xml it not picking up the modified classes. Even re saving of the web.xml would be fine if it re loads only the modified classes only, but i tried that its not happening though.
To hot deploy the clases i am following the steps
1. copy/replace the jar file in the lib dir of the expanded war.
2. save web.xml without any changes
3. This re loads the all the classes for that war.
as mentioned in the #3 it reloads the all the classes, thats what i dont want. The ultimate goal is to only load the updated classes only.
Is it possible to do so?
-
3. Re: how can i hot deploy the jars
wdfink Nov 12, 2010 12:44 PM (in response to kunal_kk15)No,
for hotdeploy the application is undeployed (and all depend on this also).
Than it will be deployed.
This mean the complete application is re-started with all classes.
-
4. Re: how can i hot deploy the jars
kunal_kk15 Nov 12, 2010 12:50 PM (in response to wdfink)hmm, thats what i did not want. Thats fine at least its confirmed that there is no way to load only the updated the classes, you will have to reload all the classes in that war. I can work on the other work around now.
Thanks a lot for the help.