You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "James Strachan (JIRA)" <ji...@apache.org> on 2007/06/12 16:38:33 UTC
[jira] Resolved: (AMQ-1261) IllegalStateException thrown from
QueueBrowserServlet
[ 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.
Re: [jira] Resolved: (AMQ-1261) IllegalStateException thrown from QueueBrowserServlet
Posted by Mario Siegenthaler <ma...@gmail.com>.
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) <ji...@apache.org> 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.
>
>