AW: [opencms-dev] how to import the following website?

Frank Wunderlich k.frank.wunderlich at gmx.de
Fri Jun 20 12:39:01 CEST 2003


To be honest, I haven't got a clue.
Integrating a working web application like jives with opencms harbours certainly a lot of traps.
I am not even sure if importing the whole app into the cms just to make a few pages editable, is such a good idea at all.
Maybe it is easier to have two webapps side by side (jive AND opencms) and to move just those pages into opencms, that shall be editable. 
But there are people on this list with more opencms-experience. Maybe they can help...

Sorry,
Frank.

> 
> Frank,i have created a module, placed all classed in its 
> "classes" folder, placed all jar files in its "lib" 
> folder,and published the module,but occur the following error:
> 
> javax.servlet.ServletException: Resource loader error in file 
> '/jive/application/index.jsp'
> 
> Root cause:
> javax.servlet.ServletException
>  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(Applicat
> ionDispatcher.java:684)
>  at 
> org.apache.catalina.core.ApplicationDispatcher.doInclude(Appli
> cationDispatcher.java:575)
>  at 
> org.apache.catalina.core.ApplicationDispatcher.include(Applica
> tionDispatcher.java:498)
>  at 
> com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFle
> xRequestDispatcher.java:180)
>  at com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:955)
>  at 
> com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFle
> xRequestDispatcher.java:268)
>  at com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:567)
>  at com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:235)
>  at com.opencms.core.OpenCms.showResource(OpenCms.java:956)
>  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.internalDoFilt
> er(ApplicationFilterChain.java:247)
>  at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterChain.java:193)
>  at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValve.java:260)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invokeNext(StandardPipeline.java:643)
>  at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>  at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>  at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValve.java:191)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invokeNext(StandardPipeline.java:643)
>  at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>  at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>  at 
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:2396)
>  at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java:180)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invokeNext(StandardPipeline.java:643)
>  at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherValve.java:170)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invokeNext(StandardPipeline.java:641)
>  at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java:172)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invokeNext(StandardPipeline.java:641)
>  at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>  at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>  at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.java:174)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invokeNext(StandardPipeline.java:643)
>  at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.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(Http11Process
> or.java:405)
>  at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> r.processConnection(Http11Protocol.java:380)
>  at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:508)
>  at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:533)
>  at java.lang.Thread.run(Thread.java:536)
> 
> --------------- End of root cause.
> 
>  at com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:962)
>  at 
> com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFle
> xRequestDispatcher.java:268)
>  at com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:567)
>  at com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:235)
>  at com.opencms.core.OpenCms.showResource(OpenCms.java:956)
>  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.internalDoFilt
> er(ApplicationFilterChain.java:247)
>  at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterChain.java:193)
>  at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValve.java:260)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invokeNext(StandardPipeline.java:643)
>  at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>  at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>  at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValve.java:191)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invokeNext(StandardPipeline.java:643)
>  at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>  at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>  at 
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:2396)
>  at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java:180)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invokeNext(StandardPipeline.java:643)
>  at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherValve.java:170)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invokeNext(StandardPipeline.java:641)
>  at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java:172)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invokeNext(StandardPipeline.java:641)
>  at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>  at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>  at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.java:174)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invokeNext(StandardPipeline.java:643)
>  at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.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(Http11Process
> or.java:405)
>  at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> r.processConnection(Http11Protocol.java:380)
>  at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:508)
>  at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:533)
>  at java.lang.Thread.run(Thread.java:536)
> 
> 
> ----- Original Message ----- 
> From: "Frank Wunderlich" <k.frank.wunderlich at gmx.de>
> To: <opencms-dev at opencms.org>
> Sent: Friday, June 20, 2003 5:08 PM
> Subject: AW: [opencms-dev] how to import the following website?
> 
> 
> I think, you have to publish your module (or at least one of 
> its subfolders). 
> By doing so, a class placed in 
> 
> /system/modules/mymodule/classes/com/mycompany/MyClass.class
> 
> will be copied to the real filesystem, to
> 
> $TOMCAT_HOME/webapps/opencms/WEB-INF/classes/com/mycompany/MyC
> lass.class
> 
> Frank.
> 
> N
˝h )zw& x%SˡZȞ  h˦ب+ʶ ry ^ؖ+-W +a f^ɬ?+-w ^ɬ
> 





More information about the opencms-dev mailing list