You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by "devan.vanreenen@gmail.com" <de...@gmail.com> on 2012/05/10 11:42:09 UTC

Problem when configuring Jackrabbit clustering with Oracle DB

Hi Guys, 

Please assist. I am having an issue with my jackrabbit cluster
configurations when trying to use an Oracle DB
I get the below errors. I have attached my repository.xml.

Caused by: org.drools.repository.RulesRepositoryException:
javax.jcr.RepositoryException: Invalid repository configuration file:
\usr\local\applications\pruprotect\Drools2\repository.xml
	at
org.drools.guvnor.server.repository.RepositoryStartupService.newSession(RepositoryStartupService.java:223)
	at
org.drools.guvnor.server.repository.RepositoryStartupService.create(RepositoryStartupService.java:97)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
	at
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
	at
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
	at
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
	at
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
	at
org.drools.guvnor.server.repository.RepositoryStartupService_$$_javassist_seam_2.create(RepositoryStartupService_$$_javassist_seam_2.java)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
	at org.jboss.seam.Component.callComponentMethod(Component.java:2275)
	at org.jboss.seam.Component.callCreateMethod(Component.java:2198)
	at org.jboss.seam.Component.newInstance(Component.java:2158)
	... 74 more
Caused by: javax.jcr.RepositoryException: Invalid repository configuration
file: \usr\local\applications\pruprotect\Drools2\repository.xml
	at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:238)
	at
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:280)
	at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:376)
	at
org.apache.jackrabbit.commons.AbstractRepository.login(AbstractRepository.java:123)
	at
org.drools.repository.JCRRepositoryConfigurator.login(JCRRepositoryConfigurator.java:95)
	at
org.drools.repository.RulesRepositoryConfigurator.login(RulesRepositoryConfigurator.java:85)
	at
org.drools.guvnor.server.repository.RepositoryStartupService.newSession(RepositoryStartupService.java:219)
	... 99 more
Caused by: org.apache.jackrabbit.core.config.ConfigurationException:
Configuration file syntax error. (Line: 173 Column: 18)
	at
org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:291)
	at
org.apache.jackrabbit.core.config.RepositoryConfigurationParser.parseRepositoryConfig(RepositoryConfigurationParser.java:293)
	at
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:346)
	at
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:322)
	at
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:255)
	at
org.apache.jackrabbit.core.config.RepositoryConfig.install(RepositoryConfig.java:186)
	at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:232)
	... 105 more
Caused by: org.apache.xerces.impl.io.MalformedByteSequenceException: Invalid
byte 1 of 1-byte UTF-8 sequence.
	at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
	at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at
org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:285)
	... 111 more
Caused by: org.apache.xerces.impl.io.MalformedByteSequenceException: Invalid
byte 1 of 1-byte UTF-8 sequence.
	at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source)
	at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)
	at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
	at org.apache.xerces.impl.XMLEntityScanner.scanLiteral(Unknown Source)
	at org.apache.xerces.impl.XMLScanner.scanAttributeValue(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanAttribute(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
	... 119 more

--
View this message in context: http://jackrabbit.510166.n4.nabble.com/Problem-when-configuring-Jackrabbit-clustering-with-Oracle-DB-tp4623015.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

AW: Problem when configuring Jackrabbit clustering with Oracle DB

Posted by Malzer Ferdinand OSP sIT <Fe...@s-itsolutions.at>.
hello,
it seems that the repository.xml file is corrupted (bad encoding?):

<Journal class="￿org.apache.jackrabbit.core.journal.OracleDatabaseJournal">
-----------------^
regards
ferry malzer

-----Ursprüngliche Nachricht-----
Von: devan.vanreenen@gmail.com [mailto:devan.vanreenen@gmail.com] 
Gesendet: Donnerstag, 10. Mai 2012 11:48
An: users@jackrabbit.apache.org
Betreff: Re: Problem when configuring Jackrabbit clustering with Oracle DB

http://jackrabbit.510166.n4.nabble.com/file/n4623031/repository.xml
repository.xml  Copy of my repository.xml

--
View this message in context: http://jackrabbit.510166.n4.nabble.com/Problem-when-configuring-Jackrabbit-clustering-with-Oracle-DB-tp4623015p4623031.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Re: Problem when configuring Jackrabbit clustering with Oracle DB

Posted by "devan.vanreenen@gmail.com" <de...@gmail.com>.
http://jackrabbit.510166.n4.nabble.com/file/n4623031/repository.xml
repository.xml  Copy of my repository.xml

--
View this message in context: http://jackrabbit.510166.n4.nabble.com/Problem-when-configuring-Jackrabbit-clustering-with-Oracle-DB-tp4623015p4623031.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Re: AW: Problem when configuring Jackrabbit clustering with Oracle DB

Posted by "devan.vanreenen@gmail.com" <de...@gmail.com>.
Removed the "bad" character from the xml and no longer get that error. Thanks
so much. 

--
View this message in context: http://jackrabbit.510166.n4.nabble.com/Problem-when-configuring-Jackrabbit-clustering-with-Oracle-DB-tp4623015p4623087.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

AW: Problem when configuring Jackrabbit clustering with Oracle DB

Posted by Malzer Ferdinand OSP sIT <Fe...@s-itsolutions.at>.
hello,
please try it again with the corrected repository.xml.

it seems to be the same problem:
...
Caused by: org.apache.jackrabbit.core.config.ConfigurationException:
Configuration file syntax error. (Line: 173 Column: 18)

regards
ferry malzer

-----Ursprüngliche Nachricht-----
Von: devan.vanreenen@gmail.com [mailto:devan.vanreenen@gmail.com] 
Gesendet: Donnerstag, 10. Mai 2012 11:57
An: users@jackrabbit.apache.org
Betreff: Re: Problem when configuring Jackrabbit clustering with Oracle DB

http://jackrabbit.510166.n4.nabble.com/file/n4623044/repository.xml
repository.xml  Updated valid repository.xml, previously attached file had
an invalid character.

--
View this message in context: http://jackrabbit.510166.n4.nabble.com/Problem-when-configuring-Jackrabbit-clustering-with-Oracle-DB-tp4623015p4623044.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Re: Problem when configuring Jackrabbit clustering with Oracle DB

Posted by "devan.vanreenen@gmail.com" <de...@gmail.com>.
http://jackrabbit.510166.n4.nabble.com/file/n4623044/repository.xml
repository.xml  Updated valid repository.xml, previously attached file had
an invalid character.

--
View this message in context: http://jackrabbit.510166.n4.nabble.com/Problem-when-configuring-Jackrabbit-clustering-with-Oracle-DB-tp4623015p4623044.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.