9 Replies Latest reply on Jun 18, 2013 2:28 AM by kumar kaushal

    net.sf.ehcache.distribution.RMICachePeer_Stub not found from bundle [servic

    Joatham Pérez Expósito Newbie

      This is my problem:

       

      rred in server thread; nested exception is:

              java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:

              java.lang.ClassNotFoundException: net.sf.ehcache.distribution.RMICachePeer_Stub not found from bundle (no security manager: RMI class loader disabled)

              at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:155)

              at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJAXWSMethodInvoker.java:86)

              at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:121)

              at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:61)

              at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)

              at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)

              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

              at java.util.concurrent.FutureTask.run(FutureTask.java:138)

              at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)

              at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)

              at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)

              at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)

              at org.apache.cxf.transport.jbi.JBIDispatcherUtil.dispatch(JBIDispatcherUtil.java:156)

              at org.apache.servicemix.cxfse.CxfSeEndpoint.process(CxfSeEndpoint.java:518)

              at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:630)

              at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:587)

              at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchangeInTx(AsyncBaseLifeCycle.java:485)

              at org.apache.servicemix.common.AsyncBaseLifeCycle$2.run(AsyncBaseLifeCycle.java:360)

              at org.apache.servicemix.executors.impl.ExecutorImpl$1.run(ExecutorImpl.java:64)

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

              at java.lang.Thread.run(Thread.java:619)

      Caused by: net.sf.ehcache.CacheException: Problem starting listener for RMICachePeer //myserver:46046/cacheDistribuida. Initial cause was RemoteException occurred in server thread; nested exception is:

              java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:

              java.lang.ClassNotFoundException: net.sf.ehcache.distribution.RMICachePeer_Stub not found from bundle (no security manager: RMI class loader disabled)

              at net.sf.ehcache.distribution.RMICacheManagerPeerListener.notifyCacheAdded(RMICacheManagerPeerListener.java:538)

              at net.sf.ehcache.event.CacheManagerEventListenerRegistry.notifyCacheAdded(CacheManagerEventListenerRegistry.java:159)

              at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1172)

              at net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:708)

              at net.sf.ehcache.CacheManager.doInit(CacheManager.java:426)

              at net.sf.ehcache.CacheManager.init(CacheManager.java:352)

              at net.sf.ehcache.CacheManager.(CacheManager.java:237)

              at net.sf.ehcache.CacheManager.create(CacheManager.java:856)

              at net.sf.ehcache.CacheManager.create(CacheManager.java:800)

              at

              java.lang.ClassNotFoundException: net.sf.ehcache.distribution.RMICachePeer_Stub not found from bundle (no security manager: RMI class loader disabled)

              at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:396)

              at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)

              at sun.rmi.transport.Transport$1.run(Transport.java:159)

              at java.security.AccessController.doPrivileged(Native Method)

              at sun.rmi.transport.Transport.serviceCall(Transport.java:155)

              at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)

              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)

              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

              at java.lang.Thread.run(Thread.java:619)

              at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)

              at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)

              at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:359)

              at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)

              at java.rmi.Naming.rebind(Naming.java:160)

              at net.sf.ehcache.distribution.RMICacheManagerPeerListener.bind(RMICacheManagerPeerListener.java:234)

              at net.sf.ehcache.distribution.RMICacheManagerPeerListener.notifyCacheAdded(RMICacheManagerPeerListener.java:536)

              ... 38 more

      Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:

              java.lang.ClassNotFoundException: net.sf.ehcache.distribution.RMICachePeer_Stub not found from bundle (no security manager: RMI class loader disabled)

              at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)

       

      Edited by: jpepalmero on Jun 17, 2012 8:52 AM