You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Jörn Nettingsmeier <po...@uni-duisburg.de> on 2006/05/22 12:11:03 UTC

still problem with trunk: jcr sample missing.

hi everyone!


after updating, trunk now compiles and runs again. but for every 
request, i get this:

====
Initialization Problem

Message: 
/srv/lenya/build/lenya/webapp/samples/blocks/jcr/repotest/repository.xml 
(No such file or directory)

Description: 
org.apache.avalon.framework.configuration.ConfigurationException: Cannot 
access configuration information at 
file:/srv/lenya/build/lenya/webapp/WEB-INF/cocoon.xconf:1666:106

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

cause

java.io.FileNotFoundException: 
/srv/lenya/build/lenya/webapp/samples/blocks/jcr/repotest/repository.xml 
(No such file or directory)
====


the corresponding section in my cocoon.xconf is this:

   <component class="org.apache.cocoon.jcr.JackrabbitRepository" 
logger="jcr" role="javax.jcr.Repository">
      <credentials login="anonymous" password=""/>

      <jaas src="context://samples/blocks/jcr/repotest/jaas.config"/>

      <home src="context://samples/blocks/jcr/repotest"/>
      <!--
      <home src="file:/home/USER/repotest"/>
      -->

      <configuration 
src="context://samples/blocks/jcr/repotest/repository.xml"/>
      <!--
      <configuration src="file:/home/USER/repository.xml"/>
      -->
   </component>


(note that i'm not using the repository yet.)



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-due.de, Telefon: 0203/379-2736

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: still problem with trunk: jcr sample missing.

Posted by Andreas Hartmann <an...@apache.org>.
Jörn Nettingsmeier wrote:
> hi everyone!
> 
> 
> after updating, trunk now compiles and runs again. but for every 
> request, i get this:
> 
> ====
> Initialization Problem
> 
> Message: 
> /srv/lenya/build/lenya/webapp/samples/blocks/jcr/repotest/repository.xml 
> (No such file or directory)

I can confirm this. Should we disable the JCR block by default?
I wonder why this problem didn't occur before?

-- Andreas


> 
> Description: 
> org.apache.avalon.framework.configuration.ConfigurationException: Cannot 
> access configuration information at 
> file:/srv/lenya/build/lenya/webapp/WEB-INF/cocoon.xconf:1666:106
> 
> Sender: org.apache.cocoon.servlet.CocoonServlet
> 
> Source: Cocoon Servlet
> 
> cause
> 
> java.io.FileNotFoundException: 
> /srv/lenya/build/lenya/webapp/samples/blocks/jcr/repotest/repository.xml 
> (No such file or directory)
> ====
> 
> 
> the corresponding section in my cocoon.xconf is this:
> 
>   <component class="org.apache.cocoon.jcr.JackrabbitRepository" 
> logger="jcr" role="javax.jcr.Repository">
>      <credentials login="anonymous" password=""/>
> 
>      <jaas src="context://samples/blocks/jcr/repotest/jaas.config"/>
> 
>      <home src="context://samples/blocks/jcr/repotest"/>
>      <!--
>      <home src="file:/home/USER/repotest"/>
>      -->
> 
>      <configuration 
> src="context://samples/blocks/jcr/repotest/repository.xml"/>
>      <!--
>      <configuration src="file:/home/USER/repository.xml"/>
>      -->
>   </component>
> 
> 
> (note that i'm not using the repository yet.)
> 
> 
> 
> regards,
> 
> 
> jörn
> 
> 
> 


-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
andreas.hartmann@wyona.com                     andreas@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org