-
1. Re: SingleScheduleProvider and daylight savings?
genman Jun 6, 2007 6:38 PM (in response to hale2jo)Do you have an updated JDK with DST fixes?
Not sure you can specify timezone, but might be worth looking at the MBean attributes... (a custom date format allows for a TZ as part of your date.) -
2. Re: SingleScheduleProvider and daylight savings?
hale2jo Jun 7, 2007 9:25 AM (in response to hale2jo)Yes, we have the updated JDK with the DST fixes. That's why this seems so strange. Every other part of the system works find with regard to DST.
-
3. Re: SingleScheduleProvider and daylight savings?
hale2jo Jun 7, 2007 1:49 PM (in response to hale2jo)Ah-ha....There is a date format in the MBean properties....
<attribute name="DateFormat">MM/dd/yy hh:mm a Z</attribute> <attribute name="StartDate">12/08/06 12:00 am -0500</attribute>
I'm pretty sure when you use the UTC offset, you put in the offset ignoring DST, so -0500 refers to Eastern Standard Time (EST), but during DST it will know to use -0400 (EDT). -
4. Re: SingleScheduleProvider and daylight savings?
hale2jo Jun 8, 2007 9:08 AM (in response to hale2jo)That didn't work either....Its still going off at 1am....
-
5. Re: SingleScheduleProvider and daylight savings?
jaikiran Jun 8, 2007 9:15 AM (in response to hale2jo)Could you post the JBoss startup log which shows which version of Java is being used. Just wanted to confirm the correct version with the DST patch is being used in your case
-
6. Re: SingleScheduleProvider and daylight savings?
hale2jo Jun 8, 2007 9:29 AM (in response to hale2jo)Here it is...
================================================================================ JBoss Bootstrap Environment JBOSS_HOME: /usr/jboss-3.2.8.SP1 JAVA: JAVA_OPTS: -server -Xmx512m -XX:PermSize=96m -XX:MaxPermSize=128m -Dprogram.name=jboss CLASSPATH: /usr/jboss-3.2.8.SP1/bin/run.jar:/usr/java/jdk1.5.0_02/lib/tools.jar CMD_START: /usr/java/jdk1.5.0_02/bin/java -server -Xmx512m -XX:PermSize=96m -XX:MaxPermSize=128m -Dprogram.name=jboss -classpath /usr/jboss-3.2.8.SP1/bin/run.jar:/usr/java/jdk1.5.0_02/lib/tools.jar org.jboss.Main -c appServer -Djava.security.manager=java.lang.SecurityManager -Djava.security.policy=/usr/jboss-3.2.8.SP1/server/appServer/conf/server.policy -Djava.rmi.server.codebase="file:/usr/jboss-3.2.8.SP1/server/appServer/lib/KDCSservices.jar file:/usr/jboss-3.2.8.SP1/server/appServer/lib/kdcsclient.jar" -Djava.rmi.server.hostname=blitz -Dkdcs.hostname=blitz -Djboss.platform.mbeanserver -Djava.endorsed.dirs=/usr/jboss-3.2.8.SP1/lib/endorsed ================================================================================
-
7. Re: SingleScheduleProvider and daylight savings?
genman Jun 8, 2007 7:09 PM (in response to hale2jo)
"I'm pretty sure when you use the UTC offset, you put in the offset ignoring DST, so -0500 refers to Eastern Standard Time (EST), but during DST it will know to use -0400 (EDT)."
How does it know you're in EST and not some other timezone with offset -0500? Use one of these values:
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/com.ibm.websphere.express.doc/info/exp/ae/rrun_svr_timezones.html
E.g. "US/Eastern" to be explicit... One thing to check is the value of "user.timezone" if you're setting it... -
8. Re: SingleScheduleProvider and daylight savings?
hale2jo Jun 12, 2007 9:40 AM (in response to hale2jo)I tried "US/Eastern" and "America/New_York," but they both caused: java.lang.IllegalArgumentException: Schedulable Date is not of correct format.
I tried EDT and obviously that worked. But, I don't want to have to remember to go in and change the timezone to EST when the time change happens again. Any other suggestions? -
9. Re: SingleScheduleProvider and daylight savings?
hale2jo Jun 12, 2007 9:41 AM (in response to hale2jo)Oh, I also tried EST5EDT which I thought would be "smart" enough to tell if it was daylight savings or not, but it wasn't.
-
10. Re: SingleScheduleProvider and daylight savings?
hale2jo Jun 25, 2007 2:49 PM (in response to hale2jo)Does anyone else have any ideas here?
-
11. Re: SingleScheduleProvider and daylight savings?
peacesim Nov 6, 2008 9:25 AM (in response to hale2jo)I think it is because you have a date in the field and in 24hr periods from 12 on that date is 1am today.
It looks like you can do something like this...<attribute name="DateFormat">hh:mm a</attribute> <attribute name="InitialStartDate">9:21 am</attribute>
-
12. Re: SingleScheduleProvider and daylight savings?
jaikiran Nov 6, 2008 10:08 AM (in response to hale2jo)Looks like this is the same issue that we had discussed some time back at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=105536