logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject RE: Log4j2 error in the console
Date Sat, 17 Jan 2015 13:28:20 GMT
Who writes to the stream? How are both sides configured?

Gary 

<div>-------- Original message --------</div><div>From: Sumantha Kannantha
<m.sumantha.k@gmail.com> </div><div>Date:01/17/2015  03:33  (GMT-05:00)
</div><div>To: log4j-user@logging.apache.org </div><div>Cc:  </div><div>Subject:
Log4j2 error in the console </div><div>
</div>Hi All,


We are getting below error in stderr.


java.io.StreamCorruptedException: invalid stream header: 1B252D31

       at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:806)

        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:299)

        at org.apache.logging.log4j.core.net.server.ObjectInputStreamLogEventBridge.wrapStream(ObjectInputStreamLogEventBridge.java:43)

        at org.apache.logging.log4j.core.net.server.ObjectInputStreamLogEventBridge.wrapStream(ObjectInputStreamLogEventBridge.java:29)

        at org.apache.logging.log4j.core.net.server.TcpSocketServer$SocketHandler.<init>(TcpSocketServer.java:53)

        at org.apache.logging.log4j.core.net.server.TcpSocketServer.run(TcpSocketServer.java:225)

        at com.hp.sa.logger.service.SaLogger.startLoggerService(SaLogger.java:28)

        at com.hp.sa.logger.service.LoggerService.start(LoggerService.java:24)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:483)

        at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:243)







We are using L0g4j2 (v2.1).







Can you please help me to identify the reason for this error?



-- 

Best Regards,
M Sumantha Kannantha
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message