1 Reply Latest reply on Nov 8, 2006 12:35 PM by l_richy007

    javax.servlet.ServletException: Lookup of java:/comp/env/ fa

    wkkschb

      hi i'm using eclipse 3.1 with JBoss 4.x server and trying out the tutorial - Fibo

      i got it deployed and all and the server is running.

      i go to http://localhost:8080/fibo/

      and i see the screen that i am suppose to see. however when i press "compute" i get the following error

      i guess its something to do with the tomcat server....how do i resolve this..

      just starting using JBoss and its hell to follow the tutorial because of JBoss versions, eclipse versions ... all these versions are just getting out of hand.

      ASAP response please..

      many thanks in advance

      javax.servlet.ServletException: Lookup of java:/comp/env/ failed
       tutorial.web.ComputeServlet.init(ComputeServlet.java:52)
       org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:95)
       org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       java.lang.Thread.run(Thread.java:595)