[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-1574) EJB3 Remote Annotation with EJB2.x View - Enhanced Error Message

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Mon Nov 10 07:58:52 EST 2008


    [ https://jira.jboss.org/jira/browse/EJBTHREE-1574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12437639#action_12437639 ] 

Carlo de Wolf commented on EJBTHREE-1574:
-----------------------------------------

The above error is good. It's this one that needs addressing:

13:13:33,564 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:ear=ejb2clienttoejb3.ear,jar=ejb2clienttoejb3-ejb.jar,name=EJB3Bean,service=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) 

> EJB3 Remote Annotation with EJB2.x View - Enhanced Error Message 
> -----------------------------------------------------------------
>
>                 Key: EJBTHREE-1574
>                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1574
>             Project: EJB 3.0
>          Issue Type: Task
>    Affects Versions: AS 5.0.0.CR1
>            Reporter: Tom Iten
>            Priority: Optional
>             Fix For: 1.0.0
>
>
> I'm trying to run an EJB2 Client against an EJB3 SLSB, delivering the client
> an EJB2 Home interface with the usage of the @RemoteHome annotation.
> With JBoss 4.2.2.GA the sample is working fine, with JBoss 5.0.0.CR2 i'm
> getting the following Message during the deploy:
> java.lang.IllegalStateException: EJB 3.0 Core Specification Violation (4.6.7):
> The session bean remote interface interface ... must extend the javax.ejb.EJBObject interface.
> >> A more specific Error Message as suggested by ALR would be fine. 
> >> Details see JBoss Forum Reference

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list