3 Replies Latest reply on Dec 8, 2004 6:07 PM by raist_majere

    Fibo tutorial - HTTP 500 error javax.servlet.ServletExceptio

    lsalse

      Dear all,

      I am new in j2ee and I tried the Fibo tutorial to experiment JBoss-Eclipse IDE.

      I followed exactly step by step what is required in the pdf ; Everything resulted fine in Eclipse but the execution of the apps throws an HTTP 500 error :

      javax.servlet.ServletException: Lookup of java:/comp/env/ failed
      tutorial.web.ComputeServlet.init(ComputeServlet.java:54)
      org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
      org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)
      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:683)
      java.lang.Thread.run(Thread.java:534)


      I wonder what is wrong in my server configuration or what is missing in the files web.xml or jboss-web.xml ?
      Actually both files contain a lot of comments and very few tags ...

      Someone could give an help ?

      Kind regards,
      Laurent