AW: [opencms-dev] Problem in the HTML Editor

Kavitha Rajamanickam kavitha_rajamanickam at yahoo.co.in
Tue May 18 11:13:01 CEST 2004


Hi Claus,
 
Thank u so much for u'r help. Successfully i have created a page, edit that page using the HTML editor  and run that page without any problem.
 
Actually i replaced this 'xercesImpl.jar'  file in the location '..\Apache Group\Tomcat 4.1\common\endorsed' with 'xerces-1_4_4.jar' file in the location '..\Apache Group\Tomcat 4.1\webapps\opencms\WEB-INF\lib'.
 
Thanks.........
 
Regards
Kavitha

Claus Priisholm <cpr at codedroids.com> wrote:
Seems like a Xerces problem, it's likely that you have conflicting 
versions of xerces in your installation. Search the mail archives for 
'xerces' and you'll find a description on how to fix the problem.

On 17/5-2004, at 14.55, Kavitha Rajamanickam wrote:

> Hi Claus,
>  
> Thank u so much for u'r reply. While i am trying to create a HTML page 
> using 'page' type the following exception is thrown. What will be the 
> problem ???
>  
> 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 execution threw an exception
>  at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic 
> ationFilterChain.java:269)
>  at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil 
> terChain.java:193)
>  at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal 
> ve.java:256)
>  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(StandardContextVal 
> ve.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: 
> 2422)
>  at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav 
> a:180)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. 
> invokeNext(StandardPipeline.java:643)
>  at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV 
> alve.java:171)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. 
> invokeNext(StandardPipeline.java:641)
>  at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav 
> a:163)
>  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: 
> 199)
>  at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: 
> 828)
>  at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process 
> Connection(Http11Protocol.java:700)
>  at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 
> 584)
>  at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo 
> l.java:683)
>  at java.lang.Thread.run(Thread.java:534)
>
> root cause
> java.lang.NoSuchMethodError: 
> org.apache.xerces.dom.CoreDocumentImpl.getEncoding()Ljava/lang/String;
>  at 
> com.opencms.template.CmsXmlXercesParser.getOriginalEncoding(CmsXmlXerce 
> sParser.java:193)
>  at 
> com.opencms.template.CmsXmlXercesParser.getXmlText(CmsXmlXercesParser.j 
> ava:131)
>  at 
> com.opencms.workplace.CmsNewResourcePage.createPagefile(CmsNewResourceP 
> age.java:118)
>  at 
> com.opencms.workplace.CmsNewResourcePage.getContent(CmsNewResourcePage. 
> java:194)
>  at 
> com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java: 
> 171)
>  at 
> com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
>  at 
> com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElement 
> Cache.java:149)
>  at 
> com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java: 
> 285)
>  at com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
>  at 
> com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)
>  at com.opencms.core.OpenCms.showResource(OpenCms.java:961)
>  at 
> com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic 
> ationFilterChain.java:247)
>  at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil 
> terChain.java:193)
>  at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal 
> ve.java:256)
>  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(StandardContextVal 
> ve.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: 
> 2422)
>  at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav 
> a:180)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. 
> invokeNext(StandardPipeline.java:643)
>  at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV 
> alve.java:171)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. 
> invokeNext(StandardPipeline.java:641)
>  at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav 
> a:163)
> &nbs p;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: 
> 199)
>  at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: 
> 828)
>  at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process 
> Connection(Http11Protocol.java:700)
>  at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 
> 584)
>  at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo 
> l.java:683)
>  at java.lang.Thread.run(Thread.java:534)
>  
> ----------------------------------------------------------------------- 
> ---------
> Apache Tomcat/4.1.30
>  
> Regards
> Kavitha
>  
> Claus Priisholm wrote:
> My guess is that your sample.html is a 'plain' html-file. In order to
> work with templates et al. you need to make a 'page' type of file.
>
> On 13/5-2004, at 11.12, Kavitha Rajamanickam wrote:
>
> > Hi,
> >  
> > Thanks for u'r immediate response.
> >  
> > Actually the problem is Template Option missing in the HTML Editor.
> > I have attached screenshot with this mail in jpeg format.
> >  
> > In the JPEG the first picture is from the PDF help file. The second
> > picture is the editor which i get when i run the openCms application
> > 5.0
> >  
> > Thanks in advance
> >  
> > Regards
> > Kavitha
> >  
> >  
> > Le wrote:
> > Hi,
> >  
> > do u mean the HTML-Galerry ?
> >  
> >
> > Mit freundlichen Grüßen 
> >
> >
> > i.A. Tuan Le
> > IT-Consultant
> >
> >
> > Besuchen Sie uns auf dem LINUX TAG.
> > 23. - 26 Juni 2004, Messe Karlsruhe, Stand C124.
> > ____________________________________________
> >
> > comundus Unternehmensberatung GmbH
> > Schüttelgrabenring 3, 71332 Waiblingen
> >
> > Tel: +49 (0) 71 51-5 00 28-0   Fax: -99
> >
> > www.comundus.com   www.comundus-e-quality.com
> > ____________________________________________
> > -----Ursprüngliche Nachricht-----
> > Von: opencms-dev-admin at opencms.org
> > [mailto:opencms-dev-admin at opencms.org]Im Auftrag von Kavitha
> > Rajamanickam
> > Gesendet: Mittwoch, 12. Mai 2004 14:46
> > An: opencms-dev at opencms.org
> > Betreff: Re: [opencms-dev] Problem in the HTML Editor
> >
> > Hai,
> >  
> >    I am new to this OpenCms Tool. I have successfully installed
> > Open Cms 5.0. In the HTML editor Title text box , Editor drop-down 
> menu
> > and Template drop-down menu are missing.
> >  
> >    What could be the problem.Can anyone help me...
> >  
> >    Thanks in advance
> >  
> > Regards
> > Kavitha
> >
> >
> >
> > Yahoo! India Matrimony: Find your partner online.
> >
> > Yahoo! India Matrimony: Find your partner online.
> >
> --
> Claus Priisholm, CodeDroids ApS
> +45 48 22 46 46
> cpr (you-know-what) interlet.dk - cpr (you-know-what) codedroids.com
> http://www.interlet.dk - http://www.codedroids.com
>
>
> Yahoo! India Matrimony: Find your partner online.
>
--
Claus Priisholm, CodeDroids ApS
+45 48 22 46 46
cpr (you-know-what) interlet.dk - cpr (you-know-what) codedroids.com
http://www.interlet.dk - http://www.codedroids.com


Yahoo! India Matrimony: Find your partner online.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040518/0f8604de/attachment.htm>


More information about the opencms-dev mailing list