jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tatonka2000 <muxic...@gmail.com>
Subject Repository configuration issue, not craeting repository.xml
Date Fri, 02 Apr 2010 21:49:42 GMT

So I'm installing Drools 5 on Websphere 7, and followed all the "drools in
websphere" tutorials and references online, but I am hitting a snag while
creating the jackrabbit repository. I'm trying to point to a local directory
on my webserver, simple stuff...

My config file says:

  <component name="repositoryConfiguration">
		<!--
		  *** This is for configuring the "home" directory for the repo storage.
the directory must exist. 	***
	    -->
	      <property
name="homeDirectory">/drools-guvnor/data/GuvnorRepo/</property>

    </component>


However, things are bombing on deployment. Looks like the automatic
repository.xml file is not being craeted, as the "Automatic repository
configuration failed" error below indicates. Any idea why this is happening?
Any clues would be appreciated. The relevant parts of the stack trace are:


[4/2/10 16:11:44:774 CDT] 0000002a WebGroup      A   SRVE0169I: Loading Web
Module: JBoss Drools Guvnor.
[4/2/10 16:11:49:633 CDT] 0000002a WebApp        E   Exception caught while
initializing context 
org.jboss.seam.InstantiationException: Could not instantiate Seam component:
repositoryConfiguration
	at org.jboss.seam.Component.newInstance(Component.java:2066)
	at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
	at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
	at
org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:112)


.....


	at java.lang.Thread.run(Thread.java:810)
Caused by: org.drools.repository.RulesRepositoryException:
javax.jcr.RepositoryException: Automatic repository configuration failed:
\drools-guvnor\data\GuvnorRepo\repository.xml (The system cannot find the
path specified.): \drools-guvnor\data\GuvnorRepo\repository.xml (The system
cannot find the path specified.)
	at
org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.newSession(BRMSRepositoryConfiguration.java:116)
	at
org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.create(BRMSRepositoryConfiguration.java:56)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


.....


	at org.jboss.seam.Component.newInstance(Component.java:2054)
	... 62 more
Caused by: javax.jcr.RepositoryException: Automatic repository configuration
failed: \drools-guvnor\data\GuvnorRepo\repository.xml (The system cannot
find the path specified.): \drools-guvnor\data\GuvnorRepo\repository.xml
(The system cannot find the path specified.)
	at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:247)
	at
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:265)
	at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:333)
	at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:363)
	at
org.drools.guvnor.server.repository.BRMSRepositoryConfiguration.newSession(BRMSRepositoryConfiguration.java:112)
	... 87 more
Caused by: java.io.FileNotFoundException:
\drools-guvnor\data\GuvnorRepo\repository.xml (The system cannot find the
path specified.)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:205)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:157)
	at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:218)
	... 91 more

Thanks,
Mauricio
-- 
View this message in context: http://n4.nabble.com/Repository-configuration-issue-not-craeting-repository-xml-tp1749683p1749683.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Mime
View raw message