aspose file tools
The moose likes Portals and Portlets and the fly likes Spring MVC Portlet - session attribute required exception Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Reply Bookmark "Spring MVC Portlet - session attribute required exception" Watch "Spring MVC Portlet - session attribute required exception" New topic
Author

Spring MVC Portlet - session attribute required exception

Maria Laxmi
Ranch Hand

Joined: Aug 08, 2008
Posts: 40
HI,

I have a portlet developed using Spring MVC portlet. Recently we are seeing a lot of exceptions to get the command object from the session.
The exception is "Session attribute 'commondObjectName' required - not found in session".
We can not reproduce this in any of our local environments. This happens only in production. We can't find an exact test-case to reproduce it. Once we were able to reproduce it from FireFox browser but at the same time were not able to reproduce the same exception using other browsers (IE, chrome). One more thing, even if you see this exception in the log, nothing gets wrong on the page. The user experience is fine. It's just that the log file is getting cluttered with this exception and wants to get rid of it.

Does any one have any idea about this exception?

Thanks,
zrdegree Thakur
Greenhorn

Joined: Jun 06, 2012
Posts: 1
Maria Laxmi wrote:HI,

I have a portlet developed using Spring MVC portlet. Recently we are seeing a lot of exceptions to get the command object from the session.
The exception is "Session attribute 'commondObjectName' required - not found in session".
We can not reproduce this in any of our local environments. This happens only in production. We can't find an exact test-case to reproduce it. Once we were able to reproduce it from FireFox browser but at the same time were not able to reproduce the same exception using other browsers (IE, chrome). One more thing, even if you see this exception in the log, nothing gets wrong on the page. The user experience is fine. It's just that the log file is getting cluttered with this exception and wants to get rid of it.

Does any one have any idea about this exception?

Thanks,



I've the same setup, spring MVC portlet on liferay running on weblogic 10.3.5 and getting the same error "Session attribute ' ' required - not found in session"...I dont get this error if I choose to work with tomcat or weblogic 9.2.
Please help with the solution you have tried.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Spring MVC Portlet - session attribute required exception
 
Similar Threads
A web framework for JSR 286 portlets
Spring portlet MVC forms, multipart data and servlets?
Websphere Portal - Test 399
Portals in Action - Question
Test 399: IBM WebSphere Portal V5.1, Application Development