Great thanks, Ijonas!
I will do the same.

2007/7/10, Ijonas Kisselbach <[EMAIL PROTECTED]>:

Hi Anton,

I keep my repository.xml file in my <repository-home> location, which is
specified in jackrabbit-ds.xml datasource file. That way in a model-2
deployment, you can have as many repositories as you have *-ds.xml files.

Example jackrabbit-ds.xml:

<connection-factories>
    <tx-connection-factory>
        <jndi-name>jcr/local</jndi-name>
        <xa-transaction/>
        <rar-name>jackrabbit-jca-1.3.rar</rar-name>
        <connection-definition>javax.jcr.Repository
</connection-definition>
        <config-property name="homeDir" type="java.lang.String
">c:/java/jboss-4.0.5.GA/jackrabbit</config-property>
        <config-property name="configFile" type="java.lang.String
">c:/java/jboss-4.0.5.GA/jackrabbit/repository.xml</config-property>
        <config-property name="bindSessionToTransaction" type="
java.lang.Boolean">true</config-property>
    </tx-connection-factory>
</connection-factories>

Hope it helps,
Ij.




On 10/07/07, Anton Gavazuk <[EMAIL PROTECTED]> wrote:
>
> Please,
> give advance - where I can save repository.xml config (now it is placed
in
> jca rar in Jboss deploy directory)?
>
> 2007/6/27, Anton Gavazuk <[EMAIL PROTECTED]>:
> >
> > Hi all
> > about my confusion with libs - it's my fake, sorry for disturbing
> >
> > But  I still want to know answers on:
> > > 3) I want to implement Model 2 (several app and one repository) -
what
> I
> >
> > > have to do?
> > > 4) It's not convinient to save config xml in rar archive - is there
> any
> > > another way to save repository.xml
> > > 5) What I have to do if I want to use several repositories?
> >
> > Thanks in a advance
> >
> >
> > 2007/6/26, Anton Gavazuk < [EMAIL PROTECTED]>:
> > >
> > > Hello  Ijonas!
> > > Yes, I walked through this guide. But it is oriented on users, who
> make
> > > installation with maven, I have done installation by downloading and
> > > installing latest build of JackRabbit.
> > > So, I described my steps and asked about "Am I right?"
> > > Or you can add something?
> > >
> > > 2007/6/26, Ijonas Kisselbach < [EMAIL PROTECTED]>:
> > > >
> > > > Hi Anton,
> > > >
> > > > Have you read and followed
> > > > http://wiki.apache.org/jackrabbit/JackrabbitOnJBoss
> > > > including my recent notes on JBoss 4.0.5 ?
> > > >
> > > > Cheers,
> > > > Ij.
> > > >
> > > > On 25/06/07, Anton Gavazuk <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hello all!
> > > > > I have downloaded jackrabbit-jca-1.3.rar and jcr-ri-1.0.zip, put
> the
> > > > lib
> > > > > from jcr-ri-1.0.zip to lib dir of JBOSS (jackrabbit-1.0.jar).
> > > > > After that I put jackrabbit-jca-1.3.rar in deployment dir and
had
> > > > error
> > > > > like: "There is no such method bla bla bla".
> > > > > I removed from server lib jackrabbit-1.0.jar and get from
> > > > > jackrabbit-jca-1.3.rar jcr-1.0.jar and put it into server lib
> > > > > And it works fine now.
> > > > > But I have questions:
> > > > > 1) Where is actually imlementation of JCA?
> > > > > 2) What I did wrong?
> > > > > 3) I want to implement Model 2 (several app and one repository)
-
> > > > what I
> > > > > have to do?
> > > > > 4) It's not convinient to save config xml in rar archive - is
> there
> > > > any
> > > > > another way to save repository.xml
> > > > > 5) What I have to do if I want to use several repositories?
> > > > >
> > > >
> > >
> > >
> >
>

Reply via email to