[opencms-dev] i installed opencms 4.2 and it works. but it only works with its shell

Ilya Botvinnikov Ilya at onlinelabs.com
Fri Jun 29 04:16:33 CEST 2001


Hi 
i installed opencms 4.2 and it works. but it only works with its shell.if i try to connect via browser i get this error message 
my configuration: 
Red Hat Linux release 6.2
Apache 
Tomcat3.2.2
mod_jk
OPenCMS 4.2.0

i was following this direction:
http://www.opencms.com/majordomo/opencms-dev/0102/msg00009.html

before i had placed axerces.jar into tomcat_home/lib i could restart TOMCAT and i was getting this output:
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Error: 500
Location: /opencms
Internal Servlet Error:

java.lang.NoClassDefFoundError: org/apache/xerces/framework/XMLParser
	at com.opencms.template.A_CmsXmlContent.(A_CmsXmlContent.java:151)
	at com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java, Compiled Code)
	at com.opencms.file.CmsRbManager.init(CmsRbManager.java, Compiled Code)
	at com.opencms.core.OpenCms.(OpenCms.java, Compiled Code)
	at com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java, Compiled Code)
	at com.opencms.core.OpenCmsServlet.init(OpenCmsServlet.java, Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java, Compiled Code)
	at org.apache.tomcat.core.Handler.init(Handler.java, Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java, Compiled Code)
	at org.apache.tomcat.core.Handler.service(Handler.java, Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java, Compiled Code)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java, Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled Code)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java, Compiled Code)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java, Compiled Code)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, Compiled Code)
	at java.lang.Thread.run(Thread.java, Compiled Code)
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 Then i realized that i did not  put axerces.jar into tomcat_home/lib and i did it BUT 
NOW i can not even restart tomcat : it returns this :
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[root at oracle bin]# ./startup.sh
Using classpath: /u01/apps/jakarta-tomcat-3.2.2/lib/ant.jar:/u01/apps/jakarta-tomcat-3.2.2/lib/axerces.jar:/u01/apps/jakarta-tomcat-3.2.2/lib/jasper.jar:/u01/apps/jakarta-tomcat-3.2.2/lib/jaxp.jar:/u0
1/apps/jakarta-tomcat-3.2.2/lib/parser.jar:/u01/apps/jakarta-tomcat-3.2.2/lib/servlet.jar:/u01/apps/jakarta-tomcat-3.2.2/lib/test:/u01/apps/jakarta-tomcat-3.2.2/lib/webserver.jar:/u01/apps/jdk1.2.2/li
b/tools.jar
[root at oracle bin]# Exception in thread "main" javax.xml.parsers.FactoryConfigurationError: Cannot load class SAXParserFactory class "org.apache.xerces.jaxp.SAXParserFactoryImpl"
        at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java, Compiled Code)
        at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java, Compiled Code)
        at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java, Compiled Code)
        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java, Compiled Code)
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20010628/958c7fab/attachment.htm>


More information about the opencms-dev mailing list