----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hi Brett,
Thanks for the suggestion.  

This is a very perplexing problem.
Has anyone else out there been able to dynamically rebind an
RMI object under Apache/JServ?  Is it possible that it is
a bug? All my servlet code works, if I run it as an application.
I can bind/rebind and the object always gets refreshed.

Any help would be appreciated.

Lee Grant
Xerox Engineering Systems
[EMAIL PROTECTED]

-----Original Message-----
From: Brett Knights [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 16, 1999 12:42 AM
To: 'Java Apache Users'
Subject: RE: RMI Rebinding problem using Servlet


----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------


> Greetings,
> 
> I am having a problem using RMI under JServ.  I have a 
> servlet that calls
> createRegistry() to start the RMI registry. It then binds an
> RMI object to the registry.  In the course of debugging this 
> object, I rerun
> the servlet and call rebind, but when I make calls on the
> object it is calling the old object not the updated one.  I have tried
> calling unbind, same behavior.  This is frustrating because under
> Linux I have to reboot the machine for each step (or is there 
> an easy way to
> start and stop Apache under Linux? It is easy to do
> under Windows NT). 

apachectl graceful

or better yet run jserv manually for debugging then you only have to bounce
jserv rather than apache.




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to