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 2003/09/15 20:55:09 UTC
DO NOT REPLY [Bug 23184] New: -
Servlets failed to run while porting old 3.x projects here on 4.x
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23184>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23184
Servlets failed to run while porting old 3.x projects here on 4.x
Summary: Servlets failed to run while porting old 3.x projects
here on 4.x
Product: Tomcat 4
Version: 4.1.27
Platform: PC
URL: http://www.neurospeech.com
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: Other
Component: Servlet & JSP API
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: ackava@neurospeech.com
CC: ackava@neurospeech.com
I have deployed various projects on 3.x versions of tomcat, many developers
sheldom using web.xml and call servlets using /servlet/ClassName method.
For example,
ROOT/WEB-INF/classes/MyFirstServlet.class exists,
To access this servlet we type in address bar of browser following:
http://address:8080/servlet/MyFirstServlet?parameters....
This was working earlier,
As soon as we upgraded our server with 4.1.27, this thing stopped working, and
web.xml in this version is mandetory? also web.xml does not take directories in
url-pattern.
Various places the links are written as /servlet/ServletClass , almost
impossible to change on various projects, we decided to write web.xml
containing path /servlet/ServletClass rather then only ServletClass , but it
fails this way. Tomcat doesnt load Virtual Host, website is not available. And
it gives following error.
================================================================================
==
SEVERE: End event threw exception
java.lang.reflect.InvocationTargetException
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.commons.beanutils.MethodUtils.invokeMethod
(MethodUtils.java:252)
at org.apache.commons.digester.CallMethodRule.end
(CallMethodRule.java:505)
at org.apache.commons.digester.Rule.end(Rule.java:276)
at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown
Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown
Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement
(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.
dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at org.apache.catalina.startup.ContextConfig.applicationConfig
(ContextConfig.java:282)
at org.apache.catalina.startup.ContextConfig.start
(ContextConfig.java:639)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent
(ContextConfig.java:243)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:166)
at org.apache.catalina.core.StandardContext.start
(StandardContext.java:3568)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start
(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
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.main(Bootstrap.java:203)
================================================================================
========
Website was configured as Virtual Host.
This is my second bug report to your system, I appriciate that my previous bug
was resolved, but I was not informed, no one ever told me the status, why you
guys didnt let us know about it? Kindly let us know whether the bug was
deleted, or taken care of or whatever happened with the situation.
- Akash Kava
NeuroSpeech Technologies