You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org> on 2005/07/23 00:48:45 UTC
[jira] Resolved: (GERONIMO-712) web deployment fails silently with missing resource ref
[ http://issues.apache.org/jira/browse/GERONIMO-712?page=all ]
Aaron Mulder resolved GERONIMO-712:
-----------------------------------
Resolution: Cannot Reproduce
I don't see that behavior. I have a web app with no Geronimo deployment plan and a web.xml including:
<resource-ref>
<res-ref-name>jdbc/Database</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
I get this:
java -jar ~/dev/geronimo/modules/assembly/target/geronimo-1.0-SNAPSHOT/bin/deployer.jar --user system --password manager distribute survey.war
Error: Operation failed: Unknown or ambiguous connection factory
name query:
geronimo.server:J2EEServer=geronimo,J2EEApplication=null,j2eeType=JCAManagedConnectionFactory,name=jdbc/Database,*
match count: 0
java -jar ~/dev/geronimo/modules/assembly/target/geronimo-1.0-SNAPSHOT/bin/deployer.jar --user system --password manager deploy survey.war
Error: Unable to distribute survey.war: Unknown or ambiguous
connection factory name query:
geronimo.server:J2EEServer=geronimo,J2EEApplication=null,j2eeType=JCAManagedConnectionFactory,name=jdbc/Database,*
match count: 0
I think this may have been fixed by the previous change to not ignore failures during the distribute phase of a deploy operation. If this is still a problem with the current HEAD, please post the WAR as an attachment.
> web deployment fails silently with missing resource ref
> -------------------------------------------------------
>
> Key: GERONIMO-712
> URL: http://issues.apache.org/jira/browse/GERONIMO-712
> Project: Geronimo
> Type: Bug
> Components: deployment
> Reporter: Jeremy Boynes
> Assignee: Aaron Mulder
> Fix For: 1.0-M5
>
> I have a war file that is missing a resource ref
> When I distribute this file using "java -jar $bin/deployer.jar distribute build/foo.war" an error is printed out.
> However, when I use the "deploy" option nothing is reported.
--
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