[opencms-dev] error creating a page in opencms 5.0.1

ark-d at betasystems.com ark-d at betasystems.com
Tue Jun 14 15:57:44 CEST 2005





Hi Philip,

> I am actually planning on creating a template and building a very
> basic intranet website to include a search function, forms. Is it
> possible to customize modules such as templateOne for my needs.

yes of course, then use opencms 6 rc1, which I highly recommend with Tomcat
5.x (> 5.0.19 or > 5.5.7).

Use JDK 1.4.2 for 5.0.x or jdk 1.5 for 5.5.x

your mysql version must be ok.

If you have to use opencms 5.0.1, then you should take care of your xcerces
version, go to:

http://www.codedroids.dk/codedroids/opencms/en/opencms/community.html

and download opencms.jar fix and use tomcat > 5.0.25 and replace
opencms.jar from ur installation with this jar.

and install all the stuff for lucene search engine of Matt Bucher, which is
not so good as the native one in opencms 6!

Again I highly  recommend  OpenCMS 6 RC1 !!!

Best Regards,
Arash



                                                                           
             philip lau                                                    
             <pcllau at gmail.com                                             
             >                                                          To 
                                       "ark-d at betasystems.com"             
             14.06.2005 15:41          <ark-d at betasystems.com>,            
                                       opencms-dev-bounces at opencms.org     
                                                                        cc 
             Please respond to                                             
                philip lau                                         Subject 
             <pcllau at gmail.com         Re: [opencms-dev] error creating a  
                     >                 page in opencms 5.0.1               
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Hi Arash,

I am using mysql 4.0.24, tomcat 4.1, and opencms_5.0.1.zip. It's not
the fat version.

I am actually planning on creating a template and building a very
basic intranet website to include a search function, forms. Is it
possible to customize modules such as templateOne for my needs.

Thanks in advance,

Philip Lau

On 6/14/05, ark-d at betasystems.com <ark-d at betasystems.com> wrote:
>
>
>
>
> > I've noticed there are only the following modules in this
> > installation. org.opencms.default and org.opencms.welcome. Could this
> > be the problem.
>
> yes, that should be wrong.
>
> did you try to install the fat distribution from opencms.org site?
>
> which tomcat and mysql versions are you using and on which OS?
>
> Br,
> Arash
>
>
> opencms-dev-bounces at opencms.org wrote on 14.06.2005 14:52:34:
>
> > Hi Everyone,
> >
> > I have installed opencms 5.0.1 according to the books instructions
> > using mysql, and tomcat. It installed successfully, but the when I try
> > to create a page, I get the following error message. Can anyone help.
> > I've noticed there are only the following modules in this
> > installation. org.opencms.default and org.opencms.welcome. Could this
> > be the problem.
> >
> > Thanks in advance,
> >
> > Philip Lau
> >
> > -------------------------------------------------error
> > message--------------------------------------------------
> > 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(ApplicationFilterChain.java:269)
> >    at org.apache.catalina.core.ApplicationFilterChain.
> > doFilter(ApplicationFilterChain.java:193)
> >    at org.apache.catalina.core.StandardWrapperValve.
> > invoke(StandardWrapperValve.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(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:2422)
> >    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:171)
> >    at org.apache.catalina.core.
> > StandardPipeline$StandardPipelineValveContext.
> > invokeNext(StandardPipeline.java:641)
> >    at org.apache.catalina.valves.ErrorReportValve.
> > invoke(ErrorReportValve.java: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.
> > processConnection(Http11Protocol.java:700)
> >    at org.apache.tomcat.util.net.TcpWorkerThread.
> > runIt(PoolTcpEndpoint.java:584)
> >    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.
> > run(ThreadPool.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(CmsXmlXercesParser.java:193)
> >    at com.opencms.template.CmsXmlXercesParser.
> > getXmlText(CmsXmlXercesParser.java:131)
> >    at com.opencms.workplace.CmsNewResourcePage.
> > createPagefile(CmsNewResourcePage.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(CmsElementCache.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(ApplicationFilterChain.java:247)
> >    at org.apache.catalina.core.ApplicationFilterChain.
> > doFilter(ApplicationFilterChain.java:193)
> >    at org.apache.catalina.core.StandardWrapperValve.
> > invoke(StandardWrapperValve.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(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:2422)
> >    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:171)
> >    at org.apache.catalina.core.
> > StandardPipeline$StandardPipelineValveContext.
> > invokeNext(StandardPipeline.java:641)
> >    at org.apache.catalina.valves.ErrorReportValve.
> > invoke(ErrorReportValve.java: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.
> > processConnection(Http11Protocol.java:700)
> >    at org.apache.tomcat.util.net.TcpWorkerThread.
> > runIt(PoolTcpEndpoint.java:584)
> >    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.
> > run(ThreadPool.java:683)
> >    at java.lang.Thread.run(Thread.java:534)
> >
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
> visit
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>





More information about the opencms-dev mailing list