Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-35

OPTUS: Jboss logs show time in etc/UTC time

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Not a Bug
    • Affects Version/s: 1.1.1
    • Fix Version/s: 1.1.1
    • Component/s: Other / Misc.
    • Labels:
      None

      Description

      Jboss logs show time in etc/UTC time

      [gsingh@optus-qa-agency1 jboss-5.1.0.GA]$ sudo ./start_tsa_datafeed_node_server.sh

      [gsingh@optus-qa-agency1 jboss-5.1.0.GA]$ tail -f tsa_datafeed_node_server.log

      18:22:14,996 INFO [CopyMechanism] VFS temp dir: /usr/local/jboss-5.1.0.GA/server/tsa_datafeed_node/tmp

      18:22:14,998 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.

      18:22:16,125 INFO [ServerInfo] Java version: 1.6.0_27,Sun Microsystems Inc.

      18:22:16,125 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_27-b07)

      18:22:16,125 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 20.2-b06,Sun Microsystems Inc.

      18:22:16,125 INFO [ServerInfo] OS-System: Linux 2.6.18-238.el5xen,amd64

      [gsingh@optus-qa-agency1 jboss-5.1.0.GA]$ date Tue Feb 21 05:22:43 EST 2012

      And the startup script of JBoss shows:

      [gsingh@optus-qa-agency1 jboss-5.1.0.GA]$ cat start_tsa_datafeed_node_server.sh

      export JAVA_HOME=/usr/local/jdk1.6.0_27

      export JAVA_OPTS="-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -Xms128m -Xmx768m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=36000 -Dsun.rmi.dgc.server.gcInterval=36000"

      export JBOSS_HOME=/usr/local/jboss-5.1.0.GA

      nohup ${JBOSS_HOME}/bin/run.sh -b 0.0.0.0 -c tsa_datafeed_node -g TSA_DATAFEED -Djboss.service.binding.set=ports-01 -Djboss.messaging.ServerPeerID=2 &> ${JBOSS_HOME}/tsa_datafeed_node_server.log &

      Expected: Should we update this script with user.timezone parameter so that jboss logs time sync with system time.

      On Optus-qa-agency1 server,I haved updated script as

      [gsingh@optus-qa-agency1 jboss-5.1.0.GA]$ cat start_tsa_datafeed_node_server.sh

      export JAVA_HOME=/usr/local/jdk1.6.0_27

      export JAVA_OPTS="-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -Xms128m -Xmx768m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=36000 -Dsun.rmi.dgc.server.gcInterval=36000"

      export JBOSS_HOME=/usr/local/jboss-5.1.0.GA

      #nohup ${JBOSS_HOME}/bin/run.sh -b 0.0.0.0 -c tsa_datafeed_node -g TSA_DATAFEED -Djboss.service.binding.set=ports-01 -Djboss.messaging.ServerPeerID=2 &> ${JBOSS_HOME}/tsa_datafeed_node_server.log &

      JBoss logs time matches to system time.

        Attachments

          Activity

            People

            • Assignee:
              rgardner Ross Gardner
              Reporter:
              atul.sanagar Atul Sanagar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: