Hello,
I am using WebNFS SDK client provided by sun, with NFS server.
I implemented this client-server architecture in web application,
my web application create some document on the fly and store
it on different server.
I am facing problem, suppose NFS server is down. At that time
WebNFS client continuously make requrest to server and goes into
infinite. How to avoid this problem ?
Is there any way using "JAVA" to detect whether server is down or not ?
What will be solution over it ?
Please reply urgently
Thanks
- Kapil Dhakad
On Tue, May 31, 2005 at 06:21:02PM +0530, Kapil Dhakad wrote:
> Hello,
>
> I am using WebNFS SDK client provided by sun, with NFS server.
> I implemented this client-server architecture in web application,
> my web application create some document on the fly and store
> it on different server.
>
> I am facing problem, suppose NFS server is down. At that time
> WebNFS client continuously make requrest to server and goes into
> infinite. How to avoid this problem ?
> Is there any way using "JAVA" to detect whether server is down or not ?
> What will be solution over it ?
>
> Please reply urgently
>
> Thanks
> - Kapil Dhakad
you can use rpcinfo -u as an rpc ping mechanism to see if the apprpriate
services are still active on the remote host, but doing so won't avoid
occasional hangs on your file system.
Neil
--
/***************************************************
*Neil Horman
*Software Engineer
*Red Hat, Inc.
*[email protected]
*gpg keyid: 1024D / 0x92A74FA1
*http://pgp.mit.edu
***************************************************/
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
On Wed, 2005-06-01 at 07:28 -0400, Neil Horman wrote:
> On Tue, May 31, 2005 at 06:21:02PM +0530, Kapil Dhakad wrote:
> > Hello,
> >
> > I am using WebNFS SDK client provided by sun, with NFS server.
> > I implemented this client-server architecture in web application,
> > my web application create some document on the fly and store
> > it on different server.
> >
> > I am facing problem, suppose NFS server is down. At that time
> > WebNFS client continuously make requrest to server and goes into
> > infinite. How to avoid this problem ?
> > Is there any way using "JAVA" to detect whether server is down or not ?
> > What will be solution over it ?
> >
> > Please reply urgently
> >
> > Thanks
> > - Kapil Dhakad
>
> you can use rpcinfo -u as an rpc ping mechanism to see if the apprpriate
> services are still active on the remote host, but doing so won't avoid
> occasional hangs on your file system.
> Neil
On a related note:
http://dcs.nac.uci.edu/~strombrg/rpc-health.html