[jboss-dev-forums] [Design of POJO Server] - Re: migrating TransactionManager and Invokers to POJO

bstansberry@jboss.com do-not-reply at jboss.com
Sat Mar 29 18:34:06 EDT 2008


That doesn't work, at least not trivially, as the remoting connector as configured actually needs the unified invoker since it's specified as a handler:


  | 2008-03-29 17:16:16,815 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=jboss.remoting:service=Connector,transport=socket state=Create mode=Manual requiredState=Installed
  | java.lang.reflect.UndeclaredThrowableException
  | 	at $Proxy45.setMBeanServer(Unknown Source)
  | 	at org.jboss.remoting.transport.Connector.addInvocationHandler(Connector.java:1192)
  | 	at org.jboss.remoting.transport.Connector.configureHandlersFromXML(Connector.java:848)
  | 	at org.jboss.remoting.transport.Connector.start(Connector.java:317)
  | ....
  | Caused by: javax.management.InstanceNotFoundException: jboss:service=invoker,type=unified is not registered.
  | 	at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:529)
  | 	at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:608)
  | 	at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:193)
  | 	... 54 more
  | 

I recall in some unit test or other I actually injected another handler after the fact, although IIRC getting it to work was a hack. Perhaps it wasn't; I'll see if I can find it.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139881#4139881

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139881



More information about the jboss-dev-forums mailing list