And there were no exception logged? That's weird.

Vadim

> From: Kari Whitcomb [mailto:[EMAIL PROTECTED]]
> 
> It seems that the tomcat/work directory didn't have the right
permissions set,
> causing the sitemap to not be compiled.  I fixed that and now things
are
> working as expected.
> 
> Thanks for all your help.
> 
> -Kari
> 
> ----- Original Message -----
> From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
> Date: Wed, 24 Apr 2002 10:15:06 -0400
> To: <[EMAIL PROTECTED]>
> Subject: RE: ComponentException fatal error
> 
> 
> > And no other exceptions? Looks very strange. Search for
> > sitemap_xmap.java in tomcat/work directory, and look into it. I
guess
> > for some reason it was not compiled.
> >
> > Vadim
> >
> > > From: Kari Whitcomb [mailto:[EMAIL PROTECTED]]
> > >
> > > OK, I did the requested steps.  Using Apache 1.3.24 (using warp
> > connector),
> > > Tomcat 4.0.4b2 and Cocoon 2.0.2.  And here are all the errors in
each
> > of
> > > cocoon's log after trying to access its default main page.
> > >
> > > ******access.log
> > > ERROR   (2002-04-24) 09:46.58:991   [access](/cocoon/)
> > Thread6/CocoonServlet:
> > > Problem with servlet
> > > org.apache.avalon.framework.component.ComponentException:
> > markup-languages:
> > > ComponentSelector could not access the Component for hint: sitemap
> > >         at
> > >
> >
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select
> > > (ExcaliburComponentSelector.java:293) (pc 257)
> > >         at
> > >
> >
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
> > d
> > > (ProgramGeneratorImpl.java:289) (pc 333)
> > >         at org.apache.cocoon.sitemap.Handler.run
(Handler.java:270)
> > (pc 47)
> > >         at java.lang.Thread.run          (Thread.java:484)
(pc
> > 11)
> > > java.lang.Exception: Could not create enough Components to service
> > your
> > > request.
> > >         at org.apache.avalon.excalibur.pool.DefaultPool.get
> > > (DefaultPool.java:133) (pc 110)
> > >         at
> > org.apache.avalon.excalibur.component.PoolableComponentHandler.get
> > > (PoolableComponentHandler.java:126) (pc 38)
> > >         at
> > >
> >
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select
> > > (ExcaliburComponentSelector.java:283) (pc 191)
> > >         at
> > >
> >
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
> > d
> > > (ProgramGeneratorImpl.java:289) (pc 333)
> > >         at org.apache.cocoon.sitemap.Handler.run
(Handler.java:270)
> > (pc 47)
> > >         at java.lang.Thread.run          (Thread.java:484)
(pc
> > 11)
> > >
> > > ***core.log - no errors present
> > > ***error.log
> > > ERROR   (2002-04-24) 09:46.58:904[sitemap](/cocoon/)
Thread-6/Handler:
> > Error
> > > compiling sitemap
> > > org.apache.avalon.framework.component.ComponentException:
> > markup-languages:
> > > ComponentSelector could not access the Component for hint: sitemap
> > >         at
> > >
> >
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select
> > > (ExcaliburComponentSelector.java:293) (pc 257)
> > >         at
> > >
> >
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
> > d
> > > (ProgramGeneratorImpl.java:289) (pc 333)
> > >         at org.apache.cocoon.sitemap.Handler.run
(Handler.java:270)
> > (pc 47)
> > >         at java.lang.Thread.run          (Thread.java:484)
(pc
> > 11)
> > > java.lang.Exception: Could not create enough Components to service
> > your
> > > request.
> > >         at org.apache.avalon.excalibur.pool.DefaultPool.get
> > > (DefaultPool.java:133) (pc 110)
> > >         at
> > org.apache.avalon.excalibur.component.PoolableComponentHandler.get
> > > (PoolableComponentHandler.java:126) (pc 38)
> > >         at
> > >
> >
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select
> > > (ExcaliburComponentSelector.java:283) (pc 191)
> > >         at
> > >
> >
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
> > d
> > > (ProgramGeneratorImpl.java:289) (pc 333)
> > >         at org.apache.cocoon.sitemap.Handler.run
(Handler.java:270)
> > (pc 47)
> > >         at java.lang.Thread.run          (Thread.java:484)
(pc
> > 11)
> > > ERROR   (2002-04-24) 09:46.59:081[access](/cocoon/)
> > Thread-6/CocoonServlet:
> > > Problem with servlet
> > > org.apache.avalon.framework.component.ComponentException:
> > markup-languages:
> > > ComponentSelector could not access the Component for hint: sitemap
> > >         at
> > >
> >
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select
> > > (ExcaliburComponentSelector.java:293) (pc 257)
> > >         at
> > >
> >
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
> > d
> > > (ProgramGeneratorImpl.java:289) (pc 333)
> > >         at org.apache.cocoon.sitemap.Handler.run
(Handler.java:270)
> > (pc 47)
> > >         at java.lang.Thread.run          (Thread.java:484)
(pc
> > 11)
> > > java.lang.Exception: Could not create enough Components to service
> > your
> > > request.
> > >         at org.apache.avalon.excalibur.pool.DefaultPool.get
> > > (DefaultPool.java:133) (pc 110)
> > >         at
> > org.apache.avalon.excalibur.component.PoolableComponentHandler.get
> > > (PoolableComponentHandler.java:126) (pc 38)
> > >         at
> > >
> >
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select
> > > (ExcaliburComponentSelector.java:283) (pc 191)
> > >         at
> > >
> >
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
> > d
> > > (ProgramGeneratorImpl.java:289) (pc 333)
> > >         at org.apache.cocoon.sitemap.Handler.run
(Handler.java:270)
> > (pc 47)
> > >         at java.lang.Thread.run          (Thread.java:484)
(pc
> > 11)
> > >
> > > **sitemap.log
> > > ERROR   (2002-04-24) 09:46.58:847   [sitemap](/cocoon/)
> > Thread-6/Handler:
> > > Error compiling sitemap
> > > org.apache.avalon.framework.component.ComponentException:
> > markup-languages:
> > > ComponentSelector could not access the Component for hint: sitemap
> > >         at
> > >
> >
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select
> > > (ExcaliburComponentSelector.java:293) (pc 257)
> > >         at
> > >
> >
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
> > d
> > > (ProgramGeneratorImpl.java:289) (pc 333)
> > >         at org.apache.cocoon.sitemap.Handler.run
(Handler.java:270)
> > (pc 47)
> > >         at java.lang.Thread.run          (Thread.java:484)
(pc
> > 11)
> > > java.lang.Exception: Could not create enough Components to service
> > your
> > > request.
> > >         at org.apache.avalon.excalibur.pool.DefaultPool.get
> > > (DefaultPool.java:133) (pc 110)
> > >         at
> > org.apache.avalon.excalibur.component.PoolableComponentHandler.get
> > > (PoolableComponentHandler.java:126) (pc 38)
> > >         at
> > >
> >
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select
> > > (ExcaliburComponentSelector.java:283) (pc 191)
> > >         at
> > >
> >
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
> > d
> > > (ProgramGeneratorImpl.java:289) (pc 333)
> > >         at org.apache.cocoon.sitemap.Handler.run
(Handler.java:270)
> > (pc 47)
> > >         at java.lang.Thread.run          (Thread.java:484)
(pc
> > 11)
> > >
> > >
> > > > 1. Stop tomcat
> > > > 2. Remove work directory (tomcat/work)
> > > > 3. Delete all logs (tomcat/cocoon/WEB-INF/logs)
> > > > 4. Start tomcat
> > > > 5. Access Cocoon
> > > > 6. Read log files, take a note of every exception. Send log
snippets
> > to
> > > > the group.
> > > >
> > > > Vadim
> > > >
> > > >
> > > > > Thanks,
> > > > > Kari
> > > > > ----- Original Message -----
> > > > > From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
> > > > > Date: Tue, 23 Apr 2002 10:23:42 -0400
> > > > > To:  <[EMAIL PROTECTED]>
> > > > > Subject: RE: ComponentException fatal error
> > > > >
> > > > >
> > > > > > > From: Kari Whitcomb [mailto:[EMAIL PROTECTED]]
> > > > > > >
> > > > > > > You seem to be suggesting that there is no way to fix it
with
> > > > > > > Tomcat 4.0.3.
> > > > > > > Is that correct?
> > > > > >
> > > > > > No, I was able to make it run. It more or less documented in
> > install
> > > > > > instructions. However, for the newcomers I suggest first to
try
> > with
> > > > > > something stable, and only then (if still there is
time/desire)
> > try
> > > > > > troublesome combinations.
> > > > > >
> > > > > >
> > > > > > > What in particular is causing the incompatibility?
> > > > > >
> > > > > > AFAIU, changes in the XML API class loading in the servlet
spec
> > > > > > and the
> > > > > > way it is implemented in the 4.0.2-4.0.3 is the major PITA.
> > > > > > Tomcat 4.0.4
> > > > > > looks to be working without issues, as Tomcat 4.0.1 was.
> > > > > >
> > > > > > Vadim
> > > > > >
> > > > > >
> > > > ...


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to