Fail Run ServiceMix 3-0-M1. --------------------------- Key: SM-492 URL: https://issues.apache.org/activemq/browse/SM-492 Project: ServiceMix Issue Type: Bug Environment: ServiceMix 3.0-M1 Binary Package on Windows. 1. Jdk1.6 2. Maven 1.0.2 3. ServiceMix Binary 3-0-M1 Reporter: Praful Shah
When I run on ServiceMix after download zip version servicemix binary 3-0-M1 fail with following error msg. Apache ServiceMix ESB: 3.0-M1 Loading Apache ServiceMix from servicemix.xml on the CLASSPATH ERROR - BrokerService.start(370) | Failed to start ActiveMQ JMS Message Broker. Reason: java.io.IOException: Illegal character in hostname at index 11: tcp://ps hah_PC:61616 java.io.IOException: Illegal character in hostname at index 11: tcp://pshah_PC:6 1616 at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport .java:42) at org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTrans portFactory.java:59) at org.apache.activemq.transport.TransportFactory.bind(TransportFactory. java:108) at org.apache.activemq.broker.TransportConnector.createTransportServer(T ransportConnector.java:237) at org.apache.activemq.broker.TransportConnector.getServer(TransportConn ector.java:110) at org.apache.activemq.broker.TransportConnector.asManagedConnector(Tran sportConnector.java:90) at org.apache.activemq.broker.BrokerService.startTransportConnector(Brok erService.java:1084) at org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerSer vice.java:1052) at org.apache.activemq.broker.BrokerService.start(BrokerService.java:364 ) at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBean BrokerService.java:43) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:363) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:226) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:147) at org.springframework.beans.factory.support.DefaultListableBeanFactory. preInstantiateSingletons(DefaultListableBeanFactory.java:275) at org.springframework.context.support.AbstractApplicationContext.refres h(AbstractApplicationContext.java:320) 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.BrokerFactoryBean.afterPropertiesSet(Broker FactoryBean.java:76) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:363) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:226) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:147) at org.springframework.beans.factory.support.AbstractBeanFactory.getType (AbstractBeanFactory.java:342) at org.springframework.beans.factory.support.DefaultListableBeanFactory. isBeanTypeMatch(DefaultListableBeanFactory.java:249) at org.springframework.beans.factory.support.DefaultListableBeanFactory. getBeanNamesForType(DefaultListableBeanFactory.java:144) at org.springframework.beans.factory.support.DefaultListableBeanFactory. getBeansOfType(DefaultListableBeanFactory.java:198) at org.springframework.beans.factory.support.DefaultListableBeanFactory. getBeansOfType(DefaultListableBeanFactory.java:192) at org.springframework.context.support.AbstractApplicationContext.getBea nsOfType(AbstractApplicationContext.java:608) at org.jencks.factory.GeronimoTransactionManagerFactoryBean.getTransacti onContextManager(GeronimoTransactionManagerFactoryBean.java:69) at org.jencks.factory.GeronimoTransactionManagerFactoryBean.getObject(Ge ronimoTransactionManagerFactoryBean.java:47) at org.springframework.beans.factory.support.AbstractBeanFactory.getObje ctForSharedInstance(AbstractBeanFactory.java:813) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:235) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:147) at org.springframework.beans.factory.support.BeanDefinitionValueResolver .resolveReference(BeanDefinitionValueResolver.java:176) at org.springframework.beans.factory.support.BeanDefinitionValueResolver .resolveValueIfNecessary(BeanDefinitionValueResolver.java:105) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1013) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.populateBean(AbstractAutowireCapableBeanFactory.java:824) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:345) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:226) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:147) at org.springframework.beans.factory.support.DefaultListableBeanFactory. preInstantiateSingletons(DefaultListableBeanFactory.java:275) at org.springframework.context.support.AbstractApplicationContext.refres h(AbstractApplicationContext.java:320) at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init> (ClassPathXmlApplicationContext.java:158) at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init> (ClassPathXmlApplicationContext.java:48) at org.apache.servicemix.Main.main(Main.java:48) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410) at org.codehaus.classworlds.Launcher.launch(Launcher.java:344) at org.codehaus.classworlds.Launcher.main(Launcher.java:461) Caused by: java.net.URISyntaxException: Illegal character in hostname at index 1 1: tcp://pshah_PC:61616 at java.net.URI$Parser.fail(Unknown Source) at java.net.URI$Parser.parseHostname(Unknown Source) at java.net.URI$Parser.parseServer(Unknown Source) at java.net.URI$Parser.parseAuthority(Unknown Source) at java.net.URI$Parser.parseHierarchical(Unknown Source) at java.net.URI$Parser.parse(Unknown Source) at java.net.URI.<init>(Unknown Source) at org.apache.activemq.transport.tcp.TcpTransportServer.updatePhysicalUr i(TcpTransportServer.java:167) at org.apache.activemq.transport.tcp.TcpTransportServer.<init>(TcpTransp ortServer.java:63) at org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTrans portFactory.java:52) ... 51 more Caught: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jbi' defined in class path resource [servicemix.xml]: Can't reso lve reference to bean 'transactionManager' while setting property 'transactionMa nager'; nested exception is org.springframework.beans.factory.BeanCreationExcept ion: Error creating bean with name 'transactionManager': FactoryBean threw excep tion on object creation; nested exception is org.springframework.beans.factory.B eanCreationException: Error creating bean with name 'org.apache.activemq.xbean.X BeanBrokerService' defined in class path resource [activemq.xml]: Initialization of bean failed; nested exception is java.io.IOException: Illegal character in h ostname at index 11: tcp://pshah_PC:61616 org.springframework.beans.factory.BeanCreationException: Error creating bean wit h name 'jbi' defined in class path resource [servicemix.xml]: Can't resolve refe rence to bean 'transactionManager' while setting property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Err or creating bean with name 'transactionManager': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreat ionException: Error creating bean with name 'org.apache.activemq.xbean.XBeanBrok erService' defined in class path resource [activemq.xml]: Initialization of bean failed; nested exception is java.io.IOException: Illegal character in hostname at index 11: tcp://pshah_PC:61616 org.springframework.beans.factory.BeanCreationException: Error creating bean wit h name 'transactionManager': FactoryBean threw exception on object creation; nes ted exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService' defined i n class path resource [activemq.xml]: Initialization of bean failed; nested exce ption is java.io.IOException: Illegal character in hostname at index 11: tcp://p shah_PC:61616 org.springframework.beans.factory.BeanCreationException: Error creating bean wit h name 'org.apache.activemq.xbean.XBeanBrokerService' defined in class path reso urce [activemq.xml]: Initialization of bean failed; nested exception is java.io. IOException: Illegal character in hostname at index 11: tcp://pshah_PC:61616 java.io.IOException: Illegal character in hostname at index 11: tcp://pshah_PC:6 1616 at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport .java:42) at org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTrans portFactory.java:59) at org.apache.activemq.transport.TransportFactory.bind(TransportFactory. java:108) at org.apache.activemq.broker.TransportConnector.createTransportServer(T ransportConnector.java:237) at org.apache.activemq.broker.TransportConnector.getServer(TransportConn ector.java:110) at org.apache.activemq.broker.TransportConnector.asManagedConnector(Tran sportConnector.java:90) at org.apache.activemq.broker.BrokerService.startTransportConnector(Brok erService.java:1084) at org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerSer vice.java:1052) at org.apache.activemq.broker.BrokerService.start(BrokerService.java:364 ) at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBean BrokerService.java:43) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:363) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:226) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:147) at org.springframework.beans.factory.support.DefaultListableBeanFactory. preInstantiateSingletons(DefaultListableBeanFactory.java:275) at org.springframework.context.support.AbstractApplicationContext.refres h(AbstractApplicationContext.java:320) 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.BrokerFactoryBean.afterPropertiesSet(Broker FactoryBean.java:76) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:363) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:226) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:147) at org.springframework.beans.factory.support.AbstractBeanFactory.getType (AbstractBeanFactory.java:342) at org.springframework.beans.factory.support.DefaultListableBeanFactory. isBeanTypeMatch(DefaultListableBeanFactory.java:249) at org.springframework.beans.factory.support.DefaultListableBeanFactory. getBeanNamesForType(DefaultListableBeanFactory.java:144) at org.springframework.beans.factory.support.DefaultListableBeanFactory. getBeansOfType(DefaultListableBeanFactory.java:198) at org.springframework.beans.factory.support.DefaultListableBeanFactory. getBeansOfType(DefaultListableBeanFactory.java:192) at org.springframework.context.support.AbstractApplicationContext.getBea nsOfType(AbstractApplicationContext.java:608) at org.jencks.factory.GeronimoTransactionManagerFactoryBean.getTransacti onContextManager(GeronimoTransactionManagerFactoryBean.java:69) at org.jencks.factory.GeronimoTransactionManagerFactoryBean.getObject(Ge ronimoTransactionManagerFactoryBean.java:47) at org.springframework.beans.factory.support.AbstractBeanFactory.getObje ctForSharedInstance(AbstractBeanFactory.java:813) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:235) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:147) at org.springframework.beans.factory.support.BeanDefinitionValueResolver .resolveReference(BeanDefinitionValueResolver.java:176) at org.springframework.beans.factory.support.BeanDefinitionValueResolver .resolveValueIfNecessary(BeanDefinitionValueResolver.java:105) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1013) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.populateBean(AbstractAutowireCapableBeanFactory.java:824) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:345) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:226) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:147) at org.springframework.beans.factory.support.DefaultListableBeanFactory. preInstantiateSingletons(DefaultListableBeanFactory.java:275) at org.springframework.context.support.AbstractApplicationContext.refres h(AbstractApplicationContext.java:320) at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init> (ClassPathXmlApplicationContext.java:158) at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init> (ClassPathXmlApplicationContext.java:48) at org.apache.servicemix.Main.main(Main.java:48) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410) at org.codehaus.classworlds.Launcher.launch(Launcher.java:344) at org.codehaus.classworlds.Launcher.main(Launcher.java:461) Caused by: java.net.URISyntaxException: Illegal character in hostname at index 1 1: tcp://pshah_PC:61616 at java.net.URI$Parser.fail(Unknown Source) at java.net.URI$Parser.parseHostname(Unknown Source) at java.net.URI$Parser.parseServer(Unknown Source) at java.net.URI$Parser.parseAuthority(Unknown Source) at java.net.URI$Parser.parseHierarchical(Unknown Source) at java.net.URI$Parser.parse(Unknown Source) at java.net.URI.<init>(Unknown Source) at org.apache.activemq.transport.tcp.TcpTransportServer.updatePhysicalUr i(TcpTransportServer.java:167) at org.apache.activemq.transport.tcp.TcpTransportServer.<init>(TcpTransp ortServer.java:63) at org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTrans portFactory.java:52) ... 51 more C:\JTools\servicemix-3.0-M1\bin> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira