Re: Re: A question about platform setup
Mohamed Abdelaziz <[email protected]> Wed, 14 Jun 2006 08:29:25 -0700
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <[email protected]> |
The warning is due service staring sequence and is harmless. It simply means that the pipe service has not yet started, and therefore the PeerView pipe registration is delayed by a second. The platform should be operation after that point. Mohamed James W Todd II wrote: > > Hey Santa - > > I'm not sure, precisely. > > Let's try the "[email protected]" list to see if others have ideas. > > hth, > > - james > > ??? wrote: >> Hello, Mr todd. >> I'm a student from China. I've worked on a project using jxta j2se >> version for a long time. Recently, I'm trying to upgrade our project >> from jxta 2.3.5 to jxta 2.3.7. Everything goes on well when I compile >> the program with the new jxta .jars. But when I run the programm, I >> got some exception on the statement of "netPeerGroup = >> PeerGroupFactory.newNetPeerGroup();". >> It seems that in the new version, peers can't be setup as jxme proxy. >> I set up the program by GUI platform configuration. When I set it as >> a jxme proxy, the exception throws. But when I don't set it as a jxme >> proxy. Everything goes well. But the program need to be set up as a >> jxme proxy. For it has to communicate with mobile peers. >> So, I'm totally lost now. Will you please help me and give me some >> advices? I've try to look up the problem in the internet and get a >> configuration sample of NetworkManager.java. But it doesn't work, for >> there is no interface for jxme proxy setting. I'll paste some the >> exception and source code here in order to make it clear to you. >> Thank you very much. And looking forward to your reply. >> p.s. After configurating the platform from GUI, I found no >> jxta.properties in .jxta direcotry. Is it removed in jxta 2.3.7? >> Thank you. >> Sincerely Santa. >> 2006/06/13 >> *source code:* >> public void startJxta() { >> try { >> netPeerGroup = PeerGroupFactory.newNetPeerGroup(); >> System.out.println("Node PeerID :" + >> netPeerGroup.getPeerID ().getUniqueValue(). >> toString()); >> } catch (PeerGroupException e) { >> System.out.println("fatal error : group creation failure"); >> e.printStackTrace (); >> ErrorHandler.writeLog(e); >> System.exit(1); >> } >> } >> *Exceptioin:* >> 20:36:18,265 WARN NullConfigurator:233 - Platform Config not found : >> file:/F:/Borland/project/ServerTemp/.jxta/PlatformConfig >> >> 20:36:59,437 WARN HttpMessageReceiver:318 - no properties in >> F:\Borland\project\ServerTemp\.jxta\jxta.properties >> >> 20:36:59,437 WARN HttpMessageReceiver:340 - >> F:\Borland\project\ServerTemp\.jxta\jxta.properties cannot be found >> >> 1150202219734: EVENT ,Starting >> Jetty/4.2.24,[main]org.mortbay.http.HttpServer.start(HttpServer.java:639) >> >> >> 1150202219750: EVENT ,Started >> HttpContext[/],[main]org.mortbay.http.HttpContext.start(HttpContext.java:1900) >> >> >> 1150202219765: EVENT ,Started SocketListener on 0.0.0.0:9700 >> <http://0.0.0.0:9700>,[main]org.mortbay.http.SocketListener.start(SocketListener.java:176) >> >> >> 1150202219765: EVENT ,Started >> org.mortbay.http.HttpServer@1684706,[main]org.mortbay.http.HttpServer.start(HttpServer.java:675 >> <mailto:org.mortbay.http.HttpServer@1684706,%5Bmain%5Dorg.mortbay.http.HttpServer.start%28HttpServer.java:675>) >> >> >> 20:37:00,843 WARN PeerView:1935 - Could not open pipes in local >> group. Trying again in 1 second. >> >> java.lang.IllegalStateException: Pipe Service has not been started or >> has been stopped >> >> at >> net.jxta.impl.pipe.PipeServiceImpl.createInputPipe(PipeServiceImpl.java:362) >> >> >> at >> net.jxta.impl.pipe.PipeServiceInterface.createInputPipe(PipeServiceInterface.java:161) >> >> >> at >> net.jxta.impl.rendezvous.rpv.PeerView.openWirePipes(PeerView.java:1907) >> >> at >> net.jxta.impl.rendezvous.rpv.PeerView.rendezvousEvent(PeerView.java:910) >> >> at >> net.jxta.impl.rendezvous.RendezVousServiceImpl.generateEvent(RendezVousServiceImpl.java:987) >> >> >> at >> net.jxta.impl.rendezvous.rdv.RdvPeerRdvService.startApp(RdvPeerRdvService.java:254) >> >> >> at >> net.jxta.impl.rendezvous.RendezVousServiceImpl.startApp(RendezVousServiceImpl.java:394) >> >> >> at net.jxta.impl.peergroup.StdPeerGroup.initFirst(StdPeerGroup.java:615) >> >> at >> net.jxta.impl.peergroup.ShadowPeerGroup.initFirst(ShadowPeerGroup.java:85) >> >> >> at >> net.jxta.impl.peergroup.GenericPeerGroup.init(GenericPeerGroup.java:910) >> >> at >> net.jxta.impl.peergroup.GenericPeerGroup.loadModule(GenericPeerGroup.java:727) >> >> >> at >> net.jxta.impl.peergroup.GenericPeerGroup.newGroup(GenericPeerGroup.java:1365) >> >> >> at >> net.jxta.impl.peergroup.PeerGroupInterface.newGroup(PeerGroupInterface.java:332) >> >> >> at >> net.jxta.peergroup.PeerGroupFactory.newNetPeerGroup(PeerGroupFactory.java:587) >> >> >> at >> net.jxta.peergroup.PeerGroupFactory.newNetPeerGroup(PeerGroupFactory.java:626) >> >> >> at com.ss.men.server.Server.startJxta(Server.java:786) >> >> at com.ss.men.server.MainApp.main(MainApp.java:13) >> >> 20:37:00,953 WARN DiscoveryServiceImpl:324 - resolver has not started >> yet, query discarded. >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >