activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asookazian <asookaz...@gmail.com>
Subject Re: starting two instances of ActiveMQ on same machine with kahadb master/slave
Date Tue, 29 Jul 2014 22:55:56 GMT
setting on command line myself now rather than in the .sh script itself:

NextGates-MacBook-Pro:bin arbisookazian$ echo $JAVA_OPTS
-Dwebconsole.type=properties
-Dwebconsole.jms.url=failover:(tcp://localhost:61616,tcp://localhost:61626)
-Dwebconsole.jmx.url=service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi,service:jmx:rmi:///jndi/rmi://localhost:2099/jmxrmi
NextGates-MacBook-Pro:bin arbisookazian$ ./catalina.sh run
Using CATALINA_BASE:  
/Users/arbisookazian/sw/activemq/master-slave-failover/apache-tomcat-7.0.54
Using CATALINA_HOME:  
/Users/arbisookazian/sw/activemq/master-slave-failover/apache-tomcat-7.0.54
Using CATALINA_TMPDIR:
/Users/arbisookazian/sw/activemq/master-slave-failover/apache-tomcat-7.0.54/temp
Using JRE_HOME:       
/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home
Using CLASSPATH:      
/Users/arbisookazian/sw/activemq/master-slave-failover/apache-tomcat-7.0.54/bin/bootstrap.jar:/Users/arbisookazian/sw/activemq/master-slave-failover/apache-tomcat-7.0.54/bin/tomcat-juli.jar
./catalina.sh: eval: line 324: syntax error near unexpected token `('
./catalina.sh: eval: line 324: `exec
"/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/bin/java"
"-Djava.util.logging.config.file=/Users/arbisookazian/sw/activemq/master-slave-failover/apache-tomcat-7.0.54/conf/logging.properties"
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Dwebconsole.type=properties
-Dwebconsole.jms.url=failover:(tcp://localhost:61616,tcp://localhost:61626)
-Dwebconsole.jmx.url=service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi,service:jmx:rmi:///jndi/rmi://localhost:2099/jmxrmi
-Djava.endorsed.dirs="/Users/arbisookazian/sw/activemq/master-slave-failover/apache-tomcat-7.0.54/endorsed"
-classpath
"/Users/arbisookazian/sw/activemq/master-slave-failover/apache-tomcat-7.0.54/bin/bootstrap.jar:/Users/arbisookazian/sw/activemq/master-slave-failover/apache-tomcat-7.0.54/bin/tomcat-juli.jar"
-Dcatalina.base="/Users/arbisookazian/sw/activemq/master-slave-failover/apache-tomcat-7.0.54"
-Dcatalina.home="/Users/arbisookazian/sw/activemq/master-slave-failover/apache-tomcat-7.0.54"
-Djava.io.tmpdir="/Users/arbisookazian/sw/activemq/master-slave-failover/apache-tomcat-7.0.54/temp"
org.apache.catalina.startup.Bootstrap start'



--
View this message in context: http://activemq.2283324.n4.nabble.com/starting-two-instances-of-ActiveMQ-on-same-machine-with-kahadb-master-slave-tp4683769p4683828.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message