You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Jörn Nettingsmeier <po...@uni-duisburg.de> on 2006/03/03 18:32:24 UTC
1.4: what about jcr and cocoon?
do i need the jcr block even if i'm not using the repository layer?
if so, where can i get it?
i've read
http://svn.apache.org/viewcvs.cgi/*checkout*/cocoon/branches/BRANCH_2_1_X/src/blocks/jcr/readme.txt
, but i can't locate a jcr jar on the page it mentions...
regards,
jörn
--
"Open source takes the bullshit out of software."
- Charles Ferguson on TechnologyReview.com
--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: pol-admin@uni-duisburg.de, Telefon: 0203/379-2736
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: 1.4: what about jcr and cocoon?
Posted by Paloma Gomez <pa...@gmail.com>.
Hello Jörn,
> probably your tree is subtly broken - i had the same issue, and after a
> clean checkout it was gone.
That was it, thanks a lot!
Regards,
Paloma
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: 1.4: what about jcr and cocoon?
Posted by Jörn Nettingsmeier <po...@uni-duisburg.de>.
Paloma Gomez wrote:
> Hello,
>
> I'm a bit confused with this *.jar file.
>
> I've lenya 1.4.x/cocoon-2.1.x/tomcat-5.0.28 in my system.The build
> process failed until I placed this file in ./lib and set
> include.block.jcr=true in./src/cocoon/local.blocks.properties
> according to the readme.txt instructions. (I've tried
> include.block.jcr=false and it works too)
>
> After doing so, trying to access http://localhost:8080/lenya gave me
> this error message:
>
> Message: /usr/local/jakarta-tomcat-5.0.28/webapps/lenya/samples/blocks/jcr/repotest/repository.xml
> (No such file or directory)
i had the same problem yesterday. iiuc, you don't need to download an
additional jcr jarfile (see michi's post earlier in this thread).
probably your tree is subtly broken - i had the same issue, and after a
clean checkout it was gone. if you have the bandwidth, just check out a
fresh tree and see if you can reproduce the problem.
regards,
jörn
--
"Open source takes the bullshit out of software."
- Charles Ferguson on TechnologyReview.com
--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: pol-admin@uni-duisburg.de, Telefon: 0203/379-2736
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: 1.4: what about jcr and cocoon?
Posted by Paloma Gomez <pa...@gmail.com>.
Hello,
I'm a bit confused with this *.jar file.
I've lenya 1.4.x/cocoon-2.1.x/tomcat-5.0.28 in my system.The build
process failed until I placed this file in ./lib and set
include.block.jcr=true in./src/cocoon/local.blocks.properties
according to the readme.txt instructions. (I've tried
include.block.jcr=false and it works too)
After doing so, trying to access http://localhost:8080/lenya gave me
this error message:
Message: /usr/local/jakarta-tomcat-5.0.28/webapps/lenya/samples/blocks/jcr/repotest/repository.xml
(No such file or directory)
Description: org.apache.avalon.framework.configuration.ConfigurationException:
Cannot access configuration information at
jndi:/localhost/lenya/WEB-INF/cocoon.xconf:1651:106
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
I don't have a samples directory, but I do have a jcr-repository directory
with a repository.xml file in it. So I've changed my jcr-component
definition in cocoon.xconf to match this directory structure:
<component class="org.apache.cocoon.jcr.JackrabbitRepository"
logger="jcr" role="javax.jcr.Repository">
<credentials login="anonymous" password=""/>
<jaas src="context://jcr-repository/jaas.config"/>
<home src="context://jcr-repository/repository"/>
<configuration src="context://jcr-repository/repository.xml"/>
</component>
After this, I can access http://localhost:8080/lenya.
I haven't read anything about these changes in the lenya site, so I'm not sure
if I've finally installed it successfully or there's something I've
done wrong and
all this wasn't necessary at all. Can anyone confirm if it's OK, please?
Regards,
Paloma
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: 1.4: what about jcr and cocoon?
Posted by Thorsten Scherler <th...@apache.org>.
El sáb, 04-03-2006 a las 01:10 +0100, Michael Wechner escribió:
> Thorsten Scherler wrote:
...
> >
> >Just use this:
> >http://svn.apache.org/viewcvs.cgi/*checkout*/cocoon/branches/BRANCH_2_1_X/lib/optional/jcr-1.0.jar?rev=219163
> >
> >
> I think we should not distribute this jar file
Agree, but it is in the svn history. ;)
I do not consider this distributing, it is historical and a good way to
learn about svn.
salu2
--
thorsten
"Together we stand, divided we fall!"
Hey you (Pink Floyd)
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: 1.4: what about jcr and cocoon?
Posted by Michael Wechner <mi...@wyona.com>.
Thorsten Scherler wrote:
>El vie, 03-03-2006 a las 22:56 +0100, Michael Wechner escribió:
>
>
>>Jörn Nettingsmeier wrote:
>>
>>
>>
>>>do i need the jcr block even if i'm not using the repository layer?
>>>
>>>
>>no. You don't even need the JCR Block of Cocoon if you are using the
>>repository layer. Maybe you need to clean your local.* files within Cocoon.
>>
>>
>
>Hmm, last time I needed to add the jcr-1.0.jar stuff because my build
>failed.
>
>
only if you include src/modules-optional
>
>
>>>if so, where can i get it?
>>>
>>>i've read
>>>http://svn.apache.org/viewcvs.cgi/*checkout*/cocoon/branches/BRANCH_2_1_X/src/blocks/jcr/readme.txt
>>>
>>>, but i can't locate a jcr jar on the page it mentions...
>>>
>>>
>>you mean jcr-1.0.jar? If so, then you need to download from Day for
>>instance.
>>Or take a look at the Jackrabbit project.
>>
>>
>
>Just use this:
>http://svn.apache.org/viewcvs.cgi/*checkout*/cocoon/branches/BRANCH_2_1_X/lib/optional/jcr-1.0.jar?rev=219163
>
>
I think we should not distribute this jar file
Michi
>
>
>
>>HTH
>>
>>
>
>salu2
>
>
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: 1.4: what about jcr and cocoon?
Posted by Thorsten Scherler <th...@apache.org>.
El vie, 03-03-2006 a las 22:56 +0100, Michael Wechner escribió:
> Jörn Nettingsmeier wrote:
>
> > do i need the jcr block even if i'm not using the repository layer?
>
>
> no. You don't even need the JCR Block of Cocoon if you are using the
> repository layer. Maybe you need to clean your local.* files within Cocoon.
Hmm, last time I needed to add the jcr-1.0.jar stuff because my build
failed.
> > if so, where can i get it?
> >
> > i've read
> > http://svn.apache.org/viewcvs.cgi/*checkout*/cocoon/branches/BRANCH_2_1_X/src/blocks/jcr/readme.txt
> >
> > , but i can't locate a jcr jar on the page it mentions...
>
>
> you mean jcr-1.0.jar? If so, then you need to download from Day for
> instance.
> Or take a look at the Jackrabbit project.
Just use this:
http://svn.apache.org/viewcvs.cgi/*checkout*/cocoon/branches/BRANCH_2_1_X/lib/optional/jcr-1.0.jar?rev=219163
> HTH
salu2
--
thorsten
"Together we stand, divided we fall!"
Hey you (Pink Floyd)
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: 1.4: what about jcr and cocoon?
Posted by Michael Wechner <mi...@wyona.com>.
Jörn Nettingsmeier wrote:
> do i need the jcr block even if i'm not using the repository layer?
no. You don't even need the JCR Block of Cocoon if you are using the
repository layer. Maybe you need to clean your local.* files within Cocoon.
> if so, where can i get it?
>
> i've read
> http://svn.apache.org/viewcvs.cgi/*checkout*/cocoon/branches/BRANCH_2_1_X/src/blocks/jcr/readme.txt
>
> , but i can't locate a jcr jar on the page it mentions...
you mean jcr-1.0.jar? If so, then you need to download from Day for
instance.
Or take a look at the Jackrabbit project.
HTH
Michi
>
> regards,
>
> jörn
>
>
>
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org