Hi,

Is there a time-out of some sort on a Reference to a RemoteObject exported
using PortableRemoteObject.exportObject(), after which the reference ceases
to work?

I have a remote object (RO) which is exported using
PortableRemoteObject.exportObject() in my 'client application'. When needed,
the 'client' sends the reference of this RO to the 'server app' which keeps
it in a map, and uses the map to find out the subscribers when it needs to
send a notification to the 'client'.
What is happening is everything starts off fine, and after about 5-6 minutes
( I have timed this many times during my trials to clear this problem ) the
update calls on the reference throws an exception, the details mentioned
below - I checked the client side, the 'update' is not being called at all.
This 5 minutes is when I have 5 or more clients running. when I run just ONE
client, the server starts getting exceptions after about 60-75 minutes. once
the exceptions start,  it is enough to  'unregister' the client and
'register' it again with the server - everything works fine ...  Wondering
what the problem can be !!!

I am using jdk1.1.7 (IBM) and WAS 3 - all the above setup is in the
app-server.

- Murali


BTW, the exception is as below :


Dispatcher.writeToClient got remote exception : CORBA MARSHAL 0 No; nested
exception is:
        org.omg.CORBA.MARSHAL:   minor code: 0  completed: No
java.rmi.MarshalException: CORBA MARSHAL 0 No; nested exception is:
        org.omg.CORBA.MARSHAL:   minor code: 0  completed: No
        java.lang.Throwable(java.lang.String)
        java.lang.Exception(java.lang.String)
        java.io.IOException(java.lang.String)
        java.rmi.RemoteException(java.lang.String, java.lang.Throwable)
        java.rmi.MarshalException(java.lang.String, java.lang.Exception)
        java.rmi.RemoteException
javax.rmi.CORBA.Util.mapSystemException(org.omg.CORBA.SystemException)
        void
com.adp.fts.repo.common.realtime._RealTimeUpdateable_Stub.update(com.adp.fts
.repo.common.realtime.Notification)
        void
com.adp.fts.repo.server.realtime.Dispatcher.writeToClient(com.adp.fts.repo.c
ommon.realtime.Notification)
        void com.adp.fts.repo.server.realtime.Dispatcher.run()
        void java.lang.Thread.run()

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to