Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 85987 invoked from network); 27 Feb 2004 08:30:32 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Feb 2004 08:30:32 -0000 Received: (qmail 76556 invoked by uid 500); 27 Feb 2004 08:29:59 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 76278 invoked by uid 500); 27 Feb 2004 08:29:57 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 76264 invoked from network); 27 Feb 2004 08:29:57 -0000 Received: from unknown (HELO mail2.schaubroeck.be) (193.75.212.6) by daedalus.apache.org with SMTP; 27 Feb 2004 08:29:57 -0000 Received: (from root@localhost) by mail2.schaubroeck.be (8.12.3/8.12.3/ESMTP) id i1R8U9fr031236 for users@cocoon.apache.org; Fri, 27 Feb 2004 09:30:09 +0100 Received: from PCJH ([193.74.195.27]) by mail2.schaubroeck.be (8.12.3/8.12.3/ESMTP) with SMTP id i1R8U4pD031215 for ; Fri, 27 Feb 2004 09:30:04 +0100 Message-ID: <004101c3fd0b$e801de50$1bc34ac1@PCJH> From: "Jan Hoskens" To: References: <001401c3fd07$52923da0$0b01a8c0@pt> Subject: Re: Deli errors upon Cocoon 2.1.2 startup Date: Fri, 27 Feb 2004 09:30:06 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scan: by Schaubroeck X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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" To: 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:femiprojects@yahoo.com] > > Sent: Thursday, February 26, 2004 7:28 PM > > To: users@cocoon.apache.org > > 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.(VocabularyConfig.java:104) > > at > > com.hp.hpl.deli.Vocabulary.(Vocabulary.java:37) > > at > > com.hp.hpl.deli.Workspace$1$CreateWorkspace.(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: users-unsubscribe@cocoon.apache.org > > For additional commands, e-mail: users-help@cocoon.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org