users@glassfish.java.net

socket connection timeout in SJSAS

From: <glassfish_at_javadesktop.org>
Date: Sat, 03 Mar 2007 05:42:05 PST

Hi all!

I have a strange problem using sockets in SJSAS (version 9.0_01).

I've deployed a servlet which uses sockets to check some ports on remote hosts (a sort of scanning of well known services).

I've set my socket connection timeout, but timeout exception is never thrown.

Sockets seem to be "hung up" in SJSAS. I can't find infos about this.

With Tomcat 5.5.17 and Jboss, no problem. The socket connection timeout works properly.

I've also written a console application to test my code and it works.

Can anybody help me?

Thanks!

Emilio
[Message sent by forum member 'emilioremogna' (emilioremogna)]

http://forums.java.net/jive/thread.jspa?messageID=206061