Hello,
    When I try to deploy the servlet in Jboss 3.2.8 with jdk1.5 I'm getting the 
error  http status 500. the stack trace is as follows

The content of the web.xml file is also given

if anyone of u hv a solution for the prob,plz do reply.....
 
type Exception report
message 
description The server encountered an internal error () that prevented it from 
fulfilling this request.
exception 
javax.servlet.ServletException: Wrapper cannot find servlet class 
App.NotificationTest or a class it depends on
        
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:81)
        
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:177)
        
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
        org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
        
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
        
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
        
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        java.lang.Thread.run(Thread.java:595)
root cause 
java.lang.ClassNotFoundException: App.NotificationTest
        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.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:81)
        
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:177)
        
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
        org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
        
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
        
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
        
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        java.lang.Thread.run(Thread.java:595)



web.xml file is as follows

here my class file is "NotificationTest" and is within the "App" package 

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd";>

<web-app>
  <display-name>Welcome to JBoss</display-name>
  
     Welcome to JBoss
  
  
  
      <servlet-name>Status Servlet</servlet-name>
      <servlet-class>org.jboss.web.tomcat.tc5.StatusServlet</servlet-class>
    
    <servlet-mapping>
      <servlet-name>Status Servlet</servlet-name>
      <url-pattern>/status</url-pattern>
  </servlet-mapping>
  
  
      <servlet-name>NotificationTest</servlet-name>
      <servlet-class>App.NotificationTest</servlet-class>
    
    <servlet-mapping>
      <servlet-name>NotificationTest</servlet-name>
      <url-pattern>/App/NotificationTest</url-pattern>
  </servlet-mapping>
</web-app>

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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to