tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antti Ollilainen" <antti.ollilai...@gmail.com>
Subject Multiple services in single Tomcat instance
Date Tue, 21 Feb 2006 15:23:56 GMT
Hello,

I'm configuring a single Tomcat instance to serve two separate web
applications. The applications are on separate ports and one is accessed
over HTTP while the other one over HTTPS. I managed to get the webapps
configured so that each is its own Service in the server.xml. Actually there
was a discussion about this in last April with the same subject and I got
the tip to use the same name for Engine and Host inside the Service.

However, I have another problem now: When I start the server, both web
applications seem to start twice. It seems that all application threads
which are initially started are duplicated because both applications log
twice their startup info. I'm using log4j for logging and it seems that the
log lines are not simply duplicated but they originate from separate
threads.

Has anyone experience from this kind of configuration or encountered the
same problem?

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