Dashboard > MC4J > Browse Space > Mail Archive > [Mc4j-user] classpath problem
MC4J Management Console Log In | Sign Up   View a printable version of the current page.
[Mc4j-user] classpath problem
Subject:   [Mc4j-user] classpath problem (find more)
From:  
Date:   Nov 02, 2005


Return-Path: <hidden>
Received: from 64.4.56.200 by by101fd.bay101.hotmail.msn.com with HTTP;
 Wed, 02 Nov 2005 17:17:58 GMT
Message-ID: <hidden>
Date: Wed, 02 Nov 2005 11:17:58 -0600
From: "Joshua Dettinger" <hidden>
Reply-To: hidden
Sender: hidden
To: hidden
Subject: [Mc4j-user] classpath problem
Errors-To: hidden
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-To: hidden
Delivered-To: hidden
X-Originating-IP: [129.42.161.36]
X-Originating-Email: [hidden]
X-Sender: hidden
X-OriginalArrivalTime: 02 Nov 2005 17:17:58.0336 (UTC) FILETIME=[5EE82C00:01C5DFD1]
X-Spam-Score: 0.0 (/)
X-Spam-Report: Spam Filtering performed by sourceforge.net.
 See http://spamassassin.org/tag/ for more details.
 Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001
 0.0 MSGID_FROM_MTA_HEADER  Message-Id was added by a relay
X-BeenThere: hidden
X-Mailman-Version: 2.0.9-sf.net
Precedence: bulk
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/mc4j-user&gt;,
 <mailto:hidden?subject=unsubscribe>
List-Id: <mc4j-user.lists.sourceforge.net>
List-Post: <mailto:hidden>
List-Help: <mailto:hidden?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/mc4j-user&gt;,
 <mailto:hidden?subject=subscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=mc4j-user>
Status:

I added a jar to classPathEntries in the Properties of my connection.  When
I execute an operation on my MBean, I get this error:
java.lang.reflect.UndeclaredThrowableException
 at $Proxy9.invoke(Unknown Source)
 at
org.mc4j.console.bean.operation.OperationExecutionResultsVisualPanel$2.run(OperationExecutionResultsVisualPanel.java:126)
 at java.lang.Thread.run(Thread.java:568)
Caused by: java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled
Code))
 at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
 at
org.mc4j.console.connection.proxy.JMXRemotingMBeanServerProxy.invoke(JMXRemotingMBeanServerProxy.java:61)
 ... 3 more
Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested
exception is:
 java.lang.ClassNotFoundException:
com.ibm.ws.objectgrid.stats.MapStatsModuleImpl
 at sun.rmi.server.UnicastRef.invoke(UnicastRef.java(Compiled Code))
 at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
 at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown
Source)
 at
javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:969)
 ... 9 more
Caused by: java.lang.ClassNotFoundException:
com.ibm.ws.objectgrid.stats.MapStatsModuleImpl
 at java.net.URLClassLoader.findClass(URLClassLoader.java(Compiled Code))
 at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
 at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java(Compiled Code))
 at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:448)
 at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java(Compiled
Code))
 at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java(Compiled
Code))
 at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java(Inlined
Compiled Code))
 at
sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java(Compiled
Code))
 at
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java(Compiled
Code))
 at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java(Inlined
Compiled Code))
 at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled
Code))
 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled
Code))
 at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled
Code))
 at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:313)
 ... 13 more

The jar that I added to the classpath contains the
com.ibm.ws.objectgrid.stats.MapStatsModuleImpl class that it is complaining
about.  What do I need to do to get this to work?

Thanks




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Mc4j-user mailing list
hidden
https://lists.sourceforge.net/lists/listinfo/mc4j-user
Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.7 Build:#524 Jul 28, 2006) - Bug/feature request - Contact Administrators