Mork calling Orson...come in Orson.
would appreciate a reply to this one
Your timezone settings are determined on the operation system level, not within jboss.
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.
in web.xml :-
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.
This was OK until we upgraded to java 1.5.
It seems that Thread locals may be used to store the default in some circumstances.
Surely you should be able to have to have 10 applications running on an app server, with 10 different default timezones!