File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Java Products and Servers and the fly likes session attribute is not reflecting changes with option <session-config> in resin Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Other Java Products and Servers
Reply Bookmark "session attribute is not reflecting changes with option <session-config> in resin" Watch "session attribute is not reflecting changes with option <session-config> in resin" New topic
Author

session attribute is not reflecting changes with option <session-config> in resin

vani venkat
Ranch Hand

Joined: Nov 21, 2006
Posts: 142
hi
I am using session attribute to pass some parameters from one controller to other controller. since i have to use it in multiple controllers,I am using session attribute to store that information.
Application configuration: resin server, SPRING MVC framework.

following are parameters in resin.conf


in controller 1,


in controller 2,


in Controller 3.


Now the problem is in controller 3, imageuploadProps does not reflect changes made in controller 2 but it has attribute values from controller 1 only.


If I take off those session config parameters from resin.conf, it works absolutely fine and i get upto date properties. why is this not able to save session in controller 2 by using always-load-session and always-save-session?

please explain me if i have anything else missing in this.
thanks

SCJP 1.4, SCWCD 1.5
vani venkat
Ranch Hand

Joined: Nov 21, 2006
Posts: 142
Found the proble.
the Parent Class of Object that i am trying to put it in session is not serializble. However, child class is serialized. looks like even parent class needs to be serialized if it has to be stored in session. this solved my problem of getting latest up to date session attribute.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: session attribute is not reflecting changes with option <session-config> in resin
 
Similar Threads
How can I turn off URL-Rewriting of tomcat ? Thank you!
JNDI Port number issue while strating JBoss server 4.2.2.GA
Resin session help
Struts with Resin
Problem with Resin Load Balancing