Hide Forgot
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'.
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.
Link: Added: This issue is duplicated by BRMS-553
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.
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.
Link: Added: This issue is related to JBQA-4169
Affects: Added: [Documentation (Ref Guide, User Guide, etc.)]
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 :-).
Attachment: Added: SystemOut_BRMS-552.log
This page: http://www.jboss.com/products/platforms/brms/supportedconfigurations/ Points to IBM 1.6 JDK SR6 - IT SHOULD REFER TO SR8
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
Reassigned to the default for this component.
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.