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, 04 Aug 2005 19:26:42 GMT
     [ http://issues.apache.org/jira/browse/GERONIMO-847?page=all ]

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

    Description: 
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.

  was:
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'".
 I believe a similar change was made eslerwhere recently, just need to track down the specifics.


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

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