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

Re: starting connectors after the tomcat startup

2012-02-06 Thread Domenico Briganti
Hi Fernando, open HTTP/AJP il the last step that tomcat do when it starts. Why don't you put your initializzations on webapp's context initialize and wait the ready of your resource that? Regards Domenico Il giorno lun, 06/02/2012 alle 21.51 +0530, Pradeep Fernando ha scritto: > Hi all,

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