Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » can't run two instance of tomcat, because catalina.base keeps getting reset...
can't run two instance of tomcat, because catalina.base keeps getting reset... [message #191453] Fri, 13 April 2007 22:46 Go to next message
Eclipse UserFriend
Originally posted by: gzhu01.remove.gmail.com

Hi,

I am trying to setup a second tomcat instance that runs outside the
workspace.

The first instance works fine; just uncheck "Run modules directly from
the work splace..."

In the second instance, when I tried to set catalina.base from:
launch configuration -> arguments -> VM arguments

-Dcatalina.base="c:\second_instance" this always gets reset to the
tomcat installation directory, e.g. c:\tomcat5.5


I am using eclipse 3.2.2, wst 1.5.3.

thanks for your help,
Gary
Re: can't run two instance of tomcat, because catalina.base keeps getting reset... [message #191524 is a reply to message #191453] Mon, 16 April 2007 13:02 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1313
Registered: July 2009
Senior Member
In WTP 1.5.3, catalina.base is "owned" by the tomcat plug-ins. It gets
regenerated per the "Run modules directly..." setting each time you
launch. You will have to use WTP 2.0 (and Eclipse 3.3) to get the new
feature of being able to set a custom catalina.base, which is currently
available in the M6 release. See the last item here:

http://www.eclipse.org/webtools/development/news/2.0M6/serve r.php

Cheers,
Larry

Gary wrote:
> Hi,
>
> I am trying to setup a second tomcat instance that runs outside the
> workspace.
>
> The first instance works fine; just uncheck "Run modules directly from
> the work splace..."
>
> In the second instance, when I tried to set catalina.base from:
> launch configuration -> arguments -> VM arguments
>
> -Dcatalina.base="c:\second_instance" this always gets reset to the
> tomcat installation directory, e.g. c:\tomcat5.5
>
>
> I am using eclipse 3.2.2, wst 1.5.3.
>
> thanks for your help,
> Gary
Re: can't run two instance of tomcat, because catalina.base keeps getting reset... [message #191569 is a reply to message #191524] Mon, 16 April 2007 18:11 Go to previous message
Eclipse UserFriend
Originally posted by: gzhu01.remove.gmail.com

Larry, thats exactly what I needed.
Thanks,
Gary

Larry Isaacs wrote:
> In WTP 1.5.3, catalina.base is "owned" by the tomcat plug-ins. It gets
> regenerated per the "Run modules directly..." setting each time you
> launch. You will have to use WTP 2.0 (and Eclipse 3.3) to get the new
> feature of being able to set a custom catalina.base, which is currently
> available in the M6 release. See the last item here:
>
> http://www.eclipse.org/webtools/development/news/2.0M6/serve r.php
>
> Cheers,
> Larry
>
> Gary wrote:
>> Hi,
>>
>> I am trying to setup a second tomcat instance that runs outside the
>> workspace.
>>
>> The first instance works fine; just uncheck "Run modules directly from
>> the work splace..."
>>
>> In the second instance, when I tried to set catalina.base from:
>> launch configuration -> arguments -> VM arguments
>>
>> -Dcatalina.base="c:\second_instance" this always gets reset to the
>> tomcat installation directory, e.g. c:\tomcat5.5
>>
>>
>> I am using eclipse 3.2.2, wst 1.5.3.
>>
>> thanks for your help,
>> Gary
Previous Topic:Can't create dynamic web project
Next Topic:Upload on Save
Goto Forum:
  


Current Time: Sat Dec 20 20:56:43 GMT 2014

Powered by FUDForum. Page generated in 0.05898 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software