tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Domenico Briganti <dome...@gmail.com>
Subject Re: starting connectors after the tomcat startup
Date Mon, 06 Feb 2012 16:41:10 GMT
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,
> 
> 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 set the connector param,
> 
> bindOnInit = "false"
> 
> and then start the connectors at a later stage using connector.start();
> 
> 
> but it looks like my connectors are in the "STARTED" life-cycle stage
> once i do the Tomcat.start() call. - means they are already started
> Am i missing something. How can i achieve my requirement.?
> 
> thanks
> --Pradeep
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message