0 Replies Latest reply on Sep 5, 2001 10:47 AM by reidlai

    CMP ejb-name vs jndi-name

    reidlai

      Hi There,

      I've deployed CMP in JBoss 2.2.2. It works fine. But problem occurred after chaning ejb-name to another one. My CMP generated "INSERT INTO xxx/yyy/myCMPBean ...." sql statement. The reason why I changed ejb-name is I just want my CMP entity bean can be lookup up as "xxx/yyy/myCMPBean". I tried to use jndi-name in jboss.xml (that means ejb-name is MyCMPBean and jndi-name is xxx/yyy/myCMPBean) but the JNDI uri seems no change and depend ejb-name rather than jndi-name. Therefore, I changed ejb-name as the above. Is there any hint? Thanks.

      Reid