0 Replies Latest reply on Jul 3, 2006 10:53 AM by kuha guna

    please help me with this error!

    kuha guna Newbie

      i use jbose ide with jboss 4.0.1. i use jdk 5.0.6 version
      i repeatedly get this error while i try to run my pages(jsp/servlets)

      i was able to build it successfully, but could not get it run

      Somebody please help me to get overthis

      ERROR [Engine] ----- Root Cause -----
      java.lang.ClassCastException: com.devx.example.HelloWorldServlet
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:987)
      at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:144)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:150)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      at java.lang.Thread.run(Thread.java:595)
      20:13:26,563 INFO [Engine] StandardWrapperValve[HelloWorldServlet]: Servlet HelloWorldServlet is currently unavailable
      20:13:27,250 INFO [Engine] StandardWrapperValve[HelloWorldServlet]: Servlet HelloWorldServlet is currently unavailable
      20:13:27,704 INFO [Engine] StandardWrapperValve[HelloWorldServlet]: Servlet HelloWorldServlet is currently unavailable
      20:13:28,266 INFO [Engine] StandardWrapperValve[HelloWorldServlet]: Servlet HelloWorldServlet is currently unavailable
      20:13:28,970 INFO [Engine] StandardWrapperValve[HelloWorldServlet]: Servlet HelloWorldServlet is currently unavailable
      20:13:29,658 INFO [Engine] StandardWrapperValve[HelloWorldServlet]: Servlet HelloWorldServlet is currently unavailable
      20:13:30,767 INFO [Engine] StandardWrapperValve[HelloWorldServlet]: Servlet HelloWorldServlet is currently unavailable
      20:18:47,160 INFO [Engine] StandardWrapperValve[HelloWorldServlet]: Servlet HelloWorldServlet is currently unavailable