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?
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?