geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder (JIRA)" <...@geronimo.apache.org>
Subject [jira] Updated: (GERONIMO-847) Better error for unmapped resource reference
Date Thu, 27 Apr 2006 20:36:37 GMT
     [ http://issues.apache.org/jira/browse/GERONIMO-847?page=all ]

Aaron Mulder updated GERONIMO-847:
----------------------------------

    Fix Version: 1.1
                     (was: 1.x)
      Assign To: Aaron Mulder
       Priority: Critical  (was: Major)

Check what happens in 1.1.

> 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: Aaron Mulder
>     Priority: Critical
>      Fix For: 1.1

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


Mime
View raw message