Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1208756 - LRUProjectDataModelOracleCache ERROR xxx/xxx/XXX
LRUProjectDataModelOracleCache ERROR xxx/xxx/XXX
Status: VERIFIED
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central (Show other bugs)
6.0.3
Unspecified Unspecified
medium Severity high
: DR1
: 6.2.0
Assigned To: manstis
Tomas David
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-04-03 01:44 EDT by Toshiya Kobayashi
Modified: 2016-09-20 01:07 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Toshiya Kobayashi 2015-04-03 01:44:22 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
Comment 5 Tomas David 2015-10-26 10:20:50 EDT
I followed the steps to reproduce and I didn't see any of the mentioned problems.

Verified on BPMS 6.2.0.ER4.

Note You need to log in before you can comment on or make changes to this bug.