Re: 答复: [openflowjava-users] When i install "odl-openflowjava-all" feature in karaf in openflowplugin proejct, I found a problem.


liushixing
 

Hi Michal,

 

                Thanks very much for your suggestion. I tried this method to use the pach version for openflowjava,  the error information in log file really have disappeared,

 

But  the  “odl-openflowplugin-flow-services”   still can not be installed.   When I input “feature:install  odl-openflowplugin-flow-services”and   press enter key,     

 

there has been no response all the time in karaf. As if program died.  in addition, No error message in the karaf.log.

 

I don’t know if  there are something wrong about the openflowplugin,  could you  give me some help ? Thanks.

 

Regards,

Shixing

 

 

发件人: Michal Rehak -X (mirehak - PANTHEON TECHNOLOGIES at Cisco) [mailto:mirehak@...]
发送时间: 20151014 23:58
收件人: liushixing; openflowjava-users@...; openflowjava-dev@...
主题: Re: [openflowjava-users] [openflowjava-dev] When i install "odl-openflowjava-all" feature in karaf in openflowplugin proejct, I found a problem.

 

Hi Shixing,

could you try with this ofJava revision (not merged yet):

 

https://git.opendaylight.org/gerrit/27172

 

 

 

Regards,

Michal

 

 


From: openflowjava-users-bounces@... <openflowjava-users-bounces@...> on behalf of liushixing <liushixing@...>
Sent: Wednesday, October 14, 2015 10:22
To: openflowjava-users@...; openflowjava-dev@...
Subject: [openflowjava-users] [openflowjava-dev] When i install "odl-openflowjava-all" feature in karaf in openflowplugin proejct, I found a problem.

 

Hi All,

 

       I downloaded the openflowplugin project master from github , compiled it and run the karaf,

 

When I install the  "odl-openflowjava-all"  feature in karaf in openflowplugin project,  An error occurred in the log file as following.

 

After that when I install “odl-openflowplugin-flow-services”, there has been no response all the time in karaf. As if program died.

 

Is it a known problem with the mater version of the plugin ? Could someone give me some suggestions about that problem?

 

 

2015-10-14 15:00:51,533 | ERROR | bundle-tracker-0 | ModuleInfoBundleTracker          | 110 - org.opendaylight.controller.config-manager - 0.4.0.SNAPSHOT | Failed to process bundleentry://247.fwk1761849498/META-INF/services/org.opendaylight.yangtools.yang.binding.YangModelBindingProvider for bundle org.opendaylight.openflowjava.openflow-protocol-api_0.7.0.SNAPSHOT [247]

java.lang.IllegalStateException: Error while executing getModuleInfo on org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.$YangModelBindingProvider@51f35fd2

         at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.retrieveModuleInfo(ModuleInfoBundleTracker.java:144)[110:org.opendaylight.controller.config-manager:0.4.0.SNAPSHOT]

         at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.addingBundle(ModuleInfoBundleTracker.java:84)[110:org.opendaylight.controller.config-manager:0.4.0.SNAPSHOT]

         at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.addingBundle(ModuleInfoBundleTracker.java:32)[110:org.opendaylight.controller.config-manager:0.4.0.SNAPSHOT]

         at org.opendaylight.controller.config.manager.impl.osgi.ExtensibleBundleTracker$1$1.execute(ExtensibleBundleTracker.java:86)[110:org.opendaylight.controller.config-manager:0.4.0.SNAPSHOT]

         at org.opendaylight.controller.config.manager.impl.osgi.ExtensibleBundleTracker.forEachAdditionalBundle(ExtensibleBundleTracker.java:131)[110:org.opendaylight.controller.config-manager:0.4.0.SNAPSHOT]

         at org.opendaylight.controller.config.manager.impl.osgi.ExtensibleBundleTracker.access$100(ExtensibleBundleTracker.java:50)[110:org.opendaylight.controller.config-manager:0.4.0.SNAPSHOT]

         at org.opendaylight.controller.config.manager.impl.osgi.ExtensibleBundleTracker$1.call(ExtensibleBundleTracker.java:83)[110:org.opendaylight.controller.config-manager:0.4.0.SNAPSHOT]

         at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_51]

         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_51]

         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_51]

         at java.lang.Thread.run(Thread.java:744)[:1.7.0_51]

Caused by: java.lang.ExceptionInInitializerError

         at org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.$YangModuleInfoImpl.<init>($YangModuleInfoImpl.java:25)

         at org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.$YangModuleInfoImpl.<clinit>($YangModuleInfoImpl.java:10)

         at org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.$YangModelBindingProvider.getModuleInfo($YangModelBindingProvider.java:6)

         at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.retrieveModuleInfo(ModuleInfoBundleTracker.java:142)[110:org.opendaylight.controller.config-manager:0.4.0.SNAPSHOT]

         ... 10 more

Caused by: java.lang.IllegalStateException: Resource '/META-INF/yang/openflow-instruction.yang' is missing

         at org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.$YangModuleInfoImpl.<init>($YangModuleInfoImpl.java:31)[247:org.opendaylight.openflowjava.openflow-protocol-api:0.7.0.SNAPSHOT]

         at org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.$YangModuleInfoImpl.<clinit>($YangModuleInfoImpl.java:10)[247:org.opendaylight.openflowjava.openflow-protocol-api:0.7.0.SNAPSHOT]

         ... 14 more

 

Regards,

Shixing

 

Join z.archive.openflowjava-dev@lists.opendaylight.org to automatically receive all group messages.