[ http://issues.apache.org/jira/browse/GERONIMO-801?page=all ]
Aaron Mulder resolved GERONIMO-801:
-----------------------------------
Fix Version: 1.0-M5
Resolution: Fixed
Now produces:
Error: Unable to distribute survey.war: Unable to resolve resource
reference 'jdbc/Database' (no matching resources found)
> Deployment with missing resource-ref gives an error including an ObjectName
> query
> ---------------------------------------------------------------------------------
>
> Key: GERONIMO-801
> URL: http://issues.apache.org/jira/browse/GERONIMO-801
> Project: Geronimo
> Type: Improvement
> Components: deployment, usability
> Versions: 1.0-M3
> Reporter: Aaron Mulder
> Assignee: Aaron Mulder
> Fix For: 1.0-M5
>
> When deploying a module with an unresolved resource ref (such as web app with
> a web.xml with a resource-ref and no geronimo-web.xml), the error looks like
> this:
> Unknown or ambiguous connection factory name query:
> geronimo.server:J2EEServer=geronimo,J2EEApplication=null,j2eeType=JCAManagedConnectionFactory,name=jdbc/Database,*
> match count: 0
> (Where jdbc/Database is the res-ref-name) It would be much nicer if the
> error said "Unable to resolve the resource reference 'jdbc/DataSource'".
--
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