Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Untamed port and firewall

Hello,

We've recently upgraded to XAP7 and from the logs it looks like we have an untamed port from the lookup service. We have two identical boxes in our cluster and get similar errors on both machines.

Port 35425 on the mate box is the untamed port. Taken from the primary log:

[lus][4/2482] 2009-09-21 13:10:44,002 LUS INFO [com.sun.jini.reggie] - Exception sending event to [DynamicSmartStub [ImplObjClass: net.jini.lookup.ServiceDiscoveryManager$LookupCacheImpl$LookupListener, ConnectionURL: NIO://192.168.1.178:35425/pid[2732]/125509669168_1_-1627769355402620742, MaxConnPool: 1024 ]] with ServiceID [709bcc84-2d8c-4293-837d-015b7cfb2230]; Caused by: java.rmi.ConnectException: Connect Failed to [NIO://192.168.1.178:35425/pid[2732]/125509669168_1_-1627769355402620742]; nested exception is: [lus][4/2482] java.net.ConnectException: Connection refused [lus][4/2482] 2009-09-21 13:10:44,052 LUS INFO [com.sun.jini.reggie] - Exception sending event to [DynamicSmartStub [ImplObjClass: net.jini.lookup.ServiceDiscoveryManager$LookupCacheImpl$LookupListener, ConnectionURL: NIO://192.168.1.178:35425/pid[2732]/125509669164_1_-1627769355402620742, MaxConnPool: 1024 ]] with ServiceID [709bcc84-2d8c-4293-837d-015b7cfb2230]; Caused by: java.rmi.ConnectException: Connect Failed to [NIO://192.168.1.178:35425/pid[2732]/125509669164_1_-1627769355402620742]; nested exception is: [lus][4/2482] java.net.ConnectException: Connection refused [lus][4/2482] 2009-09-21 13:10:44,052 LUS INFO [com.sun.jini.reggie] - Exception sending event to [DynamicSmartStub [ImplObjClass: net.jini.lookup.ServiceDiscoveryManager$LookupCacheImpl$LookupListener, ConnectionURL: NIO://192.168.1.178:35425/pid[2732]/125509669165_1_-1627769355402620742, MaxConnPool: 1024 ]] with ServiceID [709bcc84-2d8c-4293-837d-015b7cfb2230]; Caused by: java.rmi.ConnectException: Connect Failed to [NIO://192.168.1.178:35425/pid[2732]/125509669165_1_-1627769355402620742]; nested exception is: [lus][4/2482] java.net.ConnectException: Connection refused

We have set some of the properties listed on http://www.gigaspaces.com/wiki/displa...

From services.config: bindPort = System.getProperty("com.gs.transport_protocol.lrmi.bind-port", "40000-40019");

From EXT_JAVA_OPTIONS: com.gigaspaces.start.httpPort=40020

And we are using the default ports for: com.gs.multicast.discoveryPort=4164 com.gigaspaces.system.registryPort=10098

What am I missing? Any help will be appreciated.

Thanks, Bill

P.S. I've attached the logs from both machines as well as a snippet from our iptables.

Edited by: William Greene on Sep 21, 2009 9:25 AM h4. Attachments

[primary_agent.log|/upfiles/1375970744944869.txt]

[replicant_agent.log|/upfiles/1375970744910567.txt]

[iptables.initscript|/upfiles/1375970744113197.txt]

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=3251]{quote}

asked 2009-09-21 09:24:18 -0600

wgreene9617 gravatar image

updated 2013-08-08 09:52:00 -0600

jaissefsfex gravatar image
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

Please also make sure you have the following configured at the client side:
com.gs.transport_protocol.lrmi.bind-port=40000-40019

This will make sure any access from the space back to the client will use correct ports.

Make sure also the client binds itself to an IP that is accessible by the space. Use the java.rmi.server.hostname property for such.

Shay

answered 2009-09-21 09:35:35 -0600

shay hassidim gravatar image
edit flag offensive delete link more
0

Please submit this problem via the support portal:
http://www.gigaspaces.com/supportcenter
Shay

answered 2009-09-21 09:31:19 -0600

shay hassidim gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2009-09-21 09:24:18 -0600

Seen: 81 times

Last updated: Sep 21 '09