Offline deployer busted when adding sharedlib reference into
offline-deployer-config.xml
----------------------------------------------------------------------------------------
Key: GERONIMO-3544
URL: https://issues.apache.org/jira/browse/GERONIMO-3544
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: deployment
Affects Versions: 2.0.2
Environment: Windows XP SP2
Reporter: Aman Nanner
Fix For: 2.0.x
For EAR applications that have references shared libraries and depend upon the
sharedlib config, the offline-deployer-config.xml needs to be modified to add
the following line:
<module name="org.apache.geronimo.configs/sharedlib/2.0.2/car"/>
This allows for the EAR application to be deployed offline. If this line were
not to be added, the offline deployment would fail.
This was working in Geronimo 2.0.1. As of Geronimo 2.0.2, it seems that adding
this line causes the offline deployment process to hang with the following
error:
----
----
Checking the repository and the config.xml shows that the deployment actually
succeeds, but then the process hangs with the "already deployed" error above.
This error is strange because the specified resource was NOT already deployed.
I've attached a very simple test case that can reproduce the error.
1) Unzip the contents into your top-level Geronimo folder
2) Modify the offline-deployer-config.xml to add the "<module
name="org.apache.geronimo.configs/sharedlib/2.0.2/car"/>" configuration.
3) Execute offline deployment with the following command:
java -jar bin\deployer.jar --user system --password manager --offline deploy
geronimo-activemq-ra-2.0.2.rar jms-dest.xml
This should reproduce the error.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.