Description of problem: When trying to persist session on IBM JDK I get java.lang.ClassNotFoundException. Version-Release number of selected component (if applicable): BRMS-5.3.0-ER3 JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr9-20110624_85526 (JIT enabled, AOT enabled) J9VM - 20110624_085526 JIT - r9_20101028_17488ifx17 GC - 20101027_AA RHEL 5 and 6, AIX 5 How reproducible: every time Steps to Reproduce: 1. try to set up a persisted session Actual results: org.slf4j.LoggerFactory.bind(LoggerFactory.java:121) at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111) at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254) at bitronix.tm.resource.jdbc.PoolingDataSource.<clinit>(PoolingDataSource.java:47) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) at org.jboss.qa.drools.features.PersistenceTest.setUpPersistedSession(PersistenceTest.java:68) 25 lines not shown Caused by org.slf4j.impl.StaticLoggerBinder java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:76) at java.net.URLClassLoader.findClass(URLClassLoader.java:396) at java.lang.ClassLoader.loadClass(ClassLoader.java:653) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358) at java.lang.ClassLoader.loadClass(ClassLoader.java:619) at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121) at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111) at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254) at bitronix.tm.resource.jdbc.PoolingDataSource.<clinit>(PoolingDataSource.java:47) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) at org.jboss.qa.drools.features.PersistenceTest.setUpPersistedSession(PersistenceTest.java:68) 25 lines not shown
After checking with Tomas, to add slf4j-log4j12.jar into the classpath would fix this issue. I would add slf4j-log4j12.jar into the brms-engine.zip for next release.
slf4j-log4j12.jar didn't make it to BRMS-5.2.0.ER4
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: As a result of the resolution of <ulink url="https://bugzilla.redhat.com/show_bug.cgi?id=724672"/> the slf4j-log4j12.jar, which is required for persistence when using IBM's JDK, the ClassNotFoundException is thrown.
Hi Tomas, Ryan, Would you mind reviewing the release note content to make sure I have described the issue correctly. Thanks Lee
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1 @@ -As a result of the resolution of <ulink url="https://bugzilla.redhat.com/show_bug.cgi?id=724672"/> the slf4j-log4j12.jar, which is required for persistence when using IBM's JDK, the ClassNotFoundException is thrown.+The slf4j-log4j12.jar, which is required for persistence when using IBM's JDK, is not present, this results in the ClassNotFoundException being thrown.
Release note updated, thanks for the comments Ryan.
This bug was fixed in BRMS-5.2.0.ER5, marking it verified.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1 @@ -The slf4j-log4j12.jar, which is required for persistence when using IBM's JDK, is not present, this results in the ClassNotFoundException being thrown.+The slf4j-log4j12.jar, which is required for persistence when using IBM's JDK, was not present, this was resulting in the ClassNotFoundException being thrown.