Red Hat Bugzilla – Bug 1208756
LRUProjectDataModelOracleCache ERROR xxx/xxx/XXX
Last modified: 2016-09-20 01:07:46 EDT
Description of problem: B*MS 6.0.3 roll-up patch#2. When I have some dependencies in the business-central project, ERROR messages are logged when I open a guided rule editor. ===== 12:05:52,941 ERROR [org.kie.workbench.common.services.datamodel.backend.server.cache.LRUProjectDataModelOracleCache] (Thread-79) org/apache/log4j/Appender 12:05:52,942 ERROR [org.kie.workbench.common.services.datamodel.backend.server.cache.LRUProjectDataModelOracleCache] (Thread-79) org/apache/log4j/AppenderSkeleton 12:05:52,947 ERROR [org.kie.workbench.common.services.datamodel.backend.server.cache.LRUProjectDataModelOracleCache] (Thread-79) Lorg/slf4j/Logger; 12:05:53,029 ERROR [org.kie.workbench.common.services.datamodel.backend.server.cache.LRUProjectDataModelOracleCache] (Thread-79) com/sun/xml/bind/marshaller/NamespacePrefixMapper 12:05:53,118 ERROR [org.kie.workbench.common.services.datamodel.backend.server.cache.LRUProjectDataModelOracleCache] (Thread-79) com/sun/msv/reader/xmlschema/XMLSchemaReader 12:05:53,131 ERROR [org.kie.workbench.common.services.datamodel.backend.server.cache.LRUProjectDataModelOracleCache] (Thread-79) com/sun/msv/reader/xmlschema/XMLSchemaReader$StateFactory 12:05:53,132 ERROR [org.kie.workbench.common.services.datamodel.backend.server.cache.LRUProjectDataModelOracleCache] (Thread-79) com/sun/msv/reader/xmlschema/SchemaState 12:05:53,137 ERROR [org.kie.workbench.common.services.datamodel.backend.server.cache.LRUProjectDataModelOracleCache] (Thread-79) com/sun/msv/reader/GrammarReaderController ... ==== Steps to Reproduce: 1. Open a new project (e.g. org.kie.example:project1) 2. Add a dependency to the project via Project Editor groupId: org.apache.cxf artifactId: cxf-rt-frontend-jaxrs version: 3.0.2 # NOTE: apache cxf is not a main topic of this BZ. You can easily reproduce the issue with some complex dependency. 3. Save and Build&Deploy (tons of WARN but ignore them) 4. [New Item]->[Guided Rule], input name, [OK] Actual results: Many ERROR messages are logged. ==== 12:05:52,941 ERROR [org.kie.workbench.common.services.datamodel.backend.server.cache.LRUProjectDataModelOracleCache] (Thread-79) org/apache/log4j/Appender ... ==== Anyway, we can use the Editor without an issue. Expected results: If these ERRORs are negligible, they should be WARN instead. If these ERRORs are not negligible, they should produce more information (e.g. Stacktraces) In addition, the error message "org/apache/log4j/Appender" is a message of root cause Exception (in this case, NoClassDefFoundError). So it's better to log the actual class name which failed to find (in this case, org.apache.cxf.common.logging.Log4jLogger). Additional info: If you test this with 6.0.3.GA, you will see ERROR [org.kie.workbench.common.services.datamodel.backend.server.cache.LRUProjectDataModelOracleCache] (Thread-79) null as well. But it has been fixed in 6.0.3 rollup-patch #2. So not the topic of this BZ. https://bugzilla.redhat.com/show_bug.cgi?id=1175892
I followed the steps to reproduce and I didn't see any of the mentioned problems. Verified on BPMS 6.2.0.ER4.