-
1. Re: hot redeploy a single WEB-INF/classes accessed through E
bhaal Nov 6, 2006 7:08 AM (in response to msprague)Create folder Domain.ear and Domain.war in it.
Then unpack ear and move all files to the consecutive folders. It will work.
Deploy will auto load new classes.
Problem is when you want to create symbolic links. I dont know why Jboss deployer dont follow symbolic links. -
2. Re: hot redeploy a single WEB-INF/classes accessed through E
msprague Nov 6, 2006 9:06 AM (in response to msprague)Thanks, loading new classes works correctly.
Although, I was hoping for more like the ability to hot deploy class/method signature changes as well as new classes.
Straight web apps in a war can handle this type of change, but it doesn't seem that the ear will do it....
for now I am getting by with a combination of the hot deploy and eclipse hot swap to do most of the work... But I still need to stop the server and redeploy for signature changes.. -
3. Re: hot redeploy a single WEB-INF/classes accessed through E
jaikiran Nov 6, 2006 9:20 AM (in response to msprague)How about the steps mentioned at:
http://wiki.jboss.org/wiki/Wiki.jsp?page=RedeployAnApplicationWhenChangeAFileInAnExplodedDeploymentDirectory
And also some deployment tips at:
http://wiki.jboss.org/wiki/Wiki.jsp?page=DeployTipsAndBuildSampleScripts -
4. Re: hot redeploy a single WEB-INF/classes accessed through E
msprague Nov 6, 2006 10:19 AM (in response to msprague)With my "beyond complex" application, redeploying the entire application uses way too much permgen space and after the first redeploy I am using 324 meg of pergen with a total jvm size of 764 meg. Add that to my db, IDE and application, I run out of memory at 2 gig pretty quick.
There are several parts to our app that are less than desirable for development, including several class caches baked in at several layers. I can't re-architect the application for an improvement in development only.
So, I have tried the links mentioned but they don't help with my use case. I really need the hot redeploy of one class to work to eliminate the redeploy pain.