facebook

Hot Deployment Problems with MyEclipse3.8.4 and JBOSS 4.0SP1

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

    jcorbin4607
    Member

    I have yet to successfully see MyEclipseIDE 3.8.4 (Eclipse 3.0.1) hot deploy EJB changes to an exploded EAR. Everytime I make a source change I get an error that the hot deployment failed. I finally set the flag to ignore the message.

    Shouldn’t changes be hot deployed to a running server against an exploded ear? Suggestions, Ideas???

    I am running Windows XP Service Crash 2
    MyEclipseIDE 3.8.4
    Eclipse 3.0.1
    Deploying to JBOSS 4.0 SP1
    Using Sun JDK 1.5_01

    My ear consist of an EJB and Web Module with a dependent jar.

    J.D.

    #226302 Reply

    Riyad Kalla
    Member

    JD,
    The hot deploy IS working if you are seeing the failure message. MyEclipse ‘portion’ of the Hot deploy step is to get the file out to the app server, after that it is up to the app server to handle the file correctly… MyEclipse does not instrument the app server in anyway.

    So for example, if your app server doesn’t support hot deploy, or you have it turned off, OR you are changing the structure of your class file such that it is too far changed for a successful hot deploy, then hot deploy will “fail” at the app server step in all these cases.

    You should likely be aware of the fact that changing the structure of your class (methods, members, etc.) will likely cause hot deploy to fail on the server side 9 times out of 10, but if you are just changing method implementations then it should mostly work.

    Do you actually see reload errors from JBoss in the console? I totally ignore that dialog you are talking about and just watch the messages in the console to see if Tomcat reloads my class or not.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Hot Deployment Problems with MyEclipse3.8.4 and JBOSS 4.0SP1

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