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


liushixing
 

Hi Michal,

        

         I added the memory to 4G and it can work well, Thanks for your help.

 

Regards,

Shixing

 

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

 

Hi Shixing,

I would try to add memory - you are getting out of memory error. If it does not help, than upgrade to jdk-8 might be the next step.

 

 

Regards,

Michal

 

 

 


From: liushixing <liushixing@...>
Sent: Friday, October 16, 2015 02:48
To: Michal Rehak -X (mirehak - PANTHEON TECHNOLOGIES at Cisco)
Cc: openflowjava-dev@...
Subject:
答复: [openflowjava-dev] 答复: [openflowjava-users] When i install "odl-openflowjava-all" feature in karaf in openflowplugin proejct, I found a problem.

 

Hi Michal,

 

         My environment configuration as following:

 

-Xmx2048m

 

java -version

java version "1.7.0_51"

Java(TM) SE Runtime Environment (build 1.7.0_51-b13)

Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

 

 

         You mean  these are the reason to lead to the error?

 

Regards,

Shixing

 

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

 

Hi Shixing,

how much heap space memory do you configure for your karaf? Exactly which vendor/version java do you run?

It works for me by -Xmx4GB and

java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

 

Regards,

Michal

 

 


From: liushixing <liushixing@...>
Sent: Thursday, October 15, 2015 09:16
To: Michal Rehak -X (mirehak - PANTHEON TECHNOLOGIES at Cisco); openflowjava-users@...; openflowjava-dev@...
Subject:
答复: [openflowjava-dev] 答复: [openflowjava-users] When i install "odl-openflowjava-all" feature in karaf in openflowplugin proejct, I found a problem.

 

Hi Michal,

 

         I found a  information  occurred when I  press  ctrl + z  to finish the karaf after a long time to waiting  install odl-openflowplugin-flow-services.   Are these  valuable information for fix the problem?

 

 

Regards,

Shixing.

 

发件人: openflowjava-dev-bounces@... [mailto:openflowjava-dev-bounces@...] 代表 liushixing
发送时间: 20151015 14:43
收件人: Michal Rehak -X (mirehak - PANTHEON TECHNOLOGIES at Cisco); openflowjava-users@...; openflowjava-dev@...
主题: [openflowjava-dev] 答复: [openflowjava-users] When i install "odl-openflowjava-all" feature in karaf in openflowplugin proejct, I found a problem.

 

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.