Hi Team

We are using ODL Boron and tried below steps to install activemq-broker-noweb 
feature


1.       Edit org.apache.karaf.features.cfg

A.      To add  mvn:org.apache.activemq/activemq-karaf/5.9.0/xml/features to 
featuresRepositories

B.      To add activemq-broker-noweb to featuresBoot

2.       As we are using ODL southbound NETCONF, we installed respective 
features

3.       Now start karaf , we see below exceptions



java.lang.ExceptionInInitializerError

                at 
org.opendaylight.netconf.monitoring.xml.JaxBSerializer.<clinit>(JaxBSerializer.java:25)

                at org.opendaylight.netconf.monitoring.Get.handle(Get.java:67)

                at 
org.opendaylight.netconf.impl.osgi.NetconfOperationRouterImpl$NetconfOperationExecution.execute(NetconfOperationRouterImpl.java:182)

                at 
org.opendaylight.netconf.notifications.impl.ops.Get.handle(Get.java:57)

                at 
org.opendaylight.netconf.impl.osgi.NetconfOperationRouterImpl$NetconfOperationExecution.execute(NetconfOperationRouterImpl.java:182)

                at 
org.opendaylight.netconf.impl.osgi.NetconfOperationRouterImpl.executeOperationWithHighestPriority(NetconfOperationRouterImpl.java:111)

                at 
org.opendaylight.netconf.impl.osgi.NetconfOperationRouterImpl.onNetconfMessage(NetconfOperationRouterImpl.java:84)

                at 
org.opendaylight.netconf.impl.NetconfServerSessionListener.processDocument(NetconfServerSessionListener.java:122)

                at 
org.opendaylight.netconf.impl.NetconfServerSessionListener.onMessage(NetconfServerSessionListener.java:87)

                at 
org.opendaylight.netconf.impl.NetconfServerSessionListener.onMessage(NetconfServerSessionListener.java:33)

                at 
org.opendaylight.netconf.nettyutil.AbstractNetconfSession.handleMessage(AbstractNetconfSession.java:64)

                at 
org.opendaylight.netconf.nettyutil.AbstractNetconfSession.handleMessage(AbstractNetconfSession.java:35)

                at 
org.opendaylight.protocol.framework.AbstractProtocolSession.channelRead0(AbstractProtocolSession.java:53)

                at 
io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:328)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:321)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)[117:io.netty.codec:4.0.37.Final]

                at 
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)[117:io.netty.codec:4.0.37.Final]

                at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:328)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:321)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)[117:io.netty.codec:4.0.37.Final]

                at 
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)[117:io.netty.codec:4.0.37.Final]

                at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:328)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:321)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1280)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:328)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:890)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.channel.local.LocalChannel.finishPeerRead0(LocalChannel.java:433)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.channel.local.LocalChannel.access$500(LocalChannel.java:49)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.channel.local.LocalChannel$5.run(LocalChannel.java:389)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)[115:io.netty.common:4.0.37.Final]

                at 
io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:394)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)[115:io.netty.common:4.0.37.Final]

                at 
io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:145)[115:io.netty.common:4.0.37.Final]

                at java.lang.Thread.run(Thread.java:745)[:1.8.0_45]

Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of 
IllegalAnnotationExceptions

org.opendaylight.netconf.monitoring.xml.model.MonitoringSchema does not have a 
no-arg default constructor.

                this problem is related to the following location:

                                at 
org.opendaylight.netconf.monitoring.xml.model.MonitoringSchema

                                at public java.util.Collection 
org.opendaylight.netconf.monitoring.xml.model.NetconfState.getSchemas()

                                at 
org.opendaylight.netconf.monitoring.xml.model.NetconfState



                at 
com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102)

                at 
com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:472)

                at 
com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:302)

                at 
com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1140)

                at 
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:154)

                at 
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:121)

                at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)

                at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_45]

                at java.lang.reflect.Method.invoke(Method.java:497)[:1.8.0_45]

                at 
javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:222)[:2.6.0]

                at 
javax.xml.bind.ContextFinder.find(ContextFinder.java:396)[:2.6.0]

                at 
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:656)[:2.6.0]

                at 
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:599)[:2.6.0]

                at 
org.opendaylight.netconf.monitoring.xml.JaxBSerializer.<clinit>(JaxBSerializer.java:23)[193:org.opendaylight.netconf.monitoring:1.1.0.Boron]

                ... 38 more

2017-03-02 16:22:57,035 | WARN  | oupCloseable-3-1 | NetconfDeviceCommunicator  
      | 186 - org.opendaylight.netconf.sal-netconf-connector - 1.4.0.Boron | 
RemoteDevice{controller-config}: Session went down

java.io.IOException: End of input detected. Close the session.

                at 
org.opendaylight.netconf.nettyutil.AbstractNetconfSession.endOfInput(AbstractNetconfSession.java:107)[182:org.opendaylight.netconf.netty-util:1.1.0.Boron]

                at 
org.opendaylight.protocol.framework.AbstractProtocolSession.channelInactive(AbstractProtocolSession.java:40)[171:org.opendaylight.controller.protocol-framework:0.8.0.Boron]

                at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:233)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:219)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:212)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:360)[117:io.netty.codec:4.0.37.Final]

                at 
io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:325)[117:io.netty.codec:4.0.37.Final]

                at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:233)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:219)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:212)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:360)[117:io.netty.codec:4.0.37.Final]

                at 
io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:325)[117:io.netty.codec:4.0.37.Final]

                at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:233)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.channel.AbstractChannelHandlerContext.access$300(AbstractChannelHandlerContext.java:33)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.channel.AbstractChannelHandlerContext$4.run(AbstractChannelHandlerContext.java:224)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)[115:io.netty.common:4.0.37.Final]

                at 
io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:394)[116:io.netty.transport:4.0.37.Final]

                at 
io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)[115:io.netty.common:4.0.37.Final]

                at 
io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:145)[115:io.netty.common:4.0.37.Final]

                at java.lang.Thread.run(Thread.java:745)[:1.8.0_45]

2017-03-02 16:22:57,190 | WARN  | sing-executor-10 | NetconfStateSchemas        
      | 186 - org.opendaylight.netconf.sal-netconf-connector - 1.4.0.Boron | 
RemoteDevice{controller-config}: Unable to detect available schemas, get to 
/(urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?revision=2010-10-04)netconf-state/schemas
 failed, [RpcError [message=The netconf session to controller-config is 
disconnected, severity=ERROR, errorType=TRANSPORT, tag=operation-failed, 
applicationTag=null, info=null, cause=null]]









Anyone tried installing activemq on ODL Boron and which version of activemq 
broker is compatible with karaf 3.0.7?

Please suggest on how to resolve the above issue









Thanks

Vikram
_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Reply via email to