Re: starting connectors after the tomcat startup

2012-02-09 Thread Pradeep Fernando
Hi all, I could achieve the required behaviour by extending the standardService provided by tomcat. In my overrided startInternal() method i just dont start connectors. thanks, --Pradeep - To unsubscribe, e-mail: users-unsubscr

Re: starting connectors after the tomcat startup

2012-02-06 Thread Pradeep Fernando
Hi, Let me explain my scenario. I'm running tomcat inside an OSGi environment. There I create http.service out of tomcat. I do that in a servlet init method and set the loadOnStartup to '1' for that servlet. Now during the server startup my http.service get exposed and other bundles make use of t

starting connectors after the tomcat startup

2012-02-06 Thread Pradeep Fernando
Hi all, I'm using embedded tomcat within my application. I configured the org.apache.catalina.startup.Tomcat class using the server.xml found in tomcat distribution. But i want to start my connectors after some requirement are met (The necessary resources being initialized). My approach was to se

configuring org.apache.catalina.startup.Tomcat using server.xml

2012-01-30 Thread Pradeep Fernando
Hi all, I wanted to do the $subject. For that I extended the existing Tomcat class and added a configure step. Within the configure method i created a digester to configure my embedded tomcat instance. looks like things are getting configured. But when i call start method on Tomcat, it gives some

Re: Configuring embedded tomcat using server.xml

2012-01-27 Thread Pradeep Fernando
On Fri, Jan 27, 2012 at 2:29 PM, Pid * wrote: > On 27 Jan 2012, at 08:06, Pradeep Fernando wrote: > > > 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

Configuring embedded tomcat using server.xml

2012-01-27 Thread Pradeep Fernando
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 lookin