[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xmlblaster] RMI problem



Hello,
 
When trying the RMI demo, I got the followin error:
 
17-mei-2006 11:23:58 SEVERE  10-main javaclients.rmi.ClientGet <init>:
Error occurred: java.rmi.MarshalException: error marshalling arguments;
nested exception is:
        java.io.NotSerializableException: org.xmlBlaster.util.MsgUnitRaw
java.rmi.MarshalException: error marshalling arguments; nested exception
is:
        java.io.NotSerializableException: org.xmlBlaster.util.MsgUnitRaw
        at sun.rmi.server.UnicastRef.invoke(Unknown Source)
        at
org.xmlBlaster.protocol.rmi.XmlBlasterImpl_Stub.publish(Unknown Source)
        at javaclients.rmi.ClientGet.<init>(ClientGet.java:95)
        at javaclients.rmi.ClientGet.main(ClientGet.java:281)
Caused by: java.io.NotSerializableException:
org.xmlBlaster.util.MsgUnitRaw
        at java.io.ObjectOutputStream.writeObject0(Unknown Source)
        at java.io.ObjectOutputStream.writeObject(Unknown Source)
        at sun.rmi.server.UnicastRef.marshalValue(Unknown Source)
        ... 4 more
 
 
Startup command = java -cp config\.;lib\xmlBlaster.jar
-Djava.security.policy=config/xmlBlaster.policy
javaclients.rmi.ClientGet
 
What is wrong here ?
 
Thanks for any help.