[opencms-dev] Several errors with OpenCms 8 on Websphere 6.1, JDK 1.5

Mathias Lin mail at mathiaslin.com
Tue May 15 08:35:37 CEST 2012


We plan to move a OpenCms 7 website to OpenCms 8, on Websphere 6, JDK 1.5.

While everything works fine on an environment:
a) OpenCms 8.0.4, JDK1.6, Tomcat6, MySql, as well as
b) OpenCms 7.0.5, JDK 1.5, WebSphere 6.1, Oracle

we face some errors on
c) OpenCms 8.0.4, JDK 1.5, WebSphere 6.1, Oracle

There are a few problems we're seeing, 3 different errors at different
locations. The installation runs through smoothly, but:

(1) opening the index.html of the OpenCms default demo site from
within the workplace throws an error:

javax.servlet.jsp.el.ELException: No function is mapped to the name "cms:vfs"
	at org.apache.commons.el.Logger.logError(Logger.java:481)
	at org.apache.commons.el.Logger.logError(Logger.java:498)
	at org.apache.commons.el.Logger.logError(Logger.java:525)
	at org.apache.commons.el.FunctionInvocation.evaluate(FunctionInvocation.java:133)
	at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:140)
	at org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
	at org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190)
	at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:754)
	at com.ibm._jsp._main._jspService(_main.java:144)
	at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1068)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:543)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
	at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
	at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:225)
	at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:278)
	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:639)
	at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:188)
	at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:163)
	at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:617)
	at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:417)
	at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:167)
	at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:902)
	at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:522)
	at org.opencms.loader.CmsXmlContainerPageLoader.load(CmsXmlContainerPageLoader.java:104)
	at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1062)
	at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1598)
	at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1068)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:543)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
	at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3357)
	at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
	at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:115)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
	at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)

(2) Furthermore, none of the files' advanced properties can be opened
from within the workplace. Trying to edit the advanced properties of
any file within the VFS results in error:

java.lang.ArrayIndexOutOfBoundsException
	at java.util.Vector.elementAt(Vector.java:264)
	at java.util.Vector.get(Vector.java:370)
	at org.opencms.flex.CmsFlexController.getCurrentRequest(CmsFlexController.java:429)
	at org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:240)
	at org.opencms.jsp.CmsJspActionElement.include(CmsJspActionElement.java:547)
	at org.opencms.jsp.CmsJspActionElement.include(CmsJspActionElement.java:487)
	at org.opencms.jsp.CmsJspActionElement.include(CmsJspActionElement.java:574)
	at com.ibm._jsp._property._jspService(_property.java:71)
	at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1068)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:543)
	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
	at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
	at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:225)
	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:639)
	at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:188)
	at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:163)
       [...]


(3) Trying to view some of the pages of our imported website in the
preview fails with an exception:

java.lang.NullPointerException
 at org.opencms.flex.CmsFlexController.updateRequestContextInfo(CmsFlexController.java:685)
 at org.opencms.flex.CmsFlexController.pop(CmsFlexController.java:586)
 at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:463)
 at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:167)
 at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:902)
 at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:522)
 at org.opencms.loader.A_CmsXmlDocumentLoader.load(A_CmsXmlDocumentLoader.java:224)
 at org.opencms.loader.CmsXmlContentLoader.load(CmsXmlContentLoader.java:44)
 at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1062)
 at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1598)
 at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)

Do these error messages look familiar to anybody?

Thanks for any hint.



More information about the opencms-dev mailing list