You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "viola.lu (JIRA)" <ji...@apache.org> on 2009/03/10 08:38:50 UTC
[jira] Created: (GERONIMODEVTOOLS-564) Fail to create plugin via
GEP
Fail to create plugin via GEP
-----------------------------
Key: GERONIMODEVTOOLS-564
URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-564
Project: Geronimo-Devtools
Issue Type: Bug
Components: eclipse-plugin
Affects Versions: 2.1.4
Environment: os:wind2003 jdk:1.5
Reporter: viola.lu
Assignee: Tim McConnell
Steps:
1.Define a G server runtime, and right-click to open it
2.Open "plugin" page, click "convert app to plugin"->choose any item you would like->next, all fields are empty, and fail to convert it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMODEVTOOLS-564) Fail to create plugin via
GEP
Posted by "Yang Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Zhang updated GERONIMODEVTOOLS-564:
----------------------------------------
Attachment: GeronimoServerPluginManager.java
It seems something wrong with the 'getGBean' method used in GeronimoServerPluginManager when trying to init the PluginInstaller, but I still do not know the reason exactly.
Now I used Proxy instead, and it works fine.
> Fail to create plugin via GEP
> -----------------------------
>
> Key: GERONIMODEVTOOLS-564
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-564
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.1.4
> Environment: os:wind2003 jdk:1.5
> Reporter: viola.lu
> Assignee: Tim McConnell
> Attachments: 564.patch
>
>
> Steps:
> 1.Define a G server runtime, and right-click to open it
> 2.Open "plugin" page, click "convert app to plugin"->choose any item you would like->next, all fields are empty, and fail to convert it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (GERONIMODEVTOOLS-564) Fail to create plugin via
GEP
Posted by "Tim McConnell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim McConnell resolved GERONIMODEVTOOLS-564.
--------------------------------------------
Resolution: Fixed
Fix Version/s: 2.1.4
2.2.0
Resolved with latest patch from Larry....
> Fail to create plugin via GEP
> -----------------------------
>
> Key: GERONIMODEVTOOLS-564
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-564
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.1.4
> Environment: os:wind2003 jdk:1.5
> Reporter: viola.lu
> Assignee: Tim McConnell
> Fix For: 2.2.0, 2.1.4
>
> Attachments: 562+564.patch, 564.patch
>
>
> Steps:
> 1.Define a G server runtime, and right-click to open it
> 2.Open "plugin" page, click "convert app to plugin"->choose any item you would like->next, all fields are empty, and fail to convert it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMODEVTOOLS-564) Fail to create plugin via
GEP
Posted by "Larry Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Larry Zhang updated GERONIMODEVTOOLS-564:
-----------------------------------------
Attachment: 562+564.patch
Hi,Tim,I'm very sorry for the last two patches.
Today, I tested the gep again and found another reason for this jira:
In GeronimoServerPluginManager.installPlugins step 2, when the plugin doesn't have version number, may cause the error below:
java.lang.IllegalArgumentException: Artifact org.apache.geronimo.samples/calculator-stateless-ear//car is not fully resolved
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.isLoaded(SimpleConfigurationManager.java:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
I have fixed it . This time , I made one patch both for 562 and 564.
And for your errors , do you use the geronimo 2.1.4-snapshot ? If the answer is yes, maybe you need to mofidy your plugins ,because in 2.1.4-snapshot ,the org.apache.geronimo.configs/tomcat6/2.1.4/car was replaced by org.apache.geronimo.configs/tomcat6/2.1.4-SNAPSHOT/car.
> Fail to create plugin via GEP
> -----------------------------
>
> Key: GERONIMODEVTOOLS-564
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-564
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.1.4
> Environment: os:wind2003 jdk:1.5
> Reporter: viola.lu
> Assignee: Tim McConnell
> Attachments: 562+564.patch, 564.patch
>
>
> Steps:
> 1.Define a G server runtime, and right-click to open it
> 2.Open "plugin" page, click "convert app to plugin"->choose any item you would like->next, all fields are empty, and fail to convert it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMODEVTOOLS-564) Fail to create plugin via
GEP
Posted by "Yang Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Zhang updated GERONIMODEVTOOLS-564:
----------------------------------------
Attachment: 564.patch
It seems something wrong with the 'getGBean' method used in GeronimoServerPluginManager when trying to init the PluginInstaller, but I still do not know the reason exactly.
Now I used Proxy instead, and it works fine.
> Fail to create plugin via GEP
> -----------------------------
>
> Key: GERONIMODEVTOOLS-564
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-564
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.1.4
> Environment: os:wind2003 jdk:1.5
> Reporter: viola.lu
> Assignee: Tim McConnell
> Attachments: 564.patch
>
>
> Steps:
> 1.Define a G server runtime, and right-click to open it
> 2.Open "plugin" page, click "convert app to plugin"->choose any item you would like->next, all fields are empty, and fail to convert it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-564) Fail to create plugin via
GEP
Posted by "Tim McConnell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683151#action_12683151 ]
Tim McConnell commented on GERONIMODEVTOOLS-564:
------------------------------------------------
Hi again Larry, I've commited your patch for the 2.1.4 branch and trunk. It works great. I was able to easily convert all the applications in the samples zip (attached to 562) into plugins. And to verify they were actually converted correctly, I created a custom server that included the converted plugins. I'll resolve both of these JIRAs and push the new builds out to the unstable site. Thanks very much for fixing this.....
> Fail to create plugin via GEP
> -----------------------------
>
> Key: GERONIMODEVTOOLS-564
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-564
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.1.4
> Environment: os:wind2003 jdk:1.5
> Reporter: viola.lu
> Assignee: Tim McConnell
> Fix For: 2.2.0, 2.1.4
>
> Attachments: 562+564.patch, 564.patch
>
>
> Steps:
> 1.Define a G server runtime, and right-click to open it
> 2.Open "plugin" page, click "convert app to plugin"->choose any item you would like->next, all fields are empty, and fail to convert it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMODEVTOOLS-564) Fail to create plugin via
GEP
Posted by "Yang Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Zhang updated GERONIMODEVTOOLS-564:
----------------------------------------
Attachment: (was: GeronimoServerPluginManager.java)
> Fail to create plugin via GEP
> -----------------------------
>
> Key: GERONIMODEVTOOLS-564
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-564
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.1.4
> Environment: os:wind2003 jdk:1.5
> Reporter: viola.lu
> Assignee: Tim McConnell
> Attachments: 564.patch
>
>
> Steps:
> 1.Define a G server runtime, and right-click to open it
> 2.Open "plugin" page, click "convert app to plugin"->choose any item you would like->next, all fields are empty, and fail to convert it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-564) Fail to create plugin via
GEP
Posted by "Tim McConnell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681995#action_12681995 ]
Tim McConnell commented on GERONIMODEVTOOLS-564:
------------------------------------------------
Hi Yang, This patch seems to work a little better than the patch for 562. It compiles, allows me to select a plugin to install, but still fails with the error below. Also, I'm a little unclear how to reconcile these two patches. It might be better to fix both JIRAs with a single patch since they both change the single GeronimoServerPluginManager class. Or if two patches are required please provide instructions for the proper order to apply them. Also, again it's best to create a patch from the root directory. Thanks
2009-03-14 00:41:30,421 ERROR [UrlResourceFinder] java.lang.UnsupportedOperationException: Only local file jars are supported jar:file:/C:/RUNTIMES/GERONIMO/2.1.4/repository/org/apache/geronimo/samples/calculator-stateless-ear/2.1.1.2/calculator-stateless-ear-2.1.1.2.car!/calculator-stateless-ejb.jar
2009-03-14 00:41:30,421 ERROR [UrlResourceFinder] java.lang.UnsupportedOperationException: Only local file jars are supported jar:file:/C:/RUNTIMES/GERONIMO/2.1.4/repository/org/apache/geronimo/samples/calculator-stateless-ear/2.1.1.2/calculator-stateless-ear-2.1.1.2.car!/
2009-03-14 00:41:30,437 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="org.apache.geronimo.samples/calculator-stateless-ear/2.1.1.2/car?configurationName=org.apache.geronimo.samples/calculator-stateless-ear/2.1.1.2/car"
org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: org.apache.geronimo.configs/tomcat6/2.1.4/car
at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)
at org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:272)
at org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:300)
at sun.reflect.GeneratedConstructorAccessor36.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:948)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
at org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:361)
at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:161)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:281)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:256)
at org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration(KernelConfigurationManager.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(Unknown Source)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(Unknown Source)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl.access$100(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source)
at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
> Fail to create plugin via GEP
> -----------------------------
>
> Key: GERONIMODEVTOOLS-564
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-564
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.1.4
> Environment: os:wind2003 jdk:1.5
> Reporter: viola.lu
> Assignee: Tim McConnell
> Attachments: 564.patch
>
>
> Steps:
> 1.Define a G server runtime, and right-click to open it
> 2.Open "plugin" page, click "convert app to plugin"->choose any item you would like->next, all fields are empty, and fail to convert it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-564) Fail to create plugin via
GEP
Posted by "Yang Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680814#action_12680814 ]
Yang Zhang commented on GERONIMODEVTOOLS-564:
---------------------------------------------
It seems something wrong with the 'getGBean' method used in GeronimoServerPluginManager when trying to init the PluginInstaller, but I still do not know the reason exactly.
Now I used Proxy instead, and it works fine.
> Fail to create plugin via GEP
> -----------------------------
>
> Key: GERONIMODEVTOOLS-564
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-564
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.1.4
> Environment: os:wind2003 jdk:1.5
> Reporter: viola.lu
> Assignee: Tim McConnell
>
> Steps:
> 1.Define a G server runtime, and right-click to open it
> 2.Open "plugin" page, click "convert app to plugin"->choose any item you would like->next, all fields are empty, and fail to convert it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-564) Fail to create plugin via
GEP
Posted by "Tim McConnell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682884#action_12682884 ]
Tim McConnell commented on GERONIMODEVTOOLS-564:
------------------------------------------------
Hi Larry, thanks very much for consolidating these two patches. This patch looks much promising -- the patched class compiles, it was created from the root level, and when invoking the patched funciton I can now select any or all of the plugins to install !! I need to do some more testing with it tomorrow, but this is certainly a step in the right direction. Thanks again....
> Fail to create plugin via GEP
> -----------------------------
>
> Key: GERONIMODEVTOOLS-564
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-564
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.1.4
> Environment: os:wind2003 jdk:1.5
> Reporter: viola.lu
> Assignee: Tim McConnell
> Attachments: 562+564.patch, 564.patch
>
>
> Steps:
> 1.Define a G server runtime, and right-click to open it
> 2.Open "plugin" page, click "convert app to plugin"->choose any item you would like->next, all fields are empty, and fail to convert it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMODEVTOOLS-564) Fail to create plugin via
GEP
Posted by "Yang Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Zhang updated GERONIMODEVTOOLS-564:
----------------------------------------
Comment: was deleted
(was: It seems something wrong with the 'getGBean' method used in GeronimoServerPluginManager when trying to init the PluginInstaller, but I still do not know the reason exactly.
Now I used Proxy instead, and it works fine. )
> Fail to create plugin via GEP
> -----------------------------
>
> Key: GERONIMODEVTOOLS-564
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-564
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.1.4
> Environment: os:wind2003 jdk:1.5
> Reporter: viola.lu
> Assignee: Tim McConnell
>
> Steps:
> 1.Define a G server runtime, and right-click to open it
> 2.Open "plugin" page, click "convert app to plugin"->choose any item you would like->next, all fields are empty, and fail to convert it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.