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:

[jb...@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:

[jb...@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?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238821#4238821

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238821
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to