This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JBoss and the fly likes Issue caused by distributable tag on web.xml on JBOSS Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "Issue caused by distributable tag on web.xml on JBOSS" Watch "Issue caused by distributable tag on web.xml on JBOSS" New topic
Author

Issue caused by distributable tag on web.xml on JBOSS

skm mishra
Greenhorn

Joined: Sep 04, 2010
Posts: 2
Hi,

I am trying to implement the HttpSession replication in one of the app. For this i entered <distributable/> on web.xml. After this, app is throwing following error. Removing <distributable/> tag from web.xml, works fine for the app. I searched the jboss forum, but couldn't get the solution.

The exception while loading the login page. All values set in the session already implemented the Serializable interface

I need to get rid from this ASAP !!


Jboss : EnterprisePlatform-4.3.0.GA

framework : Struts


Error:

java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute at org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1293) at org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1254) at org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:130) at org.mwolff.struts.back.BackRequestProcessor.processActionPerform(BackRequestProcessor.java:120) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619)
ravikanth reddy
Ranch Hand

Joined: Aug 18, 2009
Posts: 43
Is your servers are running in clustered mode? How you have created your instance by using default or all configuration.


Ravikanth Malyala
skm mishra
Greenhorn

Joined: Sep 04, 2010
Posts: 2
Yes, the environment, web app deployed is clustered one. I tried to deploy default. all and prod settings.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Issue caused by distributable tag on web.xml on JBOSS
 
Similar Threads
struts 1.2 problem
java.lang.IllegalStateException: Trying to return an unknown connection2! in jboss
JBoss 5.1 throwing error for missing jsp files in /WEB-INF folder
EJB unable to access class under war's WEB-INF/classes (ear deployment)
Unsupported JNDI Object