Re: Help: UnmarshalException running Jini

Gregg Wonderly <[email protected]> Sun, 13 Apr 2008 15:18:48 -0500
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
SamsonLim wrote:
> Apart from a few primitive types, I have a Vector in the Entry which holds
> String[]. I do run JDBC heavily in the tasks assigned for the entries. The
> error seems to happen only when the number of RMI calls gets large. Will
> using Externalization on certain classes help? I read on another forum
> someone recommending doing a server-side tracing using: 
> java.rmi.server.logCalls
> sun.rmi.server.exceptionTrace
> sun.rmi.transport.logLevel 
> sun.rmi.transport.tcp.logLevel
> 
> Will this help? Thx.

It might expose the reason.  If you can change the code and you know which 
method on the server this is happening in, you can put an exception block around 
the actions in that method on the server and log and rethrow any of the declared 
exception and RuntimeException.

Gregg Wonderly

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]