Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1057726 - Remove jetty.xml from ActiveMQ configuration
Summary: Remove jetty.xml from ActiveMQ configuration
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 2.0.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: Luke Meyer
QA Contact:
Depends On:
Blocks: 1061847
TreeView+ depends on / blocked
Reported: 2014-01-24 16:55 UTC by Brenton Leanhardt
Modified: 2017-03-08 17:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1061847 (view as bug list)
Last Closed: 2014-05-15 14:40:43 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Brenton Leanhardt 2014-01-24 16:55:43 UTC
Description of problem:

Jetty is not needed for OpenShift Enterprise's ActiveMQ usage.  We should disable it in our installation and advise customers to do the same in our documentation.

All that should be needed is to comment out the reference to jetty.xml in activemq.xml.

Comment 2 Luke Meyer 2014-01-24 18:35:19 UTC
It is not *needed* ...

However it can be helpful for debugging activemq issues, and the docs have us contact it to confirm activemq is working during deployment.

Is it doing any harm?

Comment 3 Brenton Leanhardt 2014-01-30 16:05:39 UTC
Ha, I actually didn't realize we referenced it anywhere.  Trying to cut down on the number of passwords involved in setting up an OpenShift environment.

Comment 5 Brenton Leanhardt 2014-02-05 18:14:53 UTC
There was a bit of offline conversation about this and in the end we decided we would have default to disabling ActiveMQ's embedded jetty.  I'll clone this bug and assign it to Docs to add a note about disabling jetty.xml after the verification steps are complete.

Comment 6 Brenton Leanhardt 2014-02-05 18:17:08 UTC

Comment 7 Brenton Leanhardt 2014-02-05 18:36:41 UTC
Here's the upstream puppet change:

Comment 8 Ma xiaoqiang 2014-02-07 08:59:47 UTC
check on puddle [2.0.3/2014-02-06.1]
1.get the script of installation from PR
2.setup env with default configuration
#sh +x
3.check the configuration
vim /etc/activemq/activemq.xml
        Enable web consoles, REST and Ajax APIs and demos. Unneeded for
        OpenShift Enterprise and therefore disabled by default.

        Take a look at ${ACTIVEMQ_HOME}/conf/jetty.xml for more details

        <import resource="jetty.xml"/>

4.create an application with jenkins
#rhc app create testapp php -s --enable-jenkins some change, then git push
# git commit -amx && git push
remote: New build has been deployed.
remote: -------------------------
remote: Git Post-Receive Result: success
remote: Deployment completed with status: success
To ssh://
   830ec65..3bddcd8  master -> master

Note You need to log in before you can comment on or make changes to this bug.