There isn't one in the cocoon.xconf for the cocoon webapp. However, I also have lenya installed, since I am planning to use it later when I get the hang of cocoon, and it has a copy of cocoon.xconf that does contain a <deli> block. Should lenya also have a cocoon.xconf, or should I delete it? For the time being I will try and disable lenya.
Thanks for your help so far, Femi --- Jan Hoskens <[EMAIL PROTECTED]> wrote: > Check the cocoon.xconf in your WEB-INF and look for > 'deli', if there's a > configuration present and not in comments, it still > tries to use the deli > block so set the configuration of that block in > comments. If it's already in > comments, the block should not be load and you > should not get an error > related to that block(as far as I know), do check as > Hugo said if there is a > deli jar in the lib and remove that file as you > don't need it to be there > anyway. > > Kind Regards, > Jan > > ----- Original Message ----- > From: "Hugo Burm" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, February 27, 2004 8:57 AM > Subject: RE: Deli errors upon Cocoon 2.1.2 startup > > > > Is there a deli jar deployed in WEB-INF\lib from > your previous build? > > > > Hugo > > > > > -----Original Message----- > > > From: Femi Anthony > [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, February 26, 2004 7:28 PM > > > To: [EMAIL PROTECTED] > > > Subject: Deli errors upon Cocoon 2.1.2 startup > > > > > > > > > I'm using Cocoon 2.1.2 and I keep getting these > errors > > > upon startup : > > > > > > java.io.FileNotFoundException > > > java.io.FileNotFoundException > > > at > > > > org.apache.naming.resources.DirContextURLConnection.getInputStream(Di > > > rContextURLConnection.java:344) > > > at java.net.URL.openStream(URL.java:913) > > > at > > > > com.hp.hpl.deli.Workspace.getResource(Workspace.java:474) > > > at > > > > com.hp.hpl.deli.VocabularyConfig.<init>(VocabularyConfig.java:104) > > > at > > > > com.hp.hpl.deli.Vocabulary.<init>(Vocabulary.java:37) > > > at > > > > com.hp.hpl.deli.Workspace$1$CreateWorkspace.<init>(Workspace.java:191 > > > ) > > > at > > > > com.hp.hpl.deli.Workspace.configure(Workspace.java:367) > > > > > > ... > > > > > > I dug around and I've found out that I should > exclude > > > the deli block in the local.blocks.properties > file and > > > rebuild cocoon, but that doesn't seem to work. > > > > > > I did a > > > > > > build.sh clean > > > build.sh war > > > > > > but the resulting cocoon.war still seems to > contain > > > the deli module. Here's what I get when I check > the > > > archive: > > > > > > -bash-2.05b$ jar tvf cocoon.war | grep deli > > > 0 Tue Feb 24 08:30:18 EST 2004 > > > api/java/org/apache/cocoon/components/deli/ > > > 0 Tue Feb 24 08:30:08 EST 2004 > > > > api/java/org/apache/cocoon/components/deli/class-use/ > > > 24276 Tue Feb 24 08:26:00 EST 2004 > > > docs/xdocs/userdocs/developer/deli.xml > > > 1388 Tue Feb 24 08:26:02 EST 2004 > > > docs/xdocs/userdocs/developer/deliquick.xml > > > 6068 Tue Feb 24 08:29:06 EST 2004 > > > > api/java/org/apache/cocoon/components/deli/class-use/DeliImpl. > > > CocoonServletRequest.html > > > 8236 Tue Feb 24 08:29:56 EST 2004 > > > > api/java/org/apache/cocoon/components/deli/class-use/DeliImpl. > > > CocoonServletContext.html > > > 5900 Tue Feb 24 08:30:08 EST 2004 > > > > api/java/org/apache/cocoon/components/deli/class-use/DeliImpl.html > > > > > > ... > > > > > > So it seems that deli was still included in the > build. > > > Can anyone tell me what I may be doing wrong? > > > > > > This is what's in my local.blocks.properties > file: > > > > > > > > > ... > > > > > > #dependency: scratchpad needs cron > > > #exclude.block.cron=true > > > exclude.block.deli=true > > > #exclude.block.eventcache=true > > > #exclude.block.linotype=true > > > #exclude.block.mail=true > > > #exclude.block.midi=true > > > > > > ... > > > > > > Any help is appreciated, > > > Femi > > > > > > __________________________________ > > > Do you Yahoo!? > > > Get better spam protection with Yahoo! Mail. > > > http://antispam.yahoo.com/tools > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
