dev@glassfish.java.net

Re: broken pipe when running asadmin

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Wed, 02 Sep 2009 21:09:17 -0700

> OUT: Error occurred during initialization of VM
> ERR: Error opening zip file or JAR manifest missing :
> /Users/bobby/servers/glassfishv3/glassfish/lib/monitor/btrace-agent.jar
> OUT: agent library failed to init: instrument

Seems like the above is likely the source of the problem.

The server is exiting before it gets a chance to read the master
password from stdin, which causes the *client* to get the SIGPIPE
when it writes the master password to the pipe with no reader.
The client probably ought to handle that better.