Skip to main content

Run rendezvous node as unix daemon

2 replies [Last post]
ronpaul
Offline
Joined: 2007-07-12
Points: 0

Hi,

I'd like to run rendezvous node as a linux daemon. I'm using the command:

nohup java &

The node is load up as show in log file. However, when I run the jxta peer, it doesn't connect.

Anyone has an idea or difference solution ?

Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
bondolo
Offline
Joined: 2003-06-11
Points: 0

That looks very similar to what we use to run the JXTA public rendezvous servers. Have you verified that the process is running? You might also want to try to connect to the peer's TCP port using telnet to see if it is responding.

ronpaul
Offline
Joined: 2007-07-12
Points: 0

The process is still running (i use ps -ef | grep java)

This is the last 2 lines in nohup.log

Calling listeners for net.jxta.rendezvous.RendezvousEvent[source=net.jxta.impl.r
endezvous.RendezVousServiceInterface@15dd910] : BECAMERDV for [urn:jxta:uuid-596
16261646162614E5047205032503361AAE484730F4841A7A3C349E95E6E8203]

I tried telnet and it's not responding. On other hand, if I start the program without nohup, telnet will return the jxta id

This is how I config the server:

config.setTcpEnabled(true);
config.setTcpIncoming(true);
config.setTcpOutgoing(true);
config.setUseMulticast(false);