Hi, Here is a link to the archived discussion which helped me to configure the services up and running: http://marc.theaimsgroup.com/?l=tomcat-user&m=111411822627845&w=2
On 2/21/06, Biernesser, Beth <[EMAIL PROTECTED]> wrote: > > I am also interested in this issue ... I am setting up the same > situation. If anyone has information, could they also include me in the > reply? Thanks so much! > > -----Original Message----- > From: Antti Ollilainen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 21, 2006 10:24 AM > To: users@tomcat.apache.org > Subject: Multiple services in single Tomcat instance > > 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? > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Apa.