tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Bierenfeld <michael.bierenf...@atmiralis.de>
Subject Re: Cannot find my JavaBeans
Date Wed, 18 Jul 2001 14:44:15 GMT
Hi,

your wish is my order :-) cocoon is a servlet that generates java code
out of some sort of xml-files. The compile process is running inside the
servlet. Compile is fine but if the servlet executes the generated
class. The classpath is missing some jars that where present during
compile. Its running fine if the jars are in $TOMCAT_HOME/lib.


java.lang.ClassNotFoundException: xmlbeans.XmlBean
              at
org.apache.cocoon.processor.xsp.language.java.XSPClassLoader.loadClass(XSPClassLoader.java:99)
              at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java)
              at
_usr._local._jakarta_tomcat_3_2_2._webapps._Projekte._xsp._page.<init>(_page.java)
              at
org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.load(XSPJavaProcessor.java:173)
              at
org.apache.cocoon.processor.xsp.XSPProcessor.loadPage(XSPProcessor.java:542)
              at
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:390)
              at org.apache.cocoon.Engine.handle(Engine.java:384)
              at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
              at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
              at
org.apache.tomcat.core.Handler.service(Handler.java:287)
              at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
              at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
              at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
              at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
              at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
              at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
              at java.lang.Thread.run(Thread.java)

---------------------------------------------------------------------------------

Kind regards

Michael

Mime
View raw message