Hi All,
      I have one Rmi-Server which is running in windows  and Rmi-client running in Linux machine. I am sending Html - requests to Apache web server which is in Linux machine, and then it forwards the request to  Tomcat(Servlet Runner). My Rmi client is running here and if it is specifice request, it looks for Naming.Lookup(windows IP), then the request is going to windows machine where it is taking care of Rmi Server and it is taking data from Sql-Server then it sends to rmi-client
 
My Problem is that Rmi-Server is automatically shutdown(i,e if i type java DBServer, it is comming to command prompt)  while second or third time it tryes to access database.  So i am getting  the following error

             Java.rmi.UnmarshallException : Error Unmarshaling return header: nested Exception is
               Java.net.SocketException : Connection reset by peer:
    ---------------------
      -----------------
       NullPointerException..................

can anybody tell why Rmi Server is closing itself after servicing some request..
 

cheers
venkatesh
 

Reply via email to