https://issues.apache.org/jira/browse/AMQ-3579 should be relevant. You might want to test the latest snapshot and see if it works.
Regards -- Dejan Bosanac Senior Software Engineer | FuseSource Corp. dej...@fusesource.com | fusesource.com skype: dejan.bosanac | twitter: @dejanb blog: http://www.nighttale.net ActiveMQ in Action: http://www.manning.com/snyder/ On Thu, Mar 1, 2012 at 4:04 PM, aaronj3.14 <aaronj3...@gmail.com> wrote: > Hello First Post go easy on me :). > > I'm trying to create a websocket transport connector on activemq 5.5.1 > running in Karaf 2.2.4 and I hget the following stack trace: > > 2012-02-29 22:03:41,548 | WARN | ExtenderThread-6 | > OsgiBundleXmlApplicationContext | pport.AbstractApplicationContext 1018 | > 73 - org.springframework.context - 3.0.6.RELEASE | Exception thrown from > LifecycleProcessor on context close > java.lang.IllegalStateException: LifecycleProcessor not initialized - call > 'refresh' before invoking lifecycle methods via the context: > OsgiBundleXmlApplicationContext(bundle=sqz-server-bus-broker.xml, > config=osgibundle:/META-INF/spring/*.xml): startup date [Wed Feb 29 > 22:03:23 > PST 2012]; root of context hierarchy > at > > org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:329)[73:org.springframework.context:3.0.6.RELEASE] > at > > org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1015)[73:org.springframework.context:3.0.6.RELEASE] > at > > org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.doClose(AbstractOsgiBundleApplicationContext.java:197)[77:org.springframework.osgi.core:1.2.1] > at > > org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$501(AbstractDelegatedExecutionApplicationContext.java:69)[77:org.springframework.osgi.core:1.2.1] > at > > org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$2.run(AbstractDelegatedExecutionApplicationContext.java:214)[77:org.springframework.osgi.core:1.2.1] > at > > org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[77:org.springframework.osgi.core:1.2.1] > at > > org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalClose(AbstractDelegatedExecutionApplicationContext.java:210)[77:org.springframework.osgi.core:1.2.1] > at > > org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.close(DependencyWaiterApplicationContextExecutor.java:374) > at > > org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.doClose(AbstractDelegatedExecutionApplicationContext.java:236)[77:org.springframework.osgi.core:1.2.1] > at > > org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:970)[73:org.springframework.context:3.0.6.RELEASE] > at > > org.apache.activemq.hooks.SpringContextHook.run(SpringContextHook.java:35)[81:org.apache.activemq.activemq-spring:5.5.1] > at > > org.apache.activemq.broker.BrokerService.stop(BrokerService.java:644)[60:org.apache.activemq.activemq-core:5.5.1] > at > > org.apache.activemq.broker.BrokerService.start(BrokerService.java:539)[60:org.apache.activemq.activemq-core:5.5.1] > at > > org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:60)[60:org.apache.activemq.activemq-core:5.5.1] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method)[:1.6.0_29] > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_29] > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_29] > at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_29] > at > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)[71:org.springframework.beans:3.0.6.RELEASE] > at > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)[71:org.springframework.beans:3.0.6.RELEASE] > at > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)[71:org.springframework.beans:3.0.6.RELEASE] > at > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)[71:org.springframework.beans:3.0.6.RELEASE] > at > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[71:org.springframework.beans:3.0.6.RELEASE] > at > > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)[71:org.springframework.beans:3.0.6.RELEASE] > at > > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[71:org.springframework.beans:3.0.6.RELEASE] > at > > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)[71:org.springframework.beans:3.0.6.RELEASE] > at > > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)[71:org.springframework.beans:3.0.6.RELEASE] > at > > org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)[71:org.springframework.beans:3.0.6.RELEASE] > at > > org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)[73:org.springframework.context:3.0.6.RELEASE] > at > > org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)[77:org.springframework.osgi.core:1.2.1] > at > > org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)[77:org.springframework.osgi.core:1.2.1] > at > > org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[77:org.springframework.osgi.core:1.2.1] > at > > org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[77:org.springframework.osgi.core:1.2.1] > at > > org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[78:org.springframework.osgi.extender:1.2.1] > at java.lang.Thread.run(Thread.java:680)[:1.6.0_29] > > > > ##### Here's what I have for my transport connectors: > > <transportConnectors> > <transportConnector name="openwire" > uri="tcp://localhost:61616"/> > <transportConnector name="stomp" uri="stomp://localhost:61613"/> > <transportConnector name="websocket" > uri="ws://localhost:61614"/> > </transportConnectors> > > Thanks, > > //aaron > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/activemq-websocket-transport-connector-on-karaf-2-2-4-will-not-start-tp4435223p4435223.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >