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=30460>.
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=30460

org.apache.coyote.tomcat5.MapperListener init -> Error registering contexts -> HTTP 
1.1 connectors pauses

           Summary: org.apache.coyote.tomcat5.MapperListener init -> Error
                    registering contexts -> HTTP 1.1 connectors pauses
           Product: Tomcat 5
           Version: 5.0.27
          Platform: Other
        OS/Version: AIX
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Connector:Coyote
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Tomcat with two Services each with one HTTP1.1 Connectors and one AJP-Connector

Service A for administration (/admin) of Tomcat/doku etc.
with one HTTP1.1 connector (Port 8080) for administration of Tomcat

Service B for the webapplication
with one HTTP1.1 connector (Port 8081) for manager (/webapplication/manager) of
webapplication, so that developpers can stop/start, deploy/undeploy the
webapplications
one AJP-connector for communication with apache over mod_jk2

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


INFO: Starting Coyote HTTP/1.1 on http-a6ak-www-ccis-r.bedag.ch%2F162.23.4.136-8081
Aug 4, 2004 8:59:33 AM org.apache.coyote.tomcat5.MapperListener init
WARNING: Error registering contexts
java.util.ConcurrentModificationException
        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:930)
        at java.util.HashMap$EntryIterator.next(HashMap.java:972)
        at java.util.HashMap.putAllForCreate(HashMap.java:505)
        at java.util.HashMap.clone(HashMap.java:799)
        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:1537)
        at org.apache.catalina.core.StandardService.start(StandardService.java:489)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
        at java.lang.reflect.Method.invoke(Method.java:391)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)

This causes the specific connector to "pause"

This happens accidentally. Sometimes both HTTP connectors pauses sometimes only
the first sometimes only the second. I had to restart Tomcat more than 10 times
until it starts without failure.

When it starts without failure the "org.apache.coyote.tomcat5.MapperListener
init" is not executed.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to