AW: [opencms-dev] Date: Thu, 13 Mar 2003 10:31:18 +0100

hans huber hans.huber at virtual-identity.com
Thu Mar 13 12:35:05 CET 2003


But you should have a xerces-1_4_4.jar in your opencms\WEB-INF\lib 

Copy this into TOMCAT_HOME\common\endorsed and rename the xercesImpl.jar to xercesImpl.jar.backup

Restart Tomcat and see what happens...

Regards

Hans

-----Ursprüngliche Nachricht-----
Von: Gebreselassie, Gezahegn [mailto:gebreselassie at streitz-consult.de]
Gesendet: Donnerstag, 13. März 2003 12:04
An: opencms-dev at www.opencms.org
Betreff: AW: [opencms-dev] Date: Thu, 13 Mar 2003 10:31:18 +0100


Hi Hans,

there are xercesImpl.jar and xmlParserAPIs.jar files in my TOMCAT_HOME\common\endorsed directory. 
But in my ...\webapps\opencms\WEB-INF\lib directory there are only mm.mysql-2.0.4-bin.jar and opencmsboot.jar files.
There is also no xercesXXXX.jar file in my installation classpath. May I need some XML parser??

Best Regards

Gezahegn

-----Ursprüngliche Nachricht-----
Von: hans huber [mailto:hans.huber at virtual-identity.com]
Gesendet: Donnerstag, 13. März 2003 11:28
An: opencms-dev at www.opencms.org
Betreff: AW: [opencms-dev] Date: Thu, 13 Mar 2003 10:31:18 +0100


Hi Gezahegn,

had this problem some time ago...

The java.lang.VerifyError means that some references in the java byte code cannot be resolved (due to incompatible byte codes). Somewhere in your installations classpath you might have another xerces parser (called something like xercesXXXX.jar) which is (on binary level) not compatible to the expected xerces parser.

I solved it by recompiling opencms on the target machine.

Another solution might be to copy the file xerces-1_4_4.jar from directory


to

TOMCAT_HOME\common\endorsed


Regards

Hans





-----Ursprüngliche Nachricht-----
Von: Gebreselassie, Gezahegn [mailto:gebreselassie at streitz-consult.de]
Gesendet: Donnerstag, 13. März 2003 10:43
An: opencms-dev at www.opencms.org
Betreff: [opencms-dev] Date: Thu, 13 Mar 2003 10:31:18 +0100


Hi,

I'm using Windows 2000, Tomcat 4.1.18, mySQL 3.23.55 , IE6 and Java 1.4.1_01. I made the configuration for the Tomcat - I setted the environment variables JAVA_HOME, CATALINA_HOME and also CATALINA_OPTS. My Tomcat is working properly. I unzipped OpenCms_5.0_rc_2.zip and copied the opencms.war file into CATALINA_HOME/webapps directory. Then I started Tomcat as Standalone. I located the browser to http://localhost:8080/opencms/ocsetup and followed instruction to install. At the end of the installation it comes an exception report.Is there something else I've forgotten to do. Here is the list of exceptions, which I copied and paste it here.  

Best Regards

Gezahegn

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-HTTP Status 500 - 

type Exception report
message 
description The server encountered an internal error () that prevented it from fulfilling this request.
exception 
javax.servlet.ServletException: Servlet.init() for servlet OpenCmsServlet threw exception
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:962)
	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
	at java.lang.Thread.run(Thread.java:536)
root cause 
java.lang.VerifyError: (class: com/opencms/template/CmsXmlXercesParser, method: parse signature: (Ljava/io/Reader;)Lorg/w3c/dom/Document;) Incompatible object argument for function call
	at com.opencms.template.A_CmsXmlContent.(A_CmsXmlContent.java:153)
	at com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:3970)
	at com.opencms.file.CmsRbManager.init(CmsRbManager.java:86)
	at com.opencms.core.OpenCms.(OpenCms.java:206)
	at com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:418)
	at com.opencms.boot.OpenCmsServlet.init(OpenCmsServlet.java:89)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:934)
	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
	at java.lang.Thread.run(Thread.java:536)

Apache Tomcat/4.1.18





More information about the opencms-dev mailing list