jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Edelson <justinedel...@gmail.com>
Subject Re: Slightly out of the norm... (perhaps)
Date Mon, 28 Jun 2010 18:57:05 GMT
As suspected, you have a reference to ${wsp.name} inside the Versioning
configuration:

>     <Versioning rootPath="${rep.home}/version">
>         <FileSystem
class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>              <param name="path" value="${rep.home}/version" />
>         </FileSystem>
>
> 	<PersistenceManager
class="org.apache.jackrabbit.core.persistence.db.OraclePersistenceManager">
>   	    <param name="url" value="jdbc:oracle:thin:@localhost:1521:DEV" />
>   	    <param name="user" value="dmuser"/>
>   	    <param name="password" value="dmuser_pw"/>
>   	    <param name="schemaObjectPrefix" value="${wsp.name}_"/>
> 	    <param name="tableSpace" value="" />
>   	    <param name="externalBLOBs" value="false"/>
> 	</PersistenceManager>
>
>     </Versioning>

${wsp.name} can't be used inside the Versioning configuration as
versioning isn't workspace-specific.

Justin

On 6/28/10 2:27 PM, Tony Giaccone wrote:
> 
> On Jun 25, 2010, at 12:32 PM, Justin Edelson wrote:
> 
>> Tony-
>> I should have thought of this before, but is it possible this is the PM
>> configuration inside the Versioning element? I think that would explain
>> the error.
>>
>> If not, you should probably post the *whole* repository.xml file.
>>
>> Justin
> 
> 
> Justin,
> 
> Glad to do it...
> 
> I moved sling.home to a new location  on the file system and this file 
> comes from ${sling.home}/jackrabbit
> 
> 
> I did make two changes to this repository.xml file, for obvious reasons, I 
> changed the host name and I changed the userid and password.  
> I have used that information the jdbc url and the userid and password
> to connect to oracle and I know that they work. 
> 
> 
> I'm open to suggestions.
> 
> Tony
> 
> 
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!--
>   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 2.0//EN"
>           "http://jackrabbit.apache.org/dtd/repository-2.0.dtd">
> 
> <Repository>
>     <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>         <param name="path" value="${rep.home}/repository"/>    
>     </FileSystem>
> 
>     <DataStore class="org.apache.jackrabbit.core.data.FileDataStore"/>
> 
>     <Security appName="Jackrabbit">
>         <SecurityManager class="org.apache.jackrabbit.core.DefaultSecurityManager"
workspaceName="security">
>         </SecurityManager>
> 
>         <AccessManager class="org.apache.sling.jcr.jackrabbit.server.impl.security.PluggableDefaultAccessManager">
>         </AccessManager>
> 
>         <LoginModule class="org.apache.sling.jcr.jackrabbit.server.impl.security.PluggableDefaultLoginModule">
>             <param name="anonymousId" value="anonymous"/>
>             <param name="adminId" value="admin"/>
>         </LoginModule>
>     </Security>
> 
>     <Workspaces rootPath="${rep.home}/workspaces" defaultWorkspace="default"/>
> 
>     <Workspace name="${wsp.name}">
>         <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>             <param name="path" value="${wsp.home}"/> 
>         </FileSystem>
> 	<PersistenceManager class="org.apache.jackrabbit.core.persistence.db.OraclePersistenceManager">
>   	    <param name="url" value="jdbc:oracle:thin:@localhost:1521:DEV" />
>   	    <param name="user" value="dmuser"/>
>   	    <param name="password" value="dmuser_pw"/>
>   	    <param name="schemaObjectPrefix" value="${wsp.name}_"/>
> 	    <param name="tableSpace" value="" />
>   	    <param name="externalBLOBs" value="false"/>
> 	</PersistenceManager>
> 
>         <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>             <param name="path" value="${wsp.home}/index"/>
>             <param name="supportHighlighting" value="true"/>
>         </SearchIndex>
>     </Workspace>
> 
>     <Versioning rootPath="${rep.home}/version">
>         <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>              <param name="path" value="${rep.home}/version" />
>         </FileSystem>
> 
> 	<PersistenceManager class="org.apache.jackrabbit.core.persistence.db.OraclePersistenceManager">
>   	    <param name="url" value="jdbc:oracle:thin:@localhost:1521:DEV" />
>   	    <param name="user" value="dmuser"/>
>   	    <param name="password" value="dmuser_pw"/>
>   	    <param name="schemaObjectPrefix" value="${wsp.name}_"/>
> 	    <param name="tableSpace" value="" />
>   	    <param name="externalBLOBs" value="false"/>
> 	</PersistenceManager>
> 
>     </Versioning>
> 
>     <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
>         <param name="path" value="${rep.home}/repository/index"/>
>         <param name="supportHighlighting" value="true"/>
>     </SearchIndex>
> </Repository>
> 


Mime
View raw message