tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Louis MONTEIRO <jean-louis.monte...@atosorigin.com>
Subject Re: ClassNotFoundException when deploying openejb.war
Date Thu, 12 Feb 2009 13:10:25 GMT

Hola Alberto,

Did the installation (as described here
http://openejb.apache.org/tomcat.html) work without any errors ?
After installation complete, you should have an OpenEJB Listener in catalina
server.xml
Moreover you should have 2 additional jar files in the ${catalina.home}/lib
- openejb-tomcat-loader-3.1.jar
- openejb java agent (necessary for openjpa)

Finally, openejb installer makes changes in sh/bat scripts.

Can you please check if it's ok and give us a feed back ?

Adios ;-)
Jean-Louis



Alberto López wrote:
> 
> Hi,
> 
> I'm new to OpenEJB and I would like to use it in my organization.
> 
> But the first steps have been somewhat complicated, every time I deploy
> the openejb.war I get the error below.
> 
> I'm using Tomcat 6.0.18 under Windows XP. I also tried Tomcat 5.5 on the
> same machine, but with the same result.
> 
> Would be very grateful for some feedback.
> 
> Java version: 1.6.0_11-b03
> OpenEJB version: 3.1
> 
> Alberto López
>  
> 
> OpenEJB init-params:
> java.lang.ClassNotFoundException:
> org.apache.openejb.tomcat.loader.TomcatHook
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
>         at
> org.apache.openejb.tomcat.loader.TomcatEmbedder.embed(TomcatEmbedder.java:71)
>         at
> org.apache.openejb.tomcat.loader.LoaderServlet.init(LoaderServlet.java:44)
>         at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
>         at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
>         at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
>         at
> org.apache.catalina.core.StandardContext.reload(StandardContext.java:3099)
>         at
> org.apache.catalina.manager.ManagerServlet.reload(ManagerServlet.java:916)
>         at
> org.apache.catalina.manager.HTMLManagerServlet.reload(HTMLManagerServlet.java:536)
>         at
> org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:114)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>         at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
>         at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>         at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>         at java.lang.Thread.run(Thread.java:619)
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/ClassNotFoundException-when-deploying-openejb.war-tp21858040p21975682.html
Sent from the OpenEJB User mailing list archive at Nabble.com.


Mime
View raw message