"Unable to create jndierrorskip.pbd," and "Will not create jndierrorskip.pbd" messages in the Java Agent log
search cancel

"Unable to create jndierrorskip.pbd," and "Will not create jndierrorskip.pbd" messages in the Java Agent log

book

Article ID: 29801

calendar_today

Updated On:

Products

DX Application Performance Management CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

The following errors are thrown in agent logs after activating crossjvm ("introscope.agent.websphere.crossjvm=true") and Cross Process Transaction is not working.

[WARN] [IntroscopeAgent.Agent] Unable to create jndierrorskip.pbd, turn on DEBUG for more details
[DEBUG] [IntroscopeAgent.Agent] java.lang.Exception: Unable to create jndierrorskip.pbd, turn on DEBUG for more details
at com.wily.introscope.agent.trace.CrossProcessCorrelationEjbTracer$PbdCreator.execute(CrossProcessCorrelationEjbTracer.java:432)
at com.wily.introscope.agent.trace.CrossProcessCorrelationEjbTracer$PbdCreator.dumpClassInfo(CrossProcessCorrelationEjbTracer.java:419)
at com.wily.introscope.agent.trace.CrossProcessCorrelationEjbTracer.ITracer_startTrace(CrossProcessCorrelationEjbTracer.java:153)
at com.wily.introscope.agent.trace.InvocationData.IMethodTracer_startTrace(InvocationData.java:1238) ..
 

Environment

DX APM 10.x

Cause

"Cross-Process Transaction Tracing" feature enables you to trace all of the operations that take place in a transaction, including transactions that cross JVM boundaries on computers with compatible JVM versions.  

You can enable Cross-Process Transaction for the below 2 scenarios:

a) If you using Websphere Java RMI to call EJBs
-Turn on Work area service : Go to Websphere console, select Business Process Service > Work Area Service, make sure "Enable service at service startup" is selected
-Open the IntroscopeAgent.profile, set introscope.agent.websphere.crossjvm=true
 
b) Enable cross JVM via webservices
This is achieve using the SOA Performance Management agent extension. It supports transaction tracing over the following protocols : SOAP (enabled by default), HTTP and JMS. This agent extension is enabled by default.

Resolution

1. Turn on Work area service in WebSphere admin console:

 -Go to WebSphere Administration console

 -Click Servers \ WebSphere Application servers \ <your appserver> \ Business Process Services > Work Area Service

 
-Check the option "Enable service at server startup"

2. Make sure to configure the custom service in WebSphere

-Go to WebSphere Administration console

-Click Servers \ WebSphere Application servers \ <your appserver> \ Administration \ Custom Services.

-Click New and enter the below values:

-Check the option "Enable service at server startup"

-Specify the name of the custom service class = com.wily.introscope.api.websphere.IntroscopeCustomService

-Specify the fully path of the WebAppSupport.jar


 

3. Open the IntroscopeAgent.profile

-Add the following parameter introscope.agent.skipjndierror.location={path to the hotdeploy folder in the wily folder structure}

-Save the Agent.profile

4. Restart the Agent.

Additional Information