Anyone have an example config from jboss-web.xml. I have session beans that
call enitity beans and have only had to put in <ejb-ref>'s in the
ejb-jar.xml file and those work fine. Now I've got servlets from my web app
that call sesson beans in my ejb jar and I'm not sure how to reference
these. I thinks it's jboss-web.xml like the error says.
[Auto deploy] Linking ejb-ref: ejb/ConfigBuildHome to JNDI name: null
[Auto deploy] javax.naming.NamingException: ejb-ref: ejb/ConfigBuildHome,
expected jndi-name in jboss-web.xml
And on the *.jsp page I get ...
Internal Servlet Error:
javax.servlet.ServletException: Include failed:Include failed:ejb not bound
at org.apache.jasper.runtime.PageContextImpl.handlePageException ...
------------------------
Below is jboss-web.xml that I put together thinking it was exactly like
jboss.xml, but I don't know.
------------- my jboss-web.xml ---------------------
<?xml version="1.0" encoding="UTF-8"?>
<jboss>
<enterprise-beans>
<session>
<ejb-name>ConfigBuild</ejb-name> (I think this is ejb-jar.xml
<ejb-name> tag?)
<jndi-name>ejb/ConfigBuild</jndi-name> (and this is the <remote>
class?)
</session>
</enterprise-beans>
</jboss>
TIA
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user