users@glassfish.java.net

Re: socket connection timeout in SJSAS

From: Binod <Binod.Pg_at_Sun.COM>
Date: Mon, 05 Mar 2007 08:48:49 +0530

Hi Emilio,

Can you please post exactly what code is hanging? What is your environment?
Which version of JDK are you using?

Can you try the following JVM option and see if it works
<jvm-options>com.sun.enterprise.server.ss.ASQuickStartup=false</jvm-op
tions>

I have raised a bug to track this issue.

https://glassfish.dev.java.net/issues/show_bug.cgi?id=2547

thanks,
Binod.

glassfish_at_javadesktop.org wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>