[jboss-user] [Beginners Corner] - Re: JBoss, JNDI and BMP's

hsaha do-not-reply at jboss.com
Thu Jan 3 05:49:45 EST 2008


Everything looks ok .. just try to modify your jboss.xml with the following:

  | <?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
  | <jboss>
  |    <enterprise-beans>
  |       <entity>
  |          <ejb-name>BMPCustomer</ejb-name>
  |          <jndi-name>ejb/BMPCustomer</jndi-name>
  |          <local-jndi-name>ejb/BMPCustomer</local-jndi-name>
  |          <configuration-name>Standard BMP EntityBean</configuration-name>
  | 
  |         <method-attributes>
  |         </method-attributes>
  |       </entity>
  |    </enterprise-beans>
  | </jboss>
  | 

Also .. during deployment of the war, if the EJB is recognized properly, the console should have messages like ...

  | [EjbModule] Deploying <ejb_name>
  | 

Try this one out ..

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

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



More information about the jboss-user mailing list