When one of the clients is killed the passive server throws an AssertionError
and goes down
-------------------------------------------------------------------------------------------
Key: CDV-471
URL: https://jira.terracotta.org/jira//browse/CDV-471
Project: Community Development
Issue Type: Bug
Components: DSO:L2
Affects Versions: 2.4.4
Reporter: Boyan Ivanov
Assignee: Issue Review Board
In active-passive mode, then one of the clients is killed, the passive server
goes down with this exception :
narabota2:~/terracotta-2.4.4/bin# sh start-tc-server.sh -f ../tc-config.xml
2007-10-16 13:22:42,966 INFO - Terracotta 2.4.4, as of 20071003-131012
(Revision 5783 by [EMAIL PROTECTED] from 2.4)
2007-10-16 13:22:44,319 INFO - Configuration loaded from the file at
'/root/terracotta-2.4.4/bin/../tc-config.xml'.
2007-10-16 13:22:44,398 INFO - Log file:
'/root/terracotta-2.4.4/bin/../logs/server2-logs/terracotta-server.log'.
2007-10-16 13:22:45,370 INFO - JMX Server started. Available at
URL[service:jmx:jmxmp://localhost:9520]
Oct 16, 2007 1:22:47 PM org.apache.catalina.tribes.transport.ReceiverBase bind
INFO: Receiver Server Socket bound to:/192.168.168.71:9530
2007-10-16 13:22:47,524 INFO - NodeID[tcp://192.168.168.70:9530] joined the
cluster
Oct 16, 2007 1:22:47 PM org.apache.catalina.tribes.io.BufferPool getBufferPool
INFO: Created a buffer pool with max size:104857600 bytes of
type:org.apache.catalina.tribes.io.BufferPool15Impl
2007-10-16 13:22:47,579 INFO - Moved to State[ PASSIVE-UNINITIALIZED ]
2007-10-16 13:22:47,930 INFO - Moved to State[ PASSIVE-STANDBY ]
java.lang.AssertionError: This should never be called.
at
com.tc.objectserver.tx.PassiveTransactionAccount.clientDead(PassiveTransactionAccount.java:73)
at
com.tc.objectserver.tx.ServerTransactionManagerImpl.shutdownClient(ServerTransactionManagerImpl.java:126)
at
com.tc.objectserver.handler.ChannelLifeCycleHandler.channelRemoved(ChannelLifeCycleHandler.java:67)
at
com.tc.objectserver.handler.ChannelLifeCycleHandler.handleEvent(ChannelLifeCycleHandler.java:52)
at com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:142)
The only way to have it back is to start it again.
Steps to reproduce :
start 2 servers
start 2 tomcat instances with
TC_CONFIG_PATH="192.168.168.71:9510,192.168.168.70:9510"
kill one of the tomcats and watch the logs of the passive server
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.terracotta.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev