<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.brianmadden.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Citrix XenApp / Presentation Server</title><link>http://www.brianmadden.com/forums/155.aspx</link><description>MetaFrame Presentation Server technical questions and configuration</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 (Build: 30929.2835)</generator><item><title>PS 4.5 and Java timezone issue</title><link>http://www.brianmadden.com/forums/thread/170785.aspx</link><pubDate>Thu, 14 Jun 2012 03:21:27 GMT</pubDate><guid isPermaLink="false">a59ee4a9-9560-4436-b47c-b649e4ba6aaa:170785</guid><dc:creator>ndavison</dc:creator><slash:comments>0</slash:comments><comments>http://www.brianmadden.com/forums/thread/170785.aspx</comments><wfw:commentRss>http://www.brianmadden.com/forums/commentrss.aspx?SectionID=155&amp;PostID=170785</wfw:commentRss><description>Hi everyone,

I&amp;#39;ve come across a problem in a PS 4.5 farm where a .NET application needs to leverage a Java module that involves checking time compared to a submitted record. After some investigation it seems that Java thinks the Citrix server is 15 hours behind the correct timezone (which is +10 GMT) - reporting itself as -5 GMT.

I managed to prove this only happens inside a Citrix session, not a normal RDP session to the server. I also don&amp;#39;t believe it is a general time issue - just a Java timezone issue. The server had rollup pack 6 installed.




In rollup pack 7 for 4.5, it actually mentions this problem as fixed:

http://support.citrix.com/article/CTX127926

&amp;quot;IBM Lotus Notes Calendar does not reflect the correct time when run as a published application. The issue occurs because Lotus Notes Calendar runs as a Java program on the server but does not use java.exe or javaw.exe. This fix introduces support for the following registry key that lets you add a list of programs that run as Java programs but do not use java.exe or javaw.exe. When a program loads tzhook.dll, which handles the implementation of local time and time zones, it will check against this list; if a match is found, the requisite additional APIs are hooked so that the correct time and time zone appear in the session.&amp;quot;

And says you need to add a MULTI_SZ registry key in &amp;quot;HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\CtxHook\AppInit_Dlls\Per Session Time Zone&amp;quot; called &amp;quot;javaexes&amp;quot;, and list the executables which need this fix applied in real time. So I upgraded to R07 and tried this - but it didn&amp;#39;t help. Just to be thorough I made sure to include every EXE involved with this application in the list.

I did eventually &amp;quot;fix&amp;quot; the problem by downgrading to R01 (the only older pack I have on hand) - the problem simply doesn&amp;#39;t seem to exist in R01 so it must have been added inside R06 or some other pack. I&amp;#39;d much prefer to get it working on R07 though. Has anyone managed to do this, or have any advice?

Thanks.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>