[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1465) Injection of resource-ref elements without a mapped name fail

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Mon Aug 18 07:03:58 EDT 2008


Injection of resource-ref elements without a mapped name fail
-------------------------------------------------------------

                 Key: EJBTHREE-1465
                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1465
             Project: EJB 3.0
          Issue Type: Bug
          Components: core
            Reporter: Carlo de Wolf
            Assignee: Carlo de Wolf
            Priority: Critical
             Fix For: AS 5.0.0.CR2


The following piece of xml:

<resource-ref>
    <res-ref-name>orb</res-ref-name>
    <res-type>org.omg.CORBA.ORB</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    <injection-target>
        <injection-target-class>MyClass</injection-target-class>
        <injection-target-name>orb</injection-target-name>
    </injection-target>
</resource-ref>

results in:

javax.ejb.EJBException: java.lang.RuntimeException: Unable to inject jndi dependency: java:comp/ORB into property MyClass.orb: comp not bound

-- 
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