dev@glassfish.java.net

Re: broken pipe when running asadmin

From: Bobby Bissett <Robert.Bissett_at_Sun.COM>
Date: Wed, 02 Sep 2009 21:56:09 -0400

>>> [...]
>> What are you doing with the process's output streams after calling
>> Runtime.exec?
>
> Also, can you attach your domain.xml? I suspect the server might
> close the connection because of a misconfiguration, thinking the
> transaction is taking too long. But if the value is too small, it
> could (hopefully not) produce that issue.

Sure, but I've seen versions of the error with two domains: one is a
plain v3 domain and one is a v2 domain and I was using the --upgrade
option. My most recent run (the one I just did to add output to my
last message) is a plain v3 domain, attached.






Also, it doesn't happen with "java -jar gf.jar" but only with asadmin,
both with and without the -v option. I've filed a potentially-related
bug about what havoc -v prevents: <https://glassfish.dev.java.net/issues/show_bug.cgi?id=9293
>

>
> Since you are on Unix, you should install ngrep.sourceforget.net and
> snoop the traffic to see what's happening by just typing:
>
> % sudo ngrep -d en0 -q -W byline port 4848

I'll give it a try tomorrow. Mac is Unix, right? ;)

Cheers,
Bobby