Folks,

I am running the following:

        RedHat 7.0
        Tomcat 3.2.3
        Cocoon 2b1
        JDK 1.3

I have installed, reinstall, read
http://xml.apache.org/cocoon2/install.html, read the README, INSTALL, FAQ,
searched the mailing list archives until I could not find any further
reference and still get the following error when going to:
http://localhost:8080/cocoon:

"type internal-server-error

message The sitemap handler's sitemap is not available. Please check
/home/tomcat/webapps/cocoon/WEB-INF/logs/cocoon.log for the exact error.

description org.apache.cocoon.ProcessingException: The sitemap handler's
sitemap is not available. Please check
/home/tomcat/webapps/cocoon/WEB-INF/logs/cocoon.log for the exact error.

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. Please check /home/tomcat/webapps/cocoon/WEB-INF/logs/cocoon.log
for the exact error."


$TOMCAT_HOME/lib
================

I have also done the following to my $TOMCAT_HOME/lib directory:

   deleted jaxp.jar
   renamed parser.jar to zparser.jar
   copied /home/cocoon/xerces_1_4_1.jar to $TOMCAT_HOME/lib

in this directory, I now have:

   ant.jar, jasper.jar, servlet.jar, webserver.jar, xerces_1_4_1.jar,
zparser.jar


COCOON LOG FILE
===============

I read some things about adding a classpath-attribute to the web.xml file in
/home/tomcat/webapps/cocoon/WEB-INF for Tomcat.  I tried this and to no
avail.  I now have it restored to the original.  Here are some excerpts from
my cocoon.log file.  I basically summarized what I thought was important.
First I stopped Tomcat and cleared the log.  I then started Tomcat and made
some notes.  Then I accessed /cocoon and recorded the observations.

STOPPED and STARTED TOMCAT
MESSAGES RIGHT AFTER STARTING TOMCAT


CLASSPATH:

java.class.path=:/home/storesense/system/java
/StoreSenseO.jar:/home/storesense/system/java/StoreSenseExt.jar:/home/stores
ense
/system/java/support/xml.jar:/home/storesense/system/java/support/mysql.jar:
/hom
e/storesense/system/java/support/activation.jar:/home/storesense/system/java
/sup
port/mail.jar:/home/storesense/system/java/support/pop3.jar:/home/storesense
/sys
tem/java/support/cdkjava3210.jar:/home/storesense/system/java/support/jnet.j
ar:/
home/storesense/system/java/support/jcert.jar:/home/storesense/system/java/s
uppo
rt/jsse.jar:/home/storesense/system/java/support/oroinc.jar:/home/storesense
/sys
tem/java/support/Signio.jar:/home/storesense/system/java/support/jce1_2_1.ja
r:/h
ome/storesense/system/java/support/sunjce_provider.jar:/home/storesense/syst
em/j
ava/support/local_policy.jar:/home/storesense/system/java/support/US_export_
poli
cy.jar:/home/storesense/system/java/support/sax2.jar:/home/tomcat/lib/ant.ja
r:/h
ome/tomcat/lib/backups:/home/tomcat/lib/jasper.jar:/home/tomcat/lib/servlet.
jar:
/home/tomcat/lib/test:/home/tomcat/lib/webserver.jar:/home/tomcat/lib/xerces
_1_4
_1.jar:/home/tomcat/lib/zparser.jar:/home/jdk/lib/tools.jar



DATABASE ISSUES:

DEBUG   2247    [cocoon  ] (Thread-6):
org.apache.avalon.excalibur.datasource.Jd
bcConnection: could not be instantiated.
java.sql.SQLException: File input/output error:
${install.war}/cocoon/WEB-INF/db
/cocoondb.properties
        at java.lang.Throwable.<init>(Throwable.java:96)
        at java.lang.Exception.<init>(Exception.java:44)
        at java.sql.SQLException.<init>(SQLException.java:66)
        at org.hsqldb.Trace.getError(Trace.java:180)
        at org.hsqldb.Trace.getError(Trace.java:144)
        at org.hsqldb.Trace.error(Trace.java:205)
        at org.hsqldb.Log.saveProperties(Log.java:621)
        at org.hsqldb.Log.create(Log.java:512)
        at org.hsqldb.Log.open(Log.java:159)
        at org.hsqldb.Database.<init>(Database.java:96)
        at org.hsqldb.jdbcConnection.openStandalone(jdbcConnection.java:926)
        at org.hsqldb.jdbcConnection.<init>(jdbcConnection.java:682)
        at org.hsqldb.jdbcDriver.connect(jdbcDriver.java:116)
        at java.sql.DriverManager.getConnection(DriverManager.java:523)
        at java.sql.DriverManager.getConnection(DriverManager.java:183)
        at
org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.newInsta
nce(JdbcConnectionFactory.java:52)



AFTER ACCESSING /COCOON

DEBUG   40359   [cocoon  ] (Thread-48): Making URL from
file:/home/tomcat/webapp
s/cocoon/sitemap.xmap
DEBUG   40370   [cocoon  ] (Thread-48): UnnamedSelector: ComponentSelector
could
 not find the component for hint: org/apache/cocoon/www/sitemap_xmap
DEBUG   40371   [cocoon  ] (Thread-48): Could not access component for hint:
org
/apache/cocoon/www/sitemap_xmap
DEBUG   40372   [cocoon  ] (Thread-48): The instance was not accessible,
creatin
g it now.
DEBUG   40389   [cocoon  ] (Thread-48): The class was not preloaded
DEBUG   40422   [cocoon  ] (Thread-48): ComponentFactory creating new
instance o
f
org.apache.cocoon.components.language.markup.sitemap.SitemapMarkupLanguage.
.
.
.

WARN    58903   [cocoon  ] (Thread-48): Looking up component on an
uninitialized
 ComponentManager: org.apache.cocoon.generation.GeneratorSelector
DEBUG   58903   [cocoon  ] (Thread-48): Could not find ComponentHandler,
attempt
ing to create one for role: org.apache.cocoon.generation.GeneratorSelector
.
.
.
WARN    58906   [cocoon  ] (Thread-48): Looking up component on an
uninitialized
 ComponentManager: org.apache.cocoon.transformation.TransformerSelector
DEBUG   58906   [cocoon  ] (Thread-48): Could not find ComponentHandler,
attempt
ing to create one for role:
org.apache.cocoon.transformation.TransformerSelector
.
.
.
WARN    58915   [cocoon  ] (Thread-48): Looking up component on an
uninitialized
 ComponentManager: org.apache.cocoon.serialization.SerializerSelector
DEBUG   58916   [cocoon  ] (Thread-48): Could not find ComponentHandler,
attempt
ing to create one for role:
org.apache.cocoon.serialization.SerializerSelector
.
.
.
WARN    58992   [cocoon  ] (Thread-48): Looking up component on an
uninitialized
 ComponentManager: org.apache.cocoon.reading.ReaderSelector
DEBUG   58992   [cocoon  ] (Thread-48): Could not find ComponentHandler,
attempt
ing to create one for role: org.apache.cocoon.reading.ReaderSelector
DEBUG   58993   [cocoon  ] (Thread-48): Could not find ComponentHandler,
attempt
ing to create one for role: org.apache.cocoon.reading.ReaderSelector
.
.
.
WARN    58992   [cocoon  ] (Thread-48): Looking up component on an
uninitialized
 ComponentManager: org.apache.cocoon.reading.ReaderSelector
DEBUG   58992   [cocoon  ] (Thread-48): Could not find ComponentHandler,
attempt
ing to create one for role: org.apache.cocoon.reading.ReaderSelector
DEBUG   58993   [cocoon  ] (Thread-48): Could not find ComponentHandler,
attempt
ing to create one for role: org.apache.cocoon.reading.ReaderSelector
.
.
.
WARN    58996   [cocoon  ] (Thread-48): Looking up component on an
uninitialized
 ComponentManager: org.apache.cocoon.matching.MatcherSelector
DEBUG   58997   [cocoon  ] (Thread-48): Could not find ComponentHandler,
attempt
ing to create one for role: org.apache.cocoon.matching.MatcherSelector
DEBUG   58997   [cocoon  ] (Thread-48): Could not find ComponentHandler,
attempt
ing to create one for role: org.apache.cocoon.matching.MatcherSelector
.
.
.
WARN    58998   [cocoon  ] (Thread-48): Looking up component on an
uninitialized
 ComponentManager: org.apache.cocoon.selection.SelectorSelector
DEBUG   58999   [cocoon  ] (Thread-48): Could not find ComponentHandler,
attempt
ing to create one for role: org.apache.cocoon.selection.SelectorSelector
DEBUG   58999   [cocoon  ] (Thread-48): Could not find ComponentHandler,
attempt
ing to create one for role: org.apache.cocoon.selection.SelectorSelector
.
.
.
WARN    58998   [cocoon  ] (Thread-48): Looking up component on an
uninitialized
 ComponentManager: org.apache.cocoon.selection.SelectorSelector
DEBUG   58999   [cocoon  ] (Thread-48): Could not find ComponentHandler,
attempt
ing to create one for role: org.apache.cocoon.selection.SelectorSelector
DEBUG   58999   [cocoon  ] (Thread-48): Could not find ComponentHandler,
attempt
ing to create one for role: org.apache.cocoon.selection.SelectorSelector
.
.
.
WARN    59235   [cocoon  ] (Thread-48): Looking up component on an
uninitialized
 ComponentManager: org.apache.cocoon.components.store.Store
DEBUG   59236   [cocoon  ] (Thread-48): Looking up
org.apache.cocoon.components.
browser.Browser
WARN    59236   [cocoon  ] (Thread-48): Looking up component on an
uninitialized
 ComponentManager: org.apache.cocoon.components.browser.Browser
DEBUG   59236   [cocoon  ] (Thread-48): Could not find ComponentHandler,
attempt
ing to create one for role: org.apache.cocoon.components.browser.Browser
DEBUG   59243   [cocoon  ] (Thread-48): ComponentHandler initialized for:
org.ap
ache.cocoon.components.browser.BrowserImpl
.
.
.

I have given this my best shot and I would appreciate an opinion from you
all on what I could possibly do.

Thanks!
Ted


---------------------------------------------------------------------
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