You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Carfield Yim <ca...@programmer.net> on 2000/07/19 19:45:56 UTC
mod_jserv/6329: Read a file but JVM throws a SocketException
>Number: 6329
>Category: mod_jserv
>Synopsis: Read a file but JVM throws a SocketException
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: jserv
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: support
>Submitter-Id: apache
>Arrival-Date: Wed Jul 19 10:50:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: carfield@programmer.net
>Release: 1.3.9
>Organization:
apache
>Environment:
Redhat Linux 6.2, jserv 2.0
>Description:
I want my servlet (Apache/Jserv) to read a log file at the
other machine on the network, so I mount a directory in that
machine to my machine:
mount ftp.foo.com:/dir/dir /remote
Because of some unknown reason, the connection of 2 machine is
broken. However, the servlet don't throw a
FileNotFoundException or IOException but a
java.net.BindException.
Actually I have put this statement in a try-catch block which
catch All Exception to prevent such error, but JVM don't catch
it.
Do you consider it is a Bug of JVM or Jserv or JSDK?
>How-To-Repeat:
Try to mount a directory from NFS and broken the connection and get a file from it
>Fix:
Report FileNotFoundException even in NFS
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]