My configuration is:
- Eclipse Version: 3.1.0
- jdk1.5.0_02
- jboss-4.0.3
- jboss-EJB-3.0_RC3
- Eclipse plugins for jboss

I tried to run the tutorial and i got the same problem as lusabo:

javax.servlet.ServletException: Lookup of java:/comp/env/ failed
        PSDB_Plugin.web.ComputeServlet.init(ComputeServlet.java:56)
        
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
        
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
        
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
        
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:856)
        
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
        
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)

My code is:
Context context = new InitialContext();
                        Object ref = context.lookup("java:comp/env/ejb/Fibo");

Can anyone help me ?
thx


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

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


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to