From ce05d7cb33e7c40a51680a251e2326f5917e3c8d Mon Sep 17 00:00:00 2001 From: Robert Gemmell Date: Wed, 28 Nov 2012 18:44:10 +0000 Subject: QPID-4456: ensure the qpid-server.bat script for windows picks up the broker plugins. Update example output from running the startup commands. merge from trunk r1413444 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1414860 13f79535-47bb-0310-9956-ffa450edef68 --- .../java-broker/Java-Broker-Getting-Started.xml | 36 +++++++++++++--------- qpid/java/broker/bin/qpid-server.bat | 4 +-- 2 files changed, 23 insertions(+), 17 deletions(-) diff --git a/qpid/doc/book/src/java-broker/Java-Broker-Getting-Started.xml b/qpid/doc/book/src/java-broker/Java-Broker-Getting-Started.xml index 8bdd4dc238..630c27ce89 100644 --- a/qpid/doc/book/src/java-broker/Java-Broker-Getting-Started.xml +++ b/qpid/doc/book/src/java-broker/Java-Broker-Getting-Started.xml @@ -36,22 +36,25 @@ Starting/Stopping on Windows Firstly change to the installation directory used during the installation and ensure that the QPID_WORK environment variable is set. - Now use the qpid-server.bat to start the server + Now use the qpid-server.bat to start the server Output similar to the following will be seen: [Broker] BRK-1006 : Using configuration : C:\qpid\qpid-broker-&qpidCurrentRelease;\etc\config.xml [Broker] BRK-1007 : Using logging configuration : C:\qpid\qpid-broker-&qpidCurrentRelease;\etc\log4j.xml -[Broker] MNG-1001 : Startup -[Broker] MNG-1002 : Starting : RMI Registry : Listening on port 8999 -[Broker] MNG-1002 : Starting : JMX RMIConnectorServer : Listening on port 9099 -[Broker] MNG-1004 : Ready -[Broker] BRK-1001 : Startup : Version: &qpidCurrentRelease; Build: 1363863 +[Broker] BRK-1001 : Startup : Version: &qpidCurrentRelease; Build: 1411386 [Broker] BRK-1010 : Platform : JVM : Sun Microsystems Inc. version: 1.6.0_24-b07 OS : Windows 7 version: 6.1 arch: amd64 [Broker] BRK-1011 : Maximum Memory : 1,069,416,448 bytes +[Broker] MNG-1001 : Web Management Startup +[Broker] MNG-1002 : Starting : HTTP : Listening on port 8080 +[Broker] MNG-1004 : Web Management Ready +[Broker] MNG-1001 : JMX Management Startup +[Broker] MNG-1002 : Starting : RMI Registry : Listening on port 8999 +[Broker] MNG-1002 : Starting : JMX RMIConnectorServer : Listening on port 9099 +[Broker] MNG-1004 : JMX Management Ready [Broker] BRK-1002 : Starting : Listening on TCP port 5672 [Broker] BRK-1004 : Qpid Broker Ready - The BRK-1004 message confirms that the Broker is ready for work. The MNG-1002 and BRK-1004 confirm the ports to - which the Broker is listening (for JMX management and AMQP respectively). + The BRK-1004 message confirms that the Broker is ready for work. The MNG-1002 and BRK-1002 confirm the ports to + which the Broker is listening (for HTTP/JMX management and AMQP respectively). To stop the Broker, use Control-C or use the Shutdown MBean made from the @@ -64,17 +67,20 @@ Output similar to the following will be seen: [Broker] BRK-1006 : Using configuration : /usr/local/qpid/qpid-broker-&qpidCurrentRelease;/etc/config.xml [Broker] BRK-1007 : Using logging configuration : /usr/local/qpid/qpid-broker-&qpidCurrentRelease;/etc/log4j.xml -[Broker] MNG-1001 : Startup +[Broker] BRK-1001 : Startup : Version: &qpidCurrentRelease; Build: 1411386 +[Broker] BRK-1010 : Platform : JVM : Apple Inc. version: 1.6.0_35-b10-428-11M3811 OS : Mac OS X version: 10.8.2 arch: x86_64 +[Broker] BRK-1011 : Maximum Memory : 1,070,399,488 bytes +[Broker] MNG-1001 : Web Management Startup +[Broker] MNG-1002 : Starting : HTTP : Listening on port 8080 +[Broker] MNG-1004 : Web Management Ready +[Broker] MNG-1001 : JMX Management Startup [Broker] MNG-1002 : Starting : RMI Registry : Listening on port 8999 [Broker] MNG-1002 : Starting : JMX RMIConnectorServer : Listening on port 9099 -[Broker] MNG-1004 : Ready -[Broker] BRK-1001 : Startup : Version: &qpidCurrentRelease; Build: 1363863 -[Broker] BRK-1010 : Platform : JVM : Apple Inc. version: 1.6.0_35-b10-428-11M3811 OS : Mac OS X version: 10.8.2 arch: x86_64 -[Broker] BRK-1011 : Maximum Memory : 1,069,416,448 bytes +[Broker] MNG-1004 : JMX Management Ready [Broker] BRK-1002 : Starting : Listening on TCP port 5672 [Broker] BRK-1004 : Qpid Broker Ready - The BRK-1004 message confirms that the Broker is ready for work. The MNG-1002 and BRK-1004 confirm the ports to - which the Broker is listening (for JMX management and AMQP respectively). + The BRK-1004 message confirms that the Broker is ready for work. The MNG-1002 and BRK-1002 confirm the ports to + which the Broker is listening (for HTTP/JMX management and AMQP respectively). To stop the Broker, use Control-C from the controlling shell, use the bin/qpid.stop script, or use kill -TERM <pid> or the Shutdown MBean from diff --git a/qpid/java/broker/bin/qpid-server.bat b/qpid/java/broker/bin/qpid-server.bat index 6b7bbcb96e..0d0355c44a 100644 --- a/qpid/java/broker/bin/qpid-server.bat +++ b/qpid/java/broker/bin/qpid-server.bat @@ -76,8 +76,8 @@ echo Using CLASSPATH: %CLASSPATH% goto afterQpidClasspath :noQpidClasspath -echo Warning: Qpid classpath not set. CLASSPATH set to %QPID_HOME%\lib\qpid-all.jar -set CLASSPATH=%QPID_HOME%\lib\qpid-all.jar;%QPID_HOME%\lib\opt\* +echo Warning: Qpid classpath not set. CLASSPATH set to %QPID_HOME%\lib\qpid-all.jar;%QPID_HOME%\lib\plugins\*;%QPID_HOME%\lib\opt\* +set CLASSPATH=%QPID_HOME%\lib\qpid-all.jar;%QPID_HOME%\lib\plugins\*;%QPID_HOME%\lib\opt\* :afterQpidClasspath REM start parsing -run arguments -- cgit v1.2.1