[opencms-dev] OpenCms on Websphere 5.1
Markus Kettunen
markus.kettunen at propentus.fi
Mon Dec 15 16:32:02 CET 2003
Hi,
I'm trying to install OpenCms 5.0 to Websphere 5.1 that has J2RE 1.4.1
pre-installed. I get the following error:
Error: the encoding of your Java VM is different from the OpenCms
encoding!
Java VM file encoding: Cp1252
OpenCms encoding: ISO-8859-1
I have tried to change VM encoding to ISO-8859-1 from several places,
like Websphere startup script, but any of those didn't help.
If I change defaultContentEncoding=Cp1252 from opencms.properties I get
to the last screen in "OpenCms Setup Wizard" but when I click "To start
OpenCms click here" I get error:
Error 500: Failed to load target servlet [OpenCmsServlet]
This error comes from registry.xml file that has for some reason been
emptied after "OpenCms Setup Wizard". After that I replaced registry.xml
file from original registry.ori file but when I click same "To start
OpenCms click here" -link I get error:
[BROWSER]
Error 500: org.apache.oro.text.regex.Util: method
substitute(Ljava/lang/StringBuffer;Lorg/apache/oro/text/regex/PatternMat
cher;Lorg/apache/oro/text/regex/Pattern;Lorg/apache/oro/text/regex/Subst
itution;Ljava/lang/String;I)I not found
[Websphere SystemOut.log]
[15.12.2003 17:20:02:893 EET] 6fbc66de WebGroup E SRVE0026E:
[Servlet Error]-[org.apache.oro.text.regex.Util: method
substitute(Ljava/lang/StringBuffer;Lorg/apache/oro/text/regex/Pa
tternMatcher;Lorg/apache/oro/text/regex/Pattern;Lorg/apache/oro/
text/regex/Substitution;Ljava/lang/String;I)I not found]:
java.lang.NoSuchMethodError: org.apache.oro.text.regex.Util: method
substitute(Ljava/lang/StringBuffer;Lorg/apache/oro/text/regex/PatternMat
cher;Lorg/apache/oro/text/regex/Pattern;Lorg/apache/oro/text/regex/Subst
itution;Ljava/lang/String;I)I not found
at org.apache.oro.text.perl.Perl5Util.substitute(Unknown Source)
at
com.opencms.flex.util.CmsResourceTranslator.translateResource(CmsResourc
eTranslator.java:147)
at
com.opencms.file.CmsRequestContext.getSiteRoot(CmsRequestContext.java:53
2)
at
com.opencms.file.CmsRequestContext.initEncoding(CmsRequestContext.java:5
82)
at
com.opencms.file.CmsRequestContext.init(CmsRequestContext.java:228)
at com.opencms.file.CmsObject.init(CmsObject.java:2200)
at com.opencms.core.OpenCms.initUser(OpenCms.java:896)
at
com.opencms.core.OpenCmsHttpServlet.initUser(OpenCmsHttpServlet.java:473
)
at
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:304)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictSe
rvletInstance.java:110)
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLi
fecycleServlet.java:174)
at
com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycle
Servlet.java:313)
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLif
ecycleServlet.java:116)
at
com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.
java:283)
at
com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(Vali
dServletReferenceState.java:42)
at
com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(Servle
tInstanceReference.java:40)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispa
tch(WebAppRequestDispatcher.java:974)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRe
questDispatcher.java:555)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReq
uestDispatcher.java:200)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:1
19)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInv
oker.java:276)
at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocati
on(CachedInvocation.java:71)
at
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(Servle
tRequestProcessor.java:182)
at
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSELis
tener.java:334)
at
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection
.java:56)
at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:
618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
Hope you could tell me from where this error comes and what I can do to
solve it.
Best Regards,
Markus
More information about the opencms-dev
mailing list