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.xerc es.parsers.SAXP arser not
found
description java.lang.Class NotFoundExcepti on:
org/apache/xerces/parsers/SAXParser
sender org.apache.coco on.servlet.Coco onServlet
source Cocoon servlet
stack-trace
java.lang.Class NotFoundExcepti on: org/apache/xerces/parsers/SAXParser
at org.xml.sax.hel pers.XMLReaderF actory.createXM LReader(XMLRead erFactory.java: 118)
at org.xml.sax.hel pers.XMLReaderF actory.createXM LReader(XMLRead erFactory.java: 96)
at org.apache.coco on.components.l anguage.markup. AbstractMarkupL anguage.generat eCode(AbstractM arkupLanguage.j ava:377)
at org.apache.coco on.components.l anguage.generat or.ProgramGener atorImpl.genera teResource(Prog ramGeneratorImp l.java:390)
at org.apache.coco on.components.l anguage.generat or.ProgramGener atorImpl.create Resource(Progra mGeneratorImpl. java:353)
at org.apache.coco on.components.l anguage.generat or.ProgramGener atorImpl.load(P rogramGenerator Impl.java:312)
at org.apache.coco on.sitemap.Hand ler.run(Handler .java:267)
at java.lang.Threa d.run(Thread.ja va: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\serve r.xml
2004-03-02 23:46:14 - PathSetter: home=E:\tomcat
2004-03-02 23:46:14 - ContextXmlReade r: Context
config=$TOMCAT_ HOME\conf\apps-12
7.0.0.1.xml
2004-03-02 23:46:15 - ContextXmlReade r: Context
config=$TOMCAT_ HOME\conf\apps-ad
min.xml
2004-03-02 23:46:15 - ContextXmlReade r: 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.properti es not found, using command line or default properties
Opening database: E:\tomcat\webap ps\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 - Http10Intercept or: Starting on 8080
2004-03-02 23:48:00 - Ajp12Intercepto r: Starting on 8007
2004-03-02 23:48:00 - Ajp13Intercepto r: 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,a nd 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...
:-)