Skip to main content

JXta Connecting to a Rendevous Peer with a fix ip from a peer behind Firewl

2 replies [Last post]
ojerag
Offline
Joined: 2009-09-15

I am building a jxts P2p system and since i am new in Jxta , i am having some problems.
I Hava Rendezvou_relay Peer which is running with a fixed Ip address. Trying to connect to the Rendevous Peer using Tcp functions with no problem if the Peer connecting to the Rendevous peer is on thesame subnet as the rendevous peer but If a Peer which is on a different Sub net or behin a firewall or NaT tries to communicate with the redezvous peer . There is always an error message. This connection is being done with http.
this is the error message thrown:

Platform configured and saved
Cache component .jxta\cm cleared.
10.11.2009 12:18:27 net.jxta.impl.loader.RefJxtaLoader findModuleImplAdvertisement
WARNUNG: Failed to find class for urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000C0206
java.lang.ClassNotFoundException: No matching class for : urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000C0206
at net.jxta.impl.loader.RefJxtaLoader.findClass(RefJxtaLoader.java:240)
at net.jxta.impl.loader.RefJxtaLoader.findModuleImplAdvertisement(RefJxtaLoader.java:350)
at net.jxta.impl.peergroup.StdPeerGroup.getDefaultModuleImplAdvertisement(StdPeerGroup.java:353)
at net.jxta.impl.peergroup.StdPeerGroup.(StdPeerGroup.java:143)
at net.jxta.peergroup.WorldPeerGroupFactory.getDefaultWorldPeerGroupClass(WorldPeerGroupFactory.java:237)
at net.jxta.peergroup.WorldPeerGroupFactory.(WorldPeerGroupFactory.java:178)
at net.jxta.peergroup.NetPeerGroupFactory.(NetPeerGroupFactory.java:304)
at grid.peer.JxtaPeer.startJXTA(JxtaPeer.java:91)
at grid.peer.JxtaPeer.main(JxtaPeer.java:454)
10.11.2009 12:18:27 net.jxta.peergroup.WorldPeerGroupFactory newWorldPeerGroup
INFO: Making a new World Peer Group instance using : net.jxta.impl.peergroup.Platform
10.11.2009 12:18:27 net.jxta.impl.cm.SrdiIndex clearSrdi
INFO: Clearing SRDI for null
10.11.2009 12:18:27 net.jxta.impl.peergroup.GenericPeerGroup loadModule
INFO: Loaded privileged module : Always Access Service (net.jxta.impl.access.always.AlwaysAccessService)
10.11.2009 12:18:27 net.jxta.impl.endpoint.tcp.IncomingUnicastServer openServerSocket
INFO: Server will accept connections at /0.0.0.0:9701
10.11.2009 12:18:27 net.jxta.impl.peergroup.GenericPeerGroup loadModule
INFO: Loaded privileged module : Reference Implementation of the TCP Message Transport (net.jxta.impl.endpoint.tcp.TcpTransport)
10.11.2009 12:18:27 net.jxta.impl.peergroup.GenericPeerGroup loadModule
INFO: Loaded privileged module : Reference Implementation of the Rendezvous Service (net.jxta.impl.rendezvous.RendezVousServiceImpl)
10.11.2009 12:18:27 net.jxta.impl.peergroup.GenericPeerGroup loadModule
INFO: Loaded privileged module : Reference Implementation of the Peerinfo Service (net.jxta.impl.peer.PeerInfoServiceImpl)
10.11.2009 12:18:27 net.jxta.impl.peergroup.GenericPeerGroup loadModule
INFO: Loaded privileged module : Reference Implementation of the Endpoint service (net.jxta.impl.endpoint.EndpointServiceImpl)
10.11.2009 12:18:27 net.jxta.impl.peergroup.GenericPeerGroup loadModule
INFO: Loaded privileged module : Reference Implementation of the HTTP Message Transport (net.jxta.impl.endpoint.servlethttp.ServletHttpTransport)
10.11.2009 12:18:27 net.jxta.impl.peergroup.GenericPeerGroup loadModule
INFO: Loaded privileged module : None Membership Service (net.jxta.impl.membership.none.NoneMembershipService)
10.11.2009 12:18:27 net.jxta.impl.peergroup.GenericPeerGroup loadModule
INFO: Loaded privileged module : Reference Implementation of the Resolver service (net.jxta.impl.resolver.ResolverServiceImpl)
10.11.2009 12:18:27 net.jxta.impl.peergroup.GenericPeerGroup loadModule
INFO: Loaded privileged module : Reference Implementation of the Discovery service (net.jxta.impl.discovery.DiscoveryServiceImpl)
10.11.2009 12:18:27 net.jxta.impl.peergroup.GenericPeerGroup loadModule
INFO: Loaded privileged module : Reference Implementation of the IP Multicast Message Transport (net.jxta.impl.endpoint.mcast.McastTransport)
10.11.2009 12:18:27 net.jxta.impl.endpoint.tcp.TcpTransport startApp
WARNUNG: Stalled until there is an endpoint service
10.11.2009 12:18:27 net.jxta.impl.rendezvous.RendezVousServiceImpl startApp
WARNUNG: Stalled until there is an endpoint service
10.11.2009 12:18:27 net.jxta.impl.peer.PeerInfoServiceImpl startApp
WARNUNG: Stalled until there is a resolver service
10.11.2009 12:18:27 net.jxta.impl.endpoint.EndpointServiceImpl startApp
INFO: Endpoint Service started.
10.11.2009 12:18:27 org.mortbay.http.HttpServer start
INFO: Starting Jetty/4.2.25
10.11.2009 12:18:27 org.mortbay.http.HttpContext start
INFO: Started HttpContext[/]
10.11.2009 12:18:27 org.mortbay.http.SocketListener start
INFO: Started SocketListener on 0.0.0.0:9700
10.11.2009 12:18:27 org.mortbay.http.HttpServer start
INFO: Started org.mortbay.http.HttpServer@df503
10.11.2009 12:18:27 net.jxta.impl.endpoint.servlethttp.HttpMessageReceiver start
INFO: HTTP Servlet Transport started.
10.11.2009 12:18:27 net.jxta.impl.endpoint.servlethttp.HttpMessageSender start
INFO: HTTP Client Transport started.
10.11.2009 12:18:28 net.jxta.impl.discovery.DiscoveryServiceImpl startApp
WARNUNG: Stalled until there is a rendezvous service
10.11.2009 12:18:28 net.jxta.impl.endpoint.mcast.McastTransport startApp
INFO: IP Multicast Message Transport disabled.
10.11.2009 12:18:28 net.jxta.impl.endpoint.tcp.TcpTransport$MessengerSelectorThread run
INFO: MessengerSelectorThread polling started
10.11.2009 12:18:28 net.jxta.impl.endpoint.tcp.TcpTransport startApp
INFO: TCP Message Transport started.
10.11.2009 12:18:28 net.jxta.impl.endpoint.tcp.IncomingUnicastServer run
INFO: Server is ready to accept connections
10.11.2009 12:18:28 net.jxta.impl.rendezvous.adhoc.AdhocPeerRdvService
INFO: RendezVous Service is initialized for urn:jxta:jxta-WorldGroup as an ad hoc peer.
10.11.2009 12:18:28 net.jxta.impl.rendezvous.RendezVousServiceImpl startApp
INFO: Rendezvous Serivce started
10.11.2009 12:18:28 net.jxta.impl.discovery.DiscoveryServiceImpl beEdge
INFO: Switched to a Edge peer role.
10.11.2009 12:18:28 net.jxta.impl.discovery.DiscoveryServiceImpl startApp
INFO: Discovery service started
10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup getInterface
INFO: [urn:jxta:jxta-WorldGroup] GROUP REF COUNT INCREMENTED TO: 1 by
net.jxta.peergroup.NetPeerGroupFactory.(NetPeerGroupFactory.java:305)
10.11.2009 12:18:28 net.jxta.peergroup.NetPeerGroupFactory newNetPeerGroup
INFO: Instantiating net peer group : urn:jxta:uuid-8B33E028B054497B8BF9A446A224B1FF02
Parent : urn:jxta:jxta-WorldGroup "World PeerGroup"[1]
ID : urn:jxta:uuid-8B33E028B054497B8BF9A446A224B1FF02
Name : PVS GRID
impl : null
10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup getInterface
INFO: [urn:jxta:jxta-WorldGroup] GROUP REF COUNT INCREMENTED TO: 2 by
net.jxta.impl.peergroup.GenericPeerGroup.loadModule(GenericPeerGroup.java:652)10.11.2009 12:18:28 net.jxta.impl.cm.SrdiIndex clearSrdiINFO: Clearing SRDI for null10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup loadModuleINFO: Loaded privileged module : Reference Implementation of the JXME ProxyService (net.jxta.impl.proxy.ProxyService)10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup loadModuleINFO: Loaded privileged module : Reference Implementation of the RelayMessage Transport (net.jxta.impl.endpoint.relay.RelayTransport)10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup loadModuleINFO: Loaded privileged module : PSE Membership Service(net.jxta.impl.membership.pse.PSEMembershipService)10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup loadModuleINFO: Loaded privileged module : Reference Implementation of the PipeService (net.jxta.impl.pipe.PipeServiceImpl)10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup loadModuleIN!
FO: Loaded privileged module : Reference Implementation of the RouterMessage Transport (net.jxta.impl.endpoint.router.EndpointRouter)10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup loadModuleINFO: Loaded privileged module : Always Access Service(net.jxta.impl.access.always.AlwaysAccessService)10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup loadModuleINFO: Loaded privileged module : Reference Implementation of the RendezvousService (net.jxta.impl.rendezvous.RendezVousServiceImpl)10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup loadModuleINFO: Loaded privileged module : Reference Implementation of the Endpointservice (net.jxta.impl.endpoint.EndpointServiceImpl)10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup loadModuleINFO: Loaded privileged module : Reference Implementation of the PeerinfoService (net.jxta.impl.peer.PeerInfoServiceImpl)10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup loadModuleINFO: Loaded privile!
ged module : Reference Implementation of theCryptobased-ID Mes!
sage Tra
nsport (net.jxta.impl.endpoint.cbjx.CbJxTransport)10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup loadModuleINFO: Loaded privileged module : Reference Implementation of the Resolverservice (net.jxta.impl.resolver.ResolverServiceImpl)10.11.2009 12:18:28 net.jxta.impl.endpoint.tls.TlsTransport INFO: Adjusting TLS connection idle timeout to 300000 millis.10.11.2009 12:18:28 net.jxta.impl.endpoint.tls.TlsTransport INFO: Adjusting TLS min reconnection idle to 60000 millis.10.11.2009 12:18:28 net.jxta.impl.endpoint.tls.TlsTransport INFO: Adjusting TLS maximum retry queue age to 120000 millis.10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup loadModuleINFO: Loaded privileged module : Reference Implementation of the TLS MessageTransport (net.jxta.impl.endpoint.tls.TlsTransport)10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup loadModuleINFO: Loaded privileged module : Reference Implementation of the Discoveryservice (net.jxta.impl!
.discovery.DiscoveryServiceImpl)10.11.2009 12:18:28 net.jxta.impl.proxy.ProxyService startAppWARNUNG: Stalled until there is a endpoint service10.11.2009 12:18:28 net.jxta.impl.endpoint.relay.RelayTransport startAppWARNUNG: Stalled until there is an endpoint service10.11.2009 12:18:28 net.jxta.impl.membership.pse.PSEMembershipServicestartAppINFO: PSE Membmership Service started.10.11.2009 12:18:28 net.jxta.impl.pipe.PipeServiceImpl startAppWARNUNG: Stalled until there is an endpoint service10.11.2009 12:18:28 net.jxta.impl.endpoint.router.EndpointRouter startAppWARNUNG: Stalled until there is an endpoint service10.11.2009 12:18:28 net.jxta.impl.rendezvous.RendezVousServiceImpl startAppWARNUNG: Stalled until there is an endpoint service10.11.2009 12:18:28 net.jxta.impl.endpoint.EndpointServiceImpl startAppINFO: Endpoint Service started.10.11.2009 12:18:28 net.jxta.impl.peer.PeerInfoServiceImpl startAppWARNUNG: Stalled until there is a resolver service10.11.2009 12:18:28 net.!
jxta.impl.endpoint.cbjx.CbJxTransport startAppINFO: CbJxTransp!
ort star
ted10.11.2009 12:18:28 net.jxta.impl.discovery.DiscoveryServiceImpl startAppWARNUNG: Stalled until there is a rendezvous service10.11.2009 12:18:28 net.jxta.impl.proxy.ProxyService startAppWARNUNG: Stalled until there is a discovery service10.11.2009 12:18:28 net.jxta.impl.endpoint.relay.RelayTransport startAppWARNUNG: Stalled until there is a discovery service10.11.2009 12:18:28 net.jxta.impl.pipe.PipeServiceImpl startAppWARNUNG: Stalled until there is a rendezvous service10.11.2009 12:18:28 net.jxta.impl.endpoint.router.EndpointRouter startAppWARNUNG: Endpoint Router start stalled until rendezvous service available10.11.2009 12:18:28 net.jxta.impl.rendezvous.edge.EdgePeerRdvService INFO: RendezVous Service is initialized forurn:jxta:uuid-8B33E028B054497B8BF9A446A224B1FF02 as an Edge peer.10.11.2009 12:18:28 net.jxta.impl.rendezvous.RendezVousServiceImpl startAppINFO: Rendezvous Serivce started10.11.2009 12:18:28 net.jxta.impl.discovery.DiscoveryServiceImpl beEdgeINFO!
: Switched to a Edge peer role.10.11.2009 12:18:28 net.jxta.impl.discovery.DiscoveryServiceImpl startAppINFO: Discovery service started10.11.2009 12:18:28 net.jxta.impl.proxy.ProxyService startAppWARNUNG: Stalled until there is a pipe service10.11.2009 12:18:28 net.jxta.impl.endpoint.relay.RelayTransport startAppWARNUNG: Stalled until there is a pipe service10.11.2009 12:18:28net.jxta.impl.rendezvous.edge.EdgePeerRdvService$MonitorTask runWARNUNG: Rendezvous connection stalled until router is started!10.11.2009 12:18:28 net.jxta.impl.cm.SrdiIndex INFO: [urn:jxta:uuid-8B33E028B054497B8BF9A446A224B1FF02[0] /urn:jxta:jxta-WorldGroup "World PeerGroup"[2]] : InitializedpipeResolverSrdi10.11.2009 12:18:28 net.jxta.impl.cm.SrdiIndex startGCINFO: [urn:jxta:uuid-8B33E028B054497B8BF9A446A224B1FF02[0] /urn:jxta:jxta-WorldGroup "World PeerGroup"[2]] : Starting SRDI GC Thread forpipeResolverSrdi10.11.2009 12:18:28 net.jxta.impl.cm.SrdiIndex INFO: [urn:jxta:uuid-8B33E028B0544!
97B8BF9A446A224B1FF02[0] /urn:jxta:jxta-WorldGroup "World Peer!
Group"[2
]] : Initialized routerSrdi10.11.2009 12:18:28 net.jxta.impl.endpoint.router.EndpointRouter startAppINFO: urn:jxta:uuid-8B33E028B054497B8BF9A446A224B1FF02[0] /urn:jxta:jxta-WorldGroup "World PeerGroup"[2] : Router Message Transportstarted.10.11.2009 12:18:28 net.jxta.impl.proxy.ProxyService startAppINFO: JXME Proxy Service started.10.11.2009 12:18:28 net.jxta.impl.endpoint.relay.RelayClient startClientINFO: Started client :relay://uuid-59616261646162614E504720503250337B11571C0BFA424EA2A7918EDC6218D00310.11.2009 12:18:28 net.jxta.impl.endpoint.relay.RelayClient runINFO: Start relay client thread10.11.2009 12:18:28 net.jxta.impl.endpoint.relay.RelayTransport startAppINFO: Relay Message Transport started10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup loadModuleINFO: Loaded module : Default Network PeerGroup reference implementation(net.jxta.impl.peergroup.ShadowPeerGroup)10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup decRefCountINFO: [urn:jxta:jxta-Wo!
rldGroup] GROUP REF COUNT DECCREMENTED TO: 1 by net.jxta.peergroup.NetPeerGroupFactory.(NetPeerGroupFactory.java:310)10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup getInterfaceINFO: [urn:jxta:uuid-8B33E028B054497B8BF9A446A224B1FF02] GROUP REF COUNTINCREMENTED TO: 1 by grid.peer.JxtaPeer.startJXTA(JxtaPeer.java:105)10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup getInterfaceINFO: [urn:jxta:uuid-8B33E028B054497B8BF9A446A224B1FF02] GROUP REF COUNTINCREMENTED TO: 2 by net.jxta.impl.peergroup.GenericPeerGroup.newGroup(GenericPeerGroup.java:1432)10.11.2009 12:18:28 net.jxta.impl.cm.SrdiIndex clearSrdiINFO: Clearing SRDI for null10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup loadModuleINFO: Loaded privileged module : Always Access Service(net.jxta.impl.access.always.AlwaysAccessService)10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup loadModuleINFO: Loaded privileged module : Reference Implementation of the RendezvousServi!
ce (net.jxta.impl.rendezvous.RendezVousServiceImpl)10.11.2009 !
12:18:28
net.jxta.impl.peergroup.GenericPeerGroup loadModuleINFO: Loaded privileged module : Reference Implementation of the PeerinfoService (net.jxta.impl.peer.PeerInfoServiceImpl)10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup loadModuleINFO: Loaded privileged module : Reference Implementation of the Endpointservice (net.jxta.impl.endpoint.EndpointServiceImpl)10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup loadModuleINFO: Loaded privileged module : None Membership Service(net.jxta.impl.membership.none.NoneMembershipService)10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup loadModuleINFO: Loaded privileged module : Reference Implementation of the Resolverservice (net.jxta.impl.resolver.ResolverServiceImpl)10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup loadModuleINFO: Loaded privileged module : Reference Implementation of the Discoveryservice (net.jxta.impl.discovery.DiscoveryServiceImpl)10.11.2009 12:18:28 net.jxta.impl.peergroup.G!
enericPeerGroup loadModuleINFO: Loaded privileged module : Reference Implementation of the PipeService (net.jxta.impl.pipe.PipeServiceImpl)10.11.2009 12:18:28 net.jxta.impl.rendezvous.RendezVousServiceImpl startAppWARNUNG: Stalled until there is an endpoint service10.11.2009 12:18:28 net.jxta.impl.peer.PeerInfoServiceImpl startAppWARNUNG: Stalled until there is a resolver service10.11.2009 12:18:28 net.jxta.impl.endpoint.EndpointServiceImpl startAppINFO: Endpoint Service started.10.11.2009 12:18:28 net.jxta.impl.discovery.DiscoveryServiceImpl startAppWARNUNG: Stalled until there is a rendezvous service10.11.2009 12:18:28 net.jxta.impl.pipe.PipeServiceImpl startAppWARNUNG: Stalled until there is a rendezvous service10.11.2009 12:18:28 net.jxta.impl.rendezvous.edge.EdgePeerRdvService INFO: RendezVous Service is initialized forurn:jxta:uuid-79B6A084D3264DF8B641867D926C48D902 as an Edge peer.10.11.2009 12:18:28 net.jxta.impl.rendezvous.RendezVousServiceImpl startAppINFO: !
Rendezvous Serivce started10.11.2009 12:18:28 net.jxta.impl.di!
scovery.
DiscoveryServiceImpl beEdgeINFO: Switched to a Edge peer role.10.11.2009 12:18:28 net.jxta.impl.discovery.DiscoveryServiceImpl startAppINFO: Discovery service started10.11.2009 12:18:28 net.jxta.impl.pipe.NonBlockingWireOutputPipe INFO: Constructing forurn:jxta:uuid-8B33E028B054497B8BF9A446A224B1FF5065657256694577B575A9642D3739420410.11.2009 12:18:28 net.jxta.impl.pipe.NonBlockingWireOutputPipe closeINFO: Closing queue forurn:jxta:uuid-8B33E028B054497B8BF9A446A224B1FF5065657256694577B575A9642D3739420410.11.2009 12:18:28 net.jxta.impl.cm.SrdiIndex INFO: [urn:jxta:uuid-79B6A084D3264DF8B641867D926C48D902[0] /urn:jxta:uuid-8B33E028B054497B8BF9A446A224B1FF02 "PVS GRID"[2] /urn:jxta:jxta-WorldGroup "World PeerGroup"[1]] : InitializedpipeResolverSrdi10.11.2009 12:18:28 net.jxta.impl.cm.SrdiIndex startGCINFO: [urn:jxta:uuid-79B6A084D3264DF8B641867D926C48D902[0] /urn:jxta:uuid-8B33E028B054497B8BF9A446A224B1FF02 "PVS GRID"[2] /urn:jxta:jxta-WorldGroup "World PeerGroup"[1]]!
: Starting SRDI GC Thread forpipeResolverSrdi10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup loadModuleINFO: Loaded module : General Purpose Peer Group Implementation(net.jxta.impl.peergroup.StdPeerGroup)10.11.2009 12:18:28 net.jxta.impl.peergroup.GenericPeerGroup getInterfaceINFO: [urn:jxta:uuid-79B6A084D3264DF8B641867D926C48D902] GROUP REF COUNTINCREMENTED TO: 1 by net.jxta.impl.peergroup.PeerGroupInterface.newGroup(PeerGroupInterface.java:322)Joined group: urn:jxta:uuid-79B6A084D3264DF8B641867D926C48D902"MyAppGroup"[1] / urn:jxta:uuid-8B33E028B054497B8BF9A446A224B1FF02 "PVSGRID"[2] / urn:jxta:jxta-WorldGroup "World PeerGroup"[1]10.11.2009 12:18:28 net.jxta.impl.pipe.InputPipeImpl INFO: Creating InputPipe forurn:jxta:uuid-79B6A084D3264DF8B641867D926C48D9E2FC714C47274E9395F3A4CD2E7F331F04 of type JxtaPropagate with listener10.11.2009 12:18:28 net.jxta.impl.pipe.WirePipe registerINFO: Registeringurn:jxta:uuid-79B6A084D3264DF8B641867D926C48D9E2FC714C47274!
E9395F3A4CD2E7F331F04 with pipe resolver.10.11.2009 12:18:28 n!
et.jxta.
impl.pipe.NonBlockingWireOutputPipe INFO: Constructing forurn:jxta:uuid-79B6A084D3264DF8B641867D926C48D9E2FC714C47274E9395F3A4CD2E7F331F04Propagate pipes and listeners createdPropagate PipeID:urn:jxta:uuid-79B6A084D3264DF8B641867D926C48D9E2FC714C47274E9395F3A4CD2E7F331F04Awaiting rendezvous conx...10.11.2009 12:18:43 net.jxta.impl.endpoint.servlethttp.HttpClientMessengerretreiveLogicalDestinationAddressWARNUNG: Ping (http://129.206.61.56:9701/) -> failed10.11.2009 12:18:43 net.jxta.impl.endpoint.servlethttp.HttpMessageSendergetMessengerWARNUNG: Could not connect tohttp://129.206.61.56:9701/EndpointService:uuid-8B33E028B054497B8BF9A446A224B1FF02/uuid-DEADBEEFDEAFBABAFEEDBABE0000000F05/connect,3600000,keep,true :connect timed out10.11.2009 12:18:45 net.jxta.impl.endpoint.servlethttp.HttpClientMessengerretreiveLogicalDestinationAddressWARNUNG: Ping (http://129.206.61.56:9701/) -> failed10.11.2009 12:18:45 net.jxta.impl.endpoint.servlethttp.HttpMessageSendergetMessengerWAR!
NUNG: Could not connect to http://129.206.61.56:9701 : connect timed out10.11.2009 12:19:13 net.jxta.impl.endpoint.servlethttp.HttpClientMessengerretreiveLogicalDestinationAddressWARNUNG: Ping (http://129.206.61.56:9701/) -> failed10.11.2009 12:19:13 net.jxta.impl.endpoint.servlethttp.HttpMessageSendergetMessengerWARNUNG: Could not connect to http://129.206.61.56:9701 : connect timed out10.11.2009 12:19:13 net.jxta.impl.endpoint.servlethttp.HttpClientMessengerretreiveLogicalDestinationAddressWARNUNG: Ping (http://129.206.61.56:9701/) -> failed10.11.2009 12:19:13 net.jxta.impl.endpoint.servlethttp.HttpMessageSendergetMessengerWARNUNG: Could not connect tohttp://129.206.61.56:9701/EndpointService:uuid-8B33E028B054497B8BF9A446A224B1FF02/uuid-DEADBEEFDEAFBABAFEEDBABE0000000F05/connect,3600000,keep,true :connect timed out10.11.2009 12:19:43 net.jxta.impl.endpoint.servlethttp.HttpClientMessengerretreiveLogicalDestinationAddressWARNUNG: Ping (http://129.206.61.56:9701/) -> failed1!
0.11.2009 12:19:43 net.jxta.impl.endpoint.servlethttp.HttpMess!
ageSende
rgetMessengerWARNUNG: Could not connect to http://129.206.61.56:9701 : connect timed out10.11.2009 12:19:43 net.jxta.impl.endpoint.servlethttp.HttpClientMessengerretreiveLogicalDestinationAddressWARNUNG: Ping (http://129.206.61.56:9701/) -> failed10.11.2009 12:19:43 net.jxta.impl.endpoint.servlethttp.HttpMessageSendergetMessengerWARNUNG: Could not connect tohttp://129.206.61.56:9701/EndpointService:uuid-8B33E028B054497B8BF9A446A224B1FF02/uuid-DEADBEEFDEAFBABAFEEDBABE0000000F05/connect,3600000,keep,true :connect timed out10.11.2009 12:19:43 net.jxta.impl.pipe.NonBlockingWireOutputPipe INFO: Constructing forurn:jxta:uuid-8B33E028B054497B8BF9A446A224B1FF5065657256694577B575A9642D3739420410.11.2009 12:19:43 net.jxta.impl.pipe.NonBlockingWireOutputPipe closeINFO: Closing queue forurn:jxta:uuid-8B33E028B054497B8BF9A446A224B1FF5065657256694577B575A9642D3739420410.11.2009 12:20:13 net.jxta.impl.endpoint.servlethttp.HttpClientMessengerretreiveLogicalDestinationAddressWARNUNG: P!
ing (http://129.206.61.56:9701/) -> failed10.11.2009 12:20:13 net.jxta.impl.endpoint.servlethttp.HttpMessageSendergetMessengerWARNUNG: Could not connect to http://129.206.61.56:9701 : connect timed out10.11.2009 12:20:13 net.jxta.impl.endpoint.servlethttp.HttpClientMessengerretreiveLogicalDestinationAddressWARNUNG: Ping (http://129.206.61.56:9701/) -> failed10.11.2009 12:20:13 net.jxta.impl.endpoint.servlethttp.HttpMessageSendergetMessengerWARNUNG: Could not connect tohttp://129.206.61.56:9701/EndpointService:uuid-8B33E028B054497B8BF9A446A224B1FF02/uuid-DEADBEEFDEAFBABAFEEDBABE0000000F05/connect,3600000,keep,true :connect timed out10.11.2009 12:20:43 net.jxta.impl.endpoint.servlethttp.HttpClientMessengerretreiveLogicalDestinationAddressWARNUNG: Ping (http://129.206.61.56:9701/) -> failed10.11.2009 12:20:43 net.jxta.impl.endpoint.servlethttp.HttpMessageSendergetMessengerWARNUNG: Could not connect to http://129.206.61.56:9701 : connect timed out10.11.2009 12:20:43 net.jxta.im!
pl.endpoint.servlethttp.HttpClientMessengerretreiveLogicalDest!
inationA
ddressWARNUNG: Ping (http://129.206.61.56:9701/) -> failed10.11.2009 12:20:43 net.jxta.impl.endpoint.servlethttp.HttpMessageSendergetMessengerWARNUNG: Could not connect tohttp://129.206.61.56:9701/EndpointService:uuid-8B33E028B054497B8BF9A446A224B1FF02/uuid-DEADBEEFDEAFBABAFEEDBABE0000000F05/connect,3600000,keep,true :connect timed out----

Can some one help?
thanks for you help..

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
godi
Offline
Joined: 2009-07-02

Hi ojerag,

The problem seems to be related with the configuration of the Edge peer or the Rendezvous because there is timeout connection.

Could you post here the lines where you are configuring your Rendezvous to accept connection and the lines where you are configuring your Edge peer to make a connection?

Perhaps we could find the error looking into the code.

ojerag
Offline
Joined: 2009-09-15

hi godi,
thanks for your reply
hier is the code
for my peer :

configurator = new NetworkConfigurator();
configurator.setHome(new File(jxtaHome));
configurator.setPeerID(IDFactory.newPeerID(PeerGroupID.defaultNetPeerGroupID));
String computername=null;
try {
computername=InetAddress.getLocalHost().getHostName();
} catch (UnknownHostException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
configurator.setName(computername);
configurator.setPrincipal("ofno");
// configurator.setPassword("consequence");
configurator.setDescription("I am a P2P Peer.");
configurator.setUseMulticast(false);
/*InetAddress thisIp = null;
try {
thisIp =
InetAddress.getLocalHost();
System.out.println("IP:"+thisIp.getHostAddress());
}
catch(Exception e) {
e.printStackTrace();
}
configurator.setTcpPublicAddress(thisIp.toString(), true);*/
// fetch seeds from file, or alternately from network
URI seedingURI = new File("seeds.txt").toURI();
configurator.addRdvSeedingURI(seedingURI);
configurator.addRelaySeedingURI(seedingURI);
configurator.setUseOnlyRelaySeeds(true);
configurator.setUseOnlyRendezvousSeeds(true);

//configurator.setTcpOutgoing(true);
//configurator.setTcpIncoming(true);
configurator.setHttpIncoming(true);
configurator.setHttpOutgoing(true);

try {
configurator.save();
}
catch(IOException e) {
e.printStackTrace();
System.exit(1);
}
System.out.println("Platform configured and saved");

and for the RendevousPeer:

configurator = new NetworkConfigurator();
configurator.setHome(new File(jxtaHome));
configurator.setPeerId(peerID);
configurator.setName("My Peer Name");
configurator.setPrincipal("ofno");
//configurator.setPassword("consequence");
configurator.setDescription("Private Rendezvous");
configurator.setUseMulticast(false);

/*InetAddress thisIp = null;
try {
thisIp =
InetAddress.getLocalHost();
System.out.println("IP:"+thisIp.getHostAddress());
}
catch(Exception e) {
e.printStackTrace();
}
configurator.(thisIp.toString(), true);*/
URI seedingURI;
seedingURI = new File("seeds.txt").toURI();
configurator.addRdvSeedingURI(seedingURI);
configurator.addRelaySeedingURI(seedingURI);
configurator.setMode(NetworkConfigurator.RDV_SERVER + NetworkConfigurator.RELAY_SERVER+
NetworkConfigurator.HTTP_SERVER+ NetworkConfigurator.HTTP_CLIENT);

configurator.setUseOnlyRelaySeeds(true);
configurator.setUseOnlyRendezvousSeeds(true);

configurator.setTcpEnabled(true);
configurator.setTcpIncoming(true);
configurator.setTcpOutgoing(true);
configurator.setHttpEnabled(true);
configurator.setHttpOutgoing(true);
configurator.setHttpIncoming(true);
//configurator

try {
configurator.save();
}
catch(IOException e) {
e.printStackTrace();
System.exit(1);
}

Thanks again