users@glassfish.java.net

Re: Glassfish V2 failed to start, broker=embedded, failure:code = 1

From: <glassfish_at_javadesktop.org>
Date: Sun, 29 Jun 2008 10:47:18 PDT

I had a similar problem, however, I had 2 domains but only 1 failed to start because of the embedded broker error. The domain that started was a default domain (domain1) with default ports and so the embedded broker was set to listen on 7676. I had created the 2nd domain to start on a range of ports beginning at 8200 and the embedded broker was assigned 8276. Both domains had been working before and could run at the same time.

I stopped the default domain1, modified the 2nd domain config/domain.xml and changed the 8276 port to 7676 and the 2nd domain was then able to start. I then stopped the 2nd domain, set the port back to 8276 and it was able to start it. (???) I did notice an additional port ending in 76 (something like 42476?) while scanning for LISTEN (netstat -an | grep LISTEN | grep 76) that did not show up again at the very end -- but in my haste didn't write down the port #.

I apologize that I can not explain my resolution but wanted to share what I had found so far in case it helped others and maybe see if anyone else might know the issue given this extra info.
[Message sent by forum member 'mikestuartorg' (mikestuartorg)]

http://forums.java.net/jive/thread.jspa?messageID=283207