You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Yi Xiao (JIRA)" <ji...@apache.org> on 2011/05/19 10:41:47 UTC
[jira] [Created] (GERONIMODEVTOOLS-749) Open the Geronimo plan, an
error occurs when the server is started
Open the Geronimo plan, an error occurs when the server is started
------------------------------------------------------------------
Key: GERONIMODEVTOOLS-749
URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-749
Project: Geronimo-Devtools
Issue Type: Bug
Components: eclipse-plugin
Affects Versions: 2.2.2, 3.0
Environment:
win7 64bit, eclipse3.6SR2, sun_jdk_1.6.25;
winXP x86, eclipse3.6SR1, sun_jdk_1.6.24;
Reporter: Yi Xiao
Assignee: Yi Xiao
'Getting Dynamic Infomation from Server' has encountered a problem.
An internal error occurred during: "Getting Dynamic Information from Server".
java.lang.ClassCastException: org.apache.geronimo.gbean.AbstractName cannot be cast to org.apache.geronimo.gbean.AbstractName
at org.apache.geronimo.st.v30.core.GeronimoServerInfo.getByType(GeronimoServerInfo.java:395)
at org.apache.geronimo.st.v30.core.GeronimoServerInfo.updateDeployedEJBs(GeronimoServerInfo.java:161)
at org.apache.geronimo.st.v30.core.GeronimoServerInfo.access$1(GeronimoServerInfo.java:159)
at org.apache.geronimo.st.v30.core.GeronimoServerInfo$1.run(GeronimoServerInfo.java:120)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
org.apache.geronimo.st.ui: EXIT: SharedDeploymentPlanEditor.doAddPages()
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (GERONIMODEVTOOLS-749) Open the Geronimo plan, an
error occurs when the server is started
Posted by "Yi Xiao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yi Xiao updated GERONIMODEVTOOLS-749:
-------------------------------------
Attachment: classCastException.patch
> Open the Geronimo plan, an error occurs when the server is started
> ------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-749
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-749
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.2.2, 3.0
> Environment: win7 64bit, eclipse3.6SR2, sun_jdk_1.6.25;
> winXP x86, eclipse3.6SR1, sun_jdk_1.6.24;
> Reporter: Yi Xiao
> Assignee: Yi Xiao
> Attachments: classCastException.patch
>
>
> 'Getting Dynamic Infomation from Server' has encountered a problem.
> An internal error occurred during: "Getting Dynamic Information from Server".
> java.lang.ClassCastException: org.apache.geronimo.gbean.AbstractName cannot be cast to org.apache.geronimo.gbean.AbstractName
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo.getByType(GeronimoServerInfo.java:395)
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo.updateDeployedEJBs(GeronimoServerInfo.java:161)
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo.access$1(GeronimoServerInfo.java:159)
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo$1.run(GeronimoServerInfo.java:120)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> org.apache.geronimo.st.ui: EXIT: SharedDeploymentPlanEditor.doAddPages()
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (GERONIMODEVTOOLS-749) Open the Geronimo plan, an
error occurs when the server is started
Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Han Hong Fang resolved GERONIMODEVTOOLS-749.
--------------------------------------------
Resolution: Fixed
Fix Version/s: 3.0
3.0-M2
Committed at revision: 1127431. Thank you Yi Xiao for the patch.
> Open the Geronimo plan, an error occurs when the server is started
> ------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-749
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-749
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.2.2, 3.0
> Environment: win7 64bit, eclipse3.6SR2, sun_jdk_1.6.25;
> winXP x86, eclipse3.6SR1, sun_jdk_1.6.24;
> Reporter: Yi Xiao
> Assignee: Yi Xiao
> Fix For: 3.0-M2, 3.0
>
> Attachments: classCastException.patch
>
>
> 'Getting Dynamic Infomation from Server' has encountered a problem.
> An internal error occurred during: "Getting Dynamic Information from Server".
> java.lang.ClassCastException: org.apache.geronimo.gbean.AbstractName cannot be cast to org.apache.geronimo.gbean.AbstractName
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo.getByType(GeronimoServerInfo.java:395)
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo.updateDeployedEJBs(GeronimoServerInfo.java:161)
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo.access$1(GeronimoServerInfo.java:159)
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo$1.run(GeronimoServerInfo.java:120)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> org.apache.geronimo.st.ui: EXIT: SharedDeploymentPlanEditor.doAddPages()
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (GERONIMODEVTOOLS-749) Open the Geronimo plan,
an error occurs when the server is started
Posted by "Yi Xiao (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217047#comment-13217047 ]
Yi Xiao commented on GERONIMODEVTOOLS-749:
------------------------------------------
Committed at revision: 1294026.
> Open the Geronimo plan, an error occurs when the server is started
> ------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-749
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-749
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.2.2, 3.0
> Environment: win7 64bit, eclipse3.6SR2, sun_jdk_1.6.25;
> winXP x86, eclipse3.6SR1, sun_jdk_1.6.24;
> Reporter: Yi Xiao
> Assignee: Yi Xiao
> Fix For: 3.0-M2, 3.0
>
> Attachments: classCastException.patch, classCastException_reOpen_749.patch
>
>
> 'Getting Dynamic Infomation from Server' has encountered a problem.
> An internal error occurred during: "Getting Dynamic Information from Server".
> java.lang.ClassCastException: org.apache.geronimo.gbean.AbstractName cannot be cast to org.apache.geronimo.gbean.AbstractName
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo.getByType(GeronimoServerInfo.java:395)
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo.updateDeployedEJBs(GeronimoServerInfo.java:161)
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo.access$1(GeronimoServerInfo.java:159)
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo$1.run(GeronimoServerInfo.java:120)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> org.apache.geronimo.st.ui: EXIT: SharedDeploymentPlanEditor.doAddPages()
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Reopened] (GERONIMODEVTOOLS-749) Open the Geronimo plan, an
error occurs when the server is started
Posted by "Yi Xiao (Reopened) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yi Xiao reopened GERONIMODEVTOOLS-749:
--------------------------------------
It needs more investigation to solve the problem.
> Open the Geronimo plan, an error occurs when the server is started
> ------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-749
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-749
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.2.2, 3.0
> Environment: win7 64bit, eclipse3.6SR2, sun_jdk_1.6.25;
> winXP x86, eclipse3.6SR1, sun_jdk_1.6.24;
> Reporter: Yi Xiao
> Assignee: Yi Xiao
> Fix For: 3.0-M2, 3.0
>
> Attachments: classCastException.patch
>
>
> 'Getting Dynamic Infomation from Server' has encountered a problem.
> An internal error occurred during: "Getting Dynamic Information from Server".
> java.lang.ClassCastException: org.apache.geronimo.gbean.AbstractName cannot be cast to org.apache.geronimo.gbean.AbstractName
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo.getByType(GeronimoServerInfo.java:395)
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo.updateDeployedEJBs(GeronimoServerInfo.java:161)
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo.access$1(GeronimoServerInfo.java:159)
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo$1.run(GeronimoServerInfo.java:120)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> org.apache.geronimo.st.ui: EXIT: SharedDeploymentPlanEditor.doAddPages()
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (GERONIMODEVTOOLS-749) Open the Geronimo plan, an
error occurs when the server is started
Posted by "Yi Xiao (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yi Xiao updated GERONIMODEVTOOLS-749:
-------------------------------------
Attachment: classCastException_reOpen_749.patch
After investigating, there are two issues:
(1) When load the classes, JMX will use a default classloader to do, we should set the right classloader first.
(2) Some ClassCastException could be ignored.
> Open the Geronimo plan, an error occurs when the server is started
> ------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-749
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-749
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.2.2, 3.0
> Environment: win7 64bit, eclipse3.6SR2, sun_jdk_1.6.25;
> winXP x86, eclipse3.6SR1, sun_jdk_1.6.24;
> Reporter: Yi Xiao
> Assignee: Yi Xiao
> Fix For: 3.0-M2, 3.0
>
> Attachments: classCastException.patch, classCastException_reOpen_749.patch
>
>
> 'Getting Dynamic Infomation from Server' has encountered a problem.
> An internal error occurred during: "Getting Dynamic Information from Server".
> java.lang.ClassCastException: org.apache.geronimo.gbean.AbstractName cannot be cast to org.apache.geronimo.gbean.AbstractName
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo.getByType(GeronimoServerInfo.java:395)
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo.updateDeployedEJBs(GeronimoServerInfo.java:161)
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo.access$1(GeronimoServerInfo.java:159)
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo$1.run(GeronimoServerInfo.java:120)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> org.apache.geronimo.st.ui: EXIT: SharedDeploymentPlanEditor.doAddPages()
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (GERONIMODEVTOOLS-749) Open the Geronimo plan, an
error occurs when the server is started
Posted by "Yi Xiao (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yi Xiao resolved GERONIMODEVTOOLS-749.
--------------------------------------
Resolution: Fixed
Also submit at trunk, revision: 1294449.
> Open the Geronimo plan, an error occurs when the server is started
> ------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-749
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-749
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.2.2, 3.0
> Environment: win7 64bit, eclipse3.6SR2, sun_jdk_1.6.25;
> winXP x86, eclipse3.6SR1, sun_jdk_1.6.24;
> Reporter: Yi Xiao
> Assignee: Yi Xiao
> Fix For: 3.0-M2, 3.0
>
> Attachments: classCastException.patch, classCastException_reOpen_749.patch
>
>
> 'Getting Dynamic Infomation from Server' has encountered a problem.
> An internal error occurred during: "Getting Dynamic Information from Server".
> java.lang.ClassCastException: org.apache.geronimo.gbean.AbstractName cannot be cast to org.apache.geronimo.gbean.AbstractName
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo.getByType(GeronimoServerInfo.java:395)
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo.updateDeployedEJBs(GeronimoServerInfo.java:161)
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo.access$1(GeronimoServerInfo.java:159)
> at org.apache.geronimo.st.v30.core.GeronimoServerInfo$1.run(GeronimoServerInfo.java:120)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> org.apache.geronimo.st.ui: EXIT: SharedDeploymentPlanEditor.doAddPages()
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira