Evandro Savona
Evandro Savona

Reputation: 1

Custom subscription error in IBM Filenet p8

In my current project using Filenet P8 Content Platform Engine 5.2.1 with WebSphere 8.5.5.3. I deploy a content engine subscription to the system. When I put a document in the system and my subscription runs, in the trace log I found this message:

2016-04-21T15:56:39.554 184668A9 CMOD FNRCE0000D - DEBUG CMCL searching in CodeModule for class org.apache.log4j.Logger
2016-04-21T15:56:39.554 184668A9 CMOD FNRCE0000D - DEBUG search for class org.apache.log4j.Logger in JAR/ZIP CodeModuleToCItem:0:0:application/java-archive:pdgov-filenet-subscription-0.0.1-SNAPSHOT.jar:state=U
2016-04-21T15:56:39.554 184668A9 CMOD FNRCE0000D - DEBUG path org/apache/log4j/Logger.class not found in JAR/ZIP; skipping
2016-04-21T15:56:39.554 184668A9 CMOD FNRCE0000D - DEBUG class org.apache.log4j.Logger NOT found by CMCL classloader
2016-04-21T15:56:39.554 184668A9 CMOD FNRCE0000D - DEBUG class org.apache.log4j.Logger found by PARENT classloader 0x876555fa

Why?

I'm going to use maven to build my artifacts. In the pom.xml I have:

<dependencies>
        <dependency>
            <groupId>com.ibm.ecm.filenet</groupId>
            <artifactId>jace</artifactId>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
        </dependency>
    </dependencies>

I assume, as reported here, I have to add to the code module only my event class since other CE dependencies should be in the classpath.

Upvotes: 0

Views: 732

Answers (1)

swepss
swepss

Reputation: 501

Why did you think, that Log4j not found?

From log: DEBUG class org.apache.log4j.Logger found by PARENT classloader 0x876555fa

Upvotes: 1

Related Questions