[Pogamut-list] Connection to external server

fireball787b pogamut-forum at diana.ms.mff.cuni.cz
Thu Jan 3 15:18:36 CET 2013


Re: Connection to external server

Author: fireball787b

This is the log:

(Platform)  [WARNING] 15:13:20.954       Closing the platform.
(Platform)  [WARNING] 15:13:20.981            Shutting down!
Exception in thread "main" ComponentCantStartException[UT2004Bot[SmartBot1]: Can't start: ComponentBus[SmartBot1-3 at 192.168.1.134/1f8f003b-1a17-8b3e-b9fa-02480680e211, running=false, queue length=0]: Exception happened during the propagation of: StartingEvent[source=UT2004Bot[SmartBot1]] (caused by: LogCategory(Connection): java.net.ConnectException: Connection refused: connect (127.0.0.1:3000)) (caused by: LogCategory(Connection): java.net.ConnectException: Connection refused: connect (127.0.0.1:3000))]
	at cz.cuni.amis.pogamut.base.agent.impl.AbstractAgent.start(AbstractAgent.java:474)
	at cz.cuni.amis.pogamut.base.agent.utils.runner.impl.AgentRunner.startAgent(AgentRunner.java:515)
	at cz.cuni.amis.pogamut.base.agent.utils.runner.impl.AgentRunner.startAgentWithParamsMain(AgentRunner.java:365)
	at cz.cuni.amis.pogamut.base.agent.utils.runner.impl.AgentRunner.startAgent(AgentRunner.java:189)
	at cz.cuni.amis.pogamut.ut2004.utils.UT2004BotRunner.startAgent(UT2004BotRunner.java:173)
	at com.mycompany.mavenproject2.SmartBot.main(SmartBot.java:797)
Caused by: ConnectionException[LogCategory(Connection): java.net.ConnectException: Connection refused: connect (127.0.0.1:3000)]
	at cz.cuni.amis.pogamut.base.communication.connection.impl.socket.SocketConnection.unsyncConnect(SocketConnection.java:116)
	at cz.cuni.amis.pogamut.base.communication.connection.impl.socket.SocketConnection.unsyncConnect(SocketConnection.java:28)
	at cz.cuni.amis.pogamut.base.communication.connection.impl.AbstractConnection$1.start(AbstractConnection.java:217)
	at cz.cuni.amis.pogamut.base.component.controller.ComponentController.start(ComponentController.java:1261)
	at cz.cuni.amis.pogamut.base.component.controller.ComponentController.startingChangedByStartingEvent(ComponentController.java:971)
	at cz.cuni.amis.pogamut.base.component.controller.ComponentController.startingEvent(ComponentController.java:669)
	at cz.cuni.amis.pogamut.base.component.controller.ComponentController.access$000(ComponentController.java:113)
	at cz.cuni.amis.pogamut.base.component.controller.ComponentController$1.notify(ComponentController.java:148)
	at cz.cuni.amis.pogamut.base.component.controller.ComponentController$1.notify(ComponentController.java:144)
	at cz.cuni.amis.pogamut.base.component.bus.ComponentBus.notifyListenersC(ComponentBus.java:452)
	at cz.cuni.amis.pogamut.base.component.bus.ComponentBus.innerRaiseEvent(ComponentBus.java:557)
	at cz.cuni.amis.pogamut.base.component.bus.ComponentBus.processQueue(ComponentBus.java:687)
	at cz.cuni.amis.pogamut.base.component.bus.ComponentBus.event(ComponentBus.java:630)
	at cz.cuni.amis.pogamut.base.component.bus.ComponentBus.eventTransactional(ComponentBus.java:659)
	at cz.cuni.amis.pogamut.base.component.bus.event.ComponentBusEvents.eventTransactional(ComponentBusEvents.java:86)
	at cz.cuni.amis.pogamut.base.component.bus.event.ComponentBusEvents.startingTransactional(ComponentBusEvents.java:176)
	at cz.cuni.amis.pogamut.base.agent.impl.AbstractAgent.start(AbstractAgent.java:456)
	... 5 more
(Platform)  [SEVERE]  15:13:20.981            Shutdown.
(Platform)  [WARNING] 15:13:21.005            ServerWorker Stopped.
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 7.397s
Finished at: Thu Jan 03 15:13:21 CET 2013
Final Memory: 9M/490M
------------------------------------------------------------------------
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (default-cli) on project smartbot: Command execution failed. Process exited with an error: 1(Exit value: 1) -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

It has much more but it repeats this part for 2 or 3 times.

My server is defined like this:
name : ut2004
URI: gb04://192.168.1.132:3001
automatically fills the map part with the TrainingDay.

-- 
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=6&comments_reply_threadId=6&comments_parentId=1094&post_reply=1#form>




More information about the Pogamut-list mailing list