Bash is probably getting you.

The single quotes will keep it from evaluating the ('s for you.  :)

Try  sudo ./activemq 
'broker:(tcp://localhost:9999,stomp://localhost:9998)?useJmx=true'

--Allen Reese

-----Original Message-----
From: petersk [mailto:petersk...@msn.com] 
Sent: Monday, September 20, 2010 4:48 PM
To: users@activemq.apache.org
Subject: Unexpected token error when starting


I tried the following (which I thought was simple) method of starting
activemq:
sudo ./activemq
broker:(tcp://localhost:9999,stomp://localhost:9998)?useJmx=true

and get:
bash: syntax error near unexpected token `('

What am I doing wrong?  I looked in a lot of places and google doesn't even 
seem to have any examples of someone having the same problem.
Kurt
--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Unexpected-token-error-when-starting-tp2547823p2547823.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to