[opencms-dev] Install Problem with Perl5Util

Philip subp at wachtel.us
Wed May 26 22:29:02 CEST 2004


Hi there,

This is my first time writing to this list.  I searched the archives, and
did not find an answer to this question, so... Hopefully someone out there
will have some thoughts.

Platform: RedHat Linux 7.3
MySQL 4.0.20
JBoss 3.2.3
OpenCMS 5.0.1 

I was able to install opencms with no problems when JBoss was on a windows
XP machine -- but not when it's on linux.  I don't think that that is the
root of the problem, but it's worth mentioning.

The Problem:
I can complete the db install and go through the entire ocsetup with no
problems.  However, when I actually go to the
http://wctl.com:8080/opencms/opencms url, I only get a blank, white page
with only "[jsptemplate] ??? ".  In the opencms.log file, I get a bunch of
the following exceptions.

As I said, this did not happen when jboss was installed on windows xp, but I
don't know if that is any consequence.

I searched to make sure that there was only the correct
jakarta-oro-2_0_6.jar file in the classpath, and there was.  So, now I can't
think of anything else to look at.  Any help would be most appreciated.

Regards,
Philip

[26.05.2004 16:08:47] <opencms_init> . Startup class init   : starting
[26.05.2004 16:08:47] <opencms_init> . OpenCms context      :
/opencms/opencms/
[26.05.2004 16:08:47] <opencms_init> . JSP export URL       : using value
from first request - http://wctl.com:8080/opencms/opencms
[26.05.2004 16:08:47] <opencms_init> . Startup class init   : finished
[26.05.2004 16:08:47] <opencms_init> .
...............................................................
[26.05.2004 16:08:47] <opencms_init> .
[26.05.2004 16:08:49] <opencms_info> Updated JSP file
"/WEB-INF/jsp/online/system/modules/org.opencms.welcome/resources/welcome.cs
s.jsp" for resource
"/system/modules/org.opencms.welcome/resources/welcome.css"
[26.05.2004 16:08:49] <opencms_info> Updated JSP file
"/WEB-INF/jsp/online/system/modules/org.opencms.welcome/jsptemplates/welcome
.jsp.jsp" for resource
"/system/modules/org.opencms.welcome/jsptemplates/welcome.jsp"
[26.05.2004 16:09:58] <opencms_critical> [CmsElementXml
(CmsXmlTemplate/welcome)] Error in element jsptemplate
[26.05.2004 16:09:58] <opencms_critical> [CmsElementXml
(CmsXmlTemplate/welcome)]com.opencms.core.CmsException: 0 Unknown exception.
Detailed error: [CmsJspTemplate] Error while reading JSP
/system/modules/org.opencms.welcome/jsptemplates/welcome.jsp
com.opencms.core.CmsException: 28 Error while launching template class.
Detailed error: Error in CmsJspLoader.loadTemplate() while loading
/system/modules/org.opencms.welcome/jsptemplates/welcome.jsp
javax.servlet.ServletException: Resource loader error in file
'/system/modules/org.opencms.welcome/jsptemplates/welcome.jsp'

Root cause:
org.apache.jasper.JasperException:
org.apache.oro.text.perl.Perl5Util.substitute(Ljava/lang/StringBuffer;Ljava/
lang/String;Ljava/lang/String;)I
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
54)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:684)
        at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:575)
        at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
.java:498)
        at
com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispat
cher.java:158)
        at com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:972)
        at
com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispat
cher.java:256)
        at com.opencms.flex.CmsJspLoader.loadTemplate(CmsJspLoader.java:673)
        at
com.opencms.flex.CmsJspTemplate.getContent(CmsJspTemplate.java:85)
        at
com.opencms.template.cache.CmsElementDump.getContent(CmsElementDump.java:120
)
        at
com.opencms.template.cache.A_CmsElement.resolveVariant(A_CmsElement.java:464
)
        at
com.opencms.template.CmsXmlTemplate.startProcessing(CmsXmlTemplate.java:1314
)
        at
com.opencms.template.CmsXmlTemplate.getContent(CmsXmlTemplate.java:164)
        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(Application
FilterChain.java:247)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(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.ja
va:191)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrR
ealm.java:220)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStat
sValve.java:76)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(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.StandardContext.invoke(StandardContext.java:2417)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoci
ationValve.java:65)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(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.invok
eNext(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:197)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:549)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:677)
        at java.lang.Thread.run(Thread.java:536)

--------------- End of root cause.
.
root cause was javax.servlet.ServletException: Resource loader error in file
'/system/modules/org.opencms.welcome/jsptemplates/welcome.jsp'





More information about the opencms-dev mailing list