0 Replies Latest reply on Jun 19, 2009 12:29 PM by sbrenneis

    Time Zone, yet again

      I am using JBoss 5.0.1GA. My logs show time stamps that are on hour behind my actual time zone.

      My environment timezone is:

      [jboss@gamer ~]$ date
      Fri Jun 19 12:25:09 EDT 2009

      I found some references to setting user.timezone, so I added this to run.sh

      # Setup JBoss specific properties
      JAVA_OPTS="-Dprogram.name=$PROGNAME -Duser.timezone=EDT $JAVA_OPTS"

      When I run Jboss, the property is on the command line:

      [jboss@gamer ~]$ ps -ef | grep java
      jboss 31187 31167 5 11:44 pts/3 00:02:07 /usr/java/jdk1.5.0_19/bin/java -Dprogram.name=run.sh -Duser.timezone=EDT -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Duser.timezone=EDT -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/opt/jboss-5.0.1.GA/lib/endorsed -classpath /opt/jboss-5.0.1.GA/bin/run.jar:/usr/java/jdk1.5.0_19/lib/tools.jar org.jboss.Main -c default -b 0.0.0.0

      Yet, against all odds, the log still timestamps everything one hour behind.

      Any suggestions?