tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Cheesman <jch...@msl.es>
Subject Re: Cannot find my JavaBeans
Date Wed, 18 Jul 2001 14:54:46 GMT
At 04:44 PM 18/07/01, you wrote:
>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.


Alright, I'm out of my depth here ;) Is the compile done at runtime? 
Besides which, I think you already have the solution. Include the jars in 
$TOMCAT_HOME/lib...


(And which jars are we talking about here? The cocoon/servlet ones, 
presumably?)






>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


--

                           *   Jim Cheesman   *
             Trabajo: 
jchees@msl.es - (34)(91) 724 9200 x 2360
                       One should 
never generalize.



Mime
View raw message