You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2010/09/12 07:44:32 UTC

[jira] Resolved: (GERONIMO-5346) infer jndi type from injection target; check type consistency

     [ https://issues.apache.org/jira/browse/GERONIMO-5346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Gawor resolved GERONIMO-5346.
-----------------------------------

    Resolution: Fixed

The error message is correct. The problem is that the JNDI name of the env-entry in the deployment descriptor does not match the JNDI name of @Resource annotation. To make them match change @Resource to @Resource(name="welcomeMessage").


> infer jndi type from injection target; check type consistency
> -------------------------------------------------------------
>
>                 Key: GERONIMO-5346
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5346
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment, naming
>    Affects Versions: 3.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.0
>
>         Attachments: helloworld.zip
>
>
> Not sure if this was required in ee5, but ee6 requires that if a naming entry type is missing, it be determined from the injection target type, and that all these be consistent.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.