Hi, this is a bug that's already fixed on the trunk ... You can fix it in your deployment and changing webapps/admin/topics.jsp file and make the form is using post method, like this
<form action="createDestination.action" method="post"> Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Mon, Apr 12, 2010 at 5:09 PM, gng <gareth.g...@hp.com> wrote: > > I'm using ActiveMQ v5.3.1 (Linux) and am trying to create a topic via the > admin interface as follows :- > > 1. Browse to http://localhost:8161/admin/topics.jsp. > > 2. At the top of the page there is a text box asking for the name of the > new > topic, followed by a "create" button. > > 3. On typing in a random topic name and clicking create, I see the > following > - has anyone any ideas why ? > > HTTP ERROR: 500 > > Unsupported method GET for path /admin/createDestination.action > > RequestURI=/admin/createDestination.action > Caused by: > > java.lang.UnsupportedOperationException: Unsupported method GET for path > /admin/createDestination.action > at > > org.apache.activemq.web.handler.BindingBeanNameUrlHandlerMapping.getHandlerInternal(BindingBeanNameUrlHandlerMapping.java:54) > at > > org.springframework.web.servlet.handler.AbstractHandlerMapping.getHandler(AbstractHandlerMapping.java:184) > at > > org.springframework.web.servlet.DispatcherServlet.getHandler(DispatcherServlet.java:1057) > at > > org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:854) > at > > org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807) > at > > org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) > at > > org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:693) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > at > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) > at > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) > at > > org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83) > at > > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) > at > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at > > org.apache.activemq.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81) > at > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at > > com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) > at > > com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) > at > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) > at > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726) > at > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) > at > > org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) > at > > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) > at org.mortbay.jetty.Server.handle(Server.java:324) > at > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) > at > > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) > at > > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) > at > > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) > > > Thanks in advance ! > -- > View this message in context: > http://old.nabble.com/Error-when-trying-to-create-a-topic-via-the-web-admin-interface-tp28219084p28219084.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > >