Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 78525 invoked from network); 11 Jun 2007 13:53:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jun 2007 13:53:24 -0000 Received: (qmail 4485 invoked by uid 500); 11 Jun 2007 13:53:27 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 4449 invoked by uid 500); 11 Jun 2007 13:53:27 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 4440 invoked by uid 99); 11 Jun 2007 13:53:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jun 2007 06:53:27 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of james.strachan@gmail.com designates 66.249.82.224 as permitted sender) Received: from [66.249.82.224] (HELO wx-out-0506.google.com) (66.249.82.224) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jun 2007 06:53:23 -0700 Received: by wx-out-0506.google.com with SMTP id i28so1379649wxd for ; Mon, 11 Jun 2007 06:53:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MWDFr+OufN19LWjUuzYB84vAIsbnyJAVYFaiEam7mrEseyMHsfUatqav7e2UvjNy2Y5CLHRYmYp4vZhnhib5Mpa4/7/9ZJVfZqN0EtNNLKj6COpQSyQQtl1J5LJnm7E6j8ELOHxydEYzJuJ7XK2NAxMpGOcr6pWlOYR51jYgJMs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oIO6vJisKTOGJutASG+gjQBY/N85nZkqWOzujvZo9o+tATZMuAoGK6w3Nha/4AWKGW5PJP58Y0RzbQ1LuR9LLmK9j4ER8oraZaXA8yy/qDyMnQ7LdzsDCEUZYSwiM4W3U6NzWSHI4Bg7SePQPK02HOHj6f5f1MgKv1wsA3q5h7U= Received: by 10.90.118.12 with SMTP id q12mr5086804agc.1181569982299; Mon, 11 Jun 2007 06:53:02 -0700 (PDT) Received: by 10.90.67.18 with HTTP; Mon, 11 Jun 2007 06:53:02 -0700 (PDT) Message-ID: Date: Mon, 11 Jun 2007 14:53:02 +0100 From: "James Strachan" To: dev@activemq.apache.org Subject: Re: WebConsole in embedded mode In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org On 6/11/07, James Strachan wrote: > On 6/11/07, Mario Siegenthaler wrote: > > > The inVM only works if someone has already started a broker and its > > > started before the inVM tries to find it. > > > Or to say that another way; I tried the inVM and couldn't get it to > > > work; so took the easy route and created the embedded config file > > > which works as it used to :) > > > > I'll try to add some code that waits until the broker is completely > > started. There might be an issue if the 'startup-script' tries to > > start the jetty/webconsole before it's completely started the broker. > > I never run into that till now, but it might be environment/multi-core > > specific. > > > > What'd you guys think if we'd let maven build multiple webconsole-wars > > depending on the usage scenario: > > * JNDI in a Webcontainer: jndi-mode and not including the ActiveMQ and JMS jars > > * Property-based configuration in a Webcontainer: system-property-mode > > and including all jars > > * InVM Mode: For startup within the broker or the way Dejan used it. > > * Embedded Mode: Starts an own broker, contains all jars. > > > > The 'user' then could chose the war-variant that fits it usage > > scenario and wouldn't have to mess around with jars in the > > WEB-INF/lib.. > > I think this would be easy to do with playing with Maven-Assemblies a bit. > > Sounds good to me; though each war is pretty huge; it could make our > release massive; so am tempted to leave most of the wars out as > deployed binaries and let folks just make 'em on demand from source or > something? I guess if we can get the JMX stuff working reliably for most folks; we could just have a single remote WAR folks can deploy; they then just configure the remote JMX URI (which defaults to the local one)? >From 5.x onwards will have the web console deployed with the broker for most folks running a standalone broker; so the need for other options as binaries is a tad reduced maybe? (i.e. am wondering out of all the permunations, maybe its just the remote one we need to ship as a binary WAR?) -- James ------- http://macstrac.blogspot.com/