List Info

Thread: still problem with trunk: jcr sample missing.




still problem with trunk: jcr sample missing.
user name
2006-05-22 10:11:03
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/re
pository.xml 
(No such file or directory)

Description: 
org.apache.avalon.framework.configuration.ConfigurationExcep
tion: 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/re
pository.xml 
(No such file or directory)
====


the corresponding section in my cocoon.xconf is this:

   <component
class="org.apache.cocoon.jcr.JackrabbitRepository&quo
t; 
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-adminuni-due.de, Telefon: 0203/379-2736

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org

still problem with trunk: jcr sample missing.
user name
2006-05-22 10:13:53
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/re
pository.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.ConfigurationExcep
tion: 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/re
pository.xml 
> (No such file or directory)
> ====
> 
> 
> the corresponding section in my cocoon.xconf is this:
> 
>   <component
class="org.apache.cocoon.jcr.JackrabbitRepository&quo
t; 
> 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.hartmannwyona.com                     andreasapache.org


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )