If you are using JBoss 3.2.X, for the jboss.xml file to be generated correctly, 
we need to change:

@jboss.ejb-ref-jndi ref-name="CustomerLocal" jndi-name="CustomerLocal"

with:

@jboss.ejb-local-ref  ref-name="CustomerLocal" jndi-name="CustomerLocal"

for this to work, we have to edit the xdoclet.xml in the project and replace 
the following

       <jboss
            version="3.0"
            unauthenticatedPrincipal="nobody"
            xmlencoding="UTF-8"
            destdir="${ejb.dd.dir}"
            validatexml="false"
            datasource="java:/DefaultDS"
            datasourcemapping="Hypersonic SQL"
            preferredrelationmapping="foreign-key"
          />

with 

       <jboss
            version="3.2"
            unauthenticatedPrincipal="nobody"
            xmlencoding="UTF-8"
            destdir="${ejb.dd.dir}"
            validatexml="false"
            datasource="java:/DefaultDS"
            datasourcemapping="Hypersonic SQL"
            preferredrelationmapping="foreign-key"
          />

That solve the hole error! :-)


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868274#3868274

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868274


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to