Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 96699 invoked from network); 12 Jun 2007 18:37:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jun 2007 18:37:37 -0000 Received: (qmail 34729 invoked by uid 500); 12 Jun 2007 18:37:40 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 34704 invoked by uid 500); 12 Jun 2007 18:37:40 -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 34695 invoked by uid 99); 12 Jun 2007 18:37:40 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2007 11:37:40 -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 mario.siegenthaler@gmail.com designates 64.233.166.180 as permitted sender) Received: from [64.233.166.180] (HELO py-out-1112.google.com) (64.233.166.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2007 11:37:35 -0700 Received: by py-out-1112.google.com with SMTP id f31so3532231pyh for ; Tue, 12 Jun 2007 11:37:15 -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=X3x+UMT4ej7Y7pa45xpvSK95P6BUUojjDuDHrwqmkT1HxwAY4MegPi3rUm4MaSj033kCQWLcvqxqAd6pThTufkIIrTkUEe6YW7ym0BIprK6mOHl7MUwNMgJY8PPE7GrTHLotP9chWBQxZ1t+EY2sSD6wW9XihQSZzcw7L2SlHFs= 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=F1KALmC5zNUov1li3RaBmPIWexeTMvT6LF+khfHDELkAS5+rfJSitKkAkJO8MY9leeQMzLDuP0jGAggzak4JC3ndbIUbiqA4qHH4W8E7gHrF8DplWjWXEHKzBL2/y8alfmx8/aJMluvj/FyYQLBipudhmSFJSZZO4BO9yQ3oG9E= Received: by 10.65.239.14 with SMTP id q14mr11954287qbr.1181673435172; Tue, 12 Jun 2007 11:37:15 -0700 (PDT) Received: by 10.65.15.20 with HTTP; Tue, 12 Jun 2007 11:37:15 -0700 (PDT) Message-ID: Date: Tue, 12 Jun 2007 20:37:15 +0200 From: "Mario Siegenthaler" To: dev@activemq.apache.org Subject: Re: [jira] Resolved: (AMQ-1261) IllegalStateException thrown from QueueBrowserServlet In-Reply-To: <7624359.1181659113487.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <14011857.1180823072818.JavaMail.jira@brutus> <7624359.1181659113487.JavaMail.jira@brutus> X-Virus-Checked: Checked by ClamAV on apache.org Is there a specific reason the QueueBrowserServlet creates an own ConnectionFactory instead of using the WebClient provided features? It even does Session-pooling on its own.. does it really need different sessions than the WebClient? Just asking because you checked in my TODOs to this class. So I kinda owe you that fix ;) Mario On 6/12/07, James Strachan (JIRA) wrote: > > [ https://issues.apache.org/activemq/browse/AMQ-1261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] > > James Strachan resolved AMQ-1261. > --------------------------------- > > Resolution: Fixed > Fix Version/s: 5.0.0 > > Applied patch to trunk to fix this. If you grab trunk and build the assembly, running 'bin/activemq' should have a working web console and web demos; capable of browsing queues etc > > > IllegalStateException thrown from QueueBrowserServlet > > ----------------------------------------------------- > > > > Key: AMQ-1261 > > URL: https://issues.apache.org/activemq/browse/AMQ-1261 > > Project: ActiveMQ > > Issue Type: Bug > > Environment: apache-activemq-4.2-SNAPSHOT as of june 2, 2007 > > Reporter: Dennis Byrne > > Priority: Minor > > Fix For: 5.0.0 > > > > > > I get this from the demo app when I go to the queue browser pages ... > > java.lang.IllegalStateException: missing ConnectionFactory in QueueBrowserServlet > > at org.apache.activemq.web.QueueBrowseServlet.getConnectionFactory(QueueBrowseServlet.java:75) > > at org.apache.activemq.web.QueueBrowseServlet.getConnection(QueueBrowseServlet.java:63) > > at org.apache.activemq.web.QueueBrowseServlet.createSession(QueueBrowseServlet.java:158) > > at org.apache.activemq.web.QueueBrowseServlet.borrowSession(QueueBrowseServlet.java:140) > > at org.apache.activemq.web.QueueBrowseServlet.doGet(QueueBrowseServlet.java:89) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:467) > > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1075) > > at org.apache.activemq.web.SessionFilter.doFilter(SessionFilter.java:47) > > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1066) > > at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) > > at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:185) > > at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) > > at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:715) > > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:402) > > at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) > > at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) > > at org.mortbay.jetty.Server.handle(Server.java:285) > > at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:469) > > at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:791) > > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:500) > > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209) > > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:358) > > at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:365) > > at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > >