You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/06/18 14:51:12 UTC

DO NOT REPLY [Bug 29671] New: - Context don't start with multiple HTTP 1.1 connectors

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29671>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29671

Context don't start with multiple HTTP 1.1 connectors

           Summary: Context don't start with multiple HTTP 1.1 connectors
           Product: Tomcat 5
           Version: 5.0.25
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Connector:Coyote
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: carl@zero-one.co.za


I am trying to run Tomcat standalone with 3 Coyote HTTP1.1 connectors defined:
HTTP1.1 --> Port 22006 (behind the firewall comms)
HTTP1.1 --> Port 22002 (normal HTTP access to hosts/contexts)
HTTP1.1 --> Port 22003 (HTTPS bound a single IP for 1 hosts/context)

When the server starts, all seems good right up until the end of the Tomcat 
startup where the following exception is thrown:

2004/06/18 01:47:32 org.apache.coyote.tomcat5.MapperListener init
WARNING: Error registering contexts
java.util.ConcurrentModificationException
	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782)
	at java.util.HashMap$EntryIterator.next(HashMap.java:824)
	at java.util.HashMap.putAllForCreate(HashMap.java:424)
	at java.util.HashMap.clone(HashMap.java:656)
	at mx4j.server.DefaultMBeanRepository.clone
(DefaultMBeanRepository.java:56)
	at mx4j.server.MBeanServerImpl.findMBeansByPattern
(MBeanServerImpl.java:1603)
	at mx4j.server.MBeanServerImpl.queryObjectNames
(MBeanServerImpl.java:1568)
	at mx4j.server.MBeanServerImpl.queryMBeans(MBeanServerImpl.java:1512)
	at org.apache.coyote.tomcat5.MapperListener.init
(MapperListener.java:115)
	at org.apache.coyote.tomcat5.CoyoteConnector.start
(CoyoteConnector.java:1510)
	at org.apache.catalina.core.StandardService.start
(StandardService.java:485)
	at org.apache.catalina.core.StandardServer.start
(StandardServer.java:2298)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
	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:324)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)

This causes all 3 Coyote Connectors to "pause" - thus not accpeting ANY 
requests!

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