You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2008/06/09 20:46:46 UTC
[jira] Created: (GERONIMO-4111) Plugin installation works with
search-plugins command but fails with install-plugin command
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.2
Reporter: Jarek Gawor
Assignee: Jarek Gawor
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.
[jira] Updated: (GERONIMO-4111) Plugin installation works with
search-plugins command but fails with install-plugin command
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Gawor updated GERONIMO-4111:
----------------------------------
Affects Version/s: 2.1.1
> 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.
[jira] Resolved: (GERONIMO-4111) Plugin installation works with
search-plugins command but fails with install-plugin command
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (GERONIMO-4111) Plugin installation works with
search-plugins command but fails with install-plugin command
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603645#action_12603645 ]
Jarek Gawor commented on GERONIMO-4111:
---------------------------------------
Output of install-plugin command:
Checking for status every 1000ms:
Starting org.apache.geronimo.configs/cxf/2.2-SNAPSHOT/car
Installation FAILED: load of org.apache.geronimo.configs/cxf/2.2-SNAPSHOT/car failed
On the server the following exceptions are logged:
{noformat}
14:53:03,281 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="org.apache.geronimo.configs/cxf/2.2-SNAPSHOT/car?configurationName=org.apache.geronimo.configs/cxf/2.2-SNAPSHOT/car"
org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: org.apache.cxf/cxf-rt-bindings-soap/2.0.6/jar
at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:406)
at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:323)
at org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:268)
{noformat}
Looks like dependencies are not being downloaded using install-plugin command.
> 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.2
> Reporter: Jarek Gawor
> Assignee: Jarek Gawor
>
> 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.