cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Femi Anthony <femiproje...@yahoo.com>
Subject Re: Deli errors upon Cocoon 2.1.2 startup
Date Fri, 27 Feb 2004 12:29:48 GMT
Thanks, I just wanted to know if it was ok for another
webapp to have it's own cocoon.xconf file. I've
disabled lenya, and the errors have disappeared.

--- Jan Hoskens <jh@schaubroeck.be> wrote:
> I'm not familiar with Lenya, but if your cocoon
> itself does not contain any
> deli stuff anymore, and your still getting the
> error(with deli exception),
> it has to originate from another app (containing
> cocoon, setting cocoon
> configuration or at least doing something with
> cocoon as cocoon cannot load
> that block if you didn't mention it anywhere, well
> at least that's as far as
> I can guess)
> 
> Regards,
> Jan
> ----- Original Message ----- 
> From: "Femi Anthony" <femiprojects@yahoo.com>
> To: <users@cocoon.apache.org>
> Sent: Friday, February 27, 2004 12:14 PM
> Subject: Re: Deli errors upon Cocoon 2.1.2 startup
> 
> 
> > 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 <jh@schaubroeck.be> 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" <hugob@xs4all.nl>
> > > To: <users@cocoon.apache.org>
> > > 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.<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
> > > > >
> 
=== message truncated ===


__________________________________
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


Mime
View raw message