mike1988 wang:
I'm using liferay portal 4.2.1 with jboss+tomcat. i have successful deployed portlet along with servlet. when i have logged into my portal page and was trying to invoke my servlet page it tells me the user's session is null which stop my program from running. But when i logged in with a user id and password jboss must have created a session object for me. Does anyone knows what's going on?
thank you
Hi Mike,
I also faced same problem in my application.
I made private-session-attributes false, to make liferay session attributes available to my portlets. Its working fine.
But because of this, I am not getting session attributes in my servlet.
In one of my portlet I am opening window popup. For that I am using a servlet.
In that servlet I want session attributes which I already set in my portlets.
But I am not getting session attributes.
I followed ur sugestion given in
LEP-2297 .
Now I am using Liferay 4.3.3.1 and Jboss.
In liferay kernel I am using PortalDelegateServlet, PortalDelegatorServlet for this purpose.
But it is giving 405 error.
Really I stucked here, will u please help
Please sign in to flag this as inappropriate.