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

    Resolution: Fixed
     Assign To: David Jencks  (was: Aaron Mulder)

Applied, thanks for the patch!

> Better error for unmapped resource reference
> --------------------------------------------
>
>          Key: GERONIMO-847
>          URL: http://issues.apache.org/jira/browse/GERONIMO-847
>      Project: Geronimo
>         Type: Improvement
>     Security: public(Regular issues) 
>   Components: deployment, naming, web
>     Versions: 1.0-M4
>     Reporter: Aaron Mulder
>     Assignee: David Jencks
>     Priority: Critical
>      Fix For: 1.1
>  Attachments: 847-resource-ref-error-msg.patch
>
> 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

Reply via email to