In ejb-jar I have this entry:
<ejb-local-ref >
<ejb-ref-name>ejb/NamsPersonServerLocal</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>edu.usf.acomp.epic.ee.server.persons.NamsPersonServerLocalHome</local-home>
<local>edu.usf.acomp.epic.ee.server.persons.NamsPersonServerLocal</local>
<ejb-link>NamsPersonServer</ejb-link>
</ejb-local-ref>


in jboss.xml I have
     <entity>
        <ejb-name>NamsPersonServer</ejb-name>
        <jndi-name>NamsPersonServerBean</jndi-name>
        <local-jndi-name>NamsPersonServerLocal</local-jndi-name>
        <ejb-ref>
           <ejb-ref-name>ejb/NamsPersonServerLocal</ejb-ref-name>
           <jndi-name>NamsPersonServerLocal</jndi-name>
        </ejb-ref>
        <resource-ref>
           <res-ref-name>jdbc/DefaultDS</res-ref-name>
           <jndi-name>java:/DefaultDS</jndi-name>
        </resource-ref>

</entity>

I get the following error:
org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean NamsPersonServer: ejb-ref ejb/NamsPersonServerLocal found in jboss.xml but not in ejb-jar.xml


 This is what I have the XDoclet uses, I guess:
* @ejb.ejb-ref ejb-name="NamsPersonServer"
*  view-type="local"
*  ref-name="NamsPersonServerLocal"
* @jboss.ejb-ref-jndi ref-name="NamsPersonServerLocal"
*  jndi-name="NamsPersonServerLocal"


What do I need to change so that I can deploy my module now.


Thank you.

--
"We do not lose our identity in our relations with others; in part, at least, we achieve 
our identity by those relations." Tony Blair, 1993




------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to