Thanks for catching this! I was able to confirm that on windows startBroker.bat does not start the broker due to "console" directive which apparently is not supported on windows. On linux the startBroker.sh works fine with that directive. It redirects stdout to the console.
I will be happy to change the README but not sure what is the suggested change. The README just says to use startBroker.sh bat script to launch the broker. Given that you've fixed the bug which prevented broker from starting what do you think is missing in the documentation? -jerry On Wed, Jun 22, 2016 at 8:47 AM, Antonio Nunziante (JIRA) < [email protected]> wrote: > > [ > https://issues.apache.org/jira/browse/UIMA-4986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > Antonio Nunziante closed UIMA-4986. > ----------------------------------- > Resolution: Fixed > > Solved replacing "console" with "start" in startBroker.bat. Please fix > README. > > > Start Broker on Windows > > ----------------------- > > > > Key: UIMA-4986 > > URL: https://issues.apache.org/jira/browse/UIMA-4986 > > Project: UIMA > > Issue Type: Bug > > Reporter: Antonio Nunziante > > > > I'm working on an Apache UIMA-AS solution. After set UIMA_HOME and PATH > environment variables I'm not able to start successfully the > startBroker.bat under Windows 8, I've obtained the following console > output, what's wrong or missing?: > > D:\apache-uima-as-2.8.1\bin>startBroker.bat > > 1 file copiati. > > 1 file copiati. > > D:\apache-uima-as-2.8.1\apache-activemq\conf\activemq-nojournal.xml > > D:\apache-uima-as-2.8.1\apache-activemq\conf\credentials-enc.properties > > D:\apache-uima-as-2.8.1\apache-activemq\conf\credentials.properties > > D:\apache-uima-as-2.8.1\apache-activemq\conf\log4j.properties > > D:\apache-uima-as-2.8.1\apache-activemq\conf\logging.properties > > 5 file copiati. > > D:\apache-uima-as-2.8.1\bin>call > "D:\apache-uima-as-2.8.1\apache-activemq\bin\activemq.bat" "console" > "xbean:file:amq/conf/activemq-nojournal.xml" > > Java Runtime: Oracle Corporation 1.8.0_51 C:\Program > Files\Java\jdk1.8.0_51\jre > > Heap sizes: current=1005056k free=984084k max=1005056k > > JVM args: -Dcom.sun.management.jmxremote -Xms1G -Xmx1G > -Djava.util.logging.config.file=logging.properties > -Djava.security.auth.login.config=D:\apa > > che-uima-as-2.8.1\apache-activemq\conf\login.config > -Dactivemq.classpath=D:\apache-uima-as-2.8.1\apache-activemq\conf;amq/conf;D:\apache-uima-as-2.8.1 > > \apache-activemq/conf; > -Dactivemq.home=D:\apache-uima-as-2.8.1\apache-activemq -Dactivemq.base=amq > -Dactivemq.conf=D:\apache-uima-as-2.8.1\apache-acti > > vemq\conf -Dactivemq.data=D:\apache-uima-as-2.8.1\apache-activemq\data > -Djava.io.tmpdir=D:\apache-uima-as-2.8.1\apache-activemq\data\tmp > > Extensions classpath: > > > > [amq\lib,D:\apache-uima-as-2.8.1\apache-activemq\lib,amq\lib\camel,amq\lib\optional,amq\lib\web,amq\lib\extra,D:\apache-uima-as-2.8.1\apache-activem > > > q\lib\camel,D:\apache-uima-as-2.8.1\apache-activemq\lib\optional,D:\apache-uima-as-2.8.1\apache-activemq\lib\web,D:\apache-uima-as-2.8.1\apache-active > > mq\lib\extra] > > ACTIVEMQ_HOME: D:\apache-uima-as-2.8.1\apache-activemq > > ACTIVEMQ_BASE: amq > > ACTIVEMQ_CONF: D:\apache-uima-as-2.8.1\apache-activemq\conf > > ACTIVEMQ_DATA: D:\apache-uima-as-2.8.1\apache-activemq\data > > Usage: Main [--extdir <dir>] [task] [task-options] [task data] > > Tasks: > > browse - Display selected messages in a specified > destination. > > bstat - Performs a predefined query that displays > useful statistics regarding the specified broker > > consumer - Receives messages from the broker > > create - Creates a runnable broker instance in the > specified path. > > dstat - Performs a predefined query that displays > useful tabular statistics regarding the specified destination type > > export - Exports a stopped brokers data files to > an archive file > > list - Lists all available brokers in the > specified JMX context > > producer - Sends messages to the broker > > purge - Delete selected destination's messages > that matches the message selector > > query - Display selected broker component's > attributes and statistics. > > start - Creates and starts a broker using a > configuration file, or a broker URI. > > stop - Stops a running broker specified by the > broker name. > > Task Options (Options specific to each task): > > --extdir <dir> - Add the jar files in the directory to the > classpath. > > --version - Display the version information. > > -h,-?,--help - Display this help information. To display task > specific help, use Main [task] -h,-?,--help > > Task Data: > > - Information needed by each specific task. > > JMX system property options: > > -Dactivemq.jmx.url=<jmx service uri> (default is: > 'service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi') > > -Dactivemq.jmx.user=<user name> > > -Dactivemq.jmx.password=<password> > > > > -- > This message was sent by Atlassian JIRA > (v6.3.4#6332) >
