Liferay deployment problem

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Liferay deployment problem

Artti
Hi,

I checked out the newest 3.5 M1 tag from CVS, made a build, renamed epilogue-portlet-liferay.xpl to epilogue-portlet.xpl, removed portlet-api_1.0.jar from WEB-INF/lib, added liferay-portlet.xml and liferay-display.xml.

Still I get following exception when I deploy the war:

9.11.2006 16:32:17 org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter ops-main-filter
java.lang.ExceptionInInitializerError
        at org.orbeon.oxf.xml.TomcatClasspathFix.<clinit>(TomcatClasspathFix.java:131)
        at org.orbeon.oxf.webapp.WebAppContext.<clinit>(WebAppContext.java:43)
        at org.orbeon.oxf.servlet.OPSServletFilterDelegate.init(OPSServletFilterDelegate.java:44)
        at org.orbeon.oxf.servlet.OPSServletFilter.init(OPSServletFilter.java:49)
        at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:223)


And when I deploy the simple portlet, I get this error:

> Cannot load "/portlet/simple/config/page-flow.xml" with webapp loader


I'm probably missing something, so all help is really appreciated. :)



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Liferay deployment problem

Artti
Hi

I forgot to mention that I'm using Tomcat 5.5.17 and Liferay 4.1.2 in Windows XP Professional. Java SDK is from Sun and version is 1.5.0_09.



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Liferay deployment problem

Erik Bruchez
Administrator
In reply to this post by Artti
In your web.xml, try commenting out ops-main-filter. I am not sure why
this is being called in your case.

The second error probably occurs because you don't have, under
WEB-INF/resources, a directory containing:

   /portlet/simple/config/page-flow.xml

This is specified in your portlet.xml. Make sure your portlet.xml points
to a page-flow.xml that exists.

-Erik

[hidden email] wrote:

> Hi,
>
> I checked out the newest 3.5 M1 tag from CVS, made a build, renamed epilogue-portlet-liferay.xpl to epilogue-portlet.xpl, removed portlet-api_1.0.jar from WEB-INF/lib, added liferay-portlet.xml and liferay-display.xml.
>
> Still I get following exception when I deploy the war:
>
> 9.11.2006 16:32:17 org.apache.catalina.core.StandardContext filterStart
> SEVERE: Exception starting filter ops-main-filter
> java.lang.ExceptionInInitializerError
>         at org.orbeon.oxf.xml.TomcatClasspathFix.<clinit>(TomcatClasspathFix.java:131)
>         at org.orbeon.oxf.webapp.WebAppContext.<clinit>(WebAppContext.java:43)
>         at org.orbeon.oxf.servlet.OPSServletFilterDelegate.init(OPSServletFilterDelegate.java:44)
>         at org.orbeon.oxf.servlet.OPSServletFilter.init(OPSServletFilter.java:49)
>         at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:223)
>
>
> And when I deploy the simple portlet, I get this error:
>
>> Cannot load "/portlet/simple/config/page-flow.xml" with webapp loader
>
>
> I'm probably missing something, so all help is really appreciated. :)
--
Orbeon Forms - XForms Everywhere
http://www.orbeon.com/blog/




--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Liferay deployment problem

Artti
> The second error probably occurs because you don't have,
> under WEB-INF/resources, a directory containing:
>
> /portlet/simple/config/page-flow.xml
>
> This is specified in your portlet.xml. Make sure your
> portlet.xml points to a page-flow.xml that exists.


Thanks for your advice. :)

Is this page-flow.xml file somewhere in CVS? I'm trying to get the portlet examples in Orbeon to work.



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Liferay deployment problem

Erik Bruchez
Administrator
[hidden email] wrote:

>> The second error probably occurs because you don't have,
>> under WEB-INF/resources, a directory containing:
>>
>> /portlet/simple/config/page-flow.xml
>>
>> This is specified in your portlet.xml. Make sure your
>> portlet.xml points to a page-flow.xml that exists.
>
>
> Thanks for your advice. :)
>
> Is this page-flow.xml file somewhere in CVS? I'm trying to get the portlet examples in Orbeon to work.
There is really nothing particular to that page flow: it's just your
portlet's page flow. You can create a simple one with a simple page
view, for example:

<config xmlns="http://www.orbeon.com/oxf/controller">
     <page path-info="*" view="view.xhtml"/>
     <epilogue url="oxf:/config/epilogue.xpl"/>
</config>

-Erik

--
Orbeon Forms - XForms Everywhere
http://www.orbeon.com/blog/



--
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