Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Update server.xml and catalina.properties
Update server.xml and catalina.properties [message #230600] Thu, 23 April 2009 07:42 Go to next message
Jean-Sébastien Scrève is currently offline Jean-Sébastien ScrèveFriend
Messages: 1
Registered: July 2009
Junior Member
Hi,

I use WTP with Tomcat 5.5. I want to customize the WTP server creation to
make it work with our application server. (OpenEJB).
I'd like to update the server.xml file (add a web module) as well as the
catalina.properties file at the server creation time.
I'd like to do that through WTP extension point or WTP API.
Any idea how I could do that operation ? What documentation can I read for
that purpose ?

Thanks in advance,

Jean-Sébastien Scrève.
Re: Update server.xml and catalina.properties [message #230627 is a reply to message #230600] Thu, 23 April 2009 16:03 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
Jean-Sébastien Scrève wrote:
> Hi,
>
> I use WTP with Tomcat 5.5. I want to customize the WTP server creation
> to make it work with our application server. (OpenEJB).
> I'd like to update the server.xml file (add a web module) as well as the
> catalina.properties file at the server creation time.
> I'd like to do that through WTP extension point or WTP API.
> Any idea how I could do that operation ? What documentation can I read
> for that purpose ?
>
> Thanks in advance,
>
> Jean-Sébastien Scrève.
>

At the moment, there isn't any public API in the tomcat plug-ins nor any
specific provision to extent them. Your best bet is probably to get the
source for the org.eclipse.jst.server.tomcat.core and
org.eclipse.jst.server.tomcat.ui plug-ins and see what needs to change.
Questions about how it works can be addressed to this list. The place
that the configuration files are imported during new server creation is
in Tomcat??Configuration.importFromPath().

Cheers,
Larry
Previous Topic:Can I set a JSP "source path"?
Next Topic:Importing a war into a dynamic web project
Goto Forum:
  


Current Time: Fri Apr 26 10:52:15 GMT 2024

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

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

Back to the top