Trouble Changing Broker Name

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Trouble Changing Broker Name

kdsands
I am new to PowerTac and have been unsuccessful in changing the Broker Name. I've updated the broker.properties file to reflect the change and have followed the set up and simulation steps in detail to no avail. The simulation does run with the default broker but will not initiate once you change and add a new broker. Any pointers will be most appreciated.
Reply | Threaded
Open this post in threaded view
|

Re: Trouble Changing Broker Name

grampajohn
Administrator
kdsands wrote
I am new to PowerTac and have been unsuccessful in changing the Broker Name. I've updated the broker.properties file to reflect the change and have followed the set up and simulation steps in detail to no avail. The simulation does run with the default broker but will not initiate once you change and add a new broker. Any pointers will be most appreciated.
It is strange that you are having this problem. I just edited broker.properties, changing the line

samplebroker.core.powerTacBroker.username = Sample

to

samplebroker.core.powerTacBroker.username = JEC

Then I set up a game using the browser interface, adding a broker named "JEC", and started the broker with mvn exec:exec. It starts and runs correctly.

Your question does not make clear whether you are able to run a game using the unmodified broker, without changing its name. Can you start a game using a broker named "Sample" and see the results? If not, then I suspect your problem is unrelated to your attempt to change the broker's name.

Cheers -

John
Reply | Threaded
Open this post in threaded view
|

Re: Trouble Changing Broker Name

kdsands
Thank for the response, John. I've taken screenshots. And can provide them if this would help. I am able to run a default simulation but the broker still stays default broker but it does run the 50 days. I am at a loss. My broker.properties is below.

# If you want to modify any of these parameters, simply uncomment the
# relevant line and adjust the value.

 --------- username, password ------------
samplebroker.core.powerTacBroker.username = Sandoval samplebroker.core.powerTacBroker.password = secret

# --------- tournament configuration ------------
#samplebroker.core.powerTacBroker.tourneyName = test27
#samplebroker.core.powerTacBroker.tourneyUrl = http://192.168.3.101:8080/TournamentScheduler/faces/brokerLogin.jsp
samplebroker.core.powerTacBroker.authToken = 08f08aebaced6db4ccce6f0202b55594

samplebroker.core.brokerTournamentService.responseType = xml
samplebroker.core.brokerTournamentService.maxTry = 100

# -------------- JMS -------------------
samplebroker.core.jmsManagementService.jmsBrokerUrl = tcp://localhost:61616

# ------- Server interface -------------
samplebroker.core.powerTacBroker.loginRetryTimeout = 30000
Reply | Threaded
Open this post in threaded view
|

Re: Trouble Changing Broker Name

grampajohn
Administrator
kdsands wrote
Thank for the response, John. I've taken screenshots. And can provide them if this would help. I am able to run a default simulation but the broker still stays default broker but it does run the 50 days. I am at a loss. My broker.properties is below.
OK, now I understand what's going on. If you start a game with the unmodified broker, you should see TWO brokers in the game -- one named "default broker" and one named "Sample". So I suspect you are starting your game without adding a broker, or perhaps you are adding the broker and starting the game but not starting the broker. If you do that, the game will wait a while for the broker to start and then just proceed without it.

If the problem is that you are starting the game without adding a broker, remember that you have to poke the Add Broker button and fill in a broker name before starting.

If the problem is that the broker is not started, remember that the broker is a separate process. Just telling the server to use the broker will not start the broker, it just tells the server to wait for a broker with that name to connect before starting the simulation. By default the broker will try to connect to a server on the machine named "localhost" which is the local machine, but you can run the broker on a different machine by giving the broker the correct URL for the server. That's how we run tournaments with multiple brokers -- the servers run in Rotterdam, and the brokers run on machines belonging to the participants somewhere else on the planet.

Does this help? If not, feel free to send me the screenshots (or post them and send me the URL) at jcollins@cs.umn.edu.

John
Reply | Threaded
Open this post in threaded view
|

Re: Trouble Changing Broker Name

kdsands
This dialogue is indeed helpful. Here are the steps I've taken each time. I start mvn -Pweb on the server distribution directory. Sign in to the PowerTac website, on the game page I input the boot.xml file and click add broker, input my name and click add then run. At this time the simulation is started but not running. I then go to the cmd on the broker server and input mvn exec:exec and it never starts running it continues to say not running. What additional url should I be incorporating?

cmd screenshots

C:\Program Files\sample-broker-release-1.1.0>mvn exec:exec
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building sample-broker 1.1.0
[INFO] ------------------------------------------------------------------------
[WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocate
d to commons-io:commons-io:jar:1.3.2
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (default-cli) @ sample-broker ---
Options:
Starting session 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:03 min
[INFO] Finished at: 2015-02-19T22:36:00-08:00
[INFO] Final Memory: 8M/155M
[INFO] ------------------------------------------------------------------------
'cmd' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\sample-broker-release-1.1.0>mvn clean test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building sample-broker 1.1.0
[INFO] ------------------------------------------------------------------------
[WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocate
d to commons-io:commons-io:jar:1.3.2
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ sample-broker ---
[INFO] Deleting C:\Program Files\sample-broker-release-1.1.0\target
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ sample-broker ---

[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ sample-bro
ker ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ sample-broker
 ---
[INFO] Compiling 16 source files to C:\Program Files\sample-broker-release-1.1.0
\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ sa
mple-broker ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ sampl
e-broker ---
[INFO] Compiling 4 source files to C:\Program Files\sample-broker-release-1.1.0\
target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ sample-broker ---
[INFO] Surefire report directory: C:\Program Files\sample-broker-release-1.1.0\t
arget\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.powertac.samplebroker.core.BrokerPauseTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.929 sec
Running org.powertac.samplebroker.core.MessageDispatcherTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.powertac.samplebroker.PortfolioManagerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.277 sec
Running org.powertac.samplebroker.SampleBrokerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec

Results :

Tests run: 9, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.288 s
[INFO] Finished at: 2015-02-19T22:39:32-08:00
[INFO] Final Memory: 26M/218M
[INFO] ------------------------------------------------------------------------
'cmd' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\sample-broker-release-1.1.0>mvn clean test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building sample-broker 1.1.0
[INFO] ------------------------------------------------------------------------
[WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocate
d to commons-io:commons-io:jar:1.3.2
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ sample-broker ---
[INFO] Deleting C:\Program Files\sample-broker-release-1.1.0\target
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ sample-broker ---

[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ sample-bro
ker ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ sample-broker
 ---
[INFO] Compiling 16 source files to C:\Program Files\sample-broker-release-1.1.0
\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ sa
mple-broker ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ sampl
e-broker ---
[INFO] Compiling 4 source files to C:\Program Files\sample-broker-release-1.1.0\
target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ sample-broker ---
[INFO] Surefire report directory: C:\Program Files\sample-broker-release-1.1.0\t
arget\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.powertac.samplebroker.core.BrokerPauseTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.988 sec
Running org.powertac.samplebroker.core.MessageDispatcherTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.powertac.samplebroker.PortfolioManagerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.209 sec
Running org.powertac.samplebroker.SampleBrokerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec

Results :

Tests run: 9, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19.555 s
[INFO] Finished at: 2015-02-19T22:42:57-08:00
[INFO] Final Memory: 26M/220M
[INFO] ------------------------------------------------------------------------
'cmd' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\sample-broker-release-1.1.0>mvn exec:exec
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building sample-broker 1.1.0
[INFO] ------------------------------------------------------------------------
[WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocate
d to commons-io:commons-io:jar:1.3.2
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (default-cli) @ sample-broker ---
Options:
Starting session 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:07 min
[INFO] Finished at: 2015-02-19T22:47:57-08:00
[INFO] Final Memory: 8M/155M
[INFO] ------------------------------------------------------------------------
'cmd' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\sample-broker-release-1.1.0>mvn exec:exec
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building sample-broker 1.1.0
[INFO] ------------------------------------------------------------------------
[WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocate
d to commons-io:commons-io:jar:1.3.2
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (default-cli) @ sample-broker ---
Options:
Starting session 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:03 min
[INFO] Finished at: 2015-02-19T22:51:10-08:00
[INFO] Final Memory: 8M/155M
[INFO] ------------------------------------------------------------------------
'cmd' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\sample-broker-release-1.1.0>mvn compile
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building sample-broker 1.1.0
[INFO] ------------------------------------------------------------------------
[WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocate
d to commons-io:commons-io:jar:1.3.2
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ sample-broker ---

[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ sample-bro
ker ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ sample-broker
 ---
[INFO] Nothing to compile - all classes are up to date
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.661 s
[INFO] Finished at: 2015-02-19T23:46:09-08:00
[INFO] Final Memory: 9M/159M
[INFO] ------------------------------------------------------------------------
'cmd' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files\sample-broker-release-1.1.0>mvn exec:exec
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building sample-broker 1.1.0
[INFO] ------------------------------------------------------------------------
[WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocate
d to commons-io:commons-io:jar:1.3.2
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (default-cli) @ sample-broker ---
Options:
Starting session 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:08 min
[INFO] Finished at: 2015-02-19T23:51:50-08:00
[INFO] Final Memory: 9M/155M
[INFO] ------------------------------------------------------------------------
'cmd' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\sample-broker-release-1.1.0>



C:\Program Files\server-distribution-1.1.1>mvn -Pweb
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Power TAC distribution 1.1.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ server-distributi
on ---
[INFO]
[INFO] --- maven-dependency-plugin:2.4:unpack (unpack-war) @ server-distribution
 ---
[INFO] Configured Artifact: org.powertac:visualizer:1.1.1:war
[INFO] Unpacking C:\Users\Kimberly\.m2\repository\org\powertac\visualizer\1.1.1\
visualizer-1.1.1.war to C:\Program Files\server-distribution-1.1.1\target\visual
izer with includes "" and excludes ""
[INFO]
[INFO] >>> jetty-maven-plugin:8.1.8.v20121106:run (default-cli) > test-compile @
 server-distribution >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ server-distributi
on ---
[INFO]
[INFO] <<< jetty-maven-plugin:8.1.8.v20121106:run (default-cli) < test-compile @
 server-distribution <<<
[INFO]
[INFO] --- jetty-maven-plugin:8.1.8.v20121106:run (default-cli) @ server-distrib
ution ---
[INFO] Configuring Jetty for project: Power TAC distribution
[INFO] Webapp source directory = C:\Program Files\server-distribution-1.1.1\targ
et\visualizer
[INFO] Reload Mechanic: automatic
[INFO] Classes = C:\Program Files\server-distribution-1.1.1\target\visualizer\WE
B-INF\classes
[INFO] Context path = /visualizer
[INFO] Tmp directory = C:\Program Files\server-distribution-1.1.1\target\tmp
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[INFO] Web overrides =  none
[INFO] Adding overlay for war project artifact org.powertac:visualizer:war:1.1.1

[INFO] web.xml file = file:/C:/Program%20Files/server-distribution-1.1.1/target/
visualizer/WEB-INF/web.xml
[INFO] Webapp directory = C:\Program Files\server-distribution-1.1.1\target\visu
alizer
2015-02-19 23:46:50.640:INFO:oejs.Server:jetty-8.1.8.v20121106
2015-02-19 23:46:50.673:INFO:omjp.MavenWebInfConfiguration:Unpacking overlay: ja
r:file:/C:/Users/Kimberly/.m2/repository/org/powertac/visualizer/1.1.1/visualize
r-1.1.1.war!/
2015-02-19 23:46:52.272:INFO:omjp.MavenWebInfConfiguration:Adding overlay: file:
/C:/Program%20Files/server-distribution-1.1.1/target/tmp/visualizer-1_1_1_war/
2015-02-19 23:46:56.683:INFO:oejpw.PlusConfiguration:No Transaction manager foun
d - if your webapp requires one, please configure one.
Null identity service, trying login service: null
Finding identity service: null
2015-02-19 23:47:24.404:INFO:/visualizer:No Spring WebApplicationInitializer typ
es detected on classpath
2015-02-19 23:47:26.637:INFO:oejsh.ContextHandler:started o.m.j.p.JettyWebAppCon
text{/visualizer,[file:/C:/Program%20Files/server-distribution-1.1.1/target/visu
alizer/, file:/C:/Program%20Files/server-distribution-1.1.1/target/tmp/visualize
r-1_1_1_war/, jar:file:/C:/Users/Kimberly/.m2/repository/com/sun/faces/jsf-impl/
2.0.3/jsf-impl-2.0.3.jar!/META-INF/resources/, jar:file:/C:/Users/Kimberly/.m2/r
epository/org/primefaces/primefaces/3.5/primefaces-3.5.jar!/META-INF/resources/,
 jar:file:/C:/Users/Kimberly/.m2/repository/org/primefaces/themes/south-street/1
.0.2/south-street-1.0.2.jar!/META-INF/resources/]},file:/C:/Program%20Files/serv
er-distribution-1.1.1/target/visualizer/
2015-02-19 23:47:26.640:INFO:oejsh.ContextHandler:started o.m.j.p.JettyWebAppCon
text{/visualizer,[file:/C:/Program%20Files/server-distribution-1.1.1/target/visu
alizer/, file:/C:/Program%20Files/server-distribution-1.1.1/target/tmp/visualize
r-1_1_1_war/, jar:file:/C:/Users/Kimberly/.m2/repository/com/sun/faces/jsf-impl/
2.0.3/jsf-impl-2.0.3.jar!/META-INF/resources/, jar:file:/C:/Users/Kimberly/.m2/r
epository/org/primefaces/primefaces/3.5/primefaces-3.5.jar!/META-INF/resources/,
 jar:file:/C:/Users/Kimberly/.m2/repository/org/primefaces/themes/south-street/1
.0.2/south-street-1.0.2.jar!/META-INF/resources/]},file:/C:/Program%20Files/serv
er-distribution-1.1.1/target/visualizer/
2015-02-19 23:47:26.642:INFO:oejsh.ContextHandler:started o.m.j.p.JettyWebAppCon
text{/visualizer,[file:/C:/Program%20Files/server-distribution-1.1.1/target/visu
alizer/, file:/C:/Program%20Files/server-distribution-1.1.1/target/tmp/visualize
r-1_1_1_war/, jar:file:/C:/Users/Kimberly/.m2/repository/com/sun/faces/jsf-impl/
2.0.3/jsf-impl-2.0.3.jar!/META-INF/resources/, jar:file:/C:/Users/Kimberly/.m2/r
epository/org/primefaces/primefaces/3.5/primefaces-3.5.jar!/META-INF/resources/,
 jar:file:/C:/Users/Kimberly/.m2/repository/org/primefaces/themes/south-street/1
.0.2/south-street-1.0.2.jar!/META-INF/resources/]},file:/C:/Program%20Files/serv
er-distribution-1.1.1/target/visualizer/
2015-02-19 23:47:26.786:INFO:/visualizer:Initializing Spring root WebApplication
Context
2015-02-19 23:47:32.512:INFO:oejsh.ContextHandler:started o.m.j.p.JettyWebAppCon
text{/visualizer,[file:/C:/Program%20Files/server-distribution-1.1.1/target/visu
alizer/, file:/C:/Program%20Files/server-distribution-1.1.1/target/tmp/visualize
r-1_1_1_war/, jar:file:/C:/Users/Kimberly/.m2/repository/com/sun/faces/jsf-impl/
2.0.3/jsf-impl-2.0.3.jar!/META-INF/resources/, jar:file:/C:/Users/Kimberly/.m2/r
epository/org/primefaces/primefaces/3.5/primefaces-3.5.jar!/META-INF/resources/,
 jar:file:/C:/Users/Kimberly/.m2/repository/org/primefaces/themes/south-street/1
.0.2/south-street-1.0.2.jar!/META-INF/resources/]},file:/C:/Program%20Files/serv
er-distribution-1.1.1/target/visualizer/
Feb 19, 2015 11:47:32 PM com.sun.faces.config.ConfigureListener contextInitializ
ed
INFO: Initializing Mojarra 2.0.3 (SNAPSHOT 20100726) for context '/visualizer'
Feb 19, 2015 11:47:34 PM com.sun.faces.spi.InjectionProviderFactory createInstan
ce
INFO: JSF1048: PostConstruct/PreDestroy annotations present.  ManagedBeans metho
ds marked with these annotations will have said annotations processed.
Feb 19, 2015 11:47:36 PM org.primefaces.webapp.PostConstructApplicationEventList
ener processEvent
INFO: Running on PrimeFaces 3.5
Feb 19, 2015 11:47:36 PM com.sun.faces.config.ConfigureListener$WebConfigResourc
eMonitor$Monitor <init>
INFO: Monitoring file:/C:/Program%20Files/server-distribution-1.1.1/target/visua
lizer/WEB-INF/faces-config.xml for modifications
6424 [main] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger(org.mo
rtbay.log) via org.mortbay.log.Slf4jLog
2015-02-19 23:47:36.333:INFO:oejsh.ContextHandler:started o.m.j.p.JettyWebAppCon
text{/visualizer,[file:/C:/Program%20Files/server-distribution-1.1.1/target/visu
alizer/, file:/C:/Program%20Files/server-distribution-1.1.1/target/tmp/visualize
r-1_1_1_war/, jar:file:/C:/Users/Kimberly/.m2/repository/com/sun/faces/jsf-impl/
2.0.3/jsf-impl-2.0.3.jar!/META-INF/resources/, jar:file:/C:/Users/Kimberly/.m2/r
epository/org/primefaces/primefaces/3.5/primefaces-3.5.jar!/META-INF/resources/,
 jar:file:/C:/Users/Kimberly/.m2/repository/org/primefaces/themes/south-street/1
.0.2/south-street-1.0.2.jar!/META-INF/resources/]},file:/C:/Program%20Files/serv
er-distribution-1.1.1/target/visualizer/
2015-02-19 23:47:36.525:INFO:/visualizer:Initializing Spring FrameworkServlet 'S
pring MVC Servlet'
8224 [main] INFO org.hibernate.validator.util.Version - Hibernate Validator 4.0.
2.GA
2015-02-19 23:47:39.715:INFO:oejs.AbstractConnector:Started SelectChannelConnect
or@0.0.0.0:8080
[INFO] Started Jetty Server
40485 [Thread-11] INFO org.apache.activemq.broker.BrokerService - Using Persiste
nce Adapter: MemoryPersistenceAdapter
40489 [Thread-11] INFO org.apache.activemq.broker.BrokerService - ActiveMQ 5.6.0
 JMS Message Broker (simJmsProvider) is starting
40490 [Thread-11] INFO org.apache.activemq.broker.BrokerService - For help or mo
re information please see: http://activemq.apache.org/
40657 [Thread-11] INFO org.apache.activemq.transport.TransportServerThreadSuppor
t - Listening for connections at: tcp://127.0.0.1:61616
40658 [Thread-11] INFO org.apache.activemq.broker.TransportConnector - Connector
 tcp://127.0.0.1:61616 Started
40670 [Thread-11] INFO org.apache.activemq.broker.BrokerService - ActiveMQ JMS M
essage Broker (simJmsProvider, ID:Kudiville-PC-62010-1424418490386-0:1) started
Reply | Threaded
Open this post in threaded view
|

Re: Trouble Changing Broker Name

grampajohn
Administrator
Thanks. I am not quite sure what we are looking at here. Is this a single command window in which you started and compiled the broker a few times, then ran the server? Or is it a collection of interactions from multiple command windows? It appears that you started the broker the first time at 22:33 on the west coast of North America. You then compiled it and tried running it again a few times. Each time it ran for just over 3 minutes. That is a timeout value; the broker quits because either (1) there was no server running at the time, or (2) the broker could not find the server at tcp://localhost:61616.

There are a number of messages "'cmd' is not recognized as an internal or external command, operable program or batch file." I don't know where this is coming from. I don't use or even have access to a Windows machine, but I know lots of others on this list are using Windows. Can anyone else shed light on this?

At the end, an hour and 20 minutes later, you started the server. Did you start the broker again in a different command window while the server was running?

I suspect the problem is that you are not running both the server and the broker at the same time. To do this, you will need to use two separate command windows. Start the server first, fill in the form in the browser, then start the broker. Once the server is running, it should wait indefinitely for the broker(s) to log in.

Does this help?

John
Reply | Threaded
Open this post in threaded view
|

Re: Trouble Changing Broker Name

kdsands
In reply to this post by grampajohn
John,

I uninstalled/removed the broker and distribution folders from my directory several times and started again from scratch and the simulation has successfully ran with the Sample and it is currently running with my changed name. Thank your all your suggestions.