activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tranchida <giampa...@tranchida.ch>
Subject last 5.4.0-SNAPSHOT build do not support 0.0.0.0 in uri transportConnector
Date Fri, 13 Aug 2010 15:52:59 GMT

I'm trying the last 5.4.0-fuse-SNAPSHOT build (aug 13)

in activemq.xml, I can not use anymore 0.0.0.0 in the uri transportConnector
( it was ok in build aug 5) in order to start broker, see error below.

I need to replace 0.0.0.0 with hostname and add a new transportConnector
with localhost.

This is expected or this a bug ?


2010-08-13 17:41:04,624 [erSimpleAppMain] ERROR BrokerService                 
- Failed to start ActiveMQ JMS Message Broker. Reason: java.io.IOException:
Transport Connector could not be registered in JMX: Illegal character in
scheme name at index 0: 0.0.0.0:50920
java.io.IOException: Transport Connector could not be registered in JMX:
Illegal character in scheme name at index 0: 0.0.0.0:50920
        at
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
        at
org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:1651)
        at
org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.java:2109)
        at
org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:2059)
        at
org.apache.activemq.broker.BrokerService.start(BrokerService.java:508)
        at
org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:60)
        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.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1536)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:574)
        at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
        at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
        at
org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:96)
        at
org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:52)
        at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
        at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
        at
org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:115)
        at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
        at
org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:137)
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
        at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:83)
        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:251)
        at org.apache.activemq.console.Main.main(Main.java:107)
        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.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:247)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: Illegal character in scheme name at index 0:
0.0.0.0:50920
        at
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:45)
        at
org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTransportFactory.java:64)
        at
org.apache.activemq.transport.TransportFactory.bind(TransportFactory.java:131)
        at
org.apache.activemq.broker.TransportConnector.createTransportServer(TransportConnector.java:310)
        at
org.apache.activemq.broker.TransportConnector.getServer(TransportConnector.java:143)
        at
org.apache.activemq.broker.TransportConnector.asManagedConnector(TransportConnector.java:103)
        at
org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:1646)
        ... 44 more
Caused by: java.net.URISyntaxException: Illegal character in scheme name at
index 0: 0.0.0.0:50920
        at java.net.URI$Parser.fail(URI.java:2809)
        at java.net.URI$Parser.checkChars(URI.java:2982)
        at java.net.URI$Parser.checkChar(URI.java:2992)
        at java.net.URI$Parser.parse(URI.java:3008)
        at java.net.URI.<init>(URI.java:578)
        at
org.apache.activemq.util.URISupport.parseComposite(URISupport.java:234)
        at
org.apache.activemq.util.URISupport.parseComposite(URISupport.java:192)
        at
org.apache.activemq.util.URISupport.parseParameters(URISupport.java:131)
        at
org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTransportFactory.java:52)
        ... 49 more

-- 
View this message in context: http://old.nabble.com/last-5.4.0-SNAPSHOT-build-do-not-support-0.0.0.0-in-uri-transportConnector-tp29430239p29430239.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message