[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Problem with setting up Terracotta 3.4.1  XML
Forum Index -> Terracotta for Web Sessions
Author Message
ltfngr

neo

Joined: 05/24/2011 12:17:08
Messages: 4
Location: Omaha, NE USA
Offline

I apologize if this is not the right forum for this question.

I currently have 2 Terracotta environments - production and development. In production, I have 2 servers running TC and it is working just fine. In the development, I have no issues with one TC server pointing to our staging servers. However, the second TC server will not connect to the servers, despite having the same configuration.

It is the secondary server, so we can still operate, but I am just perplexed on why this server cannot connect.

Does anyone have any suggestions as to what to check? I have no server firewall involved, as these are all in an internal VM environment.

Any help troubleshooting this would be appreciated.

David West
Server Systems Administrator II
Douglas-Omaha Technology Comm.
(402) 444-3509
dwest@dotcomm.org


CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
[WWW]
ari

seraphim

Joined: 05/24/2006 14:23:21
Messages: 1665
Location: San Francisco, CA
Offline

logs from the failing server would be helpful.

--Ari
[WWW]
ltfngr

neo

Joined: 05/24/2011 12:17:08
Messages: 4
Location: Omaha, NE USA
Offline

When I have this server set up as server2, I get errors saying the local interface is not found - it is looking for the local interface for server1, which is actually the working TC server on another box.

When I switch server1 and server2, I get this:

2011-05-31 12:25:21,706 [Update Checker] INFO com.tc.server.UpdateCheckAction - Update Checker: Next check at Tue Jun 07 12:25:21 CDT 2011
2011-05-31 12:26:15,854 [WorkerThread(group_discovery_stage, 3, 0)] WARN com.tc.net.groups.TCGroupMemberDiscoveryStatic - Node:Node{host=10.1.3.23:9510} not up. IOException occured:Connection refused
2011-05-31 12:27:17,835 [WorkerThread(group_discovery_stage, 2, 0)] WARN com.tc.net.groups.TCGroupMemberDiscoveryStatic - Node:Node{host=10.1.3.23:9510} not up. IOException occured:Connection refused
2011-05-31 12:28:17,947 [WorkerThread(group_discovery_stage, 3, 0)] WARN com.tc.net.groups.TCGroupMemberDiscoveryStatic - Node:Node{host=10.1.3.23:9510} not up. IOException occured:Connection refused
2011-05-31 12:29:18,060 [WorkerThread(group_discovery_stage, 0, 0)] WARN com.tc.net.groups.TCGroupMemberDiscoveryStatic - Node:Node{host=10.1.3.23:9510} not up. IOException occured:Connection refused
2011-05-31 12:30:18,172 [WorkerThread(group_discovery_stage, 1, 0)] WARN com.tc.net.groups.TCGroupMemberDiscoveryStatic - Node:Node{host=10.1.3.23:9510} not up. IOException occured:Connection refused
2011-05-31 12:31:18,287 [WorkerThread(group_discovery_stage, 2, 0)] WARN com.tc.net.groups.TCGroupMemberDiscoveryStatic - Node:Node{host=10.1.3.23:9510} not up. IOException occured:Connection refused
2011-05-31 12:32:18,401 [WorkerThread(group_discovery_stage, 3, 0)] WARN com.tc.net.groups.TCGroupMemberDiscoveryStatic - Node:Node{host=10.1.3.23:9510} not up. IOException occured:Connection refused
2011-05-31 12:33:18,511 [WorkerThread(group_discovery_stage, 0, 0)] WARN com.tc.net.groups.TCGroupMemberDiscoveryStatic - Node:Node{host=10.1.3.23:9510} not up. IOException occured:Connection refused
2011-05-31 12:34:18,626 [WorkerThread(group_discovery_stage, 1, 0)] WARN com.tc.net.groups.TCGroupMemberDiscoveryStatic - Node:Node{host=10.1.3.23:9510} not up. IOException occured:Connection refused
2011-05-31 12:35:18,740 [WorkerThread(group_discovery_stage, 2, 0)] WARN com.tc.net.groups.TCGroupMemberDiscoveryStatic - Node:Node{host=10.1.3.23:9510} not up. IOException occured:Connection refused
2011-05-31 12:36:18,850 [WorkerThread(group_discovery_stage, 3, 0)] WARN com.tc.net.groups.TCGroupMemberDiscoveryStatic - Node:Node{host=10.1.3.23:9510} not up. IOException occured:Connection refused
2011-05-31 12:37:18,962 [WorkerThread(group_discovery_stage, 0, 0)] WARN com.tc.net.groups.TCGroupMemberDiscoveryStatic - Node:Node{host=10.1.3.23:9510} not up. IOException occured:Connection refused
2011-05-31 12:38:19,080 [WorkerThread(group_discovery_stage, 1, 0)] WARN com.tc.net.groups.TCGroupMemberDiscoveryStatic - Node:Node{host=10.1.3.23:9510} not up. IOException occured:Connection refused

Here is a copy of the properties file, as it is now that causes the above error message:

<?xml version="1.0" encoding="UTF-8" ?>
<tc:tc-config xmlns:tc="http://www.terracotta.org/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.terracotta.org/schema/terracotta-4.xsd">
<tc-properties>
<property name="l2.nha.tcgroupcomm.reconnect.enabled" value="true" />
<property name="l2.nha.tcgroupcomm.reconnect.timeout" value="10000" />
<property name="l2.l1reconnect.enabled" value="true" />
<property name="l2.l1reconnect.timeout.millis" value="10000" />
</tc-properties>
<servers>
<server host="10.1.3.24" name="server1">
<data>/opt/terracotta/server-data</data>
<l2-group-port>9530</l2-group-port>
<dso>
<persistence>
<mode>permanent-store</mode>
</persistence>
</dso>
</server>
<server host="10.1.3.23" name="server2">
<data>/opt/terracotta/server-data</data>
<l2-group-port>9530</l2-group-port>
<dso>
<persistence>
<mode>permanent-store</mode>
</persistence>
</dso>
</server>
<mirror-groups>
<mirror-group group-name="group1">
<members>
<member>server1</member>
<member>server2</member>
</members>
</mirror-group>
</mirror-groups>
<ha>
<mode>networked-active-passive</mode>
<networked-active-passive>
<election-time>5</election-time>
</networked-active-passive>
</ha>
<update-check>
<enabled>true</enabled>
</update-check>
</servers>
<application>
<dso>
<additional-boot-jar-classes>
<include>java.util.HashMap$ValuesCollectionWrapper</include>
</additional-boot-jar-classes>
</dso>
</application>
</tc:tc-config>


David West
Server Systems Administrator II
Douglas-Omaha Technology Comm.
(402) 444-3509
dwest@dotcomm.org


CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
[WWW]
Dckc

master

Joined: 09/08/2010 09:00:39
Messages: 59
Offline

Hi all,

I am getting the same error, the client tryes to connect but the connection is refused, I am using terracotta 3.60.0

TCGroupMemberDiscoveryStatic - Node:Node{host=xxxx:9510} not up. IOException occured:Connection refused: no further information

Has everyone found the cause of this?

thank you.

Daniel
 
Forum Index -> Terracotta for Web Sessions
Go to:   
Powered by JForum 2.1.7 © JForum Team