You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by "Pruitt, Steve" <SP...@exstream.com> on 2007/01/15 22:01:38 UTC

Configuration variables

I can't seem to locate where to set the rep.home, wsp.name, wsp.home
variables.  I put a <Resource> tag in my application's context.xml and
set the repHomeDir, but it didn't seem to take.  I end up with a default
repository in the bin directory.  I have seen anything to suggest
setting the two workspace variables.


-S

RE: Configuration variables

Posted by "Pruitt, Steve" <SP...@exstream.com>.
Is there any other way?  I would like to not incorporate another
framework for one bit of small functionality.


-S

You could try the Spring-JCR integration.
Spring has a Module for this. The Doc to go with it (= separate PDF),
clearly explains how to set these.
(in casu: as a property of teh repo bean :-)

Wolf

On 15 Jan 2007, at 22:01, Pruitt, Steve wrote:

I can't seem to locate where to set the rep.home, wsp.name, wsp.home
variables.  I put a <Resource> tag in my application's context.xml and
set the repHomeDir, but it didn't seem to take.  I end up with a default
repository in the bin directory.  I have seen anything to suggest
setting the two workspace variables.


-S


Re: Configuration variables

Posted by Wolf Benz <eu...@gmail.com>.
You could try the Spring-JCR integration.
Spring has a Module for this. The Doc to go with it (= separate PDF),  
clearly explains how to set these.
(in casu: as a property of teh repo bean :-)

Wolf

On 15 Jan 2007, at 22:01, Pruitt, Steve wrote:

I can't seem to locate where to set the rep.home, wsp.name, wsp.home
variables.  I put a <Resource> tag in my application's context.xml and
set the repHomeDir, but it didn't seem to take.  I end up with a default
repository in the bin directory.  I have seen anything to suggest
setting the two workspace variables.


-S


Re: Configuration variables

Posted by Tobias Bocanegra <to...@day.com>.
the nightly snapshot builds can be found on the jackabbit zone [0]. the war
file is in the target directory of the webapp module [1].
regards, toby

[0] http://jackrabbit.zones.apache.org/
[1] http://jackrabbit.zones.apache.org/continuum/servlet/browse?file=1/jackrabbit-webapp/target/jackrabbit-webapp-1.2-SNAPSHOT.war

On 1/17/07, Boden, David <da...@lehman.com> wrote:
>
> >> the current jackrabbit snapshot (1.2.1) contains a
> easy-to-deply-and-configure war file.
>
> Is this snapshot .war available on a Maven repository somewhere, or
> available for download somewhere? Or have I got the wrong end of the
> stick and do I need to build a version for myself?
>
> I've obviously checked the "Downloads" Jackrabbit page for this
> information, I can't see any information on snapshot or milestone
> builds.
>
> Many Thanks,
> Dave
>
> -----Original Message-----
> From: tobias.strasser@gmail.com [mailto:tobias.strasser@gmail.com] On
> Behalf Of Tobias Bocanegra
> Sent: Wednesday, January 17, 2007 7:43 AM
> To: users@jackrabbit.apache.org
> Subject: Re: Configuration variables
>
> hi steve,
> the 'repHomeDir' is set during repository creation and so is the
> repository config xml. the repHomeDir becomes the 'rep'home' variable.
> the 'wsp.name' the name of the respective workspace and 'the wsp.home'
> is usually something like '${rep.home}/workspaces/${wsp.name}'. this is
> configurable in the repository.xml. so no need for spring at all.
> regards, toby
>
> btw: the current jackrabbit snapshot (1.2.1) contains a
> easy-to-deply-and-configure war file. where the repository config and
> the jndi/rmi bind parameters are stored externally. see
> https://issues.apache.org/jira/browse/JCR-697 for details.
>
>
> On 1/15/07, Pruitt, Steve <SP...@exstream.com> wrote:
> > I can't seem to locate where to set the rep.home, wsp.name, wsp.home
> > variables.  I put a <Resource> tag in my application's context.xml and
>
> > set the repHomeDir, but it didn't seem to take.  I end up with a
> > default repository in the bin directory.  I have seen anything to
> > suggest setting the two workspace variables.
> >
> >
> > -S
> >
>
>
> --
> -----------------------------------------< tobias.bocanegra@day.com >---
> Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
> T +41 61 226 98 98, F +41 61 226 98 97
> -----------------------------------------------< http://www.day.com >---
>
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
> This message is intended only for the personal and confidential use of the designated recipient(s) named above.  If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited.  This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such.  All information is subject to change without notice.
>
>
>
>


-- 
-----------------------------------------< tobias.bocanegra@day.com >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

RE: Configuration variables

Posted by "Boden, David" <da...@lehman.com>.
>> the current jackrabbit snapshot (1.2.1) contains a
easy-to-deply-and-configure war file.

Is this snapshot .war available on a Maven repository somewhere, or
available for download somewhere? Or have I got the wrong end of the
stick and do I need to build a version for myself?

I've obviously checked the "Downloads" Jackrabbit page for this
information, I can't see any information on snapshot or milestone
builds.

Many Thanks,
Dave

-----Original Message-----
From: tobias.strasser@gmail.com [mailto:tobias.strasser@gmail.com] On
Behalf Of Tobias Bocanegra
Sent: Wednesday, January 17, 2007 7:43 AM
To: users@jackrabbit.apache.org
Subject: Re: Configuration variables

hi steve,
the 'repHomeDir' is set during repository creation and so is the
repository config xml. the repHomeDir becomes the 'rep'home' variable.
the 'wsp.name' the name of the respective workspace and 'the wsp.home'
is usually something like '${rep.home}/workspaces/${wsp.name}'. this is
configurable in the repository.xml. so no need for spring at all.
regards, toby

btw: the current jackrabbit snapshot (1.2.1) contains a
easy-to-deply-and-configure war file. where the repository config and
the jndi/rmi bind parameters are stored externally. see
https://issues.apache.org/jira/browse/JCR-697 for details.


On 1/15/07, Pruitt, Steve <SP...@exstream.com> wrote:
> I can't seem to locate where to set the rep.home, wsp.name, wsp.home 
> variables.  I put a <Resource> tag in my application's context.xml and

> set the repHomeDir, but it didn't seem to take.  I end up with a 
> default repository in the bin directory.  I have seen anything to 
> suggest setting the two workspace variables.
>
>
> -S
>


--
-----------------------------------------< tobias.bocanegra@day.com >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

This message is intended only for the personal and confidential use of the designated recipient(s) named above.  If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited.  This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such.  All information is subject to change without notice.




Re: Configuration variables

Posted by Tobias Bocanegra <to...@day.com>.
hi steve,
the 'repHomeDir' is set during repository creation and so is the
repository config xml. the repHomeDir becomes the 'rep'home' variable.
the 'wsp.name' the name of the respective workspace and 'the wsp.home'
is usually something like '${rep.home}/workspaces/${wsp.name}'. this
is configurable in the repository.xml. so no need for spring at all.
regards, toby

btw: the current jackrabbit snapshot (1.2.1) contains a
easy-to-deply-and-configure war file. where the repository config and
the jndi/rmi bind parameters are stored externally. see
https://issues.apache.org/jira/browse/JCR-697 for details.


On 1/15/07, Pruitt, Steve <SP...@exstream.com> wrote:
> I can't seem to locate where to set the rep.home, wsp.name, wsp.home
> variables.  I put a <Resource> tag in my application's context.xml and
> set the repHomeDir, but it didn't seem to take.  I end up with a default
> repository in the bin directory.  I have seen anything to suggest
> setting the two workspace variables.
>
>
> -S
>


-- 
-----------------------------------------< tobias.bocanegra@day.com >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---