You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Thusitha Thilina Dayaratne <th...@gmail.com> on 2015/08/31 07:32:06 UTC

Embedded Tomcat 7.0.59 Some vhost are not get Started Properly

Hi,

I'm having an intermittent issue relate to tomcat vhost. I'm using embedded
tomcat version 7.0.59 and I have my own deployers as well. In some of my
virtualhosts apps are get deployed after the server get startup. This
happens only in some vhosts (not all vhosts)

The actual issue is that I'm adding webapp related info while the
deployment. But since vhost is in the NEW state in problematic situations,
app context is null. Therefore I can't get the required info through the
context.
When the issue occur, in the debug mode I can observe that problematic
vhost listed after the localhost. But in other cases vhosts are listed
prior to the localhost.

Can someone put some light to this issue or can someone point me the
location where tomcat read the conf/server.xml and get the list of vhost
defined in it?

Thanks
Best Regards
/Thusitha
--