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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to