Forums

angle-left Back

RE: Liferay 6.0.1 on OC4J = Operation failed with error: java.lang.NullPoin

JH
Johannes Hipp, modified 8 Years ago.

Liferay 6.0.1 on OC4J = Operation failed with error: java.lang.NullPointerE

Junior Member Posts: 38 Join Date: 2/6/10 Recent Posts
Hello,

have somebody deployed Liferay 6.0.1 successful on OC4J?

Version 5.2.3 is working fine,but when I try to deploy Version 6, I get this NullPoint error:
Operation failed with error: java.lang.NullPointerException

Thank you!

Best regards,
Johannes
JD
Joeri De Haes, modified 8 Years ago.

RE: Liferay 6.0.1 on OC4J = Operation failed with error: java.lang.NullPoin

New Member Posts: 19 Join Date: 6/21/07 Recent Posts
I got past that error by changing the webapp tag in the web.xml file to:
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">

Since, up until OC4J 10.1.3.5, the 2.5 web.xml standard ain't supported.

But I do get into trouble after that.

I'm getting JSP-0008 errors on the JSP's, stating that the Servlet output stream is null and that The Writer is closed...???
JH
Johannes Hipp, modified 8 Years ago.

RE: Liferay 6.0.1 on OC4J = Operation failed with error: java.lang.NullPoin

Junior Member Posts: 38 Join Date: 2/6/10 Recent Posts
Hmm I changed the web.xml and get this error now:


Operation failed with error: Error creating bean with name 'messageListener.layouts_local_publisher' defined in class path resource [META-INF/messaging-misc-spring.xml]: Cannot resolve reference to bean 'com.liferay.portal.kernel.messaging.sender.MessageSender' while setting bean property 'responseSender'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'com.liferay.portal.kernel.messaging.sender.MessageSender' is defined
JD
Joeri De Haes, modified 8 Years ago.

RE: Liferay 6.0.1 on OC4J = Operation failed with error: java.lang.NullPoin

New Member Posts: 19 Join Date: 6/21/07 Recent Posts
Didn't have that problem... sry

I did try to get it running on an OC4J 10.1.3.5 and to get it working on there I did need to replace my xml parser as described here

But again got the bugging JSP-0008 notifications
stating the error:
13:44:47,090 ERROR [InsertTag:922] ServletException in '/html/common/themes/portlet.jsp': The Writer is closed
javax.servlet.ServletException: The Writer is closed
        at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:899)
        at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:816)
        at _html._common._themes._portlet._jspService(_portlet.java:3298)
        at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
        at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:735)
        at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:425)
        at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
        at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
        at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:177)
        at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:68)
        at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:114)
        at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
        at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:119)
        at com.evermind.server.http.EvermindPageContext.include(EvermindPageContext.java:456)
        at com.evermind.server.http.EvermindPageContext.include(EvermindPageContext.java:409)
        at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:99)
        at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:135)
        at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:760)
        at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:892)
        at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462)
        at _html._portal._render__portlet._jspService(_render__portlet.java:1772)
        at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
        at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
        at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
        at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
        at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:177)
        at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:68)
        at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:114)
        at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
        at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:119)
        at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:3415)
        at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1063)
        at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:159)
        at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:93)
        at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:265)
        at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:179)
        at _html._portal._layout._view._portlet._jspService(_portlet.java:734)
        at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
        at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:735)
        at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:425)
        at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
        at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
        at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:177)
        at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:68)
        at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:114)
        at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
        at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:119)
        at com.liferay.portal.action.LayoutAction.includeLayoutContent(LayoutAction.java:338)
        at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:595)
        at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:217)
        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
        at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:152)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
        at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:625)
        at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:602)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:109)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:109)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
        at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:294)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:106)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:109)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
        at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:139)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:106)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:206)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:106)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
        at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:254)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:106)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
        at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:308)
        at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
        at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
        at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
        at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
        at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:134)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:109)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
        at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:47)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:106)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:109)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
        at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:242)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:106)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:109)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
        at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:128)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:106)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:206)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:106)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
        at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:213)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:106)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:109)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
        at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:387)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:106)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
        at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:254)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:106)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
        at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:308)
        at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
        at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
        at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
        at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
        at com.liferay.portal.servlet.I18nServlet.service(I18nServlet.java:101)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
        at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:308)
        at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
        at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
        at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
        at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
        at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:314)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:106)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:109)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:109)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
        at com.liferay.portal.servlet.filters.threadlocal.ThreadLocalFilter.processFilter(ThreadLocalFilter.java:37)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:106)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
        at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
        at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
        at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
        at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
        at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
        at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
        at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
        at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
        at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
        at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
        at java.lang.Thread.run(Thread.java:619)


Any dev out there that can help us out?