Hi, I've got a weird time zone difference happening on a production server and wondered if anyone can help...
I'm running jboss 3.2.3 on suse linux (enterprise 9.0) with a postgres 7.4.2 backend database and it runs with seperately installed verisons of tomcat (4.1.27) I'm based in Sydney, Australia and jboss seems to believe the time is GMT +10 when its currently GMT +11. date on the command line gives the following: Tue Dec 20 09:33:49 EST 2005 A java date object initiated in a servlet gives: Tue Dec 20 09:33:49 EST 2005 A query of postgres directly from the servlet: 2005-12-20 09:33:49.36264+11 ...but a Date object initiated in a session bean within jboss returns... Tue Dec 20 08:33:49 GMT+10:00 2005 The problem is causing havoc with a publishing system because users are entering a publish date which is processed through jboss. It seems to automatically adjust the time by 1 hour, thinking the timezone is 1 hour out, and stores the wrong date in the database. The same configuration runs on our development server and doesnt show the same symptoms. I'm new to jboss administration but am thinking it must just be a setting somewhere but i've spent days trying to find it without any luck. Any help at this point would be much appreciated Thanks Marc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913458#3913458 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913458 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
