facebook

How do I do Hot Deployment? [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #220637 Reply

    bliss_14
    Member

    Hi,

    I am using MyEclipse3.0 .

    It’s very boring to me to restart for every single class file change..Is there any option for hot deployment without restarting the server?. Right now I am using Tomcat.

    or else any later version???

    #220649 Reply

    Riyad Kalla
    Member

    bliss,
    1) Use exploded deployment, this will automatically enable Hot Syncing of changed files immediately to your app server from MyEclipse
    2) Load up the Tomcat Administrator, navigate to your context configuration, and change “Reloadable” from ‘false’ to ‘true’. Hit “Save” and then “Commit”.
    3) Restart Tomcat

    Now your changes should be reloaded every 1-10 seconds or so… Tomcat scans for changes and will reload them basically.

    #220654 Reply

    bliss_14
    Member

    I am using exploded deployment only

    I couldn’t find anything like the Tomcat Administrator.

    Can u explain me more?

    when I navigate to windows->preferences->j2ee->application server->tomcat-5. I don’t find anything like reloadable

    Can u tell me that where can I find?

    Thanks

    #220655 Reply

    Riyad Kalla
    Member

    Tomcat Administrator is an adminnstrative application that ships with Tomcat. If you navigate to http://localhost:8080 while Tomcat is running, you can login to the administrator using the link on the top left hand side. Note that you need to add the following user to your <tomcat dir>\conf\tomcat-users.xml file in order to have access to the Administrator app and you Manager app (for security reasons they ship them disabled outof the box:)

    
    <user username="admin" password="admin" roles="admin,manager"/>
    

    If you have any more questions please consult the Tomcat docs, I think I’ve given you enough to head off in the right direction atleast.

    #220700 Reply

    bliss_14
    Member

    Thanks for your help.
    I have done that.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: How do I do Hot Deployment? [Closed]

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