I'm having some issues getting the tutorial to run.  It appears to be something to do 
with the jndi lookup in the servlet.  

I noticed that the xdoclet code completions didn't work for the following section in 
the JavaDocs in the servlet.

...
 * @jboss.ejb-ref-jndi  ref-name = "ejb/Fibo"
 *                                              jndi-name = "ejb/tutorial/Fibo"
...

I tried to type it in anyways and everything seemed to build and deploy fine.  The 
problems show up when I try to run the servlet.  I get the following error:

javax.servlet.ServletException: Lookup of java:/comp/env/ failed
        tutorial.web.ComputeServlet.init(ComputeServlet.java:112)
        javax.servlet.GenericServlet.init(GenericServlet.java:211)
        
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:72)
        
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:275)
        org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        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)

Any help/clues as to what I've done wrong would be much appreciated.

Thanks. 

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

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


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to