users@glassfish.java.net

Re: Glassfish 3 Error With StdErrDrainer - Outofmemoryerror out

From: Byron Nevins <byron.nevins_at_oracle.com>
Date: Wed, 27 Apr 2011 10:41:29 -0700

FYI: The reason the drainer class is there is to avoid the process
DEADLOCK that would occur between the calling JVM and the spawned JVM --
because of filled standard stream pipes.


On 4/27/2011 8:23 AM, forums_at_java.net wrote:
> thanks a lot!
>
> apparently i was looking at the wrong thread dumps awhile ago,i did some
> tests on my machine and found out that the domain-stderrdrainer do not
> run on
> the instance itself but rather in the command
>
> I noticed that the domain is being shutdown abruptly also due to the
> outofmemoryexception which is encountered.
>
> i'm taking a look ta it now and it seems to be related to the asadmin
> process. what i did was to kill the asadmin process to avoid the
> stderrdrainer from doing its job.
>
> thanks a lot!
>
>
>
>
> --
>
> [Message sent by forum member 'grassbl8d2']
>
> View Post: http://forums.java.net/node/795867
>
>

-- 
Oracle <http://www.oracle.com>
Byron Nevins | Principal MTS
Phone: +1 6503958992 <tel:+1%206503958992>
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to 
developing practices and products that help protect the environment