activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeev <j.sivara...@sheffield.ac.uk>
Subject Problem configuring HTTP Transport connector
Date Fri, 05 Oct 2007 15:44:58 GMT

Hi,
I hope you can advise what I am doing wrong here. In the activemq.xml file I
have 
included
<transportConnector name="http"     uri="http://localhost:61618"/>
in the <transport connectors>
However, when I run activemq I get the following error (below)
My guess is that 
java.lang.NoSuchMethodError:
org.mortbay.jetty.Server.setConnectors([Lorg/mortbay/jetty/Connector;)
I don't have the right jetty-6.0.1.jar file. Though I don't thats exactly
it. Can you advise?

Thanks!

Jeev
 



Loading message broker from: xbean:activemq.xml
ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.activemq.xbean.XBeanBrokerService' defined in class
path resource [activemq.xml]: Invocation of init method failed; nested
exception is java.lang.NoSuchMethodError:
org.mortbay.jetty.Server.setConnectors([Lorg/mortbay/jetty/Connector;)V
java.lang.RuntimeException: Failed to execute start task. Reason:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.activemq.xbean.XBeanBrokerService' defined in class
path resource [activemq.xml]: Invocation of init method failed; nested
exception is java.lang.NoSuchMethodError:
org.mortbay.jetty.Server.setConnectors([Lorg/mortbay/jetty/Connector;)V
	at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:70)
	at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:50)
	at
org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:65)
	at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:50)
	at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:46)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.activemq.console.Main.runTaskClass(Main.java:202)
	at org.apache.activemq.console.Main.main(Main.java:91)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService'
defined in class path resource [activemq.xml]: Invocation of init method
failed; nested exception is java.lang.NoSuchMethodError:
org.mortbay.jetty.Server.setConnectors([Lorg/mortbay/jetty/Connector;)V
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1032)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:420)
	at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
	at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
	at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:290)
	at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348)
	at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:161)
	at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:51)
	at
org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:41)
	at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:57)
	at
org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:82)
	at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:47)
	... 10 more
Caused by: java.lang.NoSuchMethodError:
org.mortbay.jetty.Server.setConnectors([Lorg/mortbay/jetty/Connector;)V
	at
org.apache.activemq.transport.http.HttpTransportServer.doStart(HttpTransportServer.java:84)
	at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:49)
	at
org.apache.activemq.broker.TransportConnector.start(TransportConnector.java:220)
	at
org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.java:1519)
	at
org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:1471)
	at org.apache.activemq.broker.BrokerService.start(BrokerService.java:402)
	at
org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:47)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1062)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1029)
	... 23 more
ERROR: java.lang.Exception:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.activemq.xbean.XBeanBrokerService' defined in class
path resource [activemq.xml]: Invocation of init method failed; nested
exception is java.lang.NoSuchMethodError:
org.mortbay.jetty.Server.setConnectors([Lorg/mortbay/jetty/Connector;)V
java.lang.Exception:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.activemq.xbean.XBeanBrokerService' defined in class
path resource [activemq.xml]: Invocation of init method failed; nested
exception is java.lang.NoSuchMethodError:
org.mortbay.jetty.Server.setConnectors([Lorg/mortbay/jetty/Connector;)V
	at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:71)
	at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:50)
	at
org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:65)
	at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:50)
	at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:46)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.activemq.console.Main.runTaskClass(Main.java:202)
	at org.apache.activemq.console.Main.main(Main.java:91)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService'
defined in class path resource [activemq.xml]: Invocation of init method
failed; nested exception is java.lang.NoSuchMethodError:
org.mortbay.jetty.Server.setConnectors([Lorg/mortbay/jetty/Connector;)V
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1032)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:420)
	at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
	at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
	at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:290)
	at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348)
	at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:161)
	at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:51)
	at
org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:41)
	at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:57)
	at
org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:82)
	at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:47)
	... 10 more
Caused by: java.lang.NoSuchMethodError:
org.mortbay.jetty.Server.setConnectors([Lorg/mortbay/jetty/Connector;)V
	at
org.apache.activemq.transport.http.HttpTransportServer.doStart(HttpTransportServer.java:84)
	at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:49)
	at
org.apache.activemq.broker.TransportConnector.start(TransportConnector.java:220)
	at
org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.java:1519)
	at
org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:1471)
	at org.apache.activemq.broker.BrokerService.start(BrokerService.java:402)
	at
org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:47)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1062)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1029)
	... 23 more
-- 
View this message in context: http://www.nabble.com/Problem-configuring-HTTP-Transport-connector-tf4576103s2354.html#a13062107
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message