jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frizz <frizzthe...@googlemail.com>
Subject Re: Repository is started up and shut down in every call
Date Tue, 17 Jun 2014 10:56:40 GMT
Which one would you recommend? A org.apache.jackrabbit.core.RepositoryImpl ?



On Tue, Jun 17, 2014 at 12:42 PM, Chris Poulsen <chris.poulsen@dezide.com>
wrote:

> Yes, you can keep a transient repository alive by holding a session for
> the duration you need (we do this for testing) - Or you can use another
> repository type (probably recommended for more serious use).
>
> --
> Chris
>
>
> On Tue, 17 Jun 2014 12:30:19 +0200, Frizz <frizzthecat@googlemail.com>
> wrote:
>
>  Thanks for your reply.
>>
>> As you might have guessed I am really not a Jackrabbit expert (I started
>> working with it yesterday).
>>
>> Java Doc for TransientRepositry says: "...A repository proxy that
>> automatically initializes and shuts down the underlying repository
>> instance
>> when the first session is opened
>> or the last one closed.". So would it be an options to keep a dummy
>> session
>> open to avoid startup/shutdown? Or better not?
>>
>> What would be the correct way to avoid this permanent startup/shutdown?
>>
>> cheers,
>> Frizz
>>
>>
>> On Tue, Jun 17, 2014 at 12:19 PM, Chris Poulsen <chris.poulsen@dezide.com
>> >
>> wrote:
>>
>>  That is the way that a transient repository is supposed to work.
>>>
>>> --
>>> Chris
>>>
>>>
>>> On Tue, 17 Jun 2014 12:14:20 +0200, Frizz <frizzthecat@googlemail.com>
>>> wrote:
>>>
>>>   WebService that's deployed in an OSGi container using
>>>
>> <snip>
>
>>
>>>
>>>
>>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message