JBoss EAP 6 shows Wrong date on logger time stamps in logs.

Solution Verified - Updated -

Issue

  • The logger is writing wrong date into logs. The time stamps has date shifted in advance by exactly 1 year. Checking system time with a simple java program:
[root@lgemk610dcc001 ~]# java -cp . DateDemo
Current Date/Time : Tue Dec 29 11:42:43 CET 2015

on the same system the logger reports correct time but 2016 year instead of 2015:

[Host Controller] 2016/12/29 11:44:28,457 INFO  [org.jboss.as.domain] (slave-request-threads - 2) JBAS010918: Registered remote slave host "lgemkl06hcc001hc", JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8)

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content