JavaJ | 1 Aug 2006 02:39
Picon
Favicon

Initializing Jackrabbit ...


Is it possible to initialize Jackrabbit manually on the startup of your
webapp?  For example, in a Servlet.init() method, calling
RepositoryImpl.create() or using a framework like Spring for initialization? 
Or do you have to use one of the Deployment Models for initalization of the
repository?
--

-- 
View this message in context: http://www.nabble.com/Initializing-Jackrabbit-...-tf2030936.html#a5586711
Sent from the Jackrabbit - Users forum at Nabble.com.

Porter Woodward | 1 Aug 2006 04:39

Deploying Jackrabbit to Geronimo?

Hi there -

forgive me if this has been covered before, but I wasn't able to easily 
find it in the mailing list archives.  I'm new to JCR, and Jackrabbit in 
particular.  After downloading and experimenting with Geronimo, I 
started "poking around" to see what I could add on to it...  and came 
across Jackrabbit.  While there's .war file available for download - 
Geronimo also wants a "plan" for deploying applications.  Seemed like 
adding Jackrabbit to the mix would be a really handy "model 2" 
deployment of Jackrabbit.  I was able to find some guidance for 
deployment on JBoss on the wiki - but not sure how much of that 
transfers to Geronimo.

Is there a sample plan file for deployment on Geronimo available anywhere?

- Porter Woodward

mikko.peltonen | 1 Aug 2006 14:05
Picon
Favicon

Backing up the repository


Hi!

What are the current options of backing up a Jackrabbit repository that uses
SimpleDbPersistenceManager and/or DbFileSystem? Can I just shut down the
repository, backup repository home directory and DB (by the means supported by
the db) and be able to do repository disaster recovery from those backups??

I'm aware of the GSoC project for a backup tool, but that seem not to support
DbPM/FileSystem at least initially?

Regards,
Mikko

Nicolas | 1 Aug 2006 14:17
Picon

Re: Backing up the repository

yes it will :)

Did you experience any problem using it?

Nicolas

On 8/1/06, mikko.peltonen <at> netikka.fi <mikko.peltonen <at> netikka.fi> wrote:
>
>
> Hi!
>
> What are the current options of backing up a Jackrabbit repository that
> uses
> SimpleDbPersistenceManager and/or DbFileSystem? Can I just shut down the
> repository, backup repository home directory and DB (by the means
> supported by
> the db) and be able to do repository disaster recovery from those
> backups??
>
> I'm aware of the GSoC project for a backup tool, but that seem not to
> support
> DbPM/FileSystem at least initially?
>
> Regards,
> Mikko
>
>

--

-- 
a+
(Continue reading)

Jukka Zitting | 1 Aug 2006 14:28
Picon
Gravatar

Re: Backing up the repository

Hi,

On 8/1/06, mikko.peltonen <at> netikka.fi <mikko.peltonen <at> netikka.fi> wrote:
> What are the current options of backing up a Jackrabbit repository that uses
> SimpleDbPersistenceManager and/or DbFileSystem? Can I just shut down the
> repository, backup repository home directory and DB (by the means supported by
> the db) and be able to do repository disaster recovery from those backups??

Until the backup/restore tool is finished, you have two main options:

1) Use the system view XML format to backup the content of your
workspaces. This allows hot backups, but doesn't support easy
restoring of namespaces, node types, or version histories.

2) Shut down the repository and use file-system (and optionally
database) level backup tools. This gives you a complete snapshot of
the entire repository, but requires a complete shutdown.

> I'm aware of the GSoC project for a backup tool, but that seem not to support
> DbPM/FileSystem at least initially?

It does. The current design of the backup tool works mostly on top of
the JCR API using a slightly customized version of the system view XML
format along with other information to provide a relatively complete
backup of the entire repository. The restore part of the tool should
be finished by the end of the summer.

BR,

Jukka Zitting
(Continue reading)

Jukka Zitting | 1 Aug 2006 14:32
Picon
Gravatar

Re: Initializing Jackrabbit ...

Hi,

On 8/1/06, JavaJ <ponfar99 <at> yahoo.com> wrote:
> Is it possible to initialize Jackrabbit manually on the startup of your
> webapp?  For example, in a Servlet.init() method, calling
> RepositoryImpl.create() or using a framework like Spring for initialization?
> Or do you have to use one of the Deployment Models for initalization of the
> repository?

You can follow the deployment model 1 HOWTO. The
BindableRepositoryFactory bound in JNDI will automatically initialize
the repository when it's first accessed. Note that even though the
HOWTO doesn't currently mention it, you need to explicitly shutdown()
the repository in a Servlet.destroy() method to correctly clean things
up.

As you asked, you can also use RepositoryImpl.create() or even an IoC
framework to start the repository if you don't want to use JNDI. Note
that also in this case you generally want to make sure that the
repository gets shut down when your webapp is closed.

BR,

Jukka Zitting

--

-- 
Yukatan - http://yukatan.fi/ - info <at> yukatan.fi
Software craftsmanship, JCR consulting, and Java development

(Continue reading)

quipere | 1 Aug 2006 15:46
Picon
Favicon

orderable property


Hello,

How does Jackrabbit handles the order of properties? I know the JCR
specification doesn't force orderable properties. Does Jackrabbit handle the
order?
I found the order of the properties retrieved from the repository different
from the order they where put in.

Something like respectPropertyOrder would be very helpfull.

Regards,

quipere
--

-- 
View this message in context: http://www.nabble.com/orderable-property-tf2033665.html#a5594733
Sent from the Jackrabbit - Users forum at Nabble.com.

Stefan Guggisberg | 1 Aug 2006 17:25
Picon

Re: orderable property

hi quipere,

On 8/1/06, quipere <jquipere <at> hotmail.com> wrote:
>
> Hello,
>
> How does Jackrabbit handles the order of properties? I know the JCR
> specification doesn't force orderable properties. Does Jackrabbit handle the
> order?

no. early versions of jackrabbit used to persist/manage the order of properties
but we abandoned it in the interest of reduced memory consumption and because
the specification does not require it.

cheers
stefan

> I found the order of the properties retrieved from the repository different
> from the order they where put in.
>
> Something like respectPropertyOrder would be very helpfull.
>
> Regards,
>
> quipere
> --
> View this message in context: http://www.nabble.com/orderable-property-tf2033665.html#a5594733
> Sent from the Jackrabbit - Users forum at Nabble.com.
>
>
(Continue reading)

Ramesh Devaraj | 1 Aug 2006 17:47
Picon

attributes

Hi

Can some one please explain me what is the use this attributes?

attributes ::= "primary" | "pri" | "!" |
               "autocreated" | "aut" | "a" |
               "mandatory" | "man" | "m" |
               "protected" | "pro" | "p" |
               "multiple" | "mul" | "*" |
               "COPY" | "Copy" | "copy" |
               "VERSION" | "Version" | "version" |
               "INITIALIZE" | "Initialize" |
                  "initialize" |
               "COMPUTE" | "Compute" | "compute" |
               "IGNORE" | "Ignore" | "ignore" |
               "ABORT" | "Abort" | "abort"

Kind Regards

Devaraj Ramesh

Maas High Tech Software GmbH
Hornbergstr. 49
70794 Filderstadt
Germany

http://www.maas.de <http://www.maas.de>  - Wir integrieren Zukunft

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der
richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
(Continue reading)

R. Ben Truitt | 1 Aug 2006 17:58

Re: attributes

See http://jackrabbit.apache.org/doc/nodetype/cnd.html for an  
explanation
-Ben

On Aug 1, 2006, at 10:47 AM, Ramesh Devaraj wrote:

> Hi
>
> Can some one please explain me what is the use this attributes?
>
> attributes ::= "primary" | "pri" | "!" |
>                "autocreated" | "aut" | "a" |
>                "mandatory" | "man" | "m" |
>                "protected" | "pro" | "p" |
>                "multiple" | "mul" | "*" |
>                "COPY" | "Copy" | "copy" |
>                "VERSION" | "Version" | "version" |
>                "INITIALIZE" | "Initialize" |
>                   "initialize" |
>                "COMPUTE" | "Compute" | "compute" |
>                "IGNORE" | "Ignore" | "ignore" |
>                "ABORT" | "Abort" | "abort"
>
>
>
>
>
> Kind Regards
>
> Devaraj Ramesh
(Continue reading)


Gmane