[JBoss-user] [Clustering/JBoss] - Re: Strange exception in HTTP-Session replication

2005-12-17 Thread [EMAIL PROTECTED]
anonymous wrote : 
  | Maybe this happens if I try to modify a HashMap that is stored in the 
ClusteredSession object while it is replicated?!

There was no synchronization on the attribute Map itself while it was being 
serialized for replication, so concurrently adding/removing an attribute could 
raise an exception.  This is a bug in 4.0.3 and 4.0.3SP1, see 
http://jira.jboss.com/jira/browse/JBAS-2571.  This is fixed in CVS.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3913239#3913239

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913239


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Strange exception in HTTP-Session replication

2005-11-17 Thread pflapf
Hi!
Has anyone an idea on that problem?


I also found the following exception and I'm wondering if both belong together 
in any way ...

09:39:18,926 INFO  [STDOUT] java.util.ConcurrentModificationException
09:39:18,928 INFO  [STDOUT] at 
java.util.HashMap$HashIterator.nextEntry(HashMap.java:782)
09:39:18,928 INFO  [STDOUT] at 
java.util.HashMap$EntryIterator.next(HashMap.java:824)
09:39:18,928 INFO  [STDOUT] at 
java.util.HashMap.writeObject(HashMap.java:978)
09:39:18,928 INFO  [STDOUT] at 
sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
09:39:18,929 INFO  [STDOUT] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
09:39:18,929 INFO  [STDOUT] at 
java.lang.reflect.Method.invoke(Method.java:324)
09:39:18,929 INFO  [STDOUT] at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
09:39:18,929 INFO  [STDOUT] at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
09:39:18,929 INFO  [STDOUT] at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
09:39:18,930 INFO  [STDOUT] at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
09:39:18,930 INFO  [STDOUT] at 
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
09:39:18,930 INFO  [STDOUT] at 
org.jboss.web.tomcat.tc5.session.SessionBasedClusteredSession.writeExternal(SessionBasedClusteredSession.
java:288)
09:39:18,930 INFO  [STDOUT] at 
org.jboss.web.tomcat.tc5.session.JBossCacheService.externalizeSession(JBossCacheService.java:771)
09:39:18,930 INFO  [STDOUT] at 
org.jboss.web.tomcat.tc5.session.JBossCacheService.putSession(JBossCacheService.java:229)
09:39:18,930 INFO  [STDOUT] at 
org.jboss.web.tomcat.tc5.session.SessionBasedClusteredSession.processSessionRepl(SessionBasedClusteredSes
sion.java:165)
09:39:18,931 INFO  [STDOUT] at 
org.jboss.web.tomcat.tc5.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:606)
09:39:18,931 INFO  [STDOUT] at 
org.jboss.web.tomcat.tc5.session.JBossCacheManager.storeSession(JBossCacheManager.java:375)
09:39:18,931 INFO  [STDOUT] at 
org.jboss.web.tomcat.tc5.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:38)
09:39:18,931 INFO  [STDOUT] at 
org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:91)
09:39:18,931 INFO  [STDOUT] at 
org.jboss.web.tomcat.tc5.session.JvmRouteValve.invoke(JvmRouteValve.java:73)
09:39:18,931 INFO  [STDOUT] at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
09:39:18,932 INFO  [STDOUT] at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
09:39:18,932 INFO  [STDOUT] at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
09:39:18,932 INFO  [STDOUT] at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
09:39:18,932 INFO  [STDOUT] at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
09:39:18,932 INFO  [STDOUT] at 
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
09:39:18,933 INFO  [STDOUT] at 
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
09:39:18,933 INFO  [STDOUT] at 
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
09:39:18,933 INFO  [STDOUT] at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
09:39:18,933 INFO  [STDOUT] at 
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
09:39:18,933 INFO  [STDOUT] at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
09:39:18,933 INFO  [STDOUT] at java.lang.Thread.run(Thread.java:534)


Maybe this happens if I try to modify a HashMap that is stored in the 
ClusteredSession object while it is replicated?!

Thanks in advance,

Dirk :)

p.s. this exception occured running only ONE node

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3907588#3907588

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3907588


---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Strange exception in HTTP-Session replication

2005-11-11 Thread pflapf
Yes, without problems, just need to start both nodes:

12:44:50,211 ERROR [IdentityLock] read lock for 
/JSESSION/localhost/ROOT/gcTJP89MyXji07wLwJgkGA** could not be acquired by 
Thread[TP-Process
or2,5,jboss] after 15000 ms. Locks: Read lock owners: []
Write lock owner: 192.168.130.63:7850:2
, lock info: write owner=192.168.130.63:7850:2 (activeReaders=0, 
activeWriter=Thread[TP-Processor2,5,jboss], waitingReaders=0, waitingWrit
ers=0, waitingUpgrader=0)

Dirk

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3906791#3906791

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3906791


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Strange exception in HTTP-Session replication

2005-11-03 Thread [EMAIL PROTECTED]
This is unusual. Should not happen. Can you reproduce it?

-Ben

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3905305#3905305

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3905305


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user