Author |
Message |
03/10/2011 10:38:26
|
gykwok
journeyman
Joined: 10/29/2010 15:03:14
Messages: 42
Offline
|
Hi all,
I ran a random test. After a while, I got the below error and the TC server dies.
Could you tell me what this message mean and why am I getting this message? Thank you, Grace
S:\terracotta\bin>start-tc-server -f S:\terracotta\tc-config.xml -n Server1
2011-03-10 00:30:52,262 INFO - Terracotta 3.4.0, as of 20101104-141156 (Revision
16614 by cruise@su10mo4 from 3.4)
2011-03-10 00:30:53,090 INFO - Successfully loaded base configuration from file
at 'S:\terracotta\tc-config.xml'.
2011-03-10 00:30:53,387 INFO - Log file: 'Y:\var\log\terracottaLog\server1\serve
r-logs\terracotta-server.log'.
2011-03-10 00:30:56,450 INFO - Available Max Runtime Memory: 490MB
2011-03-10 00:30:59,965 INFO - JMX Server started. Available at URL[service:jmx:
jmxmp://0.0.0.0:9520]
2011-03-10 00:31:07,184 INFO - Becoming State[ ACTIVE-COORDINATOR ]
2011-03-10 00:31:07,215 INFO - Terracotta Server instance has started up as ACTI
VE node on 0.0.0.0:9510 successfully, and is now ready for work.
java.lang.AssertionError: ManagedObjectImpl
+--> identityHashCode: 53445334
+--> id: ObjectID=[2119]
+--> className: com.terracotta.toolkit.collections.ConcurrentDistributedMapD
so
+--> version:664632
+--> state: MapManagedObjectState
| +--> references: TCPersistableMap(2119)={ Map.size() = 1173, delta.size
() = 1, removeCount = 0 }
+--> isDirty:true +--> isNew:false +--> isReferenced:true
+--> next: false prev: false is DIRTY
at com.tc.objectserver.impl.ObjectManagerImpl.removeReferenceIfNecessary
(ObjectManagerImpl.java:796)
at com.tc.objectserver.impl.ObjectManagerImpl.basicRelease(ObjectManager
Impl.java:760)
at com.tc.objectserver.impl.ObjectManagerImpl.releaseAllAndCommit(Object
ManagerImpl.java:661)
at com.tc.objectserver.tx.ServerTransactionManagerImpl.commit(ServerTran
sactionManagerImpl.java:387)
at com.tc.objectserver.handler.CommitTransactionChangeHandler.handleEven
t(CommitTransactionChangeHandler.java:31)
at com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:127)
S:\terracotta\bin>
|
|
|
03/10/2011 11:16:35
|
mgovinda
journeyman
Joined: 10/16/2007 12:32:55
Messages: 30
Offline
|
Can you share the full server and client log please ?
|
|
|
03/11/2011 10:14:56
|
gykwok
journeyman
Joined: 10/29/2010 15:03:14
Messages: 42
Offline
|
Hi,
I attached a shorten version of the logs from the point when the issue occurred. Sorry, if you really need the entire logs, I will see what I can do. Let me know.
Thanks.
Filename |
terracotta-server_shortened.log.1 |
Download
|
Description |
|
Filesize |
10168 Kbytes
|
Downloaded: |
135 time(s) |
Filename |
terracotta-client_shortened.log.1 |
Download
|
Description |
|
Filesize |
9 Kbytes
|
Downloaded: |
270 time(s) |
|
|
|
03/16/2011 23:19:12
|
ssubbiah
jedi
Joined: 05/24/2006 14:25:22
Messages: 117
Location: Saravanan Subbiah
Offline
|
I have created a Jira to track this.
https://jira.terracotta.org/jira/browse/CDV-1563
If you have a reproducible test case, please add it to the jira.
|
Saravanan Subbiah
Terracotta Engineer |
|
|
04/26/2011 04:57:08
|
ssubbiah
jedi
Joined: 05/24/2006 14:25:22
Messages: 117
Location: Saravanan Subbiah
Offline
|
This problem should be fixed in trunk and 3.5 line. The next release 3.5.2 should contain the fix.
|
Saravanan Subbiah
Terracotta Engineer |
|
|
04/27/2011 08:03:48
|
lnelson
neo
Joined: 09/17/2008 19:02:12
Messages: 8
Offline
|
ssubbiah wrote:
This problem should be fixed in trunk.
The Jira mentions "workaround available". We've just had a production failure with this error. What's the workaround?
edit: thanks for the response ssubbiah, unfortunately we are using web sessions
|
|
|
04/27/2011 09:53:02
|
ssubbiah
jedi
Joined: 05/24/2006 14:25:22
Messages: 117
Location: Saravanan Subbiah
Offline
|
The workaround is to run all your distributed Ehcache in "DCV2" mode and not in "classic" mode. The work around is only available for distributed Ehcache usecase.
|
Saravanan Subbiah
Terracotta Engineer |
|
|
|