>From Bruce Bantos
> I think this must be a network names resolution problem rather than a
> servlet problem, but I thought I would see if anyone else has ran into it:
>
> When I call getRomoteHost(), it takes about 2 minutes for my servlet's
> doPost to be processed once I hit the submit button. If I comment out the
> getRemoteHost line, it takes a second. The results are correct once the
> thing finishes. I am running IIS 4.0, Jrun, and IE5.0 all on the same
> machine. The result of getRemoteHost is a string containing
> "DEVELP", which is the NT name of my machine.

It sounds like you machine is not connected to a network, and is trying to
connect to a name server to lookup the machine name.

You could try putting an entry for your machine in
%windir%\system32\drivers\etc\hosts (to shortcircuit name lookup).

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to