cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Guidewire Java LinkageError using AppDynamics JavaAgents

Worth.Williams
Explorer

Subject: Guidewire Java LinkageError using AppDynamics JavaAgents

 

After adding AppDynamic JavaAgents (v4.5.14.27768) to our UAT environment we had a java.lang.LinkageError: gw/job/sxs/SideBySideProcess$ParallelQuoteCallable occur when performing a Side by side parallel quote request in Guidewire PolicyCenter (Auto insurance product). A message on Guidewire's Community Website says “Whenever projects encounter LinkageError exceptions with the class loader and AppDynamics is being used, we suggest trying to disable AppDynamics and see whether the LinkageErrors still occur.”

We are using Tomcat v7.0.90 and after removing the Java Options (listed below) to load AppD's JavaAgent, this issue goes away. We are already using the <custom-exclude filter-type> tag seen below. The execution stack is listed below. Does anyone have any leads or solutions?

 

Java Options for loading AppD:

-Dappdynamics.agent.tls.allowedAlgorithms=TLSv1,TLSv1.1,TLSv1.2

-javaagent:"D:\Setups\AppD\Java\v4.5.14.27768\javaagent.jar"

 

Custom-exclude:

In file: <agent-install-dir>\ver4.x.x.x\conf\app-agent-config.xml

Under: "<bci-processing-excludes>"

Add: <custom-exclude filter-type="STARTSWITH" filter-value="com.guidewire.pl/" />

 

Thanks.

 

We also added the following properties and the LinkageError has resolved:

 

..\conf\app-agent-config.xml
<agent-service name="BCIEngine" enabled="true">
<configuration-properties>
<property name="exclude.classes.from.class.loader.1" value="com.guidewire.pl.system.gosu.GosuPluginContainer" />
<property name="exclude.classes.from.class.loader.2" value="gw.internal.gosu.compiler.GosuClassLoader" />
<property name="exclude.classes.from.class.loader.3" value="com.guidewire.pl.system.integration.plugins.Standard" />
<property name="exclude.classes.from.class.loader.4" value="com.guidewire.pl.system.integration.plugins.StandardClassLoader" />

 

 

0 REPLIES 0