Tomcat under Deployment Activemq (RPM)

Source: Internet
Author: User

Transferred from: http://marshal.easymorse.com/archives/1414

ACTIVEMQ can be deployed and executed separately, such as the installation and execution methods mentioned in the simplest applications like ACTIVEMQ. But sometimes it needs to be deployed as a Web application in a servlet container, which facilitates collaboration with other Web applications.

There is a document on the official document that addresses this requirement:

Http://activemq.apache.org/web-console.html

According to the documentation, use Tomcat 6.0.20,ACTIVEMQ 5.2.0. Achieve the above requirements. First you need to download:

    • Activemq-web-console
    • Activemq-all

The former is copied directly to Tomcat's WebApps directory. The latter is copied to the Tomcat/lib directory.

Not mentioned in the documentation, but the class libraries that need to be added in tomcat6.0.20 are for JSTL support:

    • Jstl-1.1.0.jar
    • Standard-1.1.0.jar

Then launch Tomcat, which can be accessed via the following link:

http://localhost:8080/activemq-web-console-5.2.0

Unlike the official documentation above, this content is not required:

Set java_opts= "-dwebconsole.type=properties-dwebconsole.jms.url=tcp://localhost:61616-dwebconsole.jmx.url= service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi-dwebconsole.jmx.role=-dwebconsole.jmx.password= "

Set the error instead. If not set, ACTIVEMQ starts port 61616 by default. And can be executed smoothly.

Http://www.cnblogs.com/sunxucool/archive/2013/01/23/2873504.html

Tomcat under Deployment Activemq (RPM)

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.