[jboss-user] [EJB 3.0] - Re: EJB2 Client calling EJB3 Bean

tom.iten@gmx.net do-not-reply at jboss.com
Wed Nov 5 07:39:23 EST 2008


Hi jaikiran

- I changed the remote interface according the Error Message

- Removed the "implements EJB3Remote" clause from the Bean
  (so i do not have to implement all the callbacks in EJB2.x manner)

After this changes i got a Exception during the deploy:

13:13:33,564 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:ear=ejb2clienttoejb3.ear,jar=ejb2clienttoejb3-ejb.jar,name=EJB3Bean,ser
vice=EJB3 state=Create
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.RangeCheck(ArrayList.java:546)
        at java.util.ArrayList.get(ArrayList.java:321)
        at org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase.createJndiReferenceBindingSet(JndiSessionRegistrarBase.java:222)
        at org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase.bindEjb(JndiSessionRegistrarBase.java:162)


By delivering a jboss.xml descriptor file with the jndi home interface name
i could run the sample. Thanks!

best regards
Tom

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

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



More information about the jboss-user mailing list