rmic error: javax.management.MBeanInfo not found

L

Lew Pearson

Here's the code:

import java.rmi.*;
import javax.management.MBeanInfo;
import javax.management.ObjectName;
public interface JINIWrapper extends Remote
{ public MBeanInfo getMBeanInfo(ObjectName ob) throws RemoteException;
}
----------------------------
import java.rmi.*;
import java.rmi.server.*;
import javax.management.*;
public class JINIWrapperImpl extends UnicastRemoteObject implements
JINIWrapper
{ public JINIWrapperImpl(JINIJMXServer server) throws RemoteException
{...}
public MBeanInfo getMBeanInfo(ObjectName ob){...}
}
----------------------------

rmic of JINIWrapperImpl results in:

....\JINIWrapperImpl_Stub.java:159: Class javax.management.MBeanInfo
not found.
public javax.management.MBeanInfo
getMBeanInfo(javax.management.ObjectName $param_ObjectName_1)

%CLASSPATH% has the JMX jar files in it...Also tried adding the JMX
jar files to the -classpath option on rmic


Any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,689
Members
48,796
Latest member
Greg L.

Latest Threads

Top