Game with is not starting because default broker does not login

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Game with is not starting because default broker does not login

Simon
Hello everyone,

I am new to PowerTAC and experimet with negotiation between brokers and customers, thus I have modified different server- and broker-components. Now I want to run/debug my SampleBroker only in a simulation on my PowerTAC Server.
I start my server-Main over the IDE with the following arguments:
--sim
--boot-data=file:bootstrap.xml
--brokers=Sample

My SampleBroker is started without arguments and also all configuration parameters are not modified.

My Problem: The SampleBroker authenticates correctly, but the server seems to wait for the default broker to login as well, which never happens. Log-Server:

2286 INFO  server.CompetitionControlService: createInitialTimeslots(2009-10-25T00:00:00.000Z, 1, 24), at 2009-10-25T00:00:00.000Z
2289 INFO  server.CompetitionControlService: game-length 1491(k=91.72446899547273, roll=0.8961613241526325)
2289 INFO  server.CompetitionControlService: timeslotCount = 1491
2289 INFO  server.CompetitionControlService: waiting for logins from default broker Sample
2289 INFO  server.CompetitionControlService: pendingLogins.size()=1, loginCount=1

Log-SampleBroker:
48 INFO  core.JmsManagementService: registerMessageListener(Sample, org.powertac.samplebroker.core.BrokerMessageReceiver@c7b7e61)
226 INFO  core.PowerTacBroker: Listening on queue Sample
239 INFO  core.MessageDispatcher: sending text:
<broker-authentication username="Sample" password="secret" brokerTime="1432990633003"/>
280 INFO  core.BrokerMessageReceiver: onMessage(String) - received message:
<broker-accept prefix="1" key="jmujs5" serverTime="1432990633043"/>

Any help is very much appreciated. Thank you!

Simon
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Game with is not starting because default broker does not login

Simon
I found the solution. I changed the default broker name accidently at the beginning of my development, because I confused Sample and Default Broker. When changing it back I wrote "Default Broker" instead of "default broker", which caused above problems.
Loading...