|
connect TINI 1.11 to JXTA 2.0 Relay (use proxy): msg#00694hardware.microcontrollers.tini
Who to connect TINI 1.11 to JXTA 2.0 Relay ? I try TiniTalker.tini example do by Sean Kelly : http://tini.jxta.org/tinijxta-1_0_2.zip my objectif : connect TINI (version 1.11) to JXTA Relay (version 2.0) PROBLEM : in tini side java.io.IOException: Connect did not return a peerId A-Compil with j2sdk1.4.0: javac -target 1.1 -d dirclasses -classpath $TINI_JXTA/lib/jxta-cdc.jar:$TINI_HOME/bin/modules.jar -bootclasspath $TINI_HOME/bin/tiniclasses.jar TiniTalker.java B-Build : java -classpath $TINI_HOME/bin/tini.jar BuildDependency -f dirclasses -o TiniTalker.tini -d $TINI_HOME/bin/tini.db -p $TINI_JXTA/lib/jxta-cdc.jar:$TINI_HOME/bin/modules.jar -add HTTP;jxtaproxy -x tinijxtadep.txt;$TINI_HOME/bin/owapi_dep.txt C-Run : TINI SIDE : tini0068b9/JXTA> java TiniTalker.tini http://123.143.12.10:9700 30000 quotes.txt Reading quotes.txt... Creating peer network... Connecting to http://123.143.12.10:9700 Error establishing connection: Connect did not return a peerId java.io.IOException: Connect did not return a peerId in java.lang.Throwable.??? in java.lang.Throwable.<init>(@JPC=90004) in java.lang.Exception.<init>(@JPC=90003) in java.io.IOException.<init>(@JPC=90003) in net.jxta.j2me.PeerNetwork.connect(@JPC=90024) in java.lang.System.??? tini0068b9 /JXTA> JXTA Relay SIDE : in the JXTA Configurator : act as Rendez-Vous,act as JxtaProxy ,act as Relay enable incoming http connections. karl:~/JXTA/JXTA_Demo/InstantP2P > ./ip2p.sh & 1056479558754: EVENT ,Starting Jetty/4.1,[main]org.mortbay.http.HttpServer.start(HttpServer.java:653) 1056479558776: EVENT ,Started HttpContext[/],[main]org.mortbay.http.HttpContext.start(HttpContext.java:1766) 1056479558920: EVENT ,Started SocketListener on 123.143.12.10:9700,[main]org.mortbay.http.SocketListener.start(SocketListener.java:157) 1056479558921: EVENT ,Started org.mortbay.http.HttpServer@5eb489,[main]org.mortbay.http.HttpServer.start(HttpServer.java:689) karl:~/JXTA/JXTA_Demo/InstantP2P > The problem seams come from: peerNetwork.connect(proxyServerURL, /*state*/null); I dont understand very well the return of this methode can you help me. Thanks for your help . _______________________________________________ TINI mailing list TINI-6tN4nzCoH/hBDgjK7y7TUQ@xxxxxxxxxxxxxxxx To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Fwd: RE: (no subject): 00694, Aaron Minor |
|---|---|
| Next by Date: | Re: CPLD/FPGA in circuit programming: 00694, Bruce Boyes |
| Previous by Thread: | Application Note 193 and StartNetAdapterHost.tini Problemsi: 00694, Kelly Smith |
| Next by Thread: | RE: Application Note 193 and StartNetAdapterHost.tini Prob lems: 00694, Scott Hughes |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |