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

Re: [xmlblaster] RMI problem



Hi Stefan,

the RMI protocol is not maintained anymore, as the SOCKET and CORBA
protocols deliver what we need.
It there arises the need for RMI again, it would be possible to be reestablished
do you have the need for this?


(but we need to update our documentation ....)

regards
Marcel

Pauwels, Stefan wrote:
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.