Q
quitaxe
hi
i have tomcat 3.3,jdk1.4 setup and running perfectly on my win 98 pc.i
have tried to install apache cocoon on this but have failed.i'm
getting the following error when i startup tomcat(after it
auto-deploys cocoon) and type the url: http://127.0.0.1:8080/cocoon
into my ie5.5
Cocoon 2 - Internal server error
--------------------------------------------------------------------------------
type fatal
message SAX2 driver class org.apache.xerces.parsers.SAXParser not
found
description java.lang.ClassNotFoundException:
org/apache/xerces/parsers/SAXParser
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
stack-trace
java.lang.ClassNotFoundException: org/apache/xerces/parsers/SAXParser
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:118)
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:96)
at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generateCode(AbstractMarkupLanguage.java:377)
at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:390)
at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:353)
at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:312)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:267)
at java.lang.Thread.run(Thread.java:579)
request-uri
/cocoon/
path-info
--------------------------------------------------------------------------------
the following is the verbose from tomcat if it helps
--------------------------------------------------------------------------------
2004-03-02 23:46:14 - ServerXmlReader:
Config=$TOMCAT_HOME\conf\server.xml
2004-03-02 23:46:14 - PathSetter: home=E:\tomcat
2004-03-02 23:46:14 - ContextXmlReader: Context
config=$TOMCAT_HOME\conf\apps-12
7.0.0.1.xml
2004-03-02 23:46:15 - ContextXmlReader: Context
config=$TOMCAT_HOME\conf\apps-ad
min.xml
2004-03-02 23:46:15 - ContextXmlReader: Context
config=$TOMCAT_HOME\conf\apps-ex
amples.xml
2004-03-02 23:46:15 - AutoWebApp: Auto-Adding DEFAULT:/cocoon
2004-03-02 23:46:15 - AutoWebApp: Loaded from config: DEFAULT:/admin
2004-03-02 23:46:15 - AutoWebApp: Auto-Adding DEFAULT:/
2004-03-02 23:46:15 - AutoWebApp: Loaded from config:
DEFAULT:/examples
2004-03-02 23:46:15 - ContextManager: Tomcat configured and in stable
state
2004-03-02 23:46:16 - ContextManager: Adding DEFAULT:/admin
2004-03-02 23:46:16 - ContextManager: Adding DEFAULT:/examples
2004-03-02 23:46:16 - ContextManager: Adding DEFAULT:/cocoon
2004-03-02 23:46:16 - ContextManager: Adding DEFAULT:/ROOT
XmlMapper: systemId is 'null'
XmlMapper: systemId is 'null'
XmlMapper: systemId is 'null'
server.properties not found, using command line or default properties
Opening database: E:\tomcat\webapps\cocoon\WEB-INF\db\cocoondb
HSQLDB server 1.7.1 is running
Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly
Tue Mar 02 23:47:38 IST 2004 Listening for connections ...
XmlMapper: systemId is 'null'
EmbededTomcat: Init time 124730
2004-03-02 23:48:00 - Http10Interceptor: Starting on 8080
2004-03-02 23:48:00 - Ajp12Interceptor: Starting on 8007
2004-03-02 23:48:00 - Ajp13Interceptor: Starting on 8009
EmbededTomcat: Startup time 2090
--------------------------------------------------------------------------------
i think its a problem with the path settings of my jdk.i have set
path,JAVA_HOME,CATALINA_HOME,and CLASSPATH variables.i have even
installled xerces-2.6.2 and tested it.this too works.
can anybody tell me what i am doing wrong.thanks a lot in advance...
i have tomcat 3.3,jdk1.4 setup and running perfectly on my win 98 pc.i
have tried to install apache cocoon on this but have failed.i'm
getting the following error when i startup tomcat(after it
auto-deploys cocoon) and type the url: http://127.0.0.1:8080/cocoon
into my ie5.5
Cocoon 2 - Internal server error
--------------------------------------------------------------------------------
type fatal
message SAX2 driver class org.apache.xerces.parsers.SAXParser not
found
description java.lang.ClassNotFoundException:
org/apache/xerces/parsers/SAXParser
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
stack-trace
java.lang.ClassNotFoundException: org/apache/xerces/parsers/SAXParser
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:118)
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:96)
at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generateCode(AbstractMarkupLanguage.java:377)
at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:390)
at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:353)
at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:312)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:267)
at java.lang.Thread.run(Thread.java:579)
request-uri
/cocoon/
path-info
--------------------------------------------------------------------------------
the following is the verbose from tomcat if it helps
--------------------------------------------------------------------------------
2004-03-02 23:46:14 - ServerXmlReader:
Config=$TOMCAT_HOME\conf\server.xml
2004-03-02 23:46:14 - PathSetter: home=E:\tomcat
2004-03-02 23:46:14 - ContextXmlReader: Context
config=$TOMCAT_HOME\conf\apps-12
7.0.0.1.xml
2004-03-02 23:46:15 - ContextXmlReader: Context
config=$TOMCAT_HOME\conf\apps-ad
min.xml
2004-03-02 23:46:15 - ContextXmlReader: Context
config=$TOMCAT_HOME\conf\apps-ex
amples.xml
2004-03-02 23:46:15 - AutoWebApp: Auto-Adding DEFAULT:/cocoon
2004-03-02 23:46:15 - AutoWebApp: Loaded from config: DEFAULT:/admin
2004-03-02 23:46:15 - AutoWebApp: Auto-Adding DEFAULT:/
2004-03-02 23:46:15 - AutoWebApp: Loaded from config:
DEFAULT:/examples
2004-03-02 23:46:15 - ContextManager: Tomcat configured and in stable
state
2004-03-02 23:46:16 - ContextManager: Adding DEFAULT:/admin
2004-03-02 23:46:16 - ContextManager: Adding DEFAULT:/examples
2004-03-02 23:46:16 - ContextManager: Adding DEFAULT:/cocoon
2004-03-02 23:46:16 - ContextManager: Adding DEFAULT:/ROOT
XmlMapper: systemId is 'null'
XmlMapper: systemId is 'null'
XmlMapper: systemId is 'null'
server.properties not found, using command line or default properties
Opening database: E:\tomcat\webapps\cocoon\WEB-INF\db\cocoondb
HSQLDB server 1.7.1 is running
Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly
Tue Mar 02 23:47:38 IST 2004 Listening for connections ...
XmlMapper: systemId is 'null'
EmbededTomcat: Init time 124730
2004-03-02 23:48:00 - Http10Interceptor: Starting on 8080
2004-03-02 23:48:00 - Ajp12Interceptor: Starting on 8007
2004-03-02 23:48:00 - Ajp13Interceptor: Starting on 8009
EmbededTomcat: Startup time 2090
--------------------------------------------------------------------------------
i think its a problem with the path settings of my jdk.i have set
path,JAVA_HOME,CATALINA_HOME,and CLASSPATH variables.i have even
installled xerces-2.6.2 and tested it.this too works.
can anybody tell me what i am doing wrong.thanks a lot in advance...