Tony, I am using struts and ejb in my application. I am using the JBoss bundled tomcat servlet container. Tomcat has its own JNDI resource (separate from JBoss JNDI). I had to create a reference / link in my webapp for each of my ejbs deployed/managed by JBoss. Below is an example of the web.xml file related to my other post / descriptors (note the ejb's are "local" not remote).
Hopefully this helps. ../WEB-INF/web.xml | <web-app> | <servlet> | ... | </servlet> | <servlet-mapping> | ... | </servlet-mapping> | <welcome-file-list> | ... | </welcome-file-list> | | <!-- EJB References --> | <ejb-local-ref> | <ejb-ref-name>PersonBeanLocalHome</ejb-ref-name> | <ejb-ref-type>Session</ejb-ref-type> | <local-home>org.blah.ejb.PersonBeanLocalHome</local-home> | <local>org.blah.ejb.PersonBeanLocal</local> | <ejb-link>PersonBean</ejb-link> | </ejb-local-ref> | <ejb-local-ref> | <ejb-ref-name>MemberBeanLocalHome</ejb-ref-name> | <ejb-ref-type>Session</ejb-ref-type> | <local-home>org.blah.ejb.MemberBeanLocalHome</local-home> | <local>org.blah.ejb.MemberBeanLocal</local> | <ejb-link>MemberBean</ejb-link> | </ejb-local-ref> | </web-app> | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919865#3919865 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919865 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
