tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pradeep Fernando <pradee...@gmail.com>
Subject Configuring embedded tomcat using server.xml
Date Fri, 27 Jan 2012 08:05:45 GMT
Hi,

I have embedded the tomcat server within my application. Right now i'm
using the org.apache.catalina.startup.Tomcat.java class to start my server.
However I would like to get more control over Engine creation, connector
initialization, etc. My idea is to configure the tomcat instance by looking
at the server.xml (will be a strip down version of server.xml).

I beleive this mechanism is already happening within the standalone tomcat
distribution. There should be a server manager who parses the server.xml
and configures the tomcat engine. May be i can learn a bit from that code.
Can some body give me a code pointer to such code withing tomcat.



thanks in advance,
--Pradeep

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message