Not a NotificationBroadcaster...

"Kimpton, C (Chris)" <[email protected]>
Newsgroups gmane.comp.java.mx4j.user
Message-ID <[email protected]>
Hello List,
 
Some background...
We are moving more to JDK1.5, we have a central JMX MBean repository
server - the rest of app runs in multiple JVMs each of which registers
their mbeans with the central server (via RMI/jsr 160).
 
Admittedly we are still using MX4J 2.0.1 - I will try with 3.0.2
shortly.  My first thoughts are that some of the jsr 160 apis have
changed since 2.0.1 and so the upgrade will fix this.
 
The problem we have noticed when the repository server is JDK1.5 and the
client is not, is that we sometimes get this error on the server:
 
Nov-14 12:46:42.032  INFO : java.lang.IllegalArgumentException: MBean
YYY:process=XXX[kimptc],app=XXX,user=landar is not a
NotificationBroadcaster
        at
mx4j.server.MX4JMBeanServer.addNotificationListener(MX4JMBeanServer.java
:525)
        at
mx4j.remote.rmi.RMIConnectionInvoker.addNotificationListeners(RMIConnect
ionInvoker.java:279)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
mx4j.remote.rmi.RMIConnectionProxy.invoke(RMIConnectionProxy.java:36)
        at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnectionSubjectIn
voker.java:98)
        at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMIConnectionSubj
ectInvoker.java:32)
        at
mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnectionSubjectIn
voker.java:89)
        at java.security.AccessController.doPrivileged(Native Method)
        at
mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java:135)
        at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke(RMIConnectionS
ubjectInvoker.java:85)
        at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnectionSubjectI
nvoker.java:61)
        at $Proxy2.addNotificationListeners(Unknown Source)
        at
javax.management.remote.rmi.RMIConnectionImpl.addNotificationListeners(R
MIConnectionImpl.java:104)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
        at sun.rmi.transport.Transport$1.run(Transport.java:148)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
        at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.ja
va:701)
        at java.lang.Thread.run(Thread.java:536)

Many thanks in advance,
Chris
 
 

_____________________________________________________________

This email (including any attachments to it) is confidential, legally privileged, subject to copyright and is sent for the personal attention of the intended recipient only. If you have received this email in error, please advise us immediately and delete it. You are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Although we have taken reasonable precautions to ensure no viruses are present in this email, we cannot accept responsibility for any loss or damage arising from the viruses in this email or attachments. We exclude any liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided in this email or its attachments, unless that information is subsequently confirmed in writing. If this email contains an offer, that should be considered as an invitation to treat.
_____________________________________________________________

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Mx4j-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mx4j-user
winmail.dat (application/ms-tnef, 6.9 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.