can't run two instance of tomcat, because catalina.base keeps getting reset... [message #191453] |
Fri, 13 April 2007 22:46  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03903 seconds