I have been trying to get RMI based remote JMX notifications working on version of JBoss 3.2.2 and higher. So I went back to the exmaples in the 3.2.1 docs (the latest I have...??) and ran the XMBean example TestXMBean1. It still works in JBoss 3.2.1 but no longer works in 3.2.2 or 3.2.3RC1. I get the same errors on both, outlined below.
Is there an update for this example ? Is there something different I need to do ? Thanks ! //Nicholas C:\JBossDocs\321\AdminDevel\examples>ant -Dchap=chap2 -Dex=xmbean1 run-example "c:\j2sdk1.4.2\bin\java.exe" -Xms64M -Xmx256M -classpath "c:\j2sdk1.4.2\lib\tools.jar;C:\Jakarta\apache-ant-1.5.4\lib\xml-apis.jar;C:\Jakarta\apache-ant-1.5.4\ lib\xercesImpl.jar;C:\Jakarta\apache-ant-1.5.4\lib\optional.jar;C:\Jakarta\apache-ant-1.5.4\lib\clover.jar;C:\Jakarta\apache-ant-1.5.4\lib\ant.jar;C:\Program Fi les\Altova\xmlspy\XMLSpyInterface.jar" "-Dant.home=C:\Jakarta\apache-ant-1.5.4" org.apache.tools.ant.Main -Dchap chap2 -Dex xmbean1 run-example Buildfile: build.xml validate: [java] ImplementationTitle: JBoss [WonderLand] [java] ImplementationVendor: JBoss.org [java] ImplementationVersion: 3.2.2 (build: CVSTag=JBoss_3_2_2 date=200310182216) [java] SpecificationTitle: JBoss [java] SpecificationVendor: JBoss (http://www.jboss.org/) [java] SpecificationVersion: 3.2.2 [java] JBoss version is: 3.2.2 fail_if_not_valid: init: [echo] Using jboss.dist=C:/jboss-3.2.2 compile: run-example: prepare: chap2-ex1xmbean1-sar: run-examplexmbean1: [java] JNDIMap Class: org.jboss.mx.modelmbean.XMBean [java] JNDIMap Operations: [java] + void start() [java] + void stop() [java] + void put(java.lang.Object chap2.xmbean:service=JNDIMap,java.lang.Object chap2.xmbean:service=JNDIMap) [java] + java.lang.Object get(java.lang.Object chap2.xmbean:service=JNDIMap) [java] + java.lang.String getJndiName() [java] + void setJndiName(java.lang.String chap2.xmbean:service=JNDIMap) [java] + [Ljava.lang.String; getInitialValues() [java] + void setInitialValues([Ljava.lang.String; chap2.xmbean:service=JNDIMap) [java] java.lang.reflect.UndeclaredThrowableException [java] at $Proxy0.addNotificationListener(Unknown Source) [java] at org.jboss.chap2.xmbean.TestXMBean1.main(TestXMBean1.java:74) [java] Caused by: java.lang.NoSuchMethodException: javax.management.MBeanServer.addNotificationListener(javax.management.ObjectName, org.jboss.jmx.adaptor. rmi.RMINotificationListener, javax.management.NotificationFilter, java.lang.Object) [java] at java.lang.Class.getMethod(Class.java:978) [java] at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:183) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) [java] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) [java] at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:367) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) [java] at sun.rmi.transport.Transport$1.run(Transport.java:148) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at sun.rmi.transport.Transport.serviceCall(Transport.java:144) [java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) [java] at java.lang.Thread.run(Thread.java:534) [java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) [java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133) [java] at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source) [java] at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:135) [java] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96) [java] at org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:58) [java] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45) [java] at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:55) [java] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85) [java] ... 2 more ===== Nicholas Whitehead Home: (973) 377 9335 Cell: (201) 615 2716 [EMAIL PROTECTED] Get Your News From The Crowbar: http://crowbar.dnsalias.com:443/crowbar/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user