Announcement Announcement Module
Collapse
No announcement yet.
ContextPropagatingRemoteInvocation: server is using acegi, client spring security 3.1 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ContextPropagatingRemoteInvocation: server is using acegi, client spring security 3.1

    Hi,

    I have a server using acegi security and a client app using spring security 3.1.

    I get:

    Code:
    Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: 
    	java.lang.ClassNotFoundException: org.springframework.security.remoting.rmi.ContextPropagatingRemoteInvocation (no security manager: RMI class loader disabled)
    	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:296)
    	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:885)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    	at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.ClassNotFoundException: org.springframework.security.remoting.rmi.ContextPropagatingRemoteInvocation (no security manager: RMI class loader disabled)
    	at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:375)
    	at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
    	at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
    	at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
    	at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
    	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
    	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
    	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
    	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    	at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:306)
    	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:290)
    	... 9 more
    I think the server tries to deserialize org.springframework.security.remoting.rmi.ContextP ropagatingRemoteInvocation which is not available in acegi.

    How can I solve this problem?

    Thank you
Working...
X