cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert <>
Subject cocoon 2.2 servlet context
Date Fri, 25 Dec 2009 15:33:15 GMT
Hi All,

I try to put the Solr servlet in a Cocoon 2.2 block and it seems that I have
some success so far. Unfortunately, I do not seem to be able to set the JNDI
property solr/home, needed for the config and data files.

I have tried to add the following to both the spring servlet config of the block
and the applicationContext.xml of the webapp using the block. The latter one
would be the proper location, I guess, as this will be different in every webapp.

<bean name="org.apache.cocoon.servletservice.sample.servlet1"
<servlet:context mount-path="/select" context-path="blockcontext:/cocoonSolr/">
<entry key="solr/home" value="/path/to/solr"/>

Am I using this correctly?

Best, Robert Goené

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message