tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomislav Petrović <t.petro...@inet.hr>
Subject Re: Webapp reloading issue and intermittent 404 errors
Date Wed, 07 Jul 2010 10:07:16 GMT
Tomislav Petrović said on 30.6.2010 16:27:
>>> Forgot to say:
>>> Tomcat service is started with following parameters:
>>>
>>> JVM: have to check whether server or client, not sure at the moment.
>>
>> Server, one would hope. Did you find out the exact version?
>>
> 
> Yup JVM path for tomcat is ......\jdk1.6.0_18\jre\bin\server\jvm.dll, so 
> Java 6 update 18 server.

Although initial excpetion and stacktrace (related to webapp reloading, actually checking
that it should or should not be reloaded) went away with reloadable="false" workaround I now
have similar problem.

Please help since now machine is in (or near) production :(.

New stacktrace in catalina logs looks like (and produces 404 errors):

Jul 5, 2010 7:13:47 AM org.apache.catalina.connector.CoyoteAdapter service
SEVERE: An exception or error occurred in the container during the request processing
java.lang.StringIndexOutOfBoundsException: String index out of range: 115
	at java.lang.String.substring(String.java:1934)
	at org.apache.catalina.util.RequestUtil.normalize(RequestUtil.java:131)
	at org.apache.naming.resources.FileDirContext.normalize(FileDirContext.java:771)
	at org.apache.naming.resources.FileDirContext.file(FileDirContext.java:811)
	at org.apache.naming.resources.FileDirContext.getAttributes(FileDirContext.java:429)
	at org.apache.naming.resources.BaseDirContext.getAttributes(BaseDirContext.java:747)
	at org.apache.naming.resources.ProxyDirContext.revalidate(ProxyDirContext.java:1501)
	at org.apache.naming.resources.ProxyDirContext.cacheLookup(ProxyDirContext.java:1457)
	at org.apache.naming.resources.ProxyDirContext.lookup(ProxyDirContext.java:288)
	at org.apache.tomcat.util.http.mapper.Mapper.internalMapWrapper(Mapper.java:823)
	at org.apache.tomcat.util.http.mapper.Mapper.internalMap(Mapper.java:667)
	at org.apache.tomcat.util.http.mapper.Mapper.map(Mapper.java:557)
	at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:462)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:296)
	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
	at java.lang.Thread.run(Thread.java:619)

Everything else is same as I posted before (config file, JVM versions, etc....)
Any advice is appreciated....
--
Tomy <t.petrovic@inet.hr>

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


Mime
View raw message