Activemq-Windows installation and deployment test monitoring

Source: Internet
Author: User
Tags stomp
Activemq -- install, deploy, test, and monitor windows
 
Source: chinaunix blog Date: 2009.07.31 (0 comments in total) I want to comment
 
Install jdk.exe 1.5.0
In addition, set D:/program files/Java/jdk1.5.0/lib/tools. Jar
Copy to the D:/program files/Java/jdk1.5.0/JRE/lib folder,
Copy to the D:/program files/Java/jre1.5.0/lib folder,
2. Set System Variables
Java_home = D:/program files/Java/jdk1.5.0
Classpaht = .; d:/program files/Java/jdk1.5.0/lib/tools. jar; D:/program files/Java/jdk1.5.0/lib/TD. jar; D:/program files/Java/jdk1.5.0/lib
Path = D:/program files/Java/jdk1.5.0/bin;
3. Installation of APACHE-ant-1.7.1
Set environment variables:
Ant_home = E:/activemq/Apache-ant-1.7.1
Path = E:/activemq/Apache-ant-1.7.1/bin
After cmd enters the bin directory, enter ant (it may prompt failure, it does not matter, it indicates the operation is correct)
4. Install and run activemq
Go to activemq.apache.org/to download the latest version (I downloaded 5.0.0)
E:/activemq/apache-activemq-5.0.0
1) Open a cmd, Enter E:/activemq/apache-activemq-5.0.0/bin, run activemq. bat or activemq, you can see the following information, indicating that the startup is successful
Activemq_home: D:/dev_env/activemq/bin /..
Activemq_base: D:/dev_env/activemq/bin /..
Loading message broker from: xbean: activemq. xml
Info brokerservice-using persistence adapter: amqpersistenceadapter (D:/dev_env/activemq/bin/../data)
Info brokerservice-activemq 5.1.0 JMS Message Broker (localhost) is starting
Info brokerservice-for help or more information please see:
Http://activemq.apache.org/
Info amqpersistenceadapter-amqstore starting using directory: D:/dev_env/activemq/bin/../Data
Info kahastore-Kaha store Using Data Directory D:/dev_env/activemq/bin/../data/Kr-store/State
Info amqpersistenceadapter-Active Data Files: []
Info kahastore-Kaha store Using Data Directory D:/dev_env/activemq/bin/../data/Kr-store/Data
Info transportserverthreadsupport-listening for connections at: TCP: // tdfrank-desktop: 61616
Info transportconnector-connector openwire started
Info transportserverthreadsupport-listening for connections at: SSL: // tdfrank-desktop: 61617
Info transportconnector-connector SSL started
Info transportserverthreadsupport-listening for connections at: Stomp: // tdfrank-desktop: 61613
Info transportconne- connector stomp started
Info transportserverthreadsupport-listening for connections at: XMPP: // tdfrank-desktop: 61222
Info transportconnector-connector XMPP started
Info networkconnector-network connector default-NC started
Info brokerservice-activemq JMS Message Broker (localhost, ID: tdfrank-desktop-52040-1220634668576-0:
0) started
Info log-logging to org. slf4j. impl. jclloggeradapter (Org. mortbay. Log) via org. mortbay. log. s
Lf4jlog
Info log-jetty-6.1.9
Info webconsolestarter-activemq webconsole initialized.
Info/admin-initializing spring frameworkservlet 'dispatcher'
Info log-activemq console
Http: // 0.0.0.0: 8161/admin
Info log-activemq web demos
Http: // 0.0.0.0: 8161/demo
Info log-restful file access application
Http: // 0.0.0.0: 8161/fileserver
Info log-started
[Email = SelectChannelConnector@0.0.0.0: 8161] SelectChannelConnector@0.0.0.0: 8161 [/Email]
Info failovertransport-successfully connected to TCP: // localhost: 61616
2) open another cmd,Enter E:/activemq/apache-activemq-5.0.0/example, run ant consumer, you can see the acceptance Information
3) open another cmd,Enter E:/activemq/apache-activemq-5.0.0/example, run ant producer, you can see the relevant sending information
5. Exit activemq:To exit activemq, you only need to press Ctrl-C in the CMD window that runs activemq. bat.
6. Monitoring activemq

Http: // 127.0.0.1: 8161/admin
Or
Http: // localhost: 8161/admin
Http: // 127.0.0.1: 8161/demo
Or
Http: // localhost: 8161/demo

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.