最近在使用activeMQ,发现在C#下用最新版本的Apache.NMS.ActiveMQ-1.6.1-bin.zip连接activeMQ 5.3.2总是报内存溢出,所以打算使用新版的activeMQ 5.9试试,安装过程如下:
1.下载 activemq5.9.0
http://activemq.apache.org/activemq-590-release.html
2.解压到一个unix用户下
2.1新建用户
groupadd -g 101 users
useradd -u 104 -g 101 -d /export/home/activemq -s /bin/csh -c activemq activemq
mkdir -p /export/home/activemq
chmod -R 755 /export/home/activemq
chown -R activemq:users /export/home/activemq
2.2解压
gzip -d *.tar.gz
tar xvf *.tar
3.启动程序
登陆到activemq用户
cd apache-activemq-5.9.0/bin
执行 activemq setup /export/home/activemq/.activemqrc
执行 activemq start
4.停止程序
登陆到activemq用户
cd apache-activemq-5.9.0/bin
执行 activemq stop
或者kill 进程
4.管理
ActiveMQ WebConsole available at http://localhost:8161/
1.下载 activemq5.9.0
http://activemq.apache.org/activemq-590-release.html
2.解压到一个unix用户下
2.1新建用户
groupadd -g 101 users
useradd -u 104 -g 101 -d /export/home/activemq -s /bin/csh -c activemq activemq
mkdir -p /export/home/activemq
chmod -R 755 /export/home/activemq
chown -R activemq:users /export/home/activemq
2.2解压
gzip -d *.tar.gz
tar xvf *.tar
3.启动程序
登陆到activemq用户
cd apache-activemq-5.9.0/bin
执行 activemq setup /export/home/activemq/.activemqrc
执行 activemq start
4.停止程序
登陆到activemq用户
cd apache-activemq-5.9.0/bin
执行 activemq stop
或者kill 进程
4.管理
ActiveMQ WebConsole available at http://localhost:8161/

文章详细记录了在C#环境下使用activeMQ5.3.2时遇到内存溢出问题的解决方法,并成功迁移至activeMQ5.9版本的安装与配置过程。
1575

被折叠的 条评论
为什么被折叠?



