Not all Jackrabbit information is stored in SQL. There's also some
repository system information (internal indexes) in server/default/
data/NXRuntime/repos that has to be kept.
Florent
On 10 Jul 2007, at 15:28, Filipchik Alexander wrote:
Hello.
Now we are trying to start Nuxeo under Oracle database. Seems, we
reconfigure all correctly, but strange things happens. We configure
Nuxeo
for Oracle and start it. All worked fine. Then we shut down Nuxeo
and try to
start it another computer. We setup JBoss and Nuxeo on the same
database,
that we use in previous Nuxeo start.
And it didn't work. Nuxeo don't find anypreviosly created
documents. Seems
it don't hold it in database or it uses cash.
What is wrong?
Our configuration:
default-repository-config.xml:
<?xml version="1.0"?>
<component name="default-repository-config">
<documentation>
Defines the default JackRabbit repository used for development and
testing.
</documentation>
<extension target="org.nuxeo.ecm.core.repository.RepositoryService"
point="repository">
<documentation>
Declare a JackRabbit repository to be used for development and
tests.
The extension content is the jackrabbit XML configuration of the
repository.
</documentation>
<repository name="default"
factory="org.nuxeo.ecm.core.repository.jcr.JCRRepositoryFactory"
securityManager="org.nuxeo.ecm.core.repository.jcr.JCRSecurityManager"
forceReloadTypes="false">
<Repository>
<FileSystem
class="org.apache.jackrabbit.core.fs.db.OracleFileSystem">
<param name="url"
value="jdbc:oracle:thin:@10.99.55.222:1521:lportal"/>
<param name="user" value="user"/>
<param name="password" value="user"/>
<param name="schemaObjectPrefix" value="rep_"/>
</FileSystem>
<!--
security configuration
-->
<Security appName="Jackrabbit">
<!--
access manager:
class: FQN of class implementing the AccessManager
interface
-->
<AccessManager
class="org.apache.jackrabbit.core.security.SimpleAccessManager">
<!-- <param name="config" value="${rep.home}/access.xml"/
> -->
</AccessManager>
<LoginModule
class="org.apache.jackrabbit.core.security.SimpleLoginModule">
<!-- anonymous user name ('anonymous' is the default
value) -->
<param name="anonymousId" value="anonymous"/>
<!--
default user name to be used instead of the anonymous
user
when no login credentials are provided (unset by
default)
-->
<!-- <param name="defaultUserId" value="superuser"/> -->
</LoginModule>
</Security>
<!--
location of workspaces root directory and name of default
workspace
-->
<Workspaces rootPath="${rep.home}/workspaces"
defaultWorkspace="default"/>
<!--
workspace configuration template:
used to create the initial workspace if there's no
workspace yet
-->
<Workspace name="${wsp.name}">
<!--
virtual file system of the workspace:
class: FQN of class implementing the FileSystem interface
-->
<FileSystem
class="org.apache.jackrabbit.core.fs.db.OracleFileSystem">
<param name="url"
value="jdbc:oracle:thin:@10.99.55.222:1521:lportal"/>
<param name="user" value="user"/>
<param name="password" value="user"/>
<param name="schemaObjectPrefix" value="${wsp.name}_"/>
</FileSystem>
<!--
persistence manager of the workspace:
class: FQN of class implementing the PersistenceManager
interface
-->
<PersistenceManager
class="org.apache.jackrabbit.core.persistence.db.OraclePersistenceMana
ger">
<param name="url"
value="jdbc:oracle:thin:@10.99.55.222:1521:lportal" />
<param name="user" value="user" />
<param name="password" value="user" />
<param name="schemaObjectPrefix" value="${wsp.name}_" />
<param name="externalBLOBs" value="false" />
</PersistenceManager>
<!--
Search index and the file system it uses.
class: FQN of class implementing the QueryHandler
interface
-->
<SearchIndex
class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
<param name="path" value="${wsp.home}/index"/>
</SearchIndex>
</Workspace>
<!--
Configures the versioning
-->
<Versioning rootPath="${rep.home}/version">
<!--
Configures the filesystem to use for versioning for the
respective
persistence manager
-->
<FileSystem
class="org.apache.jackrabbit.core.fs.db.OracleFileSystem">
<param name="url"
value="jdbc:oracle:thin:@10.99.55.222:1521:lportal"/>
<param name="user" value="user"/>
<param name="password" value="user"/>
<param name="schemaObjectPrefix" value="rep_ver_"/>
</FileSystem>
<!--
Configures the persistence manager to be used for
persisting
version state.
Please note that the current versioning implementation
is based
on
a 'normal' persistence manager, but this could change
in future
implementations.
-->
<PersistenceManager
class="org.apache.jackrabbit.core.persistence.db.OraclePersistenceMana
ger">
<param name="url"
value="jdbc:oracle:thin:@10.99.55.222:1521:lportal" />
<param name="user" value="user" />
<param name="password" value="user" />
<param name="schemaObjectPrefix" value="jsr_ver_" />
<param name="externalBLOBs" value="false" />
</PersistenceManager>
</Versioning>
<!--
Search index for content that is shared repository wide
(/jcr:system tree, contains mainly versions)
-->
<SearchIndex
class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
<param name="path" value="${rep.home}/repository/index"/>
</SearchIndex>
</Repository>
</repository>
</extension>
</component>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
--
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm