jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ruchi goel <Ruchi.G...@Sun.COM>
Subject Re: Help needed in installing Jackrabbit on Glassfish/Sun Appserver
Date Thu, 19 Oct 2006 10:39:51 GMT
Ok. I deployed Jackrabbit RAR as Connector , as a result of which  I see 
the application Jackrabbit-jca-1 under j2ee-modules. This application is 
collection of all the jackrabbit dependent jars .

Now I have  following changes in my domain.xml

<connector-resource enabled="true" jndi-name="jcr/globalRepository" 
object-type="user" pool-name="jacrabbit-pool"/>
   <resource-adapter-config object-type="user" 

fail-all-connections="false" idle-timeout-in-seconds="300" 
is-connection-validation-required="false" max-pool-size="32" 
max-wait-time-in-millis="60000" name="jacrabbit-pool" 
pool-resize-quantity="2" resource-adapter-name="jackrabbit-jca-1" 
     <property name="configFilePath" 
     <property name="repHomeDir" 

<resource-ref enabled="true" ref="jcr/globalRepository"/>

I restarted the server.

Still , I do not see the registered repository under 

Am I missing something ?


Ottinger, Joseph wrote:

>You shouldn't need to do this. Get the Jackrabbit RAR, and install it in
>glassfish as a connector. Much easier and has the benefit of actually
>being correct - no need to copy files, either. 
>-----Original Message-----
>From: Ruchi.Goel@Sun.COM [mailto:Ruchi.Goel@Sun.COM] 
>Sent: Thursday, October 19, 2006 4:54 AM
>To: users@jackrabbit.apache.org
>Subject: Help needed in installing Jackrabbit on Glassfish/Sun Appserver
>Hi all,
>   I am trying model2 deployment of JAckrabbit. Was able to successfully
>do it on Tomcat .
>Now I want to port it to glassfish/Sun Java Enterprise Server 8.x. I
>have followed  the following steps.
>1. copied  the following from
>from tomcat's commons/lib to /glassfish/domain/domain1/lib.
>2. Added the following in  /glassfish/domain/domain1/config/domain.xml
><custom-resource enabled="true" 
>jndi-name="jcr/globalRepository" object-type="user" 
>      <property name="configFilePath"
>      <property name="repHomeDir" value="c:/repo/PortalRepository"/>
>    </custom-resource>
>3.Restarted the server.
>4. I should see three folders under c:/rep/Repository
>    something like myrepository,versions,workspaces but I do not see
>5. Following is c:/repo/repository-xml.xml
><?xml version="1.0" encoding="ISO-8859-1"?> <Repository>
>    <FileSystem
>        <param name="path" value="${rep.home}/myrepository"/>
>    </FileSystem>
>    <Security appName="Jackrabbit">
>        <AccessManager
>        <LoginModule
>    </Security>
>    <Workspaces rootPath="${rep.home}/workspaces" 
>defaultWorkspace="default" />
>    <Workspace name="${wsp.name}">
>        <FileSystem
>            <param name="path" value="${wsp.home}"/>
>        </FileSystem>
>        <PersistenceManager
>class="org.apache.jackrabbit.core.state.xml.XMLPersistenceManager" />
>        <SearchIndex
>            <param name="path" value="${wsp.home}/index"/>
>        </SearchIndex>
>    </Workspace>
>    <Versioning rootPath="${rep.home}/versions">
>        <FileSystem
>            <param name="path" value="${rep.home}/versions"/>
>        </FileSystem>
>        <PersistenceManager
>class="org.apache.jackrabbit.core.state.xml.XMLPersistenceManager" />
>    </Versioning>
>Please not that above configuration works fine on Tomcat.
>Help appreciated. I have to do a POC using Jackrabbit and graffito and
>this is a bit urgent.

View raw message