Jules Gosnell wrote:
Joao,
I'm sure I checked this fix in - maybe it is on another branch - I will have a look tonight.
Apart from this fix, ar you experiencing any other problems ?
Jules
The fix is in Branch_3_0 now.
Jules
Joao Pedro Clemente wrote:hmmm... the default one? Jetty? From todays CVS (jboss-3.0, branch_3_0)Hello, Which HTTP Session implementation do you use?
A quick notice:
Jboss is unable to sync sessions, as Rick LaBanca already pointed out and
also sugested a fix:
This would be the cenario:
A starts and replyes to a couple of requests
B starts
A fails to ync state with B, showing this log:
12:17:04,113 INFO [JGStore] initialising another store from our current
state
12:17:04,113 INFO [JGStore] sending 2 sessions
12:17:04,183 ERROR [JGStore] Unable to getState from JavaGroups:
java.io.NotSerializableException: org.mortbay.j2ee.session.LocalState
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
at
java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050)
at
java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
at org.javagroups.util.Util.objectToByteBuffer(Util.java:53)
at org.mortbay.j2ee.session.JGStore.getState(JGStore.java:219)
at
org.javagroups.blocks.MessageDispatcher$ProtocolAdapter.passUp(MessageDispatcher.java:435
)
at
org.javagroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:280)
at
org.javagroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:488)
at org.javagroups.JChannel.up(JChannel.java:944)
at org.javagroups.stack.ProtocolStack.up(ProtocolStack.java:296)
at
org.javagroups.stack.ProtocolStack.receiveUpEvent(ProtocolStack.java:312)
at org.javagroups.stack.Protocol.passUp(Protocol.java:366)
at
org.javagroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSFER.java:106)
at org.javagroups.stack.UpHandler.run(Protocol.java:50)
The fix proposed by Rick was to use
public class LocalState implements State, java.io.Serializable
intead of
public class LocalState implements State
in file LocalState.java
I've tested it and it seems to sync up now. Any problem with this aproach?
Joao Clemente
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user