Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 1054 invoked from network); 1 Mar 2009 22:11:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Mar 2009 22:11:33 -0000 Received: (qmail 77992 invoked by uid 500); 1 Mar 2009 22:11:32 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 77939 invoked by uid 500); 1 Mar 2009 22:11:32 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 77930 invoked by uid 99); 1 Mar 2009 22:11:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Mar 2009 14:11:32 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.136.44.56] (HELO smtp101.prem.mail.sp1.yahoo.com) (98.136.44.56) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 01 Mar 2009 22:11:23 +0000 Received: (qmail 11641 invoked from network); 1 Mar 2009 22:11:02 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:X-Mailer; b=HrrGWiIKLI7brpumHLBGsZX9t13/vECZfksqTILLa0QbbjM8dXaNiLYjxcy5ugO44JtIrApRQ4/3cp0tTHJ8NqrlDLdacvNhbeb6zdLZyUKTdQhNodtSTxPE79DaxIrr5y8DbtA+bLWAwZVdmA2i9W3ajwtqE0/cS/EGyskkJ6Y= ; Received: from unknown (HELO ?10.11.55.10?) (david_jencks@76.76.148.215 with plain) by smtp101.prem.mail.sp1.yahoo.com with SMTP; 1 Mar 2009 22:11:01 -0000 X-YMail-OSG: mlmVXEsVM1kbkFWMBnKC5TcUVmQ7KhrK05wBnCZBGaDDLiJgAkmsrLSgG2RCqQFS01QHKT3BuThPz_YJLrPzYh52.bMibeYpDMBNs6OePN9kt.oX_mdwBiMgJUwZ6DIT0M6DezlVqp2umQs_ONC6NeRy0q6TKInSpnC0tfgqoFoohDtpetxCwtY8lG8DL4.sJW.sp1d_gS3QDuScVyK1pfPRpnqX28QJk6RWcexdgC8Aopf9d3vy7X7wtsrbBuqqkL7xmPj7oItG60nYAP5E5_RBEkFwwwk- X-Yahoo-Newman-Property: ymail-3 Message-Id: <43AC2291-EF14-4398-81AE-8E3126ADE33E@yahoo.com> From: David Jencks To: "Geronimo Dev List (JIRA)" Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Platform mbean server and ActiveMQ Console on geronimo (g. 2.2) Date: Sun, 1 Mar 2009 14:11:00 -0800 X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org I finally spent a bit of time and got the activemq web console running in geronimo against the embedded broker. This was fairly easy, I slimmed down the amq war by using g. dependencies instead of WEB-INF/ lib, and use the inVM option. See https://issues.apache.org/jira/browse/GERONIMO-4560 In order to get this to work (although for reasons that are not entirely clear to me) I had to change geronimo to use the platform mbean server instead of creating one for itself. See https://issues.apache.org/jira/browse/GERONIMO-4559 I haven't found any problems with this yet. One potential concern is that jconsole can attach to a local vm without any apparent security. However IIUC this is only on the local machine and with some shared filesystem permission (???). So I'm inclined to think this in not generally a security problem but would certainly like other opinions. Future work: 1. Right now there's no security at all. We need to include our own web.xml with security constraints and change the plans to use the geronimo-admin security realm. 2. It would be great to make this a portlet app and run it in the admin console. I think the portlet app should be at activemq. How to try it out: cd plugins/activemq mvn clean install -Pit ./activemq-server/target/activemq-server-2.2-SNAPSHOT/bin/gsh geronimo/ start-server In your browser go to http://localhost:8080/activemq-console/ Try sending a message and looking at it using the atom feed :-) thanks david jencks