This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts Commons File Upload Clustered environment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Commons File Upload Clustered environment" Watch "Struts Commons File Upload Clustered environment" New topic

Struts Commons File Upload Clustered environment

Sumanth Tarigopula

Joined: Feb 21, 2002
Posts: 15
We are running Weblogic 7.0 in a clustered environment and keep getting session replicate errors during file upload. We are using Struts Commons file upload package and the logs indicate some objects might not be serialized. Has anyone run into this issue? Looking into the struts source, an object FormFile within struts does not implement serializable. Is this the reason we are running into issues? Is there a work around for this problem?
Thanks and regards,
[ December 18, 2003: Message edited by: starigopula ]
Rick Hightower
Ranch Hand

Joined: Feb 20, 2002
Posts: 350
Change the Action mapping to use the ActionForm from Request scope. Then it would never try to replicate the form. (Session scope gets shared not Request scope.)

Rick Hightower is CTO of Mammatus which focuses on Cloud Computing, EC2, etc. Rick is invovled in Java CDI and Java EE as well. linkedin,twitter,blog
I agree. Here's the link:
subject: Struts Commons File Upload Clustered environment
jQuery in Action, 3rd edition