R: [ops-users] Liferay 4.1.3 integration problem
Hi Erik,
I'm using Orbeon 3.5M1.
The my Orbeon Portlets war deployment structure is:
WEB-INF
lib -> All lib directory of Orbeon war (without portlet-api.jar, I use Liferay Portlet)
resource -> with page-flow.xml (with <epilogue url="oxf:/config/epilogue-portlet-liferay.xpl"/>)
and view.xhtml
config -> the config directory of Orbeon war
tld -> tld directory with liferay-portlet.tld
liferay-display.xml
liferay-portlet.xml
portlet.xml
web.xml
PS: The Liferay files are necessary for hot deployment in liferay
Marco
-----Messaggio originale-----
Da: Erik Bruchez [[hidden email]]
Inviato: lunedì 12 febbraio 2007 16.23
A: [hidden email]
Oggetto: Re: [ops-users] Liferay 4.1.3 integration problem
Marco,
What version of Orbeon Forms are you using?
-Erik
Bottone Marco wrote:
> Hi all,
>
> I'm trying to run the OPSPortlet in Liferay 4.1.3 running on Tomcat 5.5.17.
> The portlet is found by "Add Content" in Liferay, but when add it i
> have this error:
> //
> .....
>
> Caused by: java.lang.NullPointerException
> at
> org.orbeon.oxf.pipeline.InitUtils.createProcessor(InitUtils.java:135)
>
> at
> org.orbeon.oxf.webapp.ProcessorService.init(ProcessorService.java:76)
>
> at
> org.orbeon.oxf.portlet.OPSPortletDelegate.init(OPSPortletDelegate.jav
> a:110)
> ... 131 more
>
> .....
>
>
> The portlet.xml is
>
>
> <portlet-app>
>
> <portlet>
>
> <portlet-name>OrbeonFormsPortlet</portlet-name>
>
> <portlet-class>org.orbeon.oxf.portlet.OPSPortlet</portlet-class>
>
> <init-param>
>
> <name>oxf.main-processor.name</name>
>
> <value>{http://www.orbeon.com/oxf/processors}page-flow</value>
>
> </init-param>
>
> <init-param>
>
> <name>oxf.main-processor.input.controller</name>
>
> <value>oxf:/page-flow.xml</value>
>
> </init-param>
>
> <init-param>
>
> <name>oxf.error-processor.name</name>
>
> <value>{http://www.orbeon.com/oxf/processors}pipeline</value>
>
> </init-param>
>
> <init-param>
>
> <name>oxf.error-processor.input.config</name>
>
> <value>oxf:/config/error.xpl</value>
>
> </init-param>
>
> <supports>
>
> <mime-type>text/html</mime-type>
>
> </supports>
>
> <portlet-info>
>
> <title>Sample Orbeon Forms Portlet</title>
>
> <short-title>Sample Orbeon Forms Portlet</short-title>
>
> </portlet-info>
>
> </portlet>
>
> </portlet-app>
>
>
>
> and the web.xml
>
> <?xml version="1.0"?>
>
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
> Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
>
> <web-app>
>
> <display-name>OrbeonFormsPortlet</display-name>
>
> <context-param>
>
> <param-name>company_id</param-name>
>
> <param-value>liferay.com</param-value>
>
> </context-param>
>
> <listener>
>
> <listener-class>com.liferay.portal.kernel.servlet.PortletContextListen
> er</listener-class>
>
>
> </listener>
>
> <servlet>
>
> <servlet-name>OrbeonFormsPortlet</servlet-name>
>
> <servlet-class>com.liferay.portal.kernel.servlet.PortletServlet</servl
> et-class>
>
> <init-param>
>
> <param-name>portlet-class</param-name>
>
> <param-value>org.orbeon.oxf.portlet.OPSPortlet</param-value>
>
> </init-param>
>
> <load-on-startup>1</load-on-startup>
>
> </servlet>
>
> <context-param>
>
> <param-name>oxf.resources.factory</param-name>
>
> <param-value>org.orbeon.oxf.resources.PriorityResourceManagerFactory</
> param-value>
>
>
> </context-param>
>
> <context-param>
>
> <param-name>oxf.resources.webapp.rootdir</param-name>
>
> <param-value>/WEB-INF/resources</param-value>
>
> </context-param>
>
> <context-param>
>
> <param-name>oxf.resources.priority.1</param-name>
>
> <param-value>org.orbeon.oxf.resources.WebAppResourceManagerFactory</pa
> ram-value>
>
> </context-param>
>
> <context-param>
>
> <param-name>oxf.resources.priority.2</param-name>
>
> <param-value>org.orbeon.oxf.resources.ClassLoaderResourceManagerFactor
> y</param-value>
>
> </context-param>
>
> <context-param>
>
> <param-name>oxf.properties</param-name>
>
> <param-value>oxf:/config/properties.xml</param-value>
>
> </context-param>
>
> <context-param>
>
> <param-name>oxf.main-processor.name</param-name>
>
> <param-value>{http://www.orbeon.com/oxf/processors}page-flow</param-va
> lue>
>
> </context-param>
>
> <context-param>
>
> <param-name>oxf.main-processor.input.controller</param-name>
>
> <param-value>oxf:/page-flow.xml</param-value>
>
> </context-param>
>
> <servlet>
>
> <servlet-name>oxf</servlet-name>
>
> <servlet-class>org.orbeon.oxf.servlet.OXFServlet</servlet-class>
>
> <load-on-startup>1</load-on-startup>
>
> </servlet>
>
> <servlet-mapping>
>
> <servlet-name>oxf</servlet-name>
>
> <url-pattern>/</url-pattern>
>
> </servlet-mapping>
>
> <taglib>
>
> <taglib-uri>http://java.sun.com/portlet</taglib-uri>
>
> <taglib-location>/WEB-INF/tld/liferay-portlet.tld</taglib-location>
>
> </taglib>
>
> </web-app>
>
>
>
> Any idea?
>
>
>
> Thanks in advance
>
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws