[
https://issues.apache.org/jira/browse/GERONIMO-4111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jarek Gawor resolved GERONIMO-4111.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.2
2.1.2
The install-plugin command is calling PluginInstallerGBean.install(File)
method. That method after validating the plugin information copied the car file
to Geronimo repository and called PluginInstallerGBean.install(PluginListType)
method. The PluginInstallerGBean.install(PluginListType) method performed the
plugin validation again but this time the validation failed becuase the car
file was already copied to the Geronimo repository. That is, the installer
thought the plugin was already installed and therefore the dependencies were
not downloaded. Thus, the missing dependency exceptions.
The fix was do disable the plugin validation in
PluginInstallerGBean.install(PluginListType) method when plugin was installed
via PluginInstallerGBean.install(File) method.
Committed fixes to trunk (revision 665872) and branches/2.1 (revision 665873).
> Plugin installation works with search-plugins command but fails with
> install-plugin command
> -------------------------------------------------------------------------------------------
>
> Key: GERONIMO-4111
> URL: https://issues.apache.org/jira/browse/GERONIMO-4111
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Plugins
> Affects Versions: 2.1.1, 2.2
> Reporter: Jarek Gawor
> Assignee: Jarek Gawor
> Fix For: 2.1.2, 2.2
>
>
> Installation of the same plugin works using search-plugins command but fails
> with install-plugin command.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.