-
1. Re: Call a local Interface from a Servlet
adrian.brock Mar 19, 2002 5:53 AM (in response to iddy)There's an example in this thread.
http://main.jboss.org/thread.jsp?forum=47&thread=10656
Regards,
Adrian -
2. Re: Call a local Interface from a Servlet
jmoring Mar 19, 2002 9:37 PM (in response to iddy)This example is missing the web.xml for the Servlet that is making use of a local ejb reference. Is there a complete example anywhere that shows all the necessary components required for accessing ejbs from a servlet using a local interface. I always get a "ejb not registered" error when trying to access the ejb in java:comp/env
Thanks -
3. Re: Call a local Interface from a Servlet
adrian.brock Mar 20, 2002 5:35 AM (in response to iddy)Here's the web.xml for that example.
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/jbosstest/src/resources/web/WEB-INF/jbosstest-web.xml?annotate=1.2
You can find the local references at the bottom.
Regards,
Adrian -
4. Re: Call a local Interface from a Servlet
jmoring Mar 20, 2002 10:23 AM (in response to iddy)Thanks so much. This completes the configuration picture for me. I am running 2.4.4 and it seems this version of the AbstractWebContainer does not support local EJB references. Is there a 2.4.5 in the work or is the 2.4.x line complete? My preference would not be to download the current sources and create a custom build. This there a patch methodology for introducing updated classes to existing builds?
Thanks
Jim -
5. Re: Call a local Interface from a Servlet
adrian.brock Mar 20, 2002 10:43 AM (in response to iddy)There is a 2.4.5 branch in CVS
for the next maintenance release of the 2.4
If you want to submit a patch, submit it on sourceforge
against 2.4.4 (stable)
http://sourceforge.net/tracker/?group_id=22866&atid=376687
Regards,
Adrian -
6. Re: Call a local Interface from a Servlet
scotticek May 2, 2002 12:37 PM (in response to iddy)Hi,
Where did you see that JBoss 2.4.4 does not support ejb local lookups? Can someone please confirm whether JBoss 2.4.4 does or does not support local ejb lookups from servlets.
Many thanks
Scott -
7. Re: Call a local Interface from a Servlet
adrian.brock May 2, 2002 1:19 PM (in response to iddy)http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/jboss/src/main/org/jboss/web/AbstractWebContainer.java
Support added at version 1.4.4.12
2.4.4 is 1.4.4.9
Regards,
Adrian