jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Mueller <muel...@adobe.com>
Subject Re: [VOTE] Release Apache Jackrabbit 2.2.4
Date Mon, 14 Feb 2011 08:48:28 GMT
Hi,

> Remote connections to this server are not allowed, see -tcpAllowOthers
>[90117-149]

This looks more like a network problem with the H2 database than a problem
with Jackrabbit. It might be a network configuration problem, or another
service is already running on the ports 9001 or 9002. This test case
starts two H2 servers on port 9001 and 9002, and then tries to connect to
them over the local IP address (not localhost). To find out if it's a
network config problem, could you check your /etc/hosts file for weird
entries? I saw similar problems before, but I don't know the root cause.
One option, of course, is to disable this test case, but that would be a
bit sad, because it's the only clustering test case. To find out if it's
really a network config problem, please download the H2 database
(h2database.com), and run "./build.sh testNetwork" and send me the result
(only the last part; the system properties are not relevant). See below
for what I get on my machine (Mac OS X as well). It might be possible to
work around the problem by setting the system property "h2.bindAddress" to
"localhost" (but I didn't actually test this).

cat /etc/hosts

127.0.0.1 localhost
255.255.255.255 broadcasthost
::1             localhost
fe80::1%lo0 localhost



./build.sh testNetwork

localhost:localhost/127.0.0.1
  localhost/127.0.0.1
  localhost/0:0:0:0:0:0:0:1
  localhost/fe80:0:0:0:0:0:0:1%1
getLocalHost:Thomas-Muellers-MacBook-Pro.local/10.131.197.10
  /10.131.197.10
byName:/10.131.197.10
ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=63643]
server accepting
client:/10.131.197.10:63643
server accepted:Socket[addr=/10.131.197.10,port=63644,localport=63643]
client:Socket[addr=/10.131.197.10,port=63643,localport=63644]
server read:123
client read:234
server closing
server done
done
Done in 1742 ms


Regards,
Thomas


Mime
View raw message