]
David Lloyd commented on AS7-1307:
----------------------------------
Might be an issue with the timing around the installation of the stdio redirection
handlers.
Server does not start unless CONSOLE handler is specified in
logging.properties.
--------------------------------------------------------------------------------
Key: AS7-1307
URL:
https://issues.jboss.org/browse/AS7-1307
Project: Application Server 7
Issue Type: Bug
Components: Logging
Affects Versions: 7.0.0.Final
Environment: Ubuntu 10.04 AMD64
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
Reporter: Hanai Shisei
Assignee: David Lloyd
Fix For: 7.0.1.Final, 7.1.0.Alpha1
If I change the logging configuration (standalone/configuration/logging.properties) as
the following to prevent console logging:
#logger.handlers=FILE,CONSOLE
logger.handlers=FILE
Server does not start. The log file (standalone/log/boot.log) seems broken and sometimes
OutOfMemoryError is recorded:
10:42:26,615 INFO [stdout] ]): java.lang.OutOfMemoryError: Java heap space
10:42:26,615 INFO [stdout] at java.util.Arrays.copyOf(Arrays.java:2882) [:1.6.0_20]
10:42:26,615 INFO [stdout] at
java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
[:1.6.0_20]
10:42:26,615 INFO [stdout] at java.lang.StringBuilder.append(StringBuilder.java:130)
[:1.6.0_20]
10:42:26,615 INFO [stdout] at java.lang.StringBuilder.append(StringBuilder.java:171)
[:1.6.0_20]
10:42:26,615 INFO [stdout] at
org.jboss.logmanager.formatters.Formatters$JustifyingFormatStep.render(Formatters.java:157)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
10:42:26,615 INFO [stdout] at
org.jboss.logmanager.formatters.MultistepFormatter.format(MultistepFormatter.java:86)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
10:42:26,616 INFO [stdout] at
org.jboss.logmanager.ExtFormatter.format(ExtFormatter.java:35)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
10:42:26,616 INFO [stdout] at
org.jboss.logmanager.handlers.WriterHandler.doPublish(WriterHandler.java:49)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
10:42:26,616 INFO [stdout] at
org.jboss.logmanager.ExtHandler.publish(ExtHandler.java:64)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
10:42:26,616 INFO [stdout] at
org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:283)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
10:42:26,616 INFO [stdout] at
org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:291)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
10:42:26,616 INFO [stdout] at org.jboss.logmanager.Logger.logRaw(Logger.java:649)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
10:42:26,616 INFO [stdout] at org.jboss.logmanager.Logger.log(Logger.java:434)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
10:42:26,616 INFO [stdout] at
org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)
10:42:26,616 INFO [stdout] at
org.jboss.stdio.WriterOutputStream.finish(WriterOutputStream.java:137)
10:42:26,616 INFO [stdout] at
org.jboss.stdio.WriterOutputStream.write(WriterOutputStream.java:106)
10:42:26,616 INFO [stdout] at java.io.PrintStream.write(PrintStream.java:430)
[:1.6.0_20]
10:42:26,616 INFO [stdout] at
org.jboss.stdio.StdioContext$DelegatingPrintStream.write(StdioContext.java:225)
10:42:26,616 INFO [stdout] at
org.jboss.logmanager.handlers.UncloseableOutputStream.write(UncloseableOutputStream.java:47)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
10:42:26,616 INFO [stdout] at
sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202) [:1.6.0_20]
10:42:26,616 INFO [stdout] at
sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:263) [:1.6.0_20]
10:42:26,616 INFO [stdout] at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:106)
[:1.6.0_20]
10:42:26,616 INFO [stdout] at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:116)
[:1.6.0_20]
10:42:26,616 INFO [stdout] at
java.io.OutputStreamWriter.write(OutputStreamWriter.java:203) [:1.6.0_20]
10:42:26,616 INFO [stdout] at java.io.Writer.write(Writer.java:140) [:1.6.0_20]
10:42:26,616 INFO [stdout] at
org.jboss.logmanager.handlers.WriterHandler.doPublish(WriterHandler.java:68)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
10:42:26,616 INFO [stdout] at
org.jboss.logmanager.ExtHandler.publish(ExtHandler.java:64)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
10:42:26,616 INFO [stdout] at
org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:283)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
10:42:26,616 INFO [stdout] at
org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:291)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
10:42:26,616 INFO [stdout] at org.jboss.logmanager.Logger.logRaw(Logger.java:649)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
10:42:26,616 INFO [stdout] at org.jboss.logmanager.Logger.log(Logger.java:434)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
10:42:26,616 INFO [stdout] at
org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: