orbeon liferay Portal session issue

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

orbeon liferay Portal session issue

thumma
Hi All,

I have orbeon 3.7.1 code deployed liferay portal(5.2) under tomcat 6 in INTEGRATED mode.

During initial login I keep information in session. But this information is not available when I access later(in XPL files, during submissions) within user session.

I tried to keep in both portlet scope and application scope, but could not get it.
I have in liferay-portlet.xml has following entries
<portlet>
             <portlet-name>OrbeonFormsPortlet</portlet-name>
        <instanceable>true</instanceable>
        <private-session-attributes>false</private-session-attributes>
        <private-request-attributes>false</private-request-attributes>
        <user-principal-strategy>screenName</user-principal-strategy>
</portlet>

Am I missing any otehr configuration.

I tried with following combinations for testing:
1. Applied filter in orbeon's and ROOT web.xml
    <filter>
        <filter-name>orbeon-xforms-filter</filter-name>
        <filter-class>org.orbeon.oxf.servlet.OrbeonXFormsFilter</filter-class>
        <init-param>
                <param-name>oxf.xforms.renderer.context</param-name>
                <param-value>/orbeon</param-value>
        </init-param>
     </filter>
2. Modified following servlet to have class-name as 'org.orbeon.oxf.portlet.OrbeonPortletDelegate'
    a. <servlet-name>orbeon-main-servlet</servlet-name>
    b. <servlet-name>orbeon-xforms-server-servlet</servlet-name>
    c. <servlet-name>orbeon-renderer-servlet</servlet-name>


Any suggestions please.

-Thumma
Reply | Threaded
Open this post in threaded view
|

Re: orbeon liferay Portal session issue

Alessandro Vernet
Administrator
Hi Thumma,

thumma wrote
I have orbeon 3.7.1 code deployed liferay portal(5.2) under tomcat 6 in INTEGRATED mode.

During initial login I keep information in session. But this information is not available when I access later(in XPL files, during submissions) within user session.

I tried to keep in both portlet scope and application scope, but could not get it.
I have in liferay-portlet.xml has following entries
<portlet>
             <portlet-name>OrbeonFormsPortlet</portlet-name>
        <instanceable>true</instanceable>
        <private-session-attributes>false</private-session-attributes>
        <private-request-attributes>false</private-request-attributes>
        <user-principal-strategy>screenName</user-principal-strategy>
</portlet>

Am I missing any otehr configuration.

I tried with following combinations for testing:
1. Applied filter in orbeon's and ROOT web.xml
    <filter>
        <filter-name>orbeon-xforms-filter</filter-name>
        <filter-class>org.orbeon.oxf.servlet.OrbeonXFormsFilter</filter-class>
        <init-param>
                <param-name>oxf.xforms.renderer.context</param-name>
                <param-value>/orbeon</param-value>
        </init-param>
     </filter>
2. Modified following servlet to have class-name as 'org.orbeon.oxf.portlet.OrbeonPortletDelegate'
    a. <servlet-name>orbeon-main-servlet</servlet-name>
    b. <servlet-name>orbeon-xforms-server-servlet</servlet-name>
    c. <servlet-name>orbeon-renderer-servlet</servlet-name>
Issues with portal servers and particular applications servers (other than Tomcat) are hard to tackle here on the mailing list. They often require us to reproduce the exact situation you have, which can be quite time consuming. There is only so much time in any given day we can spend on helping the community, so more often than not, we can only take care of issues related to portal servers and specific application servers for our clients who have a support plan.

But maybe someone else in the community will be able to provide some guidance on this. And of course, we'd really like Orbeon Forms to work out of the box on as many application servers and portal servers as possible, so please let us know if you find a solution to this one!

Alex
Reply | Threaded
Open this post in threaded view
|

Re: orbeon liferay Portal session issue

sveta
In reply to this post by thumma
Hello thumma!
Check if you deleted file {tomcat}\webapps\orbeon\META-INF\context.xml.
If you haven't deleted it your information is lost.

Svetlana