Hi All, We are trying to build the rule package in Guvnor via HTTP request, since compilation is not readily available via RestAPI, we developed a custom web service that will handle our request and trigger invoke a drools api that would compile the rule package.
The problem is when we tried to invoke the compilation via HTTP request we are encountering this exception: org.drools.repository.RulesRepositoryException: javax.jcr.NamespaceException: drools: is not a registered namespace prefix. Here is what we saw from the log file. 2011-05-10 10:30:06,753 ERROR [STDERR] Caused by: javax.jcr.NamespaceException: drools: is not a registered namespace prefix. 2011-05-10 10:30:06,753 ERROR [STDERR] at org.apache.jackrabbit.core.NamespaceRegistryImpl.getURI(NamespaceRegistryImpl.java:516) 2011-05-10 10:30:06,753 ERROR [STDERR] at org.apache.jackrabbit.core.LocalNamespaceMappings.getURI(LocalNamespaceMappings.java:166) 2011-05-10 10:30:06,753 ERROR [STDERR] at org.apache.jackrabbit.spi.commons.conversion.NameParser.parse(NameParser.java:116) 2011-05-10 10:30:06,764 ERROR [STDERR] at org.apache.jackrabbit.spi.commons.conversion.ParsingNameResolver.getQName(ParsingNameResolver.java:62) 2011-05-10 10:30:06,764 ERROR [STDERR] at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:144) 2011-05-10 10:30:06,764 ERROR [STDERR] at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:57) 2011-05-10 10:30:06,765 ERROR [STDERR] at org.apache.jackrabbit.spi.commons.conversion.ParsingPathResolver.getQPath(ParsingPathResolver.java:60) 2011-05-10 10:30:06,765 ERROR [STDERR] at org.apache.jackrabbit.spi.commons.conversion.CachingPathResolver.getQPath(CachingPathResolver.java:77) 2011-05-10 10:30:06,765 ERROR [STDERR] at org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.getQPath(DefaultNamePathResolver.java:69) 2011-05-10 10:30:06,765 ERROR [STDERR] at org.apache.jackrabbit.core.SessionImpl.getQPath(SessionImpl.java:649) 2011-05-10 10:30:06,788 ERROR [STDERR] at org.apache.jackrabbit.core.NodeImpl.resolveRelativeNodePath(NodeImpl.java:209) 2011-05-10 10:30:06,788 ERROR [STDERR] at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2468) 2011-05-10 10:30:06,788 ERROR [STDERR] at org.drools.repository.migration.MigrateDroolsPackage.needsMigration(MigrateDroolsPackage.java:19) 2011-05-10 10:30:06,796 ERROR [STDERR] at org.drools.repository.RulesRepository.checkForDataMigration(RulesRepository.java:103) Has anyone encountered the same exception before? Your response would be very much appreciated. Thanks! BTW. We have BRMS 5.0 hosted on Jboss EAP 4.3.0 application server. -- View this message in context: http://drools.46999.n3.nabble.com/Getting-a-NamespaceException-when-building-the-rule-package-tp2923857p2923857.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
