facebook

Tomcat 5.0 and Tomcat 5.5

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

    Dan Daley
    Member

    I have two project in the same workspace that use different versions of Tomcat 5.x. Can I set up another Tomcat 5.x app server correctly within the IDE? I currently set one up within My Eclipse as a Tomcat 4.x app server and that seems to work. But it would be nice to be able to have separate Tomcat 5.x app servers set up correctly within the IDE.

    I guess worst case I can either leave one set up as Tomcat 4 or move one project to another workspace.

    Thanks

    #266250 Reply

    Greg
    Member

    There will only be one Tomcat 5.x listed in the “servers” view at one time, but you can launch 2 separate Tomcat 5.x instances using the launch configurations. Here is how you can do that.

    1) Open up the Tomcat 5 Connector preference page
    2) Configure the tomcat connector to point to the 1st instance of tomcat
    3) Set it to Enable and press Apply
    4) Then expand the Tomcat 5 pref page node and select Launch
    5) Select the “Create Launch Configuration” button
    6) When the launch config dialog opens, Change the name from Tomcat 5 to “Tomcat 5 Instance 1” or whatever, select “Apply” and close the dialog
    7) Go back to the main tomcat connector page and change the Tomcat home directory to the 2nd instance
    8) repeat steps 2-6 for the 2nd instance, be sure and name the 2nd launch config “Tomcat 5 Instance 2”

    Now go to Run > Debug…, and under the MyEclipse Server node, you should see your 2 tomcat instances. You can click on either one and launch that instance of tomcat. Hope this helps.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Tomcat 5.0 and Tomcat 5.5

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