I had given up hope!! the software may be installed on customer machines, running other applications, so it's no good relying on the OS. I repeat - the TimeZone MUST always be the same (GMT)
I have created a ServletContextListener and set the timezone in there. TimeZone.setDefault( TimeZone.getTimeZone("GMT")); in web.xml :- <listener-class>MyServletContextListener</listener-class> I guess that the scope of that change is just my application due to JBoss using a different class loader for each application. Everything seems OK at the moment, but it doesn't feel quite right to me. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882350#3882350 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882350 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user