Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 724646 (BRMS-552)

Summary: JackRabbit and IBM 1.6 JDK - javax.jcr.NamespaceException: : is not a registered namespace uri
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Len DiMaggio <ldimaggi>
Component: ConfigurationAssignee: Julian Coleman <jcoleman>
Status: CLOSED UPSTREAM QA Contact: Len DiMaggio <ldimaggi>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.1.0 GACC: ldimaggi
Target Milestone: ---   
Target Release: BRMS 5.2.0.GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-552
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:13:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
SystemOut_BRMS-552.log none

Description Len DiMaggio 2011-02-15 16:05:24 UTC
Affects: Documentation (Ref Guide, User Guide, etc.)
securitylevel_name: Public

JackRabbit and IBM 1.6 JDK - javax.jcr.NamespaceException: : is not a registered namespace uri

This issue:  https://issues.apache.org/jira/browse/JCR-888

Affects BRMS 5.1

Drools trunk uses Jackrabbit 2.1.3, but BRMS 5.1 still contains Jackrabbit 2.1.0. The problem can be reproduced - JCR-888 - on WAS 7 with this Java version:

[jlocker@soawebsphere01 ~]$ /opt/IBM/WAS/AppServer/java/bin/java
-version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxa6460sr2-20080818_01(SR2))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux amd64-64
jvmxa6460-20080816_22093 (JIT enabled, AOT enabled)
J9VM - 20080816_022093_LHdSMr
JIT  - r9_20080721_1330ifx2
GC   - 20080724_AA)
JCL  - 20080808_02

(Note from Jirka S.)

It is easy to look up "javax.jcr.NamespaceException: : is not a
registered namespace uri." in the attaced server log. After changing
Jackrabbit jars in BRMS lib dir to 2.1.3 this exception disappeared, but
I got another one:

[2/15/11 9:45:16:674 EST] 00000028 SystemOut     O ERROR 15-02
09:45:16,663 (BundleDbPersistenceManager.java:storeBundle:1116)          failed
to write bundle: cafebabe-cafe-babe-cafe-babecafebabe
java.sql.SQLIntegrityConstraintViolationException: The statement was
aborted because it would have caused a duplicate key value in a unique
or primary key constraint or unique index identified by
'SQL110210061703050' defined on 'DEFAULT_BUNDLE'.

Comment 1 Tihomir Surdilovic 2011-02-15 16:21:01 UTC
I think the version upgrade fixed your issue, you just have to make sure that you completely remove your repository directory (or the db schema used) before re-testing.

Comment 2 Jiri Locker 2011-02-15 16:28:23 UTC
Link: Added: This issue is duplicated by BRMS-553


Comment 3 Len DiMaggio 2011-02-15 18:06:51 UTC
If this issue is limited to older versions of the IBM JDK, then we should not have a problem with it. RHN has version: java-1.6.0-ibm-1.6.0.9.0

Available here:   https://rhn.redhat.com/rhn/software/packages/details/Overview.do?pid=606191


java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxi3260sr9-20101125_01(SR9))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr9-20101124_69295 (JIT enabled, AOT enabled)
J9VM - 20101124_069295
JIT  - r9_20101028_17488ifx2
GC   - 20101027_AA)
JCL  - 20101119_01

Jirka - is the issue only present in 1.6 SR7 and older? We're at SR9 now.


Comment 4 Jiri Locker 2011-02-18 20:29:14 UTC
This issue can be worked around by switching Jackrabbit JARs to version 2.1.3 or preferably, fixed by upgrading Java SDK shipped with WAS to SR8.

{{java.sql.SQLIntegrityConstraintViolationException}} is a different issue, encountered with Derby database.

Comment 5 Jiri Locker 2011-03-15 15:01:07 UTC
Link: Added: This issue is related to JBQA-4169


Comment 6 Jiri Locker 2011-03-15 16:57:54 UTC
Affects: Added: [Documentation (Ref Guide, User Guide, etc.)]


Comment 8 Jiri Locker 2011-03-17 09:29:42 UTC
Attaching a snip of the SystemOut.log which contains the output related to this issue.

These lines say it all:
{noformat}
[2/10/11 7:15:26:225 EST] 0000002d SystemOut     O INFO  10-02 07:15:26,217 (RulesRepositoryConfigurator.java:getInstance:46) 	 Creating an instance of the RulesRepositoryConfigurator.
[2/10/11 7:15:26:983 EST] 0000002d SystemOut     O ERROR 10-02 07:15:26,976 (RepositoryImpl.java:<init>:404) 	 failed to start Repository: : is not a registered namespace uri.
javax.jcr.NamespaceException: : is not a registered namespace uri.
{noformat}

That means Jackrabbit fails to initialize the repository. It is a blocking issue -- no repository, no rules :-).

Comment 9 Jiri Locker 2011-03-17 09:29:42 UTC
Attachment: Added: SystemOut_BRMS-552.log


Comment 10 Len DiMaggio 2011-05-25 15:15:19 UTC
This page:

http://www.jboss.com/products/platforms/brms/supportedconfigurations/

Points to IBM 1.6 JDK SR6 - IT SHOULD REFER TO SR8

Comment 12 lcarlon 2011-08-08 05:19:51 UTC
The documentation currently points to:

http://www.jboss.com/products/platforms/brms/supportedconfigurations/

This page needs to be updated, however the page is not maintained by ECS.

Anne-Louise, Prakash, who maintains these pages?

- Lee

Comment 13 lcarlon 2011-08-16 06:33:07 UTC
Reassigned to the default for this component.

Comment 14 Anne-Louise Tangring 2011-09-16 13:25:09 UTC
Prakash maintains these pages, that's why it is assigned to him. You do not need to add anything in the release notes for this.

Comment 21 Red Hat Bugzilla 2025-02-10 03:13:56 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.

Comment 22 Red Hat Bugzilla 2025-06-11 04:25:05 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days