This discussion is archived
0 Replies Latest reply: May 26, 2011 10:23 AM by 864743 RSS

ArraySet error

864743 Newbie
Currently Being Moderated
Hy every body
I use weblogic 9.1 in order to obtain metric with JMX and metric. and I 've the following error:

java.lang.ClassCastException: weblogic.utils.collections.ArraySet
at weblogic.iiop.IIOPOutputStream.writeObject(IIOPOutputStream.java:2203)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:517)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:407)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:403)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:934)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)

I think than my code is not the cause of the issue , but:

className="com.bea:Name=JTARuntime,Location=AdminServer,Type=JTARuntime,*";
ObjectName on = new ObjectName(className);
set = c.queryMBeans(on, null);

when they are a lot of mBean, its work ("com.bea:Name=JTARuntime,Type=JTARuntime,*")
but when I want only one mbean, it doesn't work, I have the error.

the issue has begin when I have installate an apach plugin in order to cluster weblogic ( It's work, and I need it). The issue is also present on the other domain, who are not use with apach, and when apach is closed.


I have search but i had'nt found anything
Please, help me !


ps : excuse the Syntax, I'm not used to speack English

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points