tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brent Sims" <SI...@co.kern.ca.us>
Subject RE: Intermittent exception during startup (5.0.25)
Date Wed, 04 Aug 2004 18:29:19 GMT
Salut,
Long time lurker, rare contributor.
 
I've experienced the same problem for a while but no, I cannot reproduce the error consistently.
 In my experience, webapps startup okay but any/all SSL access is blown with an error similar
to:
 
java.lang.NullPointerException
 at org.apache.catalina.realm.RealmBase.findSecurityConstraints(RealmBase.java:428)
 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:455)
 at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
 at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
 at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
 at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
 at java.lang.Thread.run(Thread.java:534)
 
In my case, the error has happened with every Tomcat release from 5.0.19 (probably before
as well but definitely in the 5.0 series) through 5.0.27 on both a Windows XP and an OS/400
(5.2) platform using their most current flavours of jdk 1.4.2.
 
HTH with a potential bug
 
Brent Sims
Systems Analyst 2
KC Human Services
-------------------------------------------------
Road rage, air rage.  Why should I be forced to divide my rage into separate categories? 
To me, it's just one big, all-round, everyday rage.  I don't have time for fine distinctions.
 I'm too busy screaming at people.
                         - George Carlin

>>> Yoav.Shapira@mpi.com 8/4/2004 7:05:58 AM >>>


Hola,
Can you reproduce the error reliably?  What are the consequences of this
error?  Are any webapps not started or not functioning because of it?
We could probably make that method in MapperListener synchronized, but
the error doesn't seem to be our fault.  It looks like an MX4J issue
possibly.


Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Robert Hunt [mailto:robert-hunt@comcast.net]
>Sent: Wednesday, August 04, 2004 8:36 AM
>To: Dieter.Ludwig@bedag.ch; tomcat-user@jakarta.apache.org
>Subject: Re: Intermittent exception during startup (5.0.25)
>
>
>Other than to restart the server and cross my fingers, no I haven't
found a
>solution.  Perhaps it should be submitted as a bug.
>
>
>-- RH
>
>----- Original Message -----
>Sent: Wednesday, August 04, 2004 2:40 AM
>Subject: Intermittent exception during startup (5.0.25)
>
>
>Hello Robert
>
>I got the same error as you with tomcat 5.0.27. Sometimes the error
>occures,
>and sometimes it doesn't!!!
>Did you found a solution?
>
>
>Here is my catalina.out:
>
>Aug 4, 2004 8:18:49 AM org.apache.coyote.http11.Http11Protocol start
>INFO: Starting Coyote HTTP/1.1 on
>http-a6ak-www-ccis-r.bedag.ch%2F162.23.4.136-8081
>Aug 4, 2004 8:18:49 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:16
03)
>        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:15
37)
>        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.ja
va:8
>5
>)
>        at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:5
>8
>)
>        at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImp
>l
>.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)
>Aug 4, 2004 8:18:49 AM org.apache.jk.common.ChannelSocket init
>INFO: JK2: ajp13 listening on /127.0.0.1:8010
>Aug 4, 2004 8:18:49 AM org.apache.jk.server.JkMain start
>INFO: Jk running ID=0 time=3/163
>config=/a6a/a6ak/tomcat/conf/jk2.properties
>Aug 4, 2004 8:18:50 AM org.apache.catalina.startup.Catalina start
>INFO: Server startup in 40958 ms
>
>Regards,
>Dieter Ludwig
>Bedag Informatik AG
>RZ Bern, EPS/NSM
>Engehaldenstrasse 12
>3012 Bern
>Telefon: +41 31 633 21 21 (direkt 22 59)
>Telefax: +41 31 633 23 69
>E-Mail:    dieter.ludwig@bedag.ch
>www.bedag.ch
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


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




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