[opencms-dev] pb with the featured module of www.opencms.org

denisboutin at free.fr denisboutin at free.fr
Thu Mar 4 18:03:01 CET 2004


Hi,

I've got a strange exception when trying to import 
http://www.opencms.org/export/download/opencms/org.opencms.modules.htmlimport_1.
3.zip (featured module of the main page of opencms.org).

Indeed, the import through module management works well, however, when I click 
on the new icon in the AdminWorkplace, I've got the following Exception. Have 
you got any clues to resolve that ?

Regards,
Denis.

==exception=>
javax.servlet.ServletException: Resource loader error in 
file '/system/modules/org.opencms.modules.htmlimport/administration/backoffice/i
ndex.html'

Root cause:
org.apache.jasper.JasperException: Impossible de compiler la classe pour la JSP

Une erreur s'est produite à la ligne: 70 dans le fichier jsp: /WEB-
INF/jsp/offline/system/modules/org.opencms.modules.htmlimport/administration/bac
koffice/index.html.jsp

Erreur de servlet générée:
    [javac] Compiling 1 source file

C:\jakarta-tomcat-5.0.19
\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\m
odules\org_opencms_modules_htmlimport\administration\backoffice\index_html_jsp.j
ava:9: package org.opencms.modules.htmlimport does not exist
import org.opencms.modules.htmlimport.*;
^
C:\jakarta-tomcat-5.0.19
\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\m
odules\org_opencms_modules_htmlimport\administration\backoffice\index_html_jsp.j
ava:132: package org.opencms.modules.htmlimport does not exist
 out.println(org.opencms.modules.htmlimport.HtmlImportBackoffice.getTemplates
(cmsObject,template)); 
                                           ^



Une erreur s'est produite à la ligne: 100 dans le fichier jsp: /WEB-
INF/jsp/offline/system/modules/org.opencms.modules.htmlimport/administration/bac
koffice/index.html.jsp

Erreur de servlet générée:
C:\jakarta-tomcat-5.0.19
\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\m
odules\org_opencms_modules_htmlimport\administration\backoffice\index_html_jsp.j
ava:188: cannot resolve symbol
symbol  : class HtmlImport 
location: class 
org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_modules_htmlim
port.administration.backoffice.index_html_jsp
HtmlImport imp = new HtmlImport
(cmsObject,inputDir,destinationDir,imageGallery,linkGallery,downloadGallery,temp
late,encoding,importMode);
^



Une erreur s'est produite à la ligne: 100 dans le fichier jsp: /WEB-
INF/jsp/offline/system/modules/org.opencms.modules.htmlimport/administration/bac
koffice/index.html.jsp

Erreur de servlet générée:
C:\jakarta-tomcat-5.0.19
\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\m
odules\org_opencms_modules_htmlimport\administration\backoffice\index_html_jsp.j
ava:188: cannot resolve symbol
symbol  : class HtmlImport 
location: class 
org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_modules_htmlim
port.administration.backoffice.index_html_jsp
HtmlImport imp = new HtmlImport
(cmsObject,inputDir,destinationDir,imageGallery,linkGallery,downloadGallery,temp
late,encoding,importMode);
                     ^



Une erreur s'est produite à la ligne: 148 dans le fichier jsp: /WEB-
INF/jsp/offline/system/modules/org.opencms.modules.htmlimport/administration/bac
koffice/index.html.jsp

Erreur de servlet générée:
C:\jakarta-tomcat-5.0.19
\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\m
odules\org_opencms_modules_htmlimport\administration\backoffice\index_html_jsp.j
ava:239: cannot resolve symbol
symbol  : class CmsParameterValidationException 
location: class 
org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_modules_htmlim
port.administration.backoffice.index_html_jsp
} catch (CmsParameterValidationException ex) {
         ^



Une erreur s'est produite à la ligne: 194 dans le fichier jsp: /WEB-
INF/jsp/offline/system/modules/org.opencms.modules.htmlimport/administration/bac
koffice/index.html.jsp

Erreur de servlet générée:
C:\jakarta-tomcat-5.0.19
\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\m
odules\org_opencms_modules_htmlimport\administration\backoffice\index_html_jsp.j
ava:313: cannot resolve symbol
symbol  : variable HtmlImport 
location: class 
org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_modules_htmlim
port.administration.backoffice.index_html_jsp
out.println(HtmlImport.getThreadOutput());
            ^



Une erreur s'est produite à la ligne: 194 dans le fichier jsp: /WEB-
INF/jsp/offline/system/modules/org.opencms.modules.htmlimport/administration/bac
koffice/index.html.jsp

Erreur de servlet générée:
C:\jakarta-tomcat-5.0.19
\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\m
odules\org_opencms_modules_htmlimport\administration\backoffice\index_html_jsp.j
ava:316: cannot resolve symbol
symbol  : variable HtmlImport 
location: class 
org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_modules_htmlim
port.administration.backoffice.index_html_jsp
if (!HtmlImport.threadAlive()) {
     ^



Une erreur s'est produite à la ligne: 232 dans le fichier jsp: /WEB-
INF/jsp/offline/system/modules/org.opencms.modules.htmlimport/administration/bac
koffice/index.html.jsp

Erreur de servlet générée:
C:\jakarta-tomcat-5.0.19
\work\Catalina\localhost\opencms\org\apache\jsp\WEB_002dINF\jsp\offline\system\m
odules\org_opencms_modules_htmlimport\administration\backoffice\index_html_jsp.j
ava:358: cannot resolve symbol
symbol  : variable HtmlImport 
location: class 
org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_modules_htmlim
port.administration.backoffice.index_html_jsp
	out.println(HtmlImport.getThreadOutput());
                    ^
8 errors


	at org.apache.jasper.compiler.DefaultErrorHandler.javacError
(DefaultErrorHandler.java:127)
	at org.apache.jasper.compiler.ErrorDispatcher.javacError
(ErrorDispatcher.java:351)
	at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
	at org.apache.jasper.JspCompilationContext.compile
(JspCompilationContext.java:553)
	at org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:291)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:301)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:284)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:204)
	at org.apache.catalina.core.ApplicationDispatcher.invoke
(ApplicationDispatcher.java:750)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude
(ApplicationDispatcher.java:636)
	at org.apache.catalina.core.ApplicationDispatcher.include
(ApplicationDispatcher.java:546)
	at com.opencms.flex.cache.CmsFlexRequestDispatcher.include
(CmsFlexRequestDispatcher.java:158)
	at com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:972)
	at com.opencms.flex.cache.CmsFlexRequestDispatcher.include
(CmsFlexRequestDispatcher.java:256)
	at com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:577)
	at com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:239)
	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:743)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:284)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:204)
	at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:257)
	at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:567)
	at org.apache.catalina.core.StandardContextValve.invokeInternal
(StandardContextValve.java:245)
	at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:199)
	at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:567)
	at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:184)
	at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
	at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:164)
	at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:149)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:567)
	at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:156)
	at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:567)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
	at org.apache.coyote.tomcat5.CoyoteAdapter.service
(CoyoteAdapter.java:206)
	at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:833)
	at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
n(Http11Protocol.java:732)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt
(PoolTcpEndpoint.java:619)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:688)
	at java.lang.Thread.run(Thread.java:536)

--------------- End of root cause.

	at com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:979)
	at com.opencms.flex.cache.CmsFlexRequestDispatcher.include
(CmsFlexRequestDispatcher.java:256)
	at com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:577)
	at com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:239)
	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:743)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:284)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:204)
	at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:257)
	at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:567)
	at org.apache.catalina.core.StandardContextValve.invokeInternal
(StandardContextValve.java:245)
	at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:199)
	at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:567)
	at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:184)
	at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
	at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:164)
	at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:149)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:567)
	at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:156)
	at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:567)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
	at org.apache.coyote.tomcat5.CoyoteAdapter.service
(CoyoteAdapter.java:206)
	at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:833)
	at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
n(Http11Protocol.java:732)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt
(PoolTcpEndpoint.java:619)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:688)
	at java.lang.Thread.run(Thread.java:536)
====



More information about the opencms-dev mailing list