You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Randall Parker <ra...@nls.net> on 2001/08/06 00:10:59 UTC

TC3.3b1: can't find action servlet on start-up

See the SAXEception. 

I'm not sure if this is a bug in Tomcat or from something not configured properly or maybe its normal behavior. Since I have only example war files from Tomcat and Struts loaded I don't even 
know where this action servlet is supposed to come from. I thought I would report it here just in case it is relevant to TC3.3 b1's code:

Tomcat: setAttribute home=J:\webdev\tomcat33b1
2001-08-05 14:50:04 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-127.0.0.1.xml
2001-08-05 14:50:04 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-admin.xml
2001-08-05 14:50:04 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-examples.xml
2001-08-05 14:50:04 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-strutsdoc.xml
2001-08-05 14:50:05 - AutoWebApp: Already loaded: DEFAULT:/admin
2001-08-05 14:50:05 - AutoWebApp: Already loaded: DEFAULT:/examples
2001-08-05 14:50:05 - AutoWebApp: Auto-Adding DEFAULT:/perfproj1
2001-08-05 14:50:05 - AutoWebApp: Auto-Adding DEFAULT:/rgptry1
2001-08-05 14:50:05 - AutoWebApp: Auto-Adding DEFAULT:/rgptry2
2001-08-05 14:50:05 - AutoWebApp: Auto-Adding DEFAULT:/rgptry3
2001-08-05 14:50:05 - AutoWebApp: Auto-Adding DEFAULT:/
2001-08-05 14:50:05 - AutoWebApp: Auto-Adding DEFAULT:/struts-documentation
2001-08-05 14:50:05 - ContextManager: Adding  DEFAULT:/admin
2001-08-05 14:50:05 - ContextManager: Adding  DEFAULT:/examples
2001-08-05 14:50:05 - ContextManager: Adding  DEFAULT:/strutsdoc
2001-08-05 14:50:05 - ContextManager: Adding  DEFAULT:/perfproj1
2001-08-05 14:50:05 - ContextManager: Adding  DEFAULT:/rgptry1
2001-08-05 14:50:05 - ContextManager: Adding  DEFAULT:/rgptry2
2001-08-05 14:50:05 - ContextManager: Adding  DEFAULT:/rgptry3
2001-08-05 14:50:05 - ContextManager: Adding  DEFAULT:/ROOT
2001-08-05 14:50:05 - ContextManager: Adding  DEFAULT:/struts-documentation
2001-08-05 14:50:05 - LoadOnStartupInterceptor: cannot load servlet name: action - java.lang.No
ClassDefFoundError: org/xml/sax/SAXException
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:237)
        at org.apache.tomcat.facade.ServletHandler.getServlet(ServletHandler.java:348)
        at org.apache.tomcat.facade.ServletHandler.preInit(ServletHandler.java:402)
        at org.apache.tomcat.facade.ServletHandler.init(ServletHandler.java:227)
        at org.apache.tomcat.facade.LoadOnStartupInterceptor.contextInit(LoadOnStartupIntercept
or.java:136)
        at org.apache.tomcat.core.Context.init(Context.java:501)
        at org.apache.tomcat.core.ContextManager.init(ContextManager.java:588)
        at org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTomcat.java:310)
        at org.apache.tomcat.startup.Tomcat.startTomcat(Tomcat.java:176)
        at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:120)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:87)
        at org.apache.tomcat.startup.Main.execute(Main.java:305)
        at org.apache.tomcat.startup.Main.main(Main.java:191)

2001-08-05 14:50:05 - ContextManager: Init time 1132
2001-08-05 14:50:05 - Http10Interceptor: Starting on 8080
2001-08-05 14:50:05 - Ajp12Interceptor: Starting on 8007
2001-08-05 14:50:05 - Ajp13Interceptor: Starting on 8009
2001-08-05 14:50:05 - ContextManager: Startup 50



Re: TC3.3b1: can't find action servlet on start-up

Posted by cm...@yahoo.com.
Tomcat3.3 doesn't "expose" any sax parser ( or any of it's internal
objects ) to the application.

The app should be self-contained.

One solution is to copy jaxp.jar and crimson.jar from lib/container ( the
directory used for implementation-private libs ) into lib/apps ( all files
here will be shared and visible in all implementations ).

A better solution that will automate this is in progress, but will not be
included in tc3.3 ( it's just a separate module ).


Costin




On Sun, 5 Aug 2001, Randall Parker wrote:

> See the SAXEception.
>
> I'm not sure if this is a bug in Tomcat or from something not configured properly or maybe its normal behavior. Since I have only example war files from Tomcat and Struts loaded I don't even
> know where this action servlet is supposed to come from. I thought I would report it here just in case it is relevant to TC3.3 b1's code:
>
> Tomcat: setAttribute home=J:\webdev\tomcat33b1
> 2001-08-05 14:50:04 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-127.0.0.1.xml
> 2001-08-05 14:50:04 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-admin.xml
> 2001-08-05 14:50:04 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-examples.xml
> 2001-08-05 14:50:04 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-strutsdoc.xml
> 2001-08-05 14:50:05 - AutoWebApp: Already loaded: DEFAULT:/admin
> 2001-08-05 14:50:05 - AutoWebApp: Already loaded: DEFAULT:/examples
> 2001-08-05 14:50:05 - AutoWebApp: Auto-Adding DEFAULT:/perfproj1
> 2001-08-05 14:50:05 - AutoWebApp: Auto-Adding DEFAULT:/rgptry1
> 2001-08-05 14:50:05 - AutoWebApp: Auto-Adding DEFAULT:/rgptry2
> 2001-08-05 14:50:05 - AutoWebApp: Auto-Adding DEFAULT:/rgptry3
> 2001-08-05 14:50:05 - AutoWebApp: Auto-Adding DEFAULT:/
> 2001-08-05 14:50:05 - AutoWebApp: Auto-Adding DEFAULT:/struts-documentation
> 2001-08-05 14:50:05 - ContextManager: Adding  DEFAULT:/admin
> 2001-08-05 14:50:05 - ContextManager: Adding  DEFAULT:/examples
> 2001-08-05 14:50:05 - ContextManager: Adding  DEFAULT:/strutsdoc
> 2001-08-05 14:50:05 - ContextManager: Adding  DEFAULT:/perfproj1
> 2001-08-05 14:50:05 - ContextManager: Adding  DEFAULT:/rgptry1
> 2001-08-05 14:50:05 - ContextManager: Adding  DEFAULT:/rgptry2
> 2001-08-05 14:50:05 - ContextManager: Adding  DEFAULT:/rgptry3
> 2001-08-05 14:50:05 - ContextManager: Adding  DEFAULT:/ROOT
> 2001-08-05 14:50:05 - ContextManager: Adding  DEFAULT:/struts-documentation
> 2001-08-05 14:50:05 - LoadOnStartupInterceptor: cannot load servlet name: action - java.lang.No
> ClassDefFoundError: org/xml/sax/SAXException
>         at java.lang.Class.newInstance0(Native Method)
>         at java.lang.Class.newInstance(Class.java:237)
>         at org.apache.tomcat.facade.ServletHandler.getServlet(ServletHandler.java:348)
>         at org.apache.tomcat.facade.ServletHandler.preInit(ServletHandler.java:402)
>         at org.apache.tomcat.facade.ServletHandler.init(ServletHandler.java:227)
>         at org.apache.tomcat.facade.LoadOnStartupInterceptor.contextInit(LoadOnStartupIntercept
> or.java:136)
>         at org.apache.tomcat.core.Context.init(Context.java:501)
>         at org.apache.tomcat.core.ContextManager.init(ContextManager.java:588)
>         at org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTomcat.java:310)
>         at org.apache.tomcat.startup.Tomcat.startTomcat(Tomcat.java:176)
>         at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:120)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:87)
>         at org.apache.tomcat.startup.Main.execute(Main.java:305)
>         at org.apache.tomcat.startup.Main.main(Main.java:191)
>
> 2001-08-05 14:50:05 - ContextManager: Init time 1132
> 2001-08-05 14:50:05 - Http10Interceptor: Starting on 8080
> 2001-08-05 14:50:05 - Ajp12Interceptor: Starting on 8007
> 2001-08-05 14:50:05 - Ajp13Interceptor: Starting on 8009
> 2001-08-05 14:50:05 - ContextManager: Startup 50
>