Issue monitoring Citrix XenApp application on JRE 7

Document ID : KB000095569
Last Modified Date : 11/05/2018
Show Technical Document Details
Issue:
We recently moved to Citrix XenApp 7 with JRE7 installed there
The app used to run on former Citrix env on JRE 6 but it is now having stalled sessions..
We are seeing below error via log when we click on new citrix icon on XenApp
Exception in thread "com.calypso.apps.util.CalypsoLoginDialog_17" [END] [LOG|SYSTEM(42)|System.err|com.calypso.apps.util.CalypsoLoginDialog_17 java.lang.NoSuchMethodError: java.net.ManagedSocketOutputStreamHighPerformanceNew: method (Ljava/net/AbstractPlainSocketImpl;)V not found [END]
Environment:
APM 10.2 agent
Cause:
We have different pbds for socket tracing depending on the Java version, java6socket.pbd and java7socket.pbd.

java6socket.pbd
SubstituteClassIfFlagged: SocketTracing java.net.SocketOutputStream java.net.ManagedSocketOutputStreamHighPerformanceNew

java7socket.pbd
SubstituteClassIfFlagged: SocketTracing java.net.SocketOutputStream java.net.ManagedSocketOutputStreamAPSIHighPerformanceNew


Our pbl files have this reference, java${JVMCOMPATIBILITY}socket.pbd, allowing the relevant pbd to be loaded according to the Java version.

In this scenario, the java${JVMCOMPATIBILITY}socket.pbd had been replaced by java6socket.pbd in the pbl file.
Resolution:
This was intiially changed to java7socket.pbd to resolve problem, but use of java${JVMCOMPATIBILITY}socket.pbd in pbl was confirmed to work with both Java 6 and 7