users@glassfish.java.net

Re: Webapp stalls after some time & Logging process does not quit

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Fri, 04 May 2007 08:15:12 -0400

Hi,

glassfish_at_javadesktop.org wrote:
> Hello everyone,
>
> I have glassfish running on FreeBSD, Solaris10, Linux, OS X.
> (1) Mostly under Solaris10 do I experience that if I leave the glassfish server on for some time it's webapps will get stalled.
> The only solution I saw this far was to restart the whole server instance, and, while doing so I encounter my second problem :
> (2) at restart it would complain about a port conflict on 1670 I think because of the logging process that didn't quit with the rest and I have to manually kill that process :
> java -client -Xmx512m -XX:NewRatio=2 -Dcom.sun.aas.defaultLogFile
>
> Has any of you experienced these frustrating phenomena ?

Which JDK are you using? If you are using 6.x, try adding
<jvm-options>-XX:-UseBiasedLocking</jvm-options> to see if that fix the
hung. If not, then when the ung happens, can you do a jstack <<PID>> and
  send it to the list?

Thanks

-- Jeanfrancois


>
> Thanks for replies
>
> Yehudah Guzzi
> [Message sent by forum member 'yguzzi' (yguzzi)]
>
> http://forums.java.net/jive/thread.jspa?messageID=215478
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>