error: javax.servlet.ServletException: Lookup of java:/comp/env/ failed
open source: jboss 3.2.x eclipse
j2ee1.4 and eclipse 3.0
jboss web.xml
<ejb-ref>
<ejb-ref-name>ejb/Fibo</ejb-ref-name>
<jndi-name>ejb/Fibo</jndi-name>
</ejb-ref>
web.xml
<servlet-name>Compute</servlet-name>
<display-name>Computation servlet</display-name>
<![CDATA[Servlet that compute fibonacci suite]]>
<servlet-class>tutorial.web.ComputeServlet</servlet-class>
<servlet-mapping>
<servlet-name>Compute</servlet-name>
<url-pattern>/Compute</url-pattern>
</servlet-mapping>
<ejb-ref >
<![CDATA[Reference to the Fibo EJB]]>
<ejb-ref-name>ejb/Fibo</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
tutorial.interfaces.FiboHome
tutorial.interfaces.Fibo
</ejb-ref>
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881698#3881698
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881698
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user