[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: problem deploying witha jar, class not found

calgacus do-not-reply at jboss.com
Wed Jul 16 17:32:15 EDT 2008


Hi, 
When I try that (jar to war) and redeploy and hit the page I get this response:

HTTP Status 500 -

type 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)


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164856#4164856

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164856



More information about the jboss-user mailing list