Skip Ribbon Commands
Skip to main content
Navigate Up
Sign In

Quick Launch

Average Rating:

facebook Twitter
Email
Print Bookmark Alert me when this article is updated

Feedback

ERROR: "java.lang.NoClassDefFoundError: Could not initialize class" when PowerCenter workflow control response is invoked
Problem Description

In RulePoint, there is a custom response, PowerCenter workflow control response, which is used for restart/abort/stop any failed workflows. When this response is invoked, it fails with the following error:

java.lang.NoClassDefFoundError: Could not initialize class com.informatica.powercenter.sdk.lm.JLMDriver10
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.informatica.powercenter.sdk.lm.DriverFactory.returnDriver(DriverFactory.java:81)
at com.informatica.powercenter.sdk.lm.DriverFactory.getDriver(DriverFactory.java:163)
at com.agentlogic.sdk.pcmonitor.IJLMDriverConnectionManager.getDriver(IJLMDriverConnectionManager.java:39)
at com.agentlogic.sdk.pcmonitor.IJLMDriverConnectionManager.getConnection(IJLMDriverConnectionManager.java:68)
at com.agentlogic.sdk.pcmonitor.IJLMDriverConnectionManager.getConnectedConnection(IJLMDriverConnectionManager.java:124)
at com.agentlogic.sdk.pcmonitor.WorkflowControlResponseService.respond(WorkflowControlResponseService.java:127)
at ees.io.ResponseManager.respond(ResponseManager.java:116)
at ees.drql.drql.ConsequenceImpl.executeConsequence(ConsequenceImpl.java:222)
at ees.drql.drql.ConsequenceImpl.execute(ConsequenceImpl.java:197)
at com.agentlogic.rulepoint.engine.ResponseTask.executeConsquence(ResponseTask.java:80)
at com.agentlogic.rulepoint.engine.ResponseTask.run(ResponseTask.java:90)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Cause
This issue occurs when the jar files required for this custom response is not loaded. This custom response uses javalmapi, which is invoked by Informatica developer platform. The user has to make sure the Jar files are added to the classpath.
Solution

To resolve the issue, follow the steps below:

  1. Add the below jar files to the classpath:

    CLASSPATH: D:\Informatica\IDP9.0.1_64\OperationsAPI\OperationsAPI_Java\jlmapi\jlmapi.jar;D:\Informatica\IDP9.0.1_64\OperationsAPI\OperationsAPI_Java\jlmapi\pmserversdk.jar;C:\apache-tomcat-6.0.16\webapps\RTAM\WEB-INF\lib\log4j-1.2.15.jar
  2. Make sure that the environmental variable PATH has Informatica Developer Platform lib path added to it along with PowerCenter bin and Java bin path.

    PATH=%IDP_HOME%\OperationsAPI\OperationsAPI_Java\lib;%INFA_HOME/server/bin;%JAVA_HOME/bin
  3. Make sure that the LMAPI locale in the workflow control response pointing to proper path.

Example

D:\\Informatica\\IDP9.0.1_64\\OperationsAPI\\OperationsAPI_Java\\locale

More Information
Applies To
Product: Complex Event Processing
Problem Type:
User Type:
Project Phase:
Product Version: RulePoint 5.2
Database:
Operating System:
Other Software:

Reference
Attachments
Last Modified Date:8/3/2012 3:57 AMID:139904
People who viewed this also viewed

Feedback

Did this KB document help you?



What can we do to improve this information (2000 or fewer characters)