[
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