users@glassfish.java.net

Re: Glassfish v2.1 hangs on high volume

From: <glassfish_at_javadesktop.org>
Date: Mon, 08 Jun 2009 02:40:07 PDT

I don't see any exceptions in my server.log. I should mention that my webservice inserted about 3000 records in the table before glassfish hangs.

I've changed my stored procedure call to a simple select (select 1 from dual) and glassfish still hangs.

I only see this in the log (upon startup):

/home/affinium7/mas/glassfish/lib/jhall.jar:/home/affinium7/mas/glassfish/lib/appserv-launch.jar:/home/affinium7/mas/glassfish/domains/domain1/lib/log4j
com.sun.enterprise.server.PELaunch
start
recursive call into SystemOutandErrhandler
java.lang.RuntimeException: recursivecall
        at com.sun.enterprise.server.logging.SystemOutandErrHandler$LoggingByteArrayOutputStream.flush(SystemOutandErrHandler.java:359)
        at java.io.PrintStream.write(PrintStream.java:445)
        at com.sun.enterprise.server.logging.SystemOutandErrHandler$LoggingPrintStream.write(SystemOutandErrHandler.java:293)
        at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:355)
        at sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java:416)
        at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:159)
        at java.io.OutputStreamWriter.emptyBuffer(OutputStreamWriter.java:290)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:273)
        at java.util.logging.StreamHandler.flush(StreamHandler.java:271)
        at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:73)
        at java.util.logging.Logger.log(Logger.java:1097)
        at java.util.logging.Logger.log(Logger.java:994)
        at com.sun.enterprise.server.logging.SystemOutandErrHandler$LoggingByteArrayOutputStream.flush(SystemOutandErrHandler.java:368)
        at java.io.PrintStream.write(PrintStream.java:445)
        at com.sun.enterprise.server.logging.SystemOutandErrHandler$LoggingPrintStream.write(SystemOutandErrHandler.java:293)
        at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:355)
        at sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:425)
        at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:429)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:175)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:274)
        at java.util.logging.StreamHandler.flush(StreamHandler.java:271)
        at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:73)
        at java.util.logging.Logger.log(Logger.java:1097)
        at java.util.logging.Logger.log(Logger.java:1035)
        at com.sun.enterprise.server.ApplicationServer.printStartupInfo(ApplicationServer.java:618)
        at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:170)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:103)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:399)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:599)
        at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
~
[Message sent by forum member 'masrudyn' (masrudyn)]

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