facebook

JBoss exploded redeploy issues [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #220481 Reply

    Franck
    Member

    Hi,

    I am having some trouble with redeploying an EAR project onto JBOSS (3.2.6) in Windows.

    It does not work when deploying in ‘exploded’ mode. It does work when deploying in ‘packaged’ mode.

    In the ‘exploded’ mode Windows is complaining that there is a sharing violation for some sort of (external) library in the EAR file.

    For now, I’ll keep on using the ‘packaged’ mode. But if you have information about this, please let me know.

    Cheers,
    Franck

    #220490 Reply

    Riyad Kalla
    Member

    Franck,
    To use exploded deployment, you need to first shut down JBoss, then deploy your app and then restart JBoss. THe reason there is a sharing violation is because JBoss (and Tomcat and any other app server on WIndows) aquires read-locks on your JAR files in your app for class resolution. So when MyEclipse tries to go and deploy your project files ontop of those already under JBoss, it cannot remove the old files (e.g. open a movie file with media player, and then try and go delete it… you can’t). So once you do the exploded deployment manually, MyEclipse will hotsync any changes from that point forward out to the server for you and then you don’t need to worry about hitting “redeploy” all the time manually.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JBoss exploded redeploy issues [Closed]

You must be logged in to post in the forum log in