Sorry, that confused you. I'm using MyFaces 1.1.0 under WEB-INF/lib Thanks, Yura.
-----Original Message----- From: Yura.Tkachenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 29, 2006 10:39 PM To: 'MyFaces Discussion' Subject: RE: Request bean have been stored to session I'm using myfaces 1.1.1 Thanks, Yura. -----Original Message----- From: Dennis Byrne [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 29, 2006 10:32 PM To: MyFaces Discussion Subject: Re: Request bean have been stored to session Which version of MyFaces is this? Do you have myFaces under WEB-INF/lib ? or under tomcat's jsf-libs dir ? Dennis Byrne >-----Original Message----- >From: Yura.Tkachenko [mailto:[EMAIL PROTECTED] >Sent: Wednesday, March 29, 2006 02:23 PM >To: 'MyFaces Discussion' >Subject: Request bean have been stored to session > >Hi, All > > > >I have a few doubts moments in the JSF request beans. > > > >I used request JSF bean and also cluster based on JBoss4.0.3SP1 so all my >requests are always serialize session for server. But I always got exception >like this: > > > >2006-03-29 19:10:58,258 INFO [STDOUT] java.io.NotSerializableException: >com.nsite.wsbuilder.ManageStep4 > >2006-03-29 19:10:58,258 INFO [STDOUT] at >java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054) > >2006-03-29 19:10:58,258 INFO [STDOUT] at >java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224) > >2006-03-29 19:10:58,259 INFO [STDOUT] at >java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050) > >2006-03-29 19:10:58,259 INFO [STDOUT] at >java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224) > >2006-03-29 19:10:58,259 INFO [STDOUT] at >java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050) > >2006-03-29 19:10:58,259 INFO [STDOUT] at >java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278) > >2006-03-29 19:10:58,259 INFO [STDOUT] at >java.util.ArrayList.writeObject(ArrayList.java:529) > >2006-03-29 19:10:58,260 INFO [STDOUT] at >sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source) > > > >So someone trys to pass request bean to session. I didn't use tomahawk's >component saveState and others special component to store view. > >Could you please help me to investigate this issue, here is my configuration >for JSF: > > > ><!-- configuration to optimize --> > > <context-param> > > <param-name>javax.faces.STATE_SAVING_METHOD</param-name> > > <param-value>server</param-value> > > <description> > > State saving method: "client" or "server" (= default) > > See JSF Specification 2.5.2 > > </description> > > </context-param> > > > > <context-param> > > ><param-name>org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION</param-name> > > <param-value>20</param-value> > > <description> > > Only applicable if state saving method is "server" (= >default). > > Defines the amount (default = 20) of the latest views are >stored in session. > > </description> > > </context-param> > > > > <context-param> > > ><param-name>org.apache.myfaces.SERIALIZE_STATE_IN_SESSION</param-name> > > <param-value>false</param-value> > > <description> > > Only applicable if state saving method is "server" (= >default). > > If true (default) the state will be serialized to a byte >stream before it > > is written to the session. > > If false the state will not be serialized to a byte stream. > > </description> > > </context-param> > > > > <context-param> > > ><param-name>org.apache.myfaces.COMPRESS_STATE_IN_SESSION</param-name> > > <param-value>false</param-value> > > <description> > > Only applicable if state saving method is "server" (=default) >and if > > org.apache.myfaces.SERIALIZE_STATE_IN_SESSION is true (= >default) > > If true (default) the serialized state will be compressed >before it > > is written to the session. If false the state will not be >compressed. > > </description> > > </context-param> > > > > > >Thanks, > >Yura Tkachenko > >Murano Software Kharkov, Ukraine > >mailto: <mailto:[EMAIL PROTECTED]> >[EMAIL PROTECTED] > > <http://www.muranosoft.com> http://www.muranosoft.com > > > > > >