Skip to main content

problems building jxta-C

2 replies [Last post]
pds8475
Offline
Joined: 2007-09-26
Points: 0

hi im a newbie to jxta and am trying to get the Jxta-c flavor working i can build the jxta shell but when i run it it comes up with the following errors
unrecognised seed attribute : "seeding"="true"
could not find the endpoint service params
depreciated API called
socket addr info failed : The requested name is valid and was found in the database, but does not have the correct assoiciated data being resolved for.
Failed to start incoming server
Failure starting tcp:120007

then gives me 10 messages saying
Trying to stop a module which has not started successfully
and finally
jxtashell - jxta_PG_netpg_new failed with error: 120007

i beleive this is because of the platformconfig file ( but im not sure)
which i beleive you can use confgui to write
but confgui it self will not build giving me a build error saying
error C2664: 'jxta_advertisement_get_string' : cannot convert parameter 2 from 'const char [5]' to 'Jxta_index *
i tried changing the jxta_advertisement_get_string line to
peername=jxta_advertisement_get_string((Jxta_advertisement*)pa,(Jxta_index*)"Name");
but now get 10 link errors
can anyone help please
allso if this is the wrong place to post for jxta-C can you point me to the write place
thanks

Paul

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
learning_jxta
Offline
Joined: 2007-03-21
Points: 0

Maybe you do not need using configUI. Noramlly, there is a default platform config when you run it for the first time.

pds8475
Offline
Joined: 2007-09-26
Points: 0

hi the default platformconfig wont connect to the network because the TCP and HTTP IP addresses are set to 0.0.0.0
if i try to set them to anything other than 0.0.0.0 or 127.0.0.1 JXtaShell wont start