jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Eaton <john_ea...@lagan.com>
Subject Re: Exception when checking in using oracle
Date Mon, 18 Aug 2008 15:25:29 GMT


John Eaton wrote:
> 
> Hi,
>         When trying to check in a node with spring module and jackrabbit
> hooked up to Oracle I get the following exception
> 
> 18.08.2008 15:37:12 *INFO * ClusterNode: Appended revision: 3
> (ClusterNode.java, line 616)
> 18.08.2008 15:37:12 *INFO * ClusterNode: Appended revision: 4
> (ClusterNode.java, line 616)
> 18.08.2008 15:37:12 *WARN * SearchIndex: Exception while creating document
> for node: 9ef5d298-9795-425a-adfd-309383ceef06:
> javax.jcr.RepositoryException: Missing child node entry for node with id:
> 9ef5d298-9795-425a-adfd-309383ceef06 (SearchIndex.java, line 516)
> 18.08.2008 15:37:12 *INFO * ClusterNode: Appended revision: 5
> (ClusterNode.java, line 616)
> 18-Aug-2008 15:37:12:965 ERROR [http-8080-Processor24] [  CREATEEFORM ]
> EFormServiceImpl createEForm Exception: 
> org.springmodules.jcr.JcrSystemException: Repository access exception;
> nested exception is javax.jcr.RepositoryException:
> /lagan:eforms/lagan:105/lagan:JE: unable to update item.:
> 4a01583c-9978-45e4-b3f1-a0535cece417
> Caused by:  javax.jcr.RepositoryException:
> /lagan:eforms/lagan:105/lagan:JE: unable to update item.:
> 4a01583c-9978-45e4-b3f1-a0535cece417
> at
> org.apache.jackrabbit.rmi.server.ServerObject.getRepositoryException(ServerObject.java:136)
> at
> org.apache.jackrabbit.rmi.server.ServerNode.checkin(ServerNode.java:337)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
> at sun.rmi.transport.Transport$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.Transport.serviceCall(Unknown Source)
> at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown
> Source)
> at java.lang.Thread.run(Unknown Source)
> at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
> Source)
> at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
> at sun.rmi.server.UnicastRef.invoke(Unknown Source)
> at org.apache.jackrabbit.rmi.server.ServerNode_Stub.checkin(Unknown
> Source)
> at
> org.apache.jackrabbit.rmi.client.ClientNode.checkin(ClientNode.java:409)
> at
> com.lagan.lagancentre.core.dao.jcr.JcrEformContentDao$1.doInJcr(JcrEformContentDao.java:153)
> at org.springmodules.jcr.JcrTemplate.execute(JcrTemplate.java:76)
> at org.springmodules.jcr.JcrTemplate.execute(JcrTemplate.java:108)
> at
> com.lagan.lagancentre.core.dao.jcr.JcrEformContentDao.saveForm(JcrEformContentDao.java:55)
> 
> It all works fine when I use Apache Derby.
> 
> Andy ideas? My repository file is enclosed
> 
> 
> 
> Thanks
> 
> John Eaton
> 
> 
> <?xml version="1.0"?>
> <!--
>    Licensed to the Apache Software Foundation (ASF) under one or more
>    contributor license agreements.  See the NOTICE file distributed with
>    this work for additional information regarding copyright ownership.
>    The ASF licenses this file to You under the Apache License, Version 2.0
>    (the "License"); you may not use this file except in compliance with
>    the License.  You may obtain a copy of the License at
> 
>        http://www.apache.org/licenses/LICENSE-2.0
> 
>    Unless required by applicable law or agreed to in writing, software
>    distributed under the License is distributed on an "AS IS" BASIS,
>    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
> implied.
>    See the License for the specific language governing permissions and
>    limitations under the License.
> -->
> <!DOCTYPE Repository PUBLIC "-//The Apache Software Foundation//DTD
> Jackrabbit 1.4//EN"
>                            
> "http://jackrabbit.apache.org/dtd/repository-1.4.dtd">
> <!-- Example Repository Configuration File -->
> <Repository>
>     <!--
>         virtual file system where the repository stores global state
>         (e.g. registered namespaces, custom node types, etc.)
>     -->
>     <FileSystem
> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>         
>     </FileSystem>
> 
>     <!--
>         security configuration
>     -->
>     <Security appName="Jackrabbit">
>         <!--
>             access manager:
>             class: FQN of class implementing the AccessManager interface
>         -->
>         <AccessManager
> class="org.apache.jackrabbit.core.security.SimpleAccessManager">
>             <!--  -->
>         </AccessManager>
> 
>         <LoginModule
> class="org.apache.jackrabbit.core.security.SimpleLoginModule">
>            <!-- anonymous user name ('anonymous' is the default value) -->
>            
>            <!--
>               default user name to be used instead of the anonymous user
>               when no login credentials are provided (unset by default)
>            -->
>            
>         </LoginModule>
>     </Security>
> 
>     <!--
>         location of workspaces root directory and name of default
> workspace
>     -->
>     <Workspaces rootPath="${rep.home}/workspaces"
> defaultWorkspace="lagan"/>
>     <!--
>         workspace configuration template:
>         used to create the initial workspace if there's no workspace yet
>     -->
>     <Workspace name="lagan">
>         <!--
>             virtual file system of the workspace:
>             class: FQN of class implementing the FileSystem interface
>         -->
>         <FileSystem
> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>             
>         </FileSystem>
>         <!--
>             persistence manager of the workspace:
>             class: FQN of class implementing the PersistenceManager
> interface
>         -->
>         <PersistenceManager
> class="org.apache.jackrabbit.core.persistence.bundle.OraclePersistenceManager">
>           
>           
>           
>           
>           
>           
>         </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">
>             
>             
>             
>             
>         </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.local.LocalFileSystem">
>             
>         </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.bundle.OraclePersistenceManager">
>           
>           
>           
>           
>           
>           
>         </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">
>         
>         
>         
>         
>     </SearchIndex>
>     
>     <Cluster id="node1">
>         <Journal
> class="org.apache.jackrabbit.core.journal.OracleDatabaseJournal">
>             
>             
>             
>             
>             
>             
>         </Journal>
>     </Cluster>
> </Repository>
> 
> 
http://www.nabble.com/file/p19034015/repository.xml repository.xml 
-- 
View this message in context: http://www.nabble.com/Exception-when-checking-in-using-oracle-tp19033761p19034015.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message