You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Blevins (JIRA)" <de...@geronimo.apache.org> on 2005/09/27 00:11:06 UTC

[jira] Updated: (GERONIMO-847) Better error for unmapped resource reference

     [ http://issues.apache.org/jira/browse/GERONIMO-847?page=all ]

David Blevins updated GERONIMO-847:
-----------------------------------

    Fix Version: 1.0
                     (was: 1.0-M5)

> Better error for unmapped resource reference
> --------------------------------------------
>
>          Key: GERONIMO-847
>          URL: http://issues.apache.org/jira/browse/GERONIMO-847
>      Project: Geronimo
>         Type: Improvement
>   Components: deployment, naming, web
>     Versions: 1.0-M4
>     Reporter: Aaron Mulder
>      Fix For: 1.0

>
> When you add a resource-ref to web.xml but not geronimo-web.xml, you get an error like:
> Error: Unable to distribute foo.war: Unknown or ambiguous
> connection factory name query:
> geronimo.server:J2EEServer=geronimo,J2EEApplication=null,j2eeType=JCAManagedConnectionFactory,
> name=jms/TestConnectionFactory,*
> match count: 0
> It would be better if the error said "Unable to resolve resource-ref 'jms/TestConnectionFactory'".  It looks like there's a good message if you provide an invalid mapping value in geronimo-web.xml, but not a good message if you do not provide any mapping in geronimo-web.xml.

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