problem with JxtaServerSocket

Lutz Lindner <[email protected]>
Newsgroups gmane.comp.java.jxta.user
Message-ID <[email protected]>
Hi all.

I have a freaky problem. On JXTA Peer1 i start a JXTAServerSocket to
receive Data by other Peers. The PipeAdvertisement of the
JXTAServerSocket is published by the method remotePublish() of the
DiscoveryService. My second JXTA Peer starts a Threads every 15
seconds, where these Threads calls the DiscoveryService to find the
remote advertisement of JXTA Peer1 ( getRemoteAdvertisements() ) .
Then they should connect to the JXTAServerSocket with JXTASocket. The
first 6 Threads find the advertisement and connect correctly to the
Peer1. But the 7th Thread only find the advertisement and gets a
ConnectionTimeOut exception while trying to connect to the
JXTAServerSocket of Peer1. What happened??
The following Threads not even find the advertisement....

If I start simultanously JXTA Peer3 with the same function as JXTA
Peer2, same result...

Any help is really appreciated...

Best regards and thanks to all.

Lutz Lindner
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.