facebook

hot-deploy wit latest MyEclipse and JBoss server not working

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #333492 Reply

    chalksb
    Participant

    HI there,
    We’re using jboss 7.1.1 and MyEclipse 10.7 on a MAC.
    Hot deploy does not work after setting the ff. to the standalone.xml file:

    <configuration>
    <jsp-configuration development=”true”/>
    </configuration>

    Are we missing something?

    Thanks!
    Chalk

    #333494 Reply

    chalksb,

    I could not replicate the issue at my end.

    For hot deployment to work please make sure “Project->Build Automatically” is switched on. Hot code replacement works (only?) if automatic build is switched on.

    Also, If you are using the Servers view to launch JBoss and are selecting “Run”, you need to stop it and select “Debug”… the server has to be running in Debug mode.

    Alternatively, please select “use auto-deploy mode” option in window > Preferences > MyEclipse > Servers > Jboss > Jboss 7.x and check if hot deployment works.

    Let us know how it works for you.

    #333495 Reply

    chalksb
    Participant

    Thanks for the reply, Pradeep.

    We actually have hot-deploy working in 2 Windows machines. But for the life of me, we can’t seem to get it to work for MAC.

    I think we got it to work once on the MAC but then the server still restarts automatically everytime a *.jsp file is changed. With the Windows machine, the server does not restart but we still see the changes to the jsp after we refresh the browser.

    I’ll try the steps you mentioned in your reply and keep you posted.

    Thanks!

    Chalk

    #333529 Reply

    chalksb
    Participant

    Found a workaround on https://community.jboss.org/message/771923 by user nilindra fernando:

    Hi,

    This 7.1.1 specific bug (https://issues.jboss.org/browse/AS7-4187) could be resolved with the following steps easily.

    1. Please make sure to add
    <configuration>
    <jsp-configuration development=”true”/>
    </configuration>
    in standalone.xml under <subsystem xmlns=”urn:jboss:domain:web:1.1″ default-virtual-server=”default-host” native=”false”>

    2. Go to jboss-as-7.1.1.Final/modules/org/jboss/as/web/main
    Place the jboss-as-web-7.1.1.Final-RECOMPILE.jar in there. You can download from http://www.datafilehost.com/download-2cb9ff04.html

    3. Open module.xml (jboss-as-7.1.1.Final/modules/org/jboss/as/web/main) and add the following line
    <!–resource-root path=”jboss-as-web-7.1.1.Final.jar”/–>
    <resource-root path=”jboss-as-web-7.1.1.Final-RECOMPILE.jar”/>

    4. You are done. Enjoy.

    #333546 Reply

    chalksb,

    Good to hear you are all set. Thanks for the workaround which might help other users who face this issue.
    Let me know if you see any other issues.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: hot-deploy wit latest MyEclipse and JBoss server not working

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