Bug 724646 (BRMS-552) - JackRabbit and IBM 1.6 JDK - javax.jcr.NamespaceException: : is not a registered namespace uri [NEEDINFO]
Summary: JackRabbit and IBM 1.6 JDK - javax.jcr.NamespaceException: : is not a registe...
Keywords:
Status: NEW
Alias: BRMS-552
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: Configuration
Version: 5.1.0 GA
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: BRMS 5.2.0.GA
Assignee: Julian Coleman
QA Contact: Len DiMaggio
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
: BRMS-553 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-15 16:05 UTC by Len DiMaggio
Modified: 2021-04-09 12:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
lcarlon: needinfo? (paradhya)


Attachments (Terms of Use)
SystemOut_BRMS-552.log (26.84 KB, text/plain)
2011-03-17 09:29 UTC, Jiri Locker
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker BRMS-552 0 Blocker Closed JackRabbit and IBM 1.6 JDK - javax.jcr.NamespaceException: : is not a registered namespace uri 2013-03-07 03:26:35 UTC

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.


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