Share

OpenJMX

Tracker: Change Notes

5 RMI Adaptors completed - ID: 516348
Last Update: Settings changed ( biorn_steedom )

The RMI adaptors are now complete, featuring:
- JRMP Adaptor (for plain RMI use from Java
applications)
- JRMP Adaptor over SSL, for secure RMI use
- IIOP Adaptor for interoperability with CORBA
- RMI Connector, client side connector for the RMI
adaptors
- Full support for remote notification listeners and
filters


Simone Bordet ( biorn_steedom ) - 2002-02-12 08:48

5

Closed

None

Nobody/Anonymous

OpenJMX

Rel 1.0rc

Public


Comment ( 1 )

Date: 2002-03-11 22:03
Sender: lichi_tian

Logged In: YES
user_id=482981

Hi,
How to receive remote notifications using
RemoteNotificationListenerSupport?
I used it as the following:
class MyListener implements NotificationListener {
RemoteMBeanServer remote;
ObjectName objectName;
public myListener() {
// init remote and objectName

RemoteNotificationListenerSupport support
= new RemoteNotificationListenerSupport(this);
remote.addNotificationListener(objectName, support,
null, null);
}
// .....
}

THe MBean started correctly on adminserver. When I start
managedServer,
I got the folloing exception ("Null listener") from
MBeanServer on weblogic AdminServer:

<Mar 11, 2002 4:51:30 PM EST> <Warning> <Dispatcher>
<RuntimeException thrown by rmi server: 'weblog
ic.rmi.internal.BasicServerRef@111 -
jvmid: '9050435459371096750S:127.0.0.1:
[8001,8001,7002,7002,800
1,7002,-1]:mydomain:myserver', oid: '273',
implementation: 'openjmx.adaptor.rmi.RMIAdaptorImpl''
javax.management.RuntimeOperationsException: Null listener
at
com.sun.management.jmx.MBeanServerImpl.addNotificationListen
er(MBeanServerImpl.java:1724)

at
openjmx.adaptor.rmi.RMIAdaptorImpl.addNotificationListener
(RMIAdaptorImpl.java:123)
at openjmx.adaptor.rmi.RMIAdaptorImpl_WLSkel.invoke
(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke
(BasicServerRef.java:296)
at
weblogic.rmi.internal.BasicServerRef.handleRequest
(BasicServerRef.java:265)
at weblogic.rmi.internal.BasicExecuteRequest.execute
(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute
(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run
(ExecuteThread.java:120)
>

How do I receive remote notification? Is there example?

Thanks, Lichi


Attached File

No Files Currently Attached

Changes ( 2 )

Field Old Value Date By
status_id Open 2004-02-21 13:55 biorn_steedom
close_date - 2004-02-21 13:55 biorn_steedom