Feb 3, 2009 2:29:19 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive WarTest.war
Feb 3, 2009 2:29:22 PM org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(/usr/share/tomcat5/webapps/WarTest/WEB-INF/lib/ javaxml.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
java.lang.ClassNotFoundException: com.test.Application
at org .apache .catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: 1359) at org .apache .catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: 1205) at er .extensions .jspservlet .ERXServletAdaptor.invokeApplicationSetupMethod(ERXServletAdaptor.java: 50) at er.extensions.jspservlet.ERXServletAdaptor.init(ERXServletAdaptor.java: 65)
        at javax.servlet.GenericServlet.init(GenericServlet.java:212)

From web.xml:

 <context-param>
    <param-name>WOClasspath</param-name>
    <param-value>
    WEBINFROOT/Resources/Java/
WEBINFROOT/WarTest.woa/Contents/Resources/Java/wartest.jar
WEBINFROOT/Library/Frameworks/ERExtensions.framework/Resources/Java/ ERExtensions.jar
WEBINFROOT/Library/Frameworks/ERJars.framework/Resources/Java/ERJars.jar
WEBINFROOT/Library/Frameworks/ERJars.framework/Resources/Java/ erxservletadaptor.jar WEBINFROOT/Library/Frameworks/ERJars.framework/Resources/Java/ erxwo54.jar WEBINFROOT/Library/Frameworks/ERJars.framework/Resources/Java/ icu4j-3_8_1.jar
WEBINFROOT/Library/Frameworks/ERJars.framework/Resources/Java/junit.jar
WEBINFROOT/Library/Frameworks/ERJars.framework/Resources/Java/ log4j-1.2.14.jar WEBINFROOT/Library/Frameworks/ERJars.framework/Resources/Java/slf4j- api-1.5.0.jar WEBINFROOT/Library/Frameworks/ERJars.framework/Resources/Java/slf4j- log4j12-1.5.0.jar WEBINFROOT/Library/Frameworks/ERPrototypes.framework/Resources/Java/ ERPrototypes.jar WEBINFROOT/Library/Frameworks/JavaWOExtensions.framework/Resources/ Java/JavaWOExtensions.jar WEBINFROOT/Library/Frameworks/WOOgnl.framework/Resources/Java/ ognl-2.6.7.jar
WEBINFROOT/Library/Frameworks/WOOgnl.framework/Resources/Java/WOOgnl.jar
WEBINFROOT//Library/Frameworks/JavaEOAccess.framework/Resources/Java/ javaeoaccess.jar WEBINFROOT//Library/Frameworks/JavaEOControl.framework/Resources/Java/ javaeocontrol.jar WEBINFROOT//Library/Frameworks/JavaFoundation.framework/Resources/Java/ javafoundation.jar WEBINFROOT//Library/Frameworks/JavaJDBCAdaptor.framework/Resources/ Java/javajdbcadaptor.jar WEBINFROOT//Library/Frameworks/JavaWebObjects.framework/Resources/Java/ javawebobjects.jar WEBINFROOT//Library/Frameworks/JavaWOJSPServlet.framework/Resources/ Java/javawojspservlet.jar WEBINFROOT//Library/Frameworks/JavaXML.framework/Resources/Java/ javaxml.jar

And:

<!-- The WebObjects Servlet that interfaces between the Servlet container
       world and the WebObjects world. -->
  <servlet>
    <servlet-name>WOServletAdaptor</servlet-name>
<servlet-class>er.extensions.jspservlet.ERXServletAdaptor</ servlet-class>
    <load-on-startup>5</load-on-startup>
  </servlet>

Bill



On Feb 3, 2009, at 4:22 PM, Mike Schrag wrote:

What exactly is the exception? If it's NoClassDefFound, either 1) the class name is spelled wrong, 2) it's not on your classpath, or 3) a depend class file of that class isn't on your classpath (though I THINK you'd get a different exception from this).

On Feb 3, 2009, at 4:08 PM, William Hatch wrote:

Bundle frameworks, not jars and yes, it's in the classpath.

Bill



On Feb 3, 2009, at 3:59 PM, Mike Schrag wrote:

are you using jar frameworks or bundle frameworks? is the erxservletadaptor.jar in your classpath?

On Feb 3, 2009, at 3:53 PM, William Hatch wrote:

New project using recent wonder for 5.4, absolute latest pre hotness WOLips, eclipse 3.3 and wo 5.4; tomcat 5.5.xxxx

Building a simple, war gives the famous ERXServletAdaptor exception on container deploy. I'm struggling for words to express how much I despise this error

My web.xml contains the appropriate declaration specifying er.extensions.jspservlet.ERXServletAdaptor as class for WOServletAdaptor
Classpath looks good.

I've googled this to death, and the only thing that seems like a reasonable explanation is the discrepancy between spec 2.2 and 2.3

The odd thing is that some new projects will work, and I won't see this error. I'm trying to get my head around what the magical variant is here. Any ideas? Anybody willing to share their working, web.xml from a recent new project?

Thanks.


Bill



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list ([email protected] )
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/mschrag%40mdimension.com

This email sent to [email protected]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list ([email protected] )
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/wkhatch%40me.com

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list ([email protected] )
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/mschrag%40mdimension.com

This email sent to [email protected]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects- [email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/wkhatch%40me.com

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to