cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liam MacQuarrie Morley <lmor...@WPI.EDU>
Subject Re: C2 - sitemap handler's sitemap not available
Date Tue, 03 Jul 2001 03:04:17 GMT
After going through the logs, I've got a few ideas of what might be wrong,
but I'm not sure where to go from here. Hopefully some of these things
will seem familiar to you.

I get the following every time I start Tomcat:

2001-07-02 10:15:38 - ContextManager: Adding context Ctx( /examples )
2001-07-02 10:15:38 - ContextManager: Adding context Ctx( /admin )
Starting tomcat. Check logs/tomcat.log for error messages
2001-07-02 10:15:38 - ContextManager: Adding context Ctx(  )
2001-07-02 10:15:38 - ContextManager: Adding context Ctx( /test )
2001-07-02 10:15:38 - ContextManager: Adding context Ctx( /cocoon )
2001-07-02 10:16:08 - PoolTcpConnector: Starting HttpConnectionHandler on
8080
2001-07-02 10:16:08 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
8007

There is no tomcat.log file. It does not explicitly say there is an error,
but it would be nice to know where to look.

I've done everything I can to replace references to "JaxpParser" with
"XercesParser"; there is one place where the former shows up, and I can't
tell why. I've included the following relevant messages from the log.

DEBUG   720     [cocoon  ] (Thread-10): Using parser:
org.apache.cocoon.components.parser.XercesParser
DEBUG   830     [cocoon  ] (Thread-10): Attempting to get Handler for:
org.apache.cocoon.components.parser.Parser
...
DEBUG   880     [cocoon  ] (Thread-10): ComponentHandler initialized for:
org.apache.cocoon.components.parser.XercesParser
DEBUG   880     [cocoon  ] (Thread-10): ComponentFactory creating new
instance of org.apache.cocoon.components.parser.XercesParser.
DEBUG   1050    [cocoon  ] (Thread-10): ComponentFactory decommissioning
instance of org.apache.cocoon.components.parser.XercesParser.
DEBUG   1050    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.components.parser.Parser with shorthand parser for
org.apache.cocoon.components.parser.JaxpParser
...
DEBUG   1100    [cocoon  ] (Thread-10): ComponentFactory creating new
instance of org.apache.cocoon.components.parser.XercesParser.
DEBUG   1210    [cocoon  ] (Thread-10): ComponentFactory decommissioning
instance of org.apache.cocoon.components.parser.XercesParser.

I'd like to know where the reference to JaxpParser is from.

The error message is a NullPointerException, so I thought I'd include all
references to null as well if that helps.

DEBUG   1050    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.Processor with shorthand processor for null
...
DEBUG   1100    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.components.saxconnector.SAXConnector with shorthand
sax-connector for
org.apache.cocoon.components.saxconnector.NullSAXConnector (this doesn't
sound like anything, but just in case)
DEBUG   1100    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.components.image.ImageEncoderSelector with shorthand
image-encoder for null
...
DEBUG   2030    [cocoon  ] (Thread-10): looking up shorthand sitemap,
returning null
...
DEBUG   2420    [cocoon  ] (Thread-24): looking up shorthand , returning
null
...
ERROR   12310   [cocoon  ] (Thread-24): Error compiling sitemap
java.lang.NullPointerException
	at
org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(JavaLanguage.java:192)


I hope that will help. I'm including the entire log file as a reference
below:

DEBUG   0       [cocoon  ] (Thread-10): Trying to load class:
org.hsqldb.jdbcDriver
DEBUG   330     [cocoon  ] (Thread-10): Using configuration file:
/cocoon.xconf
INFO    330     [cocoon  ] (Thread-10): Reloading from: file:C:\Program
Files\Apache Group\jakarta-tomcat-3.2.2\webapps\cocoon\cocoon.xconf
DEBUG   610     [cocoon  ] (Thread-10): New Cocoon object.
DEBUG   610     [cocoon  ] (Thread-10): Using parser:
org.apache.cocoon.components.parser.XercesParser
DEBUG   720     [cocoon  ] (Thread-10): Attempting to get Handler for:
org.apache.cocoon.components.parser.Parser
DEBUG   880     [cocoon  ] (Thread-10): Handler type =
org.apache.avalon.excalibur.component.DefaultComponentHandler
DEBUG   880     [cocoon  ] (Thread-10): Creating Repository with this
directory: C:\Program Files\Apache
Group\jakarta-tomcat-3.2.2\work\localhost_8080%2Fcocoon
DEBUG   880     [cocoon  ] (Thread-10): Classpath = C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\classes;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\avalon-excalibur-4.0b1.jar;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\avalon-framework-4.0b1.jar;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\batik-libs.jar;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\bsf.jar;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\cocoon-2.0b1.jar;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\cocoon.jar;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\dom2.jar;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\fop-0_18_1.jar;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\hsqldb.jar;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\jakarta-regexp-1.2.jar;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\javac.jar;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\jimi-1.0.jar;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\jstyle.jar;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\junit.jar;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\logkit-1.0b1.jar;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\maybeupload.jar;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\rhino.jar;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\Tidy.jar;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\velocity-1.1-rc1.jar;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\xalan-2.1.0.jar;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\xerces_1_4_0.jar;C:\Program
Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\xt.jar;C:\PROGRA~1\APACHE~1\JAKART~1.2\classes;C:\PROGRA~1\APACHE~1\JAKART~1.2\lib\SERVLET.JAR;C:\PROGRA~1\APACHE~1\JAKART~1.2\lib\PARSER.JAR;C:\PROGRA~1\APACHE~1\JAKART~1.2\lib\ANT.JAR;C:\PROGRA~1\APACHE~1\JAKART~1.2\lib\WEBSER~1.JAR;C:\PROGRA~1\APACHE~1\JAKART~1.2\lib\JASPER.JAR;C:\VisualCafe\Java\Lib\DBAW.ZIP;C:\VisualCafe\Bin\Components\DBAW_AWT.JAR;C:\VisualCafe\Bin\Components\Databind.JAR;C:\VisualCafe\Java\Lib\Olite35.jar;;C:\VisualCafe\JFC\SWINGALL.JAR;C:\VisualCafe\Bin\Components\SFC.JAR;C:\VisualCafe\Bin\Components\SYMBEANS.JAR;.;C:\VisualCafe\Java\Lib;C:\VisualCafe\Java\Lib\SYMCLASS.ZIP;C:\VisualCafe\Java\Lib\CLASSES.ZIP;C:\VisualCafe\Java\Lib\COLLECTIONS.ZIP;C:\VisualCafe\Java\Lib\ICEBROWSERBEAN.JAR;C:\VisualCafe\Java\Lib\JSDK.JAR;C:\VisualCafe\Java\Lib\SYMTOOLS.JAR;;C:\jdk1.3.1\jre\lib\ext\QTJava.zip;;C:\jdk1.3.1\jre\lib\ext\QTJava.zip;;C:\jdk1.3.1\jre\lib\ext\QTJava.zip;;C:\JDK1.3.1\lib\tools.jar;
DEBUG   880     [cocoon  ] (Thread-10): Work directory = C:\Program
Files\Apache Group\jakarta-tomcat-3.2.2\work\localhost_8080%2Fcocoon
DEBUG   880     [cocoon  ] (Thread-10): ComponentHandler initialized for:
org.apache.cocoon.components.parser.XercesParser
DEBUG   880     [cocoon  ] (Thread-10): ComponentFactory creating new
instance of org.apache.cocoon.components.parser.XercesParser.
DEBUG   1050    [cocoon  ] (Thread-10): ComponentFactory decommissioning
instance of org.apache.cocoon.components.parser.XercesParser.
DEBUG   1050    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.components.parser.Parser with shorthand parser for
org.apache.cocoon.components.parser.JaxpParser
DEBUG   1050    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.components.browser.Browser with shorthand browser for
org.apache.cocoon.components.browser.BrowserImpl
DEBUG   1050    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.Processor with shorthand processor for null
DEBUG   1050    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.components.store.Store with shorthand store for
org.apache.cocoon.components.store.MemoryStore
DEBUG   1050    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.components.store.Repository with shorthand repository
for org.apache.cocoon.components.store.FilesystemStore
DEBUG   1050    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.components.language.generator.ServerPagesSelector with
shorthand server-pages for
org.apache.cocoon.components.language.generator.GeneratorSelector
DEBUG   1050    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.components.language.markup.MarkupLanguageSelector with
shorthand markup-languages for
org.apache.avalon.excalibur.component.DefaultComponentSelector
DEBUG   1050    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.components.language.programming.ProgrammingLanguageSelector
with shorthand programming-languages for
org.apache.avalon.excalibur.component.DefaultComponentSelector
DEBUG   1050    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.components.language.generator.ProgramGenerator with
shorthand program-generator for
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl
DEBUG   1100    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.components.classloader.ClassLoaderManager with shorthand
classloader for
org.apache.cocoon.components.classloader.ClassLoaderManagerImpl
DEBUG   1100    [cocoon  ] (Thread-10): added Role
org.apache.avalon.excalibur.pool.PoolController with shorthand
pool-controller for
org.apache.avalon.excalibur.component.DefaultComponentPoolController
DEBUG   1100    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.components.saxconnector.SAXConnector with shorthand
sax-connector for
org.apache.cocoon.components.saxconnector.NullSAXConnector
DEBUG   1100    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.components.image.ImageEncoderSelector with shorthand
image-encoder for null
DEBUG   1100    [cocoon  ] (Thread-10): Adding hint type jdbc associated
with role
org.apache.avalon.excalibur.datasource.DataSourceComponentSelector and
class org.apache.avalon.excalibur.datasource.JdbcDataSource
DEBUG   1100    [cocoon  ] (Thread-10): Adding hint type j2ee associated
with role
org.apache.avalon.excalibur.datasource.DataSourceComponentSelector and
class org.apache.excalibur.datasource.J2eeDataSource
DEBUG   1100    [cocoon  ] (Thread-10): added Role
org.apache.avalon.excalibur.datasource.DataSourceComponentSelector with
shorthand datasources for
org.apache.avalon.excalibur.component.DefaultComponentSelector
DEBUG   1100    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.components.url.URLFactory with shorthand url-factory for
org.apache.cocoon.components.url.URLFactoryImpl
DEBUG   1100    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.components.pipeline.StreamPipeline with shorthand
stream-pipeline for
org.apache.cocoon.components.pipeline.NonCachingStreamPipeline
DEBUG   1100    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.components.pipeline.EventPipeline with shorthand
event-pipeline for
org.apache.cocoon.components.pipeline.NonCachingEventPipeline
DEBUG   1100    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.acting.ActionSelector with shorthand action for
org.apache.avalon.excalibur.component.DefaultComponentSelector
DEBUG   1100    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.selection.SelectorSelector with shorthand selector for
org.apache.avalon.excalibur.component.DefaultComponentSelector
DEBUG   1100    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.matching.MatcherSelector with shorthand matcher for
org.apache.avalon.excalibur.component.DefaultComponentSelector
DEBUG   1100    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.generation.GeneratorSelector with shorthand generator
for org.apache.avalon.excalibur.component.DefaultComponentSelector
DEBUG   1100    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.transformation.TransformerSelector with shorthand
transformer for
org.apache.avalon.excalibur.component.DefaultComponentSelector
DEBUG   1100    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.serialization.SerializerSelector with shorthand
serializer for org.apache.cocoon.sitemap.SitemapComponentSelector
DEBUG   1100    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.reading.ReaderSelector with shorthand reader for
org.apache.cocoon.sitemap.SitemapComponentSelector
DEBUG   1100    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.components.sax.XMLSerializer with shorthand
xml-serializer for org.apache.cocoon.components.sax.XMLByteStreamCompiler
DEBUG   1100    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.components.sax.XMLDeserializer with shorthand
xml-deserializer for
org.apache.cocoon.components.sax.XMLByteStreamInterpreter
DEBUG   1100    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.caching.EventCache with shorthand event-cache for
org.apache.cocoon.caching.EventMemoryCache
DEBUG   1100    [cocoon  ] (Thread-10): added Role
org.apache.cocoon.caching.StreamCache with shorthand stream-cache for
org.apache.cocoon.caching.StreamMemoryCache
DEBUG   1100    [cocoon  ] (Thread-10): ComponentFactory creating new
instance of org.apache.cocoon.components.parser.XercesParser.
DEBUG   1210    [cocoon  ] (Thread-10): ComponentFactory decommissioning
instance of org.apache.cocoon.components.parser.XercesParser.
DEBUG   1210    [cocoon  ] (Thread-10): Root configuration: cocoon
DEBUG   1210    [cocoon  ] (Thread-10): Configuration version: 2.0
DEBUG   1210    [cocoon  ] (Thread-10): Setting up components...
DEBUG   1210    [cocoon  ] (Thread-10): looking up shorthand store,
returning org.apache.cocoon.components.store.Store
DEBUG   1210    [cocoon  ] (Thread-10): Adding component
(org.apache.cocoon.components.store.Store =
org.apache.cocoon.components.store.MRUMemoryStore)
DEBUG   1270    [cocoon  ] (Thread-10): Attempting to get Handler for:
org.apache.cocoon.components.store.Store
DEBUG   1270    [cocoon  ] (Thread-10): Handler type =
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler
DEBUG   1270    [cocoon  ] (Thread-10): looking up shorthand url-factory,
returning org.apache.cocoon.components.url.URLFactory
DEBUG   1270    [cocoon  ] (Thread-10): Adding component
(org.apache.cocoon.components.url.URLFactory =
org.apache.cocoon.components.url.URLFactoryImpl)
DEBUG   1270    [cocoon  ] (Thread-10): Attempting to get Handler for:
org.apache.cocoon.components.url.URLFactory
DEBUG   1270    [cocoon  ] (Thread-10): Handler type =
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler
DEBUG   1270    [cocoon  ] (Thread-10): looking up shorthand
program-generator, returning
org.apache.cocoon.components.language.generator.ProgramGenerator
DEBUG   1270    [cocoon  ] (Thread-10): Adding component
(org.apache.cocoon.components.language.generator.ProgramGenerator =
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl)
DEBUG   1320    [cocoon  ] (Thread-10): Attempting to get Handler for:
org.apache.cocoon.components.language.generator.ProgramGenerator
DEBUG   1320    [cocoon  ] (Thread-10): Handler type =
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler
DEBUG   1320    [cocoon  ] (Thread-10): looking up shorthand
programming-languages, returning
org.apache.cocoon.components.language.programming.ProgrammingLanguageSelector
DEBUG   1320    [cocoon  ] (Thread-10): Adding component
(org.apache.cocoon.components.language.programming.ProgrammingLanguageSelector
= org.apache.avalon.excalibur.component.DefaultComponentSelector)
DEBUG   1320    [cocoon  ] (Thread-10): Attempting to get Handler for:
org.apache.cocoon.components.language.programming.ProgrammingLanguageSelector
DEBUG   1320    [cocoon  ] (Thread-10): Handler type =
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler
DEBUG   1320    [cocoon  ] (Thread-10): looking up shorthand classloader,
returning org.apache.cocoon.components.classloader.ClassLoaderManager
DEBUG   1320    [cocoon  ] (Thread-10): Adding component
(org.apache.cocoon.components.classloader.ClassLoaderManager =
org.apache.cocoon.components.classloader.ClassLoaderManagerImpl)
DEBUG   1380    [cocoon  ] (Thread-10): Attempting to get Handler for:
org.apache.cocoon.components.classloader.ClassLoaderManager
DEBUG   1650    [cocoon  ] (Thread-10): Handler type =
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler
DEBUG   1650    [cocoon  ] (Thread-10): looking up shorthand
markup-languages, returning
org.apache.cocoon.components.language.markup.MarkupLanguageSelector
DEBUG   1650    [cocoon  ] (Thread-10): Adding component
(org.apache.cocoon.components.language.markup.MarkupLanguageSelector =
org.apache.avalon.excalibur.component.DefaultComponentSelector)
DEBUG   1650    [cocoon  ] (Thread-10): Attempting to get Handler for:
org.apache.cocoon.components.language.markup.MarkupLanguageSelector
DEBUG   1650    [cocoon  ] (Thread-10): Handler type =
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler
DEBUG   1650    [cocoon  ] (Thread-10): looking up shorthand datasources,
returning
org.apache.avalon.excalibur.datasource.DataSourceComponentSelector
DEBUG   1650    [cocoon  ] (Thread-10): Adding component
(org.apache.avalon.excalibur.datasource.DataSourceComponentSelector =
org.apache.avalon.excalibur.component.DefaultComponentSelector)
DEBUG   1650    [cocoon  ] (Thread-10): Attempting to get Handler for:
org.apache.avalon.excalibur.datasource.DataSourceComponentSelector
DEBUG   1650    [cocoon  ] (Thread-10): Handler type =
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler
DEBUG   1650    [cocoon  ] (Thread-10): looking up shorthand
pool-controller, returning org.apache.avalon.excalibur.pool.PoolController
DEBUG   1650    [cocoon  ] (Thread-10): Adding component
(org.apache.avalon.excalibur.pool.PoolController =
org.apache.avalon.excalibur.component.DefaultComponentPoolController)
DEBUG   1650    [cocoon  ] (Thread-10): Attempting to get Handler for:
org.apache.avalon.excalibur.pool.PoolController
DEBUG   1650    [cocoon  ] (Thread-10): Handler type =
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler
DEBUG   1650    [cocoon  ] (Thread-10): looking up shorthand
stream-pipeline, returning
org.apache.cocoon.components.pipeline.StreamPipeline
DEBUG   1650    [cocoon  ] (Thread-10): Adding component
(org.apache.cocoon.components.pipeline.StreamPipeline =
org.apache.cocoon.components.pipeline.CachingStreamPipeline)
DEBUG   1760    [cocoon  ] (Thread-10): Attempting to get Handler for:
org.apache.cocoon.components.pipeline.StreamPipeline
DEBUG   1920    [cocoon  ] (Thread-10): Handler type =
org.apache.avalon.excalibur.component.PoolableComponentHandler
DEBUG   1920    [cocoon  ] (Thread-10): looking up shorthand stream-cache,
returning org.apache.cocoon.caching.StreamCache
DEBUG   1920    [cocoon  ] (Thread-10): Adding component
(org.apache.cocoon.caching.StreamCache =
org.apache.cocoon.caching.StreamMemoryCache)
DEBUG   1920    [cocoon  ] (Thread-10): Attempting to get Handler for:
org.apache.cocoon.caching.StreamCache
DEBUG   1920    [cocoon  ] (Thread-10): Handler type =
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler
DEBUG   1920    [cocoon  ] (Thread-10): looking up shorthand
event-pipeline, returning
org.apache.cocoon.components.pipeline.EventPipeline
DEBUG   1920    [cocoon  ] (Thread-10): Adding component
(org.apache.cocoon.components.pipeline.EventPipeline =
org.apache.cocoon.components.pipeline.CachingEventPipeline)
DEBUG   1980    [cocoon  ] (Thread-10): Attempting to get Handler for:
org.apache.cocoon.components.pipeline.EventPipeline
DEBUG   1980    [cocoon  ] (Thread-10): Handler type =
org.apache.avalon.excalibur.component.PoolableComponentHandler
DEBUG   1980    [cocoon  ] (Thread-10): looking up shorthand event-cache,
returning org.apache.cocoon.caching.EventCache
DEBUG   1980    [cocoon  ] (Thread-10): Adding component
(org.apache.cocoon.caching.EventCache =
org.apache.cocoon.caching.EventMemoryCache)
DEBUG   2030    [cocoon  ] (Thread-10): Attempting to get Handler for:
org.apache.cocoon.caching.EventCache
DEBUG   2030    [cocoon  ] (Thread-10): Handler type =
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler
DEBUG   2030    [cocoon  ] (Thread-10): looking up shorthand sitemap,
returning null
DEBUG   2030    [cocoon  ] (Thread-10): Setting up the sitemap.
DEBUG   2030    [cocoon  ] (Thread-10): Sitemap location = sitemap.xmap
DEBUG   2030    [cocoon  ] (Thread-10): Checking sitemap reload = true
DEBUG   2030    [cocoon  ] (Thread-10): Reloading sitemap asynchron = true
DEBUG   2090    [cocoon  ] (Thread-10): getRealPath for /: C:\Program
Files\Apache Group\jakarta-tomcat-3.2.2\webapps\cocoon\
DEBUG   2090    [cocoon  ] (Thread-10): URL for Root: file:/C:/Program
Files/Apache Group/jakarta-tomcat-3.2.2/webapps/cocoon/
DEBUG   2310    [cocoon  ] (Thread-10): ComponentFactory creating new
instance of org.apache.cocoon.components.url.URLFactoryImpl.
DEBUG   2310    [cocoon  ] (Thread-10): Getting the URLFactories
DEBUG   2310    [cocoon  ] (Thread-10): 	for protocol: resource
org.apache.cocoon.components.url.ResourceURLFactory
DEBUG   2310    [cocoon  ] (Thread-10): 	for protocol: context
org.apache.cocoon.components.url.ContextURLFactory
DEBUG   2310    [cocoon  ] (Thread-10): ComponentHandler initialized for:
org.apache.cocoon.components.url.URLFactoryImpl
DEBUG   2310    [cocoon  ] (Thread-10): Beginning sitemap regeneration
DEBUG   2310    [cocoon  ] (Thread-10): Making URL from file:/C:/Program
Files/Apache Group/jakarta-tomcat-3.2.2/webapps/cocoon/sitemap.xmap
DEBUG   2360    [cocoon  ] (Thread-24): ComponentFactory creating new
instance of
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.
DEBUG   2420    [cocoon  ] (Thread-24): Could not find ComponentHandler,
attempting to create one for role:
org.apache.cocoon.components.language.generator.ServerPagesSelector
DEBUG   2420    [cocoon  ] (Thread-24): ComponentFactory creating new
instance of
org.apache.cocoon.components.language.generator.GeneratorSelector.
DEBUG   2420    [cocoon  ] (Thread-24): ComponentFactory creating new
instance of
org.apache.cocoon.components.classloader.ClassLoaderManagerImpl.
DEBUG   2420    [cocoon  ] (Thread-24): ComponentHandler initialized for:
org.apache.cocoon.components.classloader.ClassLoaderManagerImpl
DEBUG   2420    [cocoon  ] (Thread-24): ComponentSelector setting up with
root element:
DEBUG   2420    [cocoon  ] (Thread-24): looking up shorthand , returning
null
DEBUG   2420    [cocoon  ] (Thread-24): ComponentHandler initialized for:
org.apache.cocoon.components.language.generator.GeneratorSelector
DEBUG   2420    [cocoon  ] (Thread-24): ComponentHandler initialized for:
org.apache.cocoon.components.store.FilesystemStore
DEBUG   2420    [cocoon  ] (Thread-24): ComponentFactory creating new
instance of
org.apache.avalon.excalibur.component.DefaultComponentSelector.
DEBUG   2420    [cocoon  ] (Thread-24): ComponentSelector setting up with
root element: markup-languages
DEBUG   2420    [cocoon  ] (Thread-24): looking up shorthand
markup-languages, returning
org.apache.cocoon.components.language.markup.MarkupLanguageSelector
DEBUG   2470    [cocoon  ] (Thread-24): ComponentHandler initialized for:
org.apache.cocoon.components.language.markup.xsp.XSPMarkupLanguage
DEBUG   2470    [cocoon  ] (Thread-24): Adding
org.apache.cocoon.components.language.markup.xsp.XSPMarkupLanguage for xsp
DEBUG   2470    [cocoon  ] (Thread-24): ComponentHandler initialized for:
org.apache.cocoon.components.language.markup.sitemap.SitemapMarkupLanguage
DEBUG   2470    [cocoon  ] (Thread-24): Adding
org.apache.cocoon.components.language.markup.sitemap.SitemapMarkupLanguage
for sitemap
DEBUG   2470    [cocoon  ] (Thread-24): ComponentHandler initialized for:
org.apache.avalon.excalibur.component.DefaultComponentSelector
DEBUG   2470    [cocoon  ] (Thread-24): ComponentFactory creating new
instance of
org.apache.avalon.excalibur.component.DefaultComponentSelector.
DEBUG   2470    [cocoon  ] (Thread-24): ComponentSelector setting up with
root element: programming-languages
DEBUG   2470    [cocoon  ] (Thread-24): looking up shorthand
programming-languages, returning
org.apache.cocoon.components.language.programming.ProgrammingLanguageSelector
DEBUG   2580    [cocoon  ] (Thread-24): ComponentFactory creating new
instance of
org.apache.cocoon.components.language.programming.java.JavaLanguage.
DEBUG   2580    [cocoon  ] (Thread-24): Looking up
org.apache.cocoon.components.classloader.ClassLoaderManager
DEBUG   2580    [cocoon  ] (Thread-24): Setting the parameters
DEBUG   2640    [cocoon  ] (Thread-24): ComponentHandler initialized for:
org.apache.cocoon.components.language.programming.java.JavaLanguage
DEBUG   2640    [cocoon  ] (Thread-24): Adding
org.apache.cocoon.components.language.programming.java.JavaLanguage for
java
DEBUG   2640    [cocoon  ] (Thread-24): ComponentHandler initialized for:
org.apache.avalon.excalibur.component.DefaultComponentSelector
DEBUG   2640    [cocoon  ] (Thread-24): ComponentHandler initialized for:
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl
DEBUG   2640    [cocoon  ] (Thread-24): Making URL from file:/C:/Program
Files/Apache Group/jakarta-tomcat-3.2.2/webapps/cocoon/sitemap.xmap
DEBUG   2690    [cocoon  ] (Thread-24): UnnamedSelector: ComponentSelector
could not find the component for hint: org\apache\cocoon\www\sitemap_xmap
DEBUG   2860    [cocoon  ] (Thread-24): The instance was not accessible,
creating it now.
DEBUG   2970    [cocoon  ] (Thread-24): ComponentFactory creating new
instance of
org.apache.cocoon.components.language.markup.sitemap.SitemapMarkupLanguage.
DEBUG   2970    [cocoon  ] (Thread-24): ComponentFactory creating new
instance of org.apache.cocoon.components.store.MRUMemoryStore.
DEBUG   2970    [cocoon  ] (Thread-24): ComponentHandler initialized for:
org.apache.cocoon.components.store.MRUMemoryStore
DEBUG   6480    [cocoon  ] (Thread-24): Holding object in memory. Key:
jar:file:C:\Program Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\cocoon.jar!/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl
DEBUG   6540    [cocoon  ] (Thread-24): Making URL from file:/C:/Program
Files/Apache Group/jakarta-tomcat-3.2.2/webapps/cocoon/sitemap.xmap
DEBUG   6590    [cocoon  ] (Thread-24): Making URL from
jar:file:C:\Program Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\cocoon.jar!/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl
DEBUG   6590    [cocoon  ] (Thread-24): Logicsheet
Used:jar:file:C:\Program Files\Apache
Group\jakarta-tomcat-3.2.2\webapps\cocoon\WEB-INF\lib\cocoon.jar!/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl
DEBUG   12310   [cocoon  ] (Thread-24): ComponentFactory decommissioning
instance of
org.apache.cocoon.components.language.markup.sitemap.SitemapMarkupLanguage.
ERROR   12310   [cocoon  ] (Thread-24): Error compiling sitemap
java.lang.NullPointerException
	at
org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(JavaLanguage.java:192)
	at
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage.java:131)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:243)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:158)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:224)
	at java.lang.Thread.run(Thread.java:484)
ERROR   12310   [cocoon  ] (Thread-10): Problem with servlet
org.apache.cocoon.ProcessingException: Exception in
Handler:java.lang.NullPointerException
	at
org.apache.cocoon.sitemap.Handler.throwEventualException(Handler.java:257)
	at org.apache.cocoon.sitemap.Handler.regenerate(Handler.java:167)
	at org.apache.cocoon.sitemap.Manager.getHandler(Manager.java:169)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:90)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:293)
	at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
	at org.apache.tomcat.core.Handler.service(Handler.java:287)
	at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
	at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
	at java.lang.Thread.run(Thread.java:484)
java.lang.NullPointerException
	at
org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(JavaLanguage.java:192)
	at
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage.java:131)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:243)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:158)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:224)
	at java.lang.Thread.run(Thread.java:484)
java.lang.NullPointerException
	at
org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(JavaLanguage.java:192)
	at
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage.java:131)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:243)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:158)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:224)
	at java.lang.Thread.run(Thread.java:484)
INFO    12310   [cocoon  ] (Thread-10): '' Processed by Apache Cocoon
2.0b1 in 10.22 seconds.


~ Liam Morley

On Mon, 2 Jul 2001, [iso-8859-1] java guru wrote:

> Hi.,
>    This start-up sitemap handler's problem is so
> general that it has been discussed many times in this
> forum..you may search in the mail archieve..
>
> Anyway, following briefing should help..
>
> 1. Sitemap handler exception is throws whenever there
> is problem compiling sitemap at c2 startup. The
> reasons could be anything from sitemap syntax error to
> improper jars to classpath problems to svg display not
> set(in linux systems invoking c2 NOT from gui
> environment)..
>
> 2. So please,
>    (i) stop c2
>    (ii) delete the cocoon.log
>    (iii) restart the c2
>    (iv) try to access c2
>    (v) if error occurs, goto cocoon.log and go thru it
> patiently. You will find all the debug messages there
> explaining what went on..
>    (vi) some problems like jdbc classloading and
> webshphere class loading can be ignored initially..
>    (vii) if the problem is still not figured...then
> post the message with log and your environment details
>
> good luck
>
>  --- Glenn Rioux <grioux@bigfoot.com> wrote: > I'm
> trying to set up Apache/Tomcat/Cocoon and am
> > having problems getting
> > Cocoon working right.
> >
> > I'm using Apache 1.3.14, Tomcat 3.2.2, and Cocoon
> > 2.0b1.  When I go to
> > localhost:8080 with a browser, it brings up the
> > tomcat intro page fine.
> > When I go to localhost:8080/cocoon I get an internal
> > server error.  At the
> > end of this message is the web page that gets
> > displayed.
> >
> > Thanks,
> > Glenn
> >
> >
> >
> >
> >
> > Cocoon 2 - Internal server error
> >
> >
> >
> > type internal-server-error
> >
> > message The sitemap handler's sitemap is not
> > available.
> >
> > description org.apache.cocoon.ProcessingException:
> > The sitemap handler's
> > sitemap is not available.
> >
> > sender org.apache.cocoon.servlet.CocoonServlet
> >
> > source Cocoon servlet
> >
> > request-uri
> >
> > /cocoon/
> >
> > exception
> >
> > org.apache.cocoon.ProcessingException: The sitemap
> > handler's sitemap is not
> > available.
> >
> > path-info
> >
> > stacktrace
> >
> > org.apache.cocoon.ProcessingException: The sitemap
> > handler's sitemap is not
> > available.
> >         at
> >
> org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179)
> >         at
> >
> org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93)
> >         at
> > org.apache.cocoon.Cocoon.process(Cocoon.java:293)
> >         at
> >
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)
> >         at
> >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at
> >
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
> >         at
> >
> org.apache.tomcat.core.Handler.service(Handler.java:287)
> >         at
> >
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> >         at
> >
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
> >         at
> >
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> >         at
> >
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> > onnectionHandler.java:213)
> >         at
> >
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> >         at
> >
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
> >         at java.lang.Thread.run(Thread.java:484)
> >
> >
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~
> > http://grioux.net.dhis.org
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > 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:
> > <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail:
> > <cocoon-users-help@xml.apache.org>
> >
>
> ____________________________________________________________
> Do You Yahoo!?
> For regular News updates go to http://in.news.yahoo.com
>
> ---------------------------------------------------------------------
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message