I'm using Struts 1.0 with Tomcat 3.2.2 and JBoss 2.2.2, and am having
trouble deploying struts-example.war.

This may be more of a JBoss issue than a Struts issue, but I'm only having
the problem with Struts right now.

I'm having a CLASSPATH problem where the server is not finding the deployed
classes for the struts-example.war application.  I get the following error
when starting the server:

[EmbeddedTomcatSX] Starting tomcat. Check logs/tomcat.log for error messages
2001-07-17 09:05:11 - ContextManager: Adding context Ctx(  )
2001-07-17 09:05:11 - ContextManager: Adding context Ctx(
/struts-documentation )
2001-07-17 09:05:11 - ContextManager: Adding context Ctx( /struts-example )
2001-07-17 09:05:11 - ContextManager: Adding context Ctx( /test )
[EmbeddedTomcatSX] New org.apache.struts.webapp.example.User
[EmbeddedTomcatSX] Begin event threw exception
[EmbeddedTomcatSX] java.lang.ClassNotFoundException:
org.apache.struts.webapp.example.User
[EmbeddedTomcatSX]      at
org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassL
oader.java:524)
[EmbeddedTomcatSX]      at
java.lang.ClassLoader.loadClass(ClassLoader.java:253)

I've seen similar problems posted in the mail list archives, but none of the
proposed solutions work for me.  It works okay when I run Struts with Tomcat
only, but when I add JBoss to the equation I get this error.  I have other
web apps deployed that work fine with JBoss/Tomcat.  I made sure I don't
have struts.jar included anywhere but the .war files.

Thanks for any help,
Philip

Reply via email to