This isn't going to solve your problem, but first, in the cache config file,
make sure SyncReplTimeout is at least of few seconds longer than
LockAcquisitionTimeout.
If you do that, and you get the same exception (look at the details of the
error message; it's important) then you need to start
GREAT solution sir...it worksAs per your suggestions, i commented a line in
the code. Now its not displaying the error.
I changed CacheMode to REPL_SYNC in tc5-cluster-service.xml to check whether
session is replicating or not. It waits for sometime and displays following in
node1
14
"[EMAIL PROTECTED]" wrote : Saying it implements Serializable is insufficient;
all of its fields must also implement Serializable or be declared transient.
Somewhere in the DmWebSession's object graph there is a non-transient reference
to the session itself (aka org.apache.catalina.session.Sta
Actually DMWebSession which extends UserSession is having inner classes. They
are also Serialized. There are 4 to 5 inner classes and each inner class
contains public static final String variables.
Following is my DMWebSession classI am creating the object of this and
calling from login.js
Your DmWebSession class must be your problem then. Saying it implements
Serializable is insufficient; all of its fields must also implement
Serializable or be declared transient. Somewhere in the DmWebSession's object
graph there is a non-transient reference to the session itself (aka
org.apach
Yes, I created HttpSessionAttributeListener. It is displaying the names and
values what ever i set in the session. In my case i am setting 2 things in the
session in login page.
1. DMSession class which extends UserSession class which implements
serializable.
2. A boolean variable in the DMSes
Did you create and deploy the HttpSessionAttributeListener?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036386#4036386
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036386
___
And also when i set tag in web.xml then it displays that
NotSerializableException message...The above message.
I again tried step by step..i found here. Whar could be the reason?
-Kishor.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036340#4036340
Reply
I tried but not solved. My login.jsp contains a class which is Serialized then
also giving the above problem when i say localhost/timbermine
Following are the steps which i followed...
1. Downloaded a fresh jboss-4.0.2.
2. copied all and saved as node1
3. Followed the steps given in
site...http
Thanks alot for replying. i think this would be a nice suggestion, Stans. Will
try this and get back to u.
-Kishor.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035874#4035874
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=r
Some code is calling HttpSession.setAttribute and passing a non-serializable
attribute as the attribute value. In this case it looks to be a reference to
the session itself.
Suggest you write an javax.servlet.http.HttpSessionAttributeListener
implementation and have it analyze (i.e. try to seri
11 matches
Mail list logo