facebook

Start & restart Tomcat in "Run" / "Debug&

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #226805 Reply

    Seldon Systems
    Participant

    I use MyEclipse 3.8.4 with the built-in Tomcat. One thing that is annoying for a former IBM WebSphere Studio 5.1 user is that when you start Tomcat (or probably any other app server supported by MyEclipse) it starts in debug mode by default. That gets annoying if you just want to run an app and you have a breakpoint somewhere in the code – Eclipse stops and switches to the debug perspective.

    Yes, I know, you can change this in the MyEclipse preferences but this misses the point IMHO – whether you want to run or debug an application is not a global preference but something you decide on a case by case base.

    So I would like the Tomcat integration (and possibly the other app servers though I just care about Tomcat) to have the following functionality:
    start in run mode (no debug)
    start in debug mode
    stop (which is already there)
    restart (in the current mode)

    #226819 Reply

    Coming from JBuilder, I’d like that too. I’d also like the feature that JBuilder has, ie, create a server.xml locally in the project workspace and run an instance of tomcat with just this web-app. This is handy if the web-app server has lots of web-apps and takes too long to start.

    I don’t know if this type of configuration is possible for other web servers, though.

    BTW, when there is a Hot Code error (due to schema change etc.) the Restart button just stops Tomcat, you have to manually start him again. It should do that automatically, or even better, reload the application.

    #226821 Reply

    Seldon Systems
    Participant

    I like the idea of having one “server.xml” per application. Tomcat start-up / shutdown slows down considerably when you have a lot of applications. WebSpere Studio had a somewhat similiar concept as JBuilder – when you configured Tomcat they copied the tomcat-users.xml and the server.xml over into Studio and then only ran Tomcat with this “private” configuration.

    #226885 Reply

    +1 for server.xml per application
    No reason to waste memory loading up web-apps and samples and other stuff I have in my tomcat install just so I can debug the one app I’m working on.

    This is a great idea.

    #227015 Reply

    Paul
    Participant

    I’ll 2nd the server.xml per web app. As ME supports more than tomcat, not sure how possible this is, but would be nice.

    #227058 Reply

    +1

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Start & restart Tomcat in "Run" / "Debug&

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