activemq java版本要求

<pre name="code" class="html">activemq:

redis01:/root# cp apache-activemq-5.13.2-bin.tar.gz /usr/local/

安装目录:
redis01:/usr/local/apache-activemq-5.13.2# pwd
/usr/local/apache-activemq-5.13.2

添加ACTIVEMQ_OPTS_MEMORY的配置为ACTIVEMQ_OPTS_MEMORY="-Xms256M -Xmx384M -XX:PermSize=256M -XX:MaxPermSize=384M"
/usr/local/activemq/bin/activemq start
netstat -lnp|grep 61616
完成后添加/usr/local/activemq/bin/activemq start到自启动
配置好后可以登录监控管理页面去看队列情况
 http://192.168.100.15:8161/admin/queues.jsp

默认用户密码 admin/admin

当前版本默认开启密码认证:
    <bean id="securityConstraint" class="org.eclipse.jetty.util.security.Constraint">
        <property name="name" value="BASIC" />
        <property name="roles" value="user,admin" />
        <!-- set authenticate=false to disable login -->
        <property name="authenticate" value="true" />
    </bean>
    <bean id="adminSecurityConstraint" class="org.eclipse.jetty.util.security.Constraint">
        <property name="name" value="BASIC" />
        <property name="roles" value="admin" />
         <!-- set authenticate=false to disable login -->
        <property name="authenticate" value="true" />


redis01:/usr/local/apache-activemq-5.13.2# vim  conf/jetty-realm.properties 

修改密码

需要的Java版本:
redis01:/usr/bin# rpm -qa | grep java
tzdata-java-2013g-1.el6.noarch
java-1.7.0-openjdk-1.7.0.45-2.4.3.3.el6.x86_64
java-1.6.0-openjdk-1.6.0.0-1.66.1.13.0.el6.x86_64



   

posted @ 2016-05-30 11:53  czcb  阅读(438)  评论(0编辑  收藏  举报