[Pogamut-list] Pogamut bots vs. Unreal bots
stelabouras
pogamut-forum at artemis.ms.mff.cuni.cz
Thu Jan 8 23:08:06 CET 2009
Re: Re: Pogamut bots vs. Unreal bots
Author: stelabouras
> Run a server, configure Pogamut 2 to connect to your server, run the experiment, it should work...
>
> Hope I didn't forget something :D.
Hello,
I have created an Agent, linked it in as a library to the experiment, added 2 UT bots and my agent and I always get the following error (in log file) when I terminate the server:
Exception occured, terminating experiment.
cz.cuni.pogamut.exceptions.PogamutException: Connection refused.
at cz.cuni.pogamut.server.UTServer.connectBot(UTServer.java:749)
at cz.cuni.pogamut.server.UTServer.connectBot(UTServer.java:705)
at cz.cuni.pogamut.netbeansplugin.NbUTServer.connectBot(NbUTServer.java:553)
at pogamutexperiment.Main.stageTwoStart(Main.java:37)
at cz.cuni.pogamut.experiments.Experiment$2.run(Experiment.java:146)
at java.lang.Thread.run(Thread.java:619)
Caused by: cz.cuni.pogamut.exceptions.ConnectException: Can't connect to GameBot (localhost/127.0.0.1:3000) -> Connection refused: connect
at cz.cuni.pogamut.Parser.GameBotConnection.connect(GameBotConnection.java:242)
at cz.cuni.pogamut.Client.Agent.bindLocalParser(Agent.java:450)
at cz.cuni.pogamut.server.UTServer.connectBot(UTServer.java:732)
... 5 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at cz.cuni.pogamut.Parser.GameBotConnection.connect(GameBotConnection.java:236)
... 7 more
Does anyone have a clue on what might be wrong? When I run the code with only the two UT bots connected, experiments seems to run smoothly.
Thanks in advance!
More information about the Pogamut-list
mailing list