Openfire 3.7.1 and Coherence 3.7.1: General questions

Hello,

I am trying to use clustering for testing purposes.

I have copied coherence.jar and coherence-work.jar.

The last file tangosol.jar isn’t existing anymore, it seems to be included into the coherence.jar.

My console is showing following information:

Starting Clustering Plugin

2012-02-09 17:34:58.094/7.766 Oracle Coherence 3.7.1.0 (thread=pool-8-thread-1, member=n/a): Loaded operational Configuration from “jar:file:/C:/Documents%20and%20Settings/a126380/Desktop/openfire/lib/coherence .jar!/tangosol-coherence.xml”

2012-02-09 17:34:58.141/7.813 Oracle Coherence 3.7.1.0 (thread=pool-8-thread-1, member=n/a): Loaded operational overrides from “jar:file:/C:/Documents%20and%20Settings/a126380/Desktop/openfire/lib/coherence .jar!/tangosol-coherence-override-dev.xml”

2012-02-09 17:34:58.141/7.813 Oracle Coherence 3.7.1.0 (thread=pool-8-thread-1, member=n/a): Loaded operational overrides from “file:/C:/Documents and Settings/a126380/Desktop/openfire/plugins/clustering/tangosol-coherence-overrid e.xml”

2012-02-09 17:34:58.141/7.813 Oracle Coherence 3.7.1.0 (thread=pool-8-thread-1, member=n/a): Optional configuration override “/custom-mbeans.xml” is not specified

Oracle Coherence Version 3.7.1.0 Build 27797

Grid Edition: Development mode

Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.

2012-02-09 17:34:58.719/8.391 Oracle Coherence GE 3.7.1.0 (thread=pool-8-thread-1, member=n/a): TCMP bound to 53.141.163.174:8088 using SystemSocketProvider

2012-02-09 17:35:19.390/29.062 Oracle Coherence GE 3.7.1.0 (thread=Cluster, member=n/a): Created a new cluster “cluster:0xF6DB” with Member(Id=1, Timestamp=2012-02-09 17:34:58.828, Address=53.141.163.174:8088, MachineId=5942, Location=site:,machine:wfx01603,process:4576, Edition=Grid Edition, Mode=Development, CpuCount=2, SocketCount=2) UID=0x358DA3AE0000013562F7C28C17361F98 2012-02-09 17:35:19.390/29.062 Oracle Coherence GE 3.7.1.0 (thread=pool-8

-thread-1, member=n/a): Started cluster Name=cluster:0xF6DB

Group{Address=224.3.7.0, Port=32386, TTL=4}

MasterMemberSet(

ThisMember=Member(Id=1, Timestamp=2012-02-09 17:34:58.828, Address=53.141.163.

174:8088, MachineId=5942, Location=site:,machine:wfx01603,process:4576)

OldestMember=Member(Id=1, Timestamp=2012-02-09 17:34:58.828, Address=53.141.16

3.174:8088, MachineId=5942, Location=site:,machine:wfx01603,process:4576)

ActualMemberSet=MemberSet(Size=1

Member(Id=1, Timestamp=2012-02-09 17:34:58.828, Address=53.141.163.174:8088,

MachineId=5942, Location=site:,machine:wfx01603,process:4576)

)

MemberId|ServiceVersion|ServiceJoined|MemberState

1|3.7.1|2012-02-09 17:35:19.39|JOINED

RecycleMillis=1200000

RecycleSet=MemberSet(Size=0

)

)

TcpRing{Connections=[]}

IpMonitor{AddressListSize=0}

2012-02-09 17:35:19.406/29.078 Oracle Coherence GE 3.7.1.0 (thread=Invocation:Management, member=1): Service anagement oined the cluster with senior service member 1

2012-02-09 17:35:19.594/29.266 Oracle Coherence GE 3.7.1.0 (thread=pool-8-thread-1, member=1): Loaded cache configuration rom “jar:file:/C:/Documents%20and%20Settings/a126380/Desktop/openfire/lib/coherence .jar!/coherence-cache-config.xml”

2012-02-09 17:35:19.640/29.312 Oracle Coherence GE 3.7.1.0 (thread=OptimisticCache, member=1): Service OptimisticCache oined the cluster with senior service member 1

Seems all to be okay, but how can I add other servers?

I found out that they detect them automatically, but I want to add them manually.

If you google for ‘coherence unicast’ you can get the JVM parameters to manually configure the cluster members. That said, it’s easier just to use multicast and let it find the other servers.

Thanks so much.

I think there is no possibility to get it working one side over a http proxy or something like that?

You could perhaps run it through a tunnel, but Coherence uses UDP so isn’t appropriate for HTTP proxy usage.