[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: problem deploying witha jar, class not found
calgacus
do-not-reply at jboss.com
Wed Jul 16 17:46:39 EDT 2008
OK, did that and now when hit the page I get:
ype Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Error instantiating servlet class
ca.BookStore.BookStoreServlet18
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:90)
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:96)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:325)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
root cause
java.lang.ClassNotFoundException:
ca.BookStore.BookStoreServlet18
java.net.URLClassLoader$1.run(URLClassLoader.java:200)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
java.lang.ClassLoader.loadClass(ClassLoader.java:251)
org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:162)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:90)
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:96)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:325)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
on the page and in my server.log I get:
5440 2008-07-16 17:42:25,148 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/BookStore].[BookStore]] (http-127.0.0.1-80 80-1) Allocate exception for servlet BookStore
5441 java.lang.ClassNotFoundException:
5442 ca.BookStore.BookStoreServlet18
5443
5444 at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
5445 at java.security.AccessController.doPrivileged(Native Method)
5446 at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
5447 at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
5448 at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
5449 at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:162)
5450 at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1006)
5451 at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:777)
5452 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
5453 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:183)
5454 at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189)
5455 at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:90)
5456 at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:96)
5457 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
5458 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
5459 at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
5460 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
5461 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:325)
5462 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
5463 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
5464 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
5465 at java.lang.Thread.run(Thread.java:619)
and in the server console I get:
17:42:25,147 INFO [[/BookStore]] Marking servlet BookStore as unavailable
17:42:25,148 ERROR [[BookStore]] Allocate exception for servlet BookStore
java.lang.ClassNotFoundException:
ca.BookStore.BookStoreServlet18
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:162)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1006)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:777)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:183)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:90)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:96)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:325)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
mysteriouser and mysteriouser...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164863#4164863
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164863
More information about the jboss-user
mailing list