jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From daveg0 <bagel10002...@googlemail.com>
Subject Problem upgrading to 1.5.3
Date Mon, 09 Mar 2009 16:40:56 GMT

Hi,

I have tried updating my appliaction to use 1.5.3 from 1.5.0 and am getting
the following exception:

Is there something I need to do to get this to work?

regards,

Dave Gough

Caused by: javax.jcr.RepositoryException: Error indexing workspace: Error
indexing workspace: Error indexing workspace
	at
org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:555)
	at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:239)
	at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1761)
	at
org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:667)
	at
org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:480)
	at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:321)
	at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:618)
	at
org.springmodules.jcr.jackrabbit.RepositoryFactoryBean.createRepository(RepositoryFactoryBean.java:57)
	at
org.springmodules.jcr.RepositoryFactoryBean.afterPropertiesSet(RepositoryFactoryBean.java:57)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1390)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1359)
	... 38 more
Caused by: java.io.IOException: Error indexing workspace
	at
org.apache.jackrabbit.core.query.lucene.MultiIndex.createInitialIndex(MultiIndex.java:394)
	at
org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:465)
	at
org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:59)
	at
org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:553)
	... 48 more
Caused by: org.apache.jackrabbit.core.state.NoSuchItemStateException:
67744792-7db5-495d-925a-5a853c317b71
	at
org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:270)
	at
org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.java:1060)
	at
org.apache.jackrabbit.core.query.lucene.MultiIndex.createInitialIndex(MultiIndex.java:389)
	... 51 more


My repository.xml looks like:


<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE Repository PUBLIC "-//The Apache Software Foundation//DTD
Jackrabbit 1.2//EN"
                           
"http://jackrabbit.apache.org/dtd/repository-1.2.dtd">
<Repository>


    <!--
        virtual file system where the repository stores global state
        (e.g. registered namespaces, custom node types, etc.)
    -->
    <DataStore class="org.apache.jackrabbit.core.data.db.DbDataStore">
<!--    Following Parameters used to be ok in 1.4, but not in 1.5
	
	
        
-->
                 
     	
	
       	
	 
	 
	 
    </DataStore>


    <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
        
    </FileSystem>


    <!--
        security configuration
    -->
    <Security appName="Jackrabbit">
        <SecurityManager
class="org.apache.jackrabbit.core.DefaultSecurityManager"
workspace="security"></SecurityManager>
       
        <!--
            access manager:
            class: FQN of class implementing the AccessManager interface
        -->
       <AccessManager
class="org.apache.jackrabbit.core.security.DefaultAccessManager">
            <!--  -->
        </AccessManager>

        <LoginModule
class="org.apache.jackrabbit.core.security.authentication.DefaultLoginModule">
           <!-- 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)
           -->
            
           <!-- optional 'principalProvider' -->
           <!-- -->
        </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.local.LocalFileSystem">
            
        </FileSystem>
       
	<PersistenceManager
class="org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager"
>
	                 
     	
	
       	
	         
		
	        
		
		 
	</PersistenceManager>
              

	<ISMLocking class="org.apache.jackrabbit.core.state.FineGrainedISMLocking"
/>
       
	<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 perisistence 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.MySqlPersistenceManager"
>
	                 
     	
		
        	
	        
	         
		
		
		 
	</PersistenceManager>
         
	<ISMLocking class="org.apache.jackrabbit.core.state.FineGrainedISMLocking">
        </ISMLocking>
    </Versioning>

   <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
        
    </SearchIndex>

</Repository>


-- 
View this message in context: http://www.nabble.com/Problem-upgrading-to-1.5.3-tp22413686p22413686.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message