Skip to main content

Connection refused

2 replies [Last post]
ldhung
Offline
Joined: 2007-05-29

I've been having this problem for awhile and after seeing the same problem with various CVS versions, I'd like to ask if anybody running into this. (With earlier version of wonderland back in May, I don't see this same problem).

....

[java] Created viewport
[java] connInfo = RemoteWindow/localhost/4
[java] Created ApplicationRemoteSlave, connInfo = RemoteWindow/localhost/4
[java] In slave launch
[java] Attempting to connect to DS channel RemoteWindow/localhost/4
[java] Send channel join command, channelName = RemoteWindow/localhost/4
[java] NOTE: node.getPickable() == false, setting true for javax.media.j3d.BranchGroup@182237d
[java] java.net.ConnectException: Connection refused
[java] at java.net.PlainSocketImpl.socketConnect(Native Method)
[java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
[java] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
[java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
[java] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
[java] at java.net.Socket.connect(Socket.java:518)
[java] at java.net.Socket.connect(Socket.java:468)
[java] at java.net.Socket.(Socket.java:365)
[java] at java.net.Socket.(Socket.java:179)
[java] at org.jdesktop.lg3d.wonderland.darkstar.socket.SlaveSocketChannel.connectToMaster(SlaveSocketChannel.java:71)
[java] at org.jdesktop.lg3d.wonderland.darkstar.socket.SlaveSocketChannel.receivedMessage(SlaveSocketChannel.java:100)
[java] at com.sun.sgs.client.simple.SimpleClient$SimpleClientChannel.receivedMessage(SimpleClient.java:612)
[java] at com.sun.sgs.client.simple.SimpleClient$SimpleClientConnectionListener.handleChannelMessage(SimpleClient.java:488)
[java] at com.sun.sgs.client.simple.SimpleClient$SimpleClientConnectionListener.receivedMessage(SimpleClient.java:349)
[java] at com.sun.sgs.impl.client.simple.SimpleClientConnection.bytesReceived(SimpleClientConnection.java:131)
[java] at com.sun.sgs.impl.io.SocketConnection.filteredMessageReceived(SocketConnection.java:108)
[java] at com.sun.sgs.impl.io.CompleteMessageFilter.processReceiveBuffer(CompleteMessageFilter.java:108)
[java] at com.sun.sgs.impl.io.CompleteMessageFilter.filterReceive(CompleteMessageFilter.java:75)
[java] at com.sun.sgs.impl.io.SocketConnectionListener.messageReceived(SocketConnectionListener.java:100)
[java] at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(Unknown Source)
[java] at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Unknown Source)
[java] at org.apache.mina.common.support.AbstractIoFilterChain.access$5(Unknown Source)
[java] at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(Unknown Source)
[java] at org.apache.mina.filter.executor.ExecutorFilter.processEvent(Unknown Source)
[java] at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Unknown Source)
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
[java] at java.lang.Thread.run(Thread.java:619)
[java] java.net.ConnectException: Connection refused
[java] at java.net.PlainSocketImpl.socketConnect(Native Method)
[java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
[java] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
[java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
[java] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
[java] at java.net.Socket.connect(Socket.java:518)
[java] at java.net.Socket.connect(Socket.java:468)
[java] at java.net.Socket.(Socket.java:365)
[java] at java.net.Socket.(Socket.java:179)
[java] at org.jdesktop.lg3d.wonderland.darkstar.socket.SlaveSocketChannel.connectToMaster(SlaveSocketChannel.java:71)
[java] at org.jdesktop.lg3d.wonderland.darkstar.socket.SlaveSocketChannel.receivedMessage(SlaveSocketChannel.java:100)
[java] at com.sun.sgs.client.simple.SimpleClient$SimpleClientChannel.receivedMessage(SimpleClient.java:612)
[java] at com.sun.sgs.client.simple.SimpleClient$SimpleClientConnectionListener.handleChannelMessage(SimpleClient.java:488)
[java] at com.sun.sgs.client.simple.SimpleClient$SimpleClientConnectionListener.receivedMessage(SimpleClient.java:349)
[java] at com.sun.sgs.impl.client.simple.SimpleClientConnection.bytesReceived(SimpleClientConnection.java:131)
[java] at com.sun.sgs.impl.io.SocketConnection.filteredMessageReceived(SocketConnection.java:108)
[java] at com.sun.sgs.impl.io.CompleteMessageFilter.processReceiveBuffer(CompleteMessageFilter.java:108)
[java] at com.sun.sgs.impl.io.CompleteMessageFilter.filterReceive(CompleteMessageFilter.java:75)
[java] at com.sun.sgs.impl.io.SocketConnectionListener.messageReceived(SocketConnectionListener.java:100)
[java] at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(Unknown Source)
[java] at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Unknown Source)
[java] at org.apache.mina.common.support.AbstractIoFilterChain.access$5(Unknown Source)
[java] at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(Unknown Source)
[java] at org.apache.mina.filter.executor.ExecutorFilter.processEvent(Unknown Source)
[java] at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Unknown Source)
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
[java] at java.lang.Thread.run(Thread.java:619)
[java] NOTE: node.getPickable() == false, setting true for javax.media.j3d.BranchGroup@10a4761
[java] NOTE: node.getPickable() == false, setting true for javax.media.j3d.BranchGroup@cf08b1

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Deron Johnson

Try adding the following to the lg3d-wonderland/my.build.properties file:

wonderland.hostname=

This is a known bug. If this doesn't fix it, ask krishna.gadepalli@sun.com.

wonderland@javadesktop.org wrote:
> I've been having this problem for awhile and after seeing the same problem with various CVS versions, I'd like to ask if anybody running into this. (With earlier version of wonderland back in May, I don't see this same problem).
>
> ....
>
> [java] Created viewport
> [java] connInfo = RemoteWindow/localhost/4
> [java] Created ApplicationRemoteSlave, connInfo = RemoteWindow/localhost/4
> [java] In slave launch
> [java] Attempting to connect to DS channel RemoteWindow/localhost/4
> [java] Send channel join command, channelName = RemoteWindow/localhost/4
> [java] NOTE: node.getPickable() == false, setting true for javax.media.j3d.BranchGroup@182237d
> [java] java.net.ConnectException: Connection refused
> [java] at java.net.PlainSocketImpl.socketConnect(Native Method)
> [java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
> [java] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
> [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
> [java] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
> [java] at java.net.Socket.connect(Socket.java:518)
> [java] at java.net.Socket.connect(Socket.java:468)
> [java] at java.net.Socket.(Socket.java:365)
> [java] at java.net.Socket.(Socket.java:179)
> [java] at org.jdesktop.lg3d.wonderland.darkstar.socket.SlaveSocketChannel.connectToMaster(SlaveSocketChannel.java:71)
> [java] at org.jdesktop.lg3d.wonderland.darkstar.socket.SlaveSocketChannel.receivedMessage(SlaveSocketChannel.java:100)
> [java] at com.sun.sgs.client.simple.SimpleClient$SimpleClientChannel.receivedMessage(SimpleClient.java:612)
> [java] at com.sun.sgs.client.simple.SimpleClient$SimpleClientConnectionListener.handleChannelMessage(SimpleClient.java:488)
> [java] at com.sun.sgs.client.simple.SimpleClient$SimpleClientConnectionListener.receivedMessage(SimpleClient.java:349)
> [java] at com.sun.sgs.impl.client.simple.SimpleClientConnection.bytesReceived(SimpleClientConnection.java:131)
> [java] at com.sun.sgs.impl.io.SocketConnection.filteredMessageReceived(SocketConnection.java:108)
> [java] at com.sun.sgs.impl.io.CompleteMessageFilter.processReceiveBuffer(CompleteMessageFilter.java:108)
> [java] at com.sun.sgs.impl.io.CompleteMessageFilter.filterReceive(CompleteMessageFilter.java:75)
> [java] at com.sun.sgs.impl.io.SocketConnectionListener.messageReceived(SocketConnectionListener.java:100)
> [java] at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(Unknown Source)
> [java] at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Unknown Source)
> [java] at org.apache.mina.common.support.AbstractIoFilterChain.access$5(Unknown Source)
> [java] at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(Unknown Source)
> [java] at org.apache.mina.filter.executor.ExecutorFilter.processEvent(Unknown Source)
> [java] at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Unknown Source)
> [java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> [java] at java.lang.Thread.run(Thread.java:619)
> [java] java.net.ConnectException: Connection refused
> [java] at java.net.PlainSocketImpl.socketConnect(Native Method)
> [java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
> [java] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
> [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
> [java] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
> [java] at java.net.Socket.connect(Socket.java:518)
> [java] at java.net.Socket.connect(Socket.java:468)
> [java] at java.net.Socket.(Socket.java:365)
> [java] at java.net.Socket.(Socket.java:179)
> [java] at org.jdesktop.lg3d.wonderland.darkstar.socket.SlaveSocketChannel.connectToMaster(SlaveSocketChannel.java:71)
> [java] at org.jdesktop.lg3d.wonderland.darkstar.socket.SlaveSocketChannel.receivedMessage(SlaveSocketChannel.java:100)
> [java] at com.sun.sgs.client.simple.SimpleClient$SimpleClientChannel.receivedMessage(SimpleClient.java:612)
> [java] at com.sun.sgs.client.simple.SimpleClient$SimpleClientConnectionListener.handleChannelMessage(SimpleClient.java:488)
> [java] at com.sun.sgs.client.simple.SimpleClient$SimpleClientConnectionListener.receivedMessage(SimpleClient.java:349)
> [java] at com.sun.sgs.impl.client.simple.SimpleClientConnection.bytesReceived(SimpleClientConnection.java:131)
> [java] at com.sun.sgs.impl.io.SocketConnection.filteredMessageReceived(SocketConnection.java:108)
> [java] at com.sun.sgs.impl.io.CompleteMessageFilter.processReceiveBuffer(CompleteMessageFilter.java:108)
> [java] at com.sun.sgs.impl.io.CompleteMessageFilter.filterReceive(CompleteMessageFilter.java:75)
> [java] at com.sun.sgs.impl.io.SocketConnectionListener.messageReceived(SocketConnectionListener.java:100)
> [java] at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(Unknown Source)
> [java] at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Unknown Source)
> [java] at org.apache.mina.common.support.AbstractIoFilterChain.access$5(Unknown Source)
> [java] at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(Unknown Source)
> [java] at org.apache.mina.filter.executor.ExecutorFilter.processEvent(Unknown Source)
> [java] at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Unknown Source)
> [java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> [java] at java.lang.Thread.run(Thread.java:619)
> [java] NOTE: node.getPickable() == false, setting true for javax.media.j3d.BranchGroup@10a4761
> [java] NOTE: node.getPickable() == false, setting true for javax.media.j3d.BranchGroup@cf08b1
> [Message sent by forum member 'ldhung' (ldhung)]
>
> http://forums.java.net/jive/thread.jspa?messageID=229065
>

ldhung
Offline
Joined: 2007-05-29

Yes, this works.
Thank you much for your response.