|Tomcat Server oroblem with Eclipse [message #173002]
||Wed, 05 July 2006 11:45
Originally posted by: fleming.rhrk.uni-kl.de|
I want to know how to bind an existing Tomcat Server Configuration in
Eclipse with Eclipse webtools.At the moment Eclipse creates his own
server.xml file without using the one I have already configured. How can I
use my own configuration of Tomcat with Eclipse webtools.
Thank you for help.
|Re: Tomcat Server oroblem with Eclipse [message #173110 is a reply to message #173002]
||Wed, 05 July 2006 14:47
| Larry Isaacs
Registered: July 2009
When you create a Tomcat server, it will "import" the server.xml file, |
and others, that exist at that time, leaving out and Context elements it
may contain. It leaves out the contexts because it defaults to running
with a separate catalina.base to avoid altering your Tomcat
installation. You can change this by double clicking on the Tomcat
server in the Servers view and unchecking the "Run modules directly from
the workspace" setting. This will cause the server to be run with the
catalina.base set to your Tomcat installation. However, at this point
Eclipse WTP now "owns" your installation. The imported server.xml file
found under the Servers project in your workspace, along with the
others, will overwrite the ones in your installation every time you
start the server.
With "Run modules..." checked or unchecked, it is the server.xml under
the Servers project that controls the Tomcat configuration. You should
be able to make any needed modifications to define your configuration.
Marc Fleming wrote:
> Hello everyone,
> I want to know how to bind an existing Tomcat Server Configuration in
> Eclipse with Eclipse webtools.At the moment Eclipse creates his own
> server.xml file without using the one I have already configured. How can
> I use my own configuration of Tomcat with Eclipse webtools.
> Thank you for help.
Powered by FUDForum
. Page generated in 0.02582 seconds