Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have a desktop Java application running within a Citrix Metaframe server farm and the performance, specially while starting up the app, is very unreliable.

Sometimes it takes 15 seconds and sometimes it takes over a minute. It's really unpredicatable.

Is there any way to optimize running Java desktop applications within Citrix Metaframe Terminal server sessions to a more reliable performance level?

Are there any optimization directed specifically toward Java, such as pre-load JVMs or something like that?

Any help would be greatly appreciated.

share|improve this question
    
Can you provide more detail regarding the environment? Basic hardware specs, versions and patchlevels of relevant software involved (OS, JRE, Citrix, etc.) will all help pinpoint the problem. Also, how are you handling user profiles? Is there a single Load Managed Group of homogenous servers? Multiple silos? Mix of server configs/hardware types? –  Ben Kohn Aug 3 '09 at 23:10

2 Answers 2

We were plagued with this for several months, starting in January-February 2009. An MS support team finally determined it was caused by excessive registry locking, emanating from the IE browser helper object (BHO) for Java.

I don't think the root cause was java per-se, as we had not made any changes to Java for a long time. Our workaround was to add a deny acl for all users to the Java libraries that are used for the bho:

(Java 6):
C:\Program Files\Java\jre6\bin\jp2ssv.dll
C:\Program Files\Java\jre6\bin\ssv.dll

May break some applications, but worked for us with JRE6. Doing this for older versions of JRE5 did break some applications.

share|improve this answer

Do this happen when this is the only application running? Java apps normally do not have any issue with Citrix.

Also do you get the same results when launching the app at the console?.

share|improve this answer
    
Same here except to add that Java applications do appear sluggish on Citrix but then again, they feel sluggish even when running on my own PC. Just an opinion though. –  Rob Nicholson Aug 21 '09 at 10:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.