tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <paul.ocklef...@nhs.net>
Subject Multiple web apps on different ports under one tomcat
Date Tue, 29 Apr 2008 11:52:56 GMT
Hi,

I am trying to achieve the above, at the moment I am trying to do this by
including an additional service parameter and assigning different ports for
the connectors. However now my original web apps are not working either.

My tomcat log file contains:

INFO: Stopping Coyote HTTP/1.1 on http-8080
29-Apr-2008 11:52:08 org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8443
29-Apr-2008 11:52:08 org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-9080
29-Apr-2008 11:52:08 org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-9443
29-Apr-2008 11:52:09 org.apache.catalina.core.StandardService stop
INFO: Stopping service LTCA
29-Apr-2008 11:52:09 org.apache.catalina.core.StandardPipeline
unregisterValve
INFO: Can't unregister valve
org.apache.catalina.core.StandardEngineValve[Catalina]
javax.management.InstanceNotFoundException:
Catalina:type=Valve,name=StandardEngineValve
	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanS
erverInterceptor.java:1010)
	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(Defaul
tMBeanServerInterceptor.java:354)
	at
com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:5
27)
	at
org.apache.catalina.core.StandardPipeline.unregisterValve(StandardPipeline.j
ava:321)
	at
org.apache.catalina.core.StandardPipeline.stop(StandardPipeline.java:274)
	at
org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1059)
	at
org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447)
	at
org.apache.catalina.core.StandardService.stop(StandardService.java:512)
	at
org.apache.catalina.core.StandardServer.stop(StandardServer.java:743)
	at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:576)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
29-Apr-2008 11:52:09 org.apache.catalina.core.StandardPipeline
unregisterValve
INFO: Can't unregister valve
org.apache.catalina.valves.ErrorReportValve[localhost]
javax.management.InstanceNotFoundException:
Catalina:type=Valve,name=ErrorReportValve,host=localhost
	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanS
erverInterceptor.java:1010)
	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(Defaul
tMBeanServerInterceptor.java:354)
	at
com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:5
27)
	at
org.apache.catalina.core.StandardPipeline.unregisterValve(StandardPipeline.j
ava:321)
	at
org.apache.catalina.core.StandardPipeline.stop(StandardPipeline.java:274)
	at
org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1059)
	at
org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066)
	at
org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447)
	at
org.apache.catalina.core.StandardService.stop(StandardService.java:512)
	at
org.apache.catalina.core.StandardServer.stop(StandardServer.java:743)
	at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:576)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
29-Apr-2008 11:52:09 org.apache.catalina.core.StandardPipeline
unregisterValve
INFO: Can't unregister valve
org.apache.catalina.core.StandardHostValve[localhost]
javax.management.InstanceNotFoundException:
Catalina:type=Valve,name=StandardHostValve,host=localhost
	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanS
erverInterceptor.java:1010)
	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(Defaul
tMBeanServerInterceptor.java:354)
	at
com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:5
27)
	at
org.apache.catalina.core.StandardPipeline.unregisterValve(StandardPipeline.j
ava:321)
	at
org.apache.catalina.core.StandardPipeline.stop(StandardPipeline.java:274)
	at
org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1059)
	at
org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066)
	at
org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447)
	at
org.apache.catalina.core.StandardService.stop(StandardService.java:512)
	at
org.apache.catalina.core.StandardServer.stop(StandardServer.java:743)
	at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:576)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
29-Apr-2008 11:52:09 org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-9080

I don't want to paste my entire server.xml here but I can do. Is anyone able
to help?

Cheers,

Paul Ockleford
Developer

Systems and Service Delivery 
NHS Connecting for Health 
01392 206977
paul.ockleford@nhs.net 
www.connectingforhealth.nhs.uk 

NHS Connecting for Health supports the NHS in providing better, safer care
by delivering computer systems and services which improve the way patient
information is stored and accessed.



**********************************************************************
This message  may  contain  confidential  and  privileged information.
If you are not  the intended  recipient please  accept our  apologies.
Please do not disclose, copy or distribute  information in this e-mail
or take any  action in reliance on its  contents: to do so is strictly
prohibited and may be unlawful. Please inform us that this message has
gone  astray  before  deleting it.  Thank  you for  your co-operation.

NHSmail is used daily by over 100,000 staff in the NHS. Over a million
messages  are sent every day by the system.  To find  out why more and
more NHS personnel are  switching to  this NHS  Connecting  for Health
system please visit www.connectingforhealth.nhs.uk/nhsmail
**********************************************************************


---------------------------------------------------------------------
To start a new topic, e-mail: users@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