I have been trying to figure out why the clustering bits complain so much.  Looks like the JRMPInvokerHA is not happy being serialized.  JRMPInvokerProxy freaks out when it tries to externalize this baby… but I don’t know why. 

 

Does anyone have a clue?

 

18:37:06,756 INFO  [JRMPInvokerHA] Bounded HA Invoker: jboss:service=invoker,type=jrmpha,load-balance=FirstAvailable

18:37:06,786 ERROR [ServiceController] JMException thrown during ServiceProxy operation start on mbean jboss:service=invoker,type=jrmpha

java.rmi.ServerException: Could not bind JRMP invoker; nested exception is:

        javax.naming.CommunicationException [Root exception is java.rmi.MarshalException: Invalid remote object]

java.rmi.MarshalException: Invalid remote object

        at java.rmi.server.RemoteObject.writeObject(RemoteObject.java:153)

        at java.lang.reflect.Method.invoke(Native Method)

        at java.io.ObjectOutputStream.invokeObjectWriter(ObjectOutputStream.java:1864)

        at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1210)

        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)

        at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.writeExternal(JRMPInvokerProxy.java:186)

        at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1172)

        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)

        at java.rmi.MarshalledObject.<init>(MarshalledObject.java:95)

        at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:277)

        at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:256)

        at org.jboss.invocation.jrmp.server.JRMPInvoker.rebind(JRMPInvoker.java:344)

        at org.jboss.invocation.jrmp.server.JRMPInvoker.start(JRMPInvoker.java:189)

        at java.lang.reflect.Method.invoke(Native Method)

        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)

        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)

        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:732)

        at $Proxy0.start(Unknown Source)

...

Reply via email to