1 Reply Latest reply on Aug 4, 2005 1:09 PM by Paul Klestorny

    Remote proxy for Singleton Mbean

    Paul Klestorny Newbie

      Hi everybody,

      I´m trying to access an own Singleton MBean remotely, but the examples that I found are not working for me: http://wiki.jboss.org/wiki/Wiki.jsp?page=JMXMBeanRemoteProxy.

      First of all, I took out the "InvokeTargetMethod" tag from my jboss-service.xml that is in the .sar that contains my MBean, because the server was complaining about it with: "No Attribute found for name: InvokeTargetMethod". This is very strange as the documentation says that this Attribute is availabe since 3.2.6 versions and I´m using jboss 4.0.0.

      Well, after taking out this attribute, I tryied implementing the Object invoke (Invocation mi) method in the MBean. I noticed that my standalone client reaches the MBean without problem. The issue here is that the argument received in the invoke method (mi) of the Mbean has "method=null".

      I´m using jboss 4.0.0 and jdk 1.4.2 under Win. XP

      Any help?

      Regards,
      Pablo