users@glassfish.java.net

RE: RE: RE: Cluster SynchronizationException

From: Manfred Riem <mriem_at_manorrock.org>
Date: Thu, 17 Jul 2008 06:08:51 -0600

Hi there,

Which version are you running exactly?

Manfred

-----Original Message-----
From: glassfish_at_javadesktop.org [mailto:glassfish_at_javadesktop.org]
Sent: Thursday, July 17, 2008 1:43 AM
To: users_at_glassfish.dev.java.net
Subject: Re: RE: RE: Cluster SynchronizationException

Not silly at all.

I have turned off ipv6 support on all servers. The SynchronizationMain establishes a connection with the DAS, but still hangs:

tcp 208312 0 192.168.100.31:11777 192.168.100.33:4848 ESTABLISHED 3691/java


After shutting down the NodeAgent I also deleted the instance directory to force a complete rebuild (probably not a good move).

This time I get the following exception:

Exception in thread "sync-1" java.lang.OutOfMemoryError: Java heap space
        at sun.net.www.http.ChunkedInputStream.processRaw(ChunkedInputStream.java:336)
        at sun.net.www.http.ChunkedInputStream.readAheadNonBlocking(ChunkedInputStream.java:493)
        at sun.net.www.http.ChunkedInputStream.readAhead(ChunkedInputStream.java:584)
        at sun.net.www.http.ChunkedInputStream.hurry(ChunkedInputStream.java:734)
        at sun.net.www.http.ChunkedInputStream.closeUnderlying(ChunkedInputStream.java:198)
        at sun.net.www.http.ChunkedInputStream.close(ChunkedInputStream.java:715)
        at java.io.FilterInputStream.close(FilterInputStream.java:155)
        at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.close(HttpURLConnection.java:2458)
        at java.io.BufferedInputStream.close(BufferedInputStream.java:451)
        at java.io.FilterInputStream.close(FilterInputStream.java:155)
        at com.sun.enterprise.ee.synchronization.http.HttpUnzipper.writeZip(HttpUnzipper.java:122)
        at com.sun.enterprise.ee.synchronization.http.HttpGetCommand.execute(HttpGetCommand.java:126)
        at com.sun.enterprise.ee.synchronization.BaseRequestMediator.execute(BaseRequestMediator.java:90)
        at com.sun.enterprise.ee.synchronization.BaseRequestMediator.run(BaseRequestMediator.java:107)
        at java.lang.Thread.run(Thread.java:619)


The max heap for the domain is set to 768MB. There is 2GB allocated to the VM.
Does this look reasonable or should I increase the heap further?

I think the next thing to try is start with a clean install of the DAS and node agent.

Would there be any merit in moving to a 2.1 build?

Thanks for taking the time.
[Message sent by forum member 'gussie' (gussie)]

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net