users@glassfish.java.net

Re: Glassfish kills business

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Wed, 24 Aug 2011 09:15:30 +0200

Hi,

that's interesting!
But anyways, can you pls. check the officially released Glassfish 3.1.1?
http://glassfish.java.net/public/downloadsindex.html

The version you use looks as a nightly build of the current GF
development branch.

Thanks.

WBR,
Alexey.


On 08/23/2011 07:49 PM, forums_at_java.net wrote:
> Dear Aleksey,
>
> thank you for your reply.
>
> Below is a logfile output from an OutOfMemeroy event shortly after the
> glassfish has been restarted.
>
> [#|2011-08-22T16:19:23.956+0200|WARNING|glassfish3.2|org.glassfish.grizzly.threadpool.AbstractThreadPool|_ThreadID=13;_ThreadName=Thread-1;|Uncaught
>
> thread exception. Thread: Thread[Grizzly(3),10,main]
> java.lang.OutOfMemoryError: Java heap space
> at java.util.Arrays.copyOf(Arrays.java:2786)
> at java.lang.StringCoding.decode(StringCoding.java:178)
> at java.lang.String.<init>(String.java:483)
> at
> org.glassfish.grizzly.memory.HeapBuffer.toStringContent(HeapBuffer.java:815)
>
> at
> org.glassfish.grizzly.http.util.BufferChunk.toString(BufferChunk.java:291)
>
> at
> org.glassfish.grizzly.http.util.DataChunk.toString(DataChunk.java:206)
> at
> org.glassfish.grizzly.http.util.RequestURIRef.getURI(RequestURIRef.java:140)
>
> at
> org.glassfish.grizzly.http.util.RequestURIRef.getURI(RequestURIRef.java:136)
>
> at
> org.glassfish.grizzly.http.HttpRequestPacket.getRequestURI(HttpRequestPacket.java:212)
>
> at
> org.glassfish.grizzly.http.server.filecache.FileCache.get(FileCache.java:228)
>
> at
> org.glassfish.grizzly.http.server.FileCacheFilter.handleRead(FileCacheFilter.java:77)
>
> at
> org.glassfish.grizzly.filterchain.ExecutorResolver$3.execute(ExecutorResolver.java:95)
>
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:444)
>
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:364)
>
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:290)
>
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:133)
>
> at
> org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:76)
>
> at
> org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:63)
>
> at
> org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:823)
>
> at
> org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
>
> at
> org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:116)
>
> at
> org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$000(WorkerThreadIOStrategy.java:55)
>
> at
> org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$1.run(WorkerThreadIOStrategy.java:98)
>
> at
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:508)
>
> at
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:488)
>
> at java.lang.Thread.run(Thread.java:619)
> |#]
> [#|2011-08-22T16:19:27.719+0200|WARNING|glassfish3.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=18;_ThreadName=Thread-1;|StandardWrapperValve[default]:
>
> PWC1406: Servlet.service() for servlet default threw exception
> java.lang.OutOfMemoryError: Java heap space
> at
> org.glassfish.grizzly.memory.HeapMemoryManager.reallocatePoolBuffer(HeapMemoryManager.java:260)
>
> at
> org.glassfish.grizzly.memory.HeapMemoryManager.allocateHeapBuffer(HeapMemoryManager.java:191)
>
> at
> org.glassfish.grizzly.memory.HeapMemoryManager.allocate(HeapMemoryManager.java:76)
>
> at
> org.glassfish.grizzly.memory.HeapMemoryManager.allocate(HeapMemoryManager.java:59)
>
> at
> org.glassfish.grizzly.http.server.io.OutputBuffer.checkCurrentBuffer(OutputBuffer.java:589)
>
> at
> org.glassfish.grizzly.http.server.io.OutputBuffer.write(OutputBuffer.java:355)
>
> at
> org.glassfish.grizzly.http.server.NIOOutputStreamImpl.write(NIOOutputStreamImpl.java:84)
>
> at
> org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:423)
>
> at
> org.glassfish.grizzly.http.util.ByteChunk.flushBuffer(ByteChunk.java:434)
> at
> org.glassfish.grizzly.http.util.ByteChunk.append(ByteChunk.java:356)
> at
> org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:454)
>
> at
> org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:441)
> at
> org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:160)
>
> at
> org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.java:2255)
>
> at
> org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java:1991)
>
> at
> org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:1013)
>
> at
> org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:439)
>
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown
> Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:323)
> at
> org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:321)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
> at
> org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:356)
> at
> org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:212)
>
> at
> org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1556)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:286)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
>
> |#]
> [#|2011-08-22T16:19:40.945+0200|WARNING|glassfish3.2|org.glassfish.grizzly.threadpool.AbstractThreadPool|_ThreadID=14;_ThreadName=Thread-1;|Uncaught
>
> thread exception. Thread: Thread[Grizzly(4),10,main]
> java.lang.OutOfMemoryError: Java heap space
> at java.util.Arrays.copyOf(Arrays.java:2786)
> at java.lang.StringCoding.decode(StringCoding.java:178)
> at java.lang.String.<init>(String.java:483)
> at
> org.glassfish.grizzly.memory.HeapBuffer.toStringContent(HeapBuffer.java:815)
>
> at
> org.glassfish.grizzly.http.util.BufferChunk.toString(BufferChunk.java:291)
>
> at
> org.glassfish.grizzly.http.util.DataChunk.toString(DataChunk.java:206)
> at
> org.glassfish.grizzly.http.util.RequestURIRef.getURI(RequestURIRef.java:140)
>
> at
> org.glassfish.grizzly.http.util.RequestURIRef.getURI(RequestURIRef.java:136)
>
> at
> org.glassfish.grizzly.http.HttpRequestPacket.getRequestURI(HttpRequestPacket.java:212)
>
> at
> org.glassfish.grizzly.http.server.filecache.FileCache.get(FileCache.java:228)
>
> at
> org.glassfish.grizzly.http.server.FileCacheFilter.handleRead(FileCacheFilter.java:77)
>
> at
> org.glassfish.grizzly.filterchain.ExecutorResolver$3.execute(ExecutorResolver.java:95)
>
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:444)
>
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:364)
>
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:290)
>
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:133)
>
> at
> org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:76)
>
> at
> org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:63)
>
> at
> org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:823)
>
> at
> org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
>
> at
> org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:116)
>
> at
> org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$000(WorkerThreadIOStrategy.java:55)
>
> at
> org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$1.run(WorkerThreadIOStrategy.java:98)
>
> at
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:508)
>
> at
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:488)
>
> at java.lang.Thread.run(Thread.java:619)
>
>
>
> --
>
> [Message sent by forum member 'seagate']
>
> View Post: http://forums.java.net/node/835908
>
>