WARN Messages "Unable to create jndierrorskip.pbd, turn on DEBUG for more details" and "Skip jndi error pbd location not set in agent profile. Will not create jndierrorskip.pbd"

Document ID : KB000029801
Last Modified Date : 06/06/2018
Show Technical Document Details
Introduction:
Overview

"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.
 
Question:

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

 

9/23/13 11:07:04 AM CEST [WARN] [IntroscopeAgent.Agent] Unable to create jndierrorskip.pbd, turn on DEBUG for more details

9/23/13 11:07:04 AM CEST [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)

..
 

Answer:
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
User-added image 
-Check the option "Enable service at server startup"

 User-added image


2. If you are using a pre-10.7 Agent version, make sure to configure the custom service in Websphere
 -Go to Websphere Administration console
-Click Servers \ Websphere Application servers \ <your appserver> \ Administration \ Custom Services.
 User-added image
-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
User-added image
 
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
-Restart the Agent.
Additional Information: