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"
search cancel

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"

book

Article ID: 29801

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) INTROSCOPE

Issue/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.
 

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 issues? 

 ...

[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

Introscope Agent 9.x, 10.x

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. 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.

 

-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

-Restart the Agent.

Additional Information

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/application-performance-management/10-7/implementing-agents/java-agent/install-the-java-agent/configure-application-server-to-use-the-java-agent/websphere-application-server.html#concept.dita_645c902f8a646ca22bbb2a8a15fdf89b4fc44b26_EnableEJBOverJavaRMICrossProcessTracinginIBMWebSphere

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/application-performance-management/10-7/implementing-agents/java-agent/java-agent-extensions/service-oriented-architecture-platform/use-transaction-tracing-in-soa-environments.html

https://knowledge.broadcom.com/external/article?articleId=182951

Possible related issues:
- 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"

The below KB was created for a known APM 10.7 issueā€¯ : DE448773: APM 10.7 - Autoprobe log huge, "SkipIfInheritedForFlag: java.lang.Class EJB2StubTracing" is reported over and over

https://knowledge.broadcom.com/external/article?articleId=182951