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.
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..
How about the steps mentioned at:
And also some deployment tips at:
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.