I am trying ti integrate Jini in JBoss. I wrote an MBean, which is to deploy my 
Jini Services in to the Jini Look up service. I have  cretae a SAR file with 
all the classes. I have copied all the jar files to the lib folder also,

I do start my jini look up service and HTTP server for Jini, seperately.

But When I JBoss, while deploying the MBean the following error occurs,

Exception java.rmi.MarshalException: error marshalling arguments; nested 
exception is:
        java.net.SocketException: Broken pipe
04:53:13,110 ERROR [STDERR] java.rmi.MarshalException: error marshalling 
arguments; nested exception is:
        java.net.SocketException: Broken pipe
04:53:13,111 ERROR [STDERR]     at 
sun.rmi.server.UnicastRef.invoke(UnicastRef.java:129)
04:53:13,111 ERROR [STDERR]     at 
com.sun.jini.reggie.RegistrarImpl_Stub.register(Unknown Source)
04:53:13,111 ERROR [STDERR]     at 
com.sun.jini.reggie.RegistrarProxy.register(RegistrarProxy.java:105)
04:53:13,111 ERROR [STDERR]     at com.acme.MyService.deploy(MyService.java:55)
04:53:13,112 ERROR [STDERR]     at 
com.acme.HelloWorldService.startService(HelloWorldService.java:35)
04:53:13,112 ERROR [STDERR]     at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
04:53:13,112 ERROR [STDERR]     at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
04:53:13,112 ERROR [STDERR]     at 
sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
04:53:13,112 ERROR [STDERR]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
04:53:13,113 ERROR [STDERR]     at 
java.lang.reflect.Method.invoke(Method.java:324)
04:53:13,113 ERROR [STDERR]     at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
04:53:13,113 ERROR [STDERR]     at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
04:53:13,113 ERROR [STDERR]     at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
04:53:13,114 ERROR [STDERR]     at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
04:53:13,114 ERROR [STDERR]     at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
04:53:13,114 ERROR [STDERR]     at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
04:53:13,114 ERROR [STDERR]     at $Proxy0.start(Unknown Source)
04:53:13,114 ERROR [STDERR]     at 
org.jboss.system.ServiceController.start(ServiceController.java:418)
04:53:13,115 ERROR [STDERR]     at 
sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
04:53:13,115 ERROR [STDERR]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
04:53:13,115 ERROR [STDERR]     at 
java.lang.reflect.Method.invoke(Method.java:324)
04:53:13,115 ERROR [STDERR]     at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
04:53:13,115 ERROR [STDERR]     at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
04:53:13,116 ERROR [STDERR]     at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
04:53:13,116 ERROR [STDERR]     at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
04:53:13,116 ERROR [STDERR]     at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
04:53:13,116 ERROR [STDERR]     at 
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
04:53:13,117 ERROR [STDERR]     at $Proxy4.start(Unknown Source)

Please Help....


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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to