Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 86002 invoked from network); 30 Oct 2008 12:11:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Oct 2008 12:11:36 -0000 Received: (qmail 84464 invoked by uid 500); 30 Oct 2008 12:11:40 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 84439 invoked by uid 500); 30 Oct 2008 12:11:40 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 84428 invoked by uid 99); 30 Oct 2008 12:11:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Oct 2008 05:11:40 -0700 X-ASF-Spam-Status: No, hits=2.7 required=10.0 tests=NORMAL_HTTP_TO_IP,SPF_HELO_PASS,SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [194.247.192.230] (HELO EUnet.yu) (194.247.192.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Oct 2008 12:10:23 +0000 Received: from [194.247.199.205] (billingdev-hotspot.eunet.co.yu [194.247.199.205] (may be forged)) by EUnet.yu (8.13.6/8.13.6) with ESMTP id m9UCAvxM004470 for ; Thu, 30 Oct 2008 13:10:57 +0100 Message-ID: <4909A451.9070403@ttmsolutions.com> Date: Thu, 30 Oct 2008 13:10:57 +0100 From: Dejan Bosanac User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: users@activemq.apache.org Subject: Re: 404 on admin page References: <6fb3dd4a0810291010r63eaaf10p925cb036885fd57@mail.gmail.com> In-Reply-To: <6fb3dd4a0810291010r63eaaf10p925cb036885fd57@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-EUNET-AVAS-Milter-Version: 2.0.0 X-AVAS-Virus-Status: clean X-AVAS-Spamd-Symbols: BAYES_50,NORMAL_HTTP_TO_IP,UNPARSEABLE_RELAY,WEIRD_PORT X-AVAS-Spam-Score: 0.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi Ian, are you sure you have webapps/admin folder in your project? Cheers -- Dejan Bosanac http://www.ttmsolutions.com - get a free ActiveMQ user guide ActiveMQ in Action - http://www.manning.com/snyder/ Scripting in Java - http://www.scriptinginjava.net Ian Christian wrote: > Hi all, > > I'm having issues getting the jetty admin interface working when running > activemq from maven with 'mvn activemq:run'. I get "2008-10-29 > 16:32:27.474::INFO: WebApp@737188401 at http://0.0.0.0:8161/admin" in the > output, however hitting that URL gives me a 404. My activemq.xml and > pom.xml are below - I'd really appreciate if anyone could point me in the > right direction. > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd"> > 4.0.0 > ... > summary > jar > 1.0-SNAPSHOT > summary > http://maven.apache.org > > > > java.net > http://download.java.net/maven/2 > > > jboss > http://repository.jboss.com/maven2 > > > > > > > maven-compiler-plugin > 2.0.2 > > 1.5 > 1.5 > > > > org.apache.activemq.tooling > maven-activemq-plugin > 5.1.0 > > > xbean:file:./src/main/resources/activemq.xml > false > > > javax.net.ssl.keyStorePassword > password > > > org.apache.activemq.default.directory.prefix > ./target/ > > > > > > org.springframework > spring > 2.5.5 > > > org.apache.xbean > xbean-spring > 3.4 > > > org.mortbay.jetty > jetty-xbean > 6.1.11 > > > javax.servlet > jsp-api > 2.0 > compile > > > > tomcat > jasper-compiler > 5.5.9 > compile > > > tomcat > jasper-runtime > 5.5.9 > compile > > > tomcat > jasper-compiler-jdt > 5.5.9 > compile > > > log4j > log4j > 1.2.12 > > > > > > > > > junit > junit > 3.8.1 > test > > > mysql > mysql-connector-java > 5.1.6 > > > org.json > json > 20080701 > > > org.springframework > spring > 2.5.5 > > > org.hibernate > hibernate-annotations > 3.3.1.GA > > > log4j > log4j > 1.2.12 > > > > > $ cat src/main/resources/activemq.xml > xmlns="http://www.springframework.org/schema/beans" > xmlns:amq="http://activemq.apache.org/schema/core" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans-2.0.xsd > http://activemq.apache.org/schema/core > http://activemq.apache.org/schema/core/activemq-core.xsd > http://activemq.apache.org/camel/schema/spring > http://activemq.apache.org/camel/schema/spring/camel-spring.xsd"> > > > class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" > /> > > brokerName="localhost" dataDirectory="${activemq.base}/data"> > > > > > > > > > > > > > > > > > > > > directory="${activemq.base}/data" maxFileLength="20 mb"/> > > > > > discoveryUri="multicast://default"/> > > > > > > > > > > > > logUrlOnStart="true"/> > resourceBase="${activemq.base}/webapps/demo" logUrlOnStart="true"/> > resourceBase="${activemq.base}/webapps/fileserver" logUrlOnStart="true"/> > > > > > > > > > Thanks, > > Ian > >