facebook

Advanced Configuration – Multiple Tomcat 5 Instances

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

    xbranko
    Member

    Hi,

    Section 4 in the following document:
    http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-5/RUNNING.txt?rev=1.5&view=auto
    talks about setting tomcat to be able to run multiple instances from a single binary installation.

    It seems that MyEclipse currently does not handle this setup, or webapps directory? Perhaps I’m not setting things up correctly? If anyone has a tip, please help!

    Thank you,
    Branko

    #208344 Reply

    Riyad Kalla
    Member

    We don’t support running multiple instances, but I’m not sure what the problem you are having with Webapps dir is… can you explain? When you setup a deployment for your project, depending on the application server, it will be deployed to the appropriate location in that app server. For Tomcat, that is the “webapps” dir.

    #208394 Reply

    xbranko
    Member

    When I tried to deploy a webapp the first time, it created WEB-INF and META-INF directories on the same level as webapps (which is valid in case of a single webapp). When I undeployed, it removed config directory as well. Now, as I prepared to give you an example with a hello world class, everything worked just fine, which makes me believe that it was me who didn’t do things right the first time. But, as a setup where deployment is not necessary works just fine, the only thing left is support for multiple instances.

    It would be great if there was support for multiple instances. If one could override and specify CATALINA_BASE on a per-project basis, may be somewhere under Properties->MyEclipse-Web, that would be just perfect!
    Any chance of that happening?

    Thank you for your help!

    Branko

    #208395 Reply

    Riyad Kalla
    Member

    When I tried to deploy a webapp the first time, it created WEB-INF and META-INF directories on the same level as webapps

    Our deployment tool does support deploying the ROOT app, which is probably what happened if no context root is given under Project Properties > MyEclipse-Web. This is likely what happened.

    Any chance of that happening?

    Sure there is. We are looking at some possible application runner enhancements in future (3.9+) builds because more people are asking for these types of enhancements. These aren’t simple and would likely require a large effort on our part, so probably won’t be forthcomming in the next few months, but possibly later.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Advanced Configuration – Multiple Tomcat 5 Instances

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