Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

esumit's profile - activity

2015-10-17 07:01:31 -0700 marked best answer Where is exactly this SDN Controller running on localhost:8080 ? { Need to know path of web/images directory }

.As usual I have started SDN Controller and on access to http://localhost:8080 it shows the login screen, but I would like to know the location of the Server in the system.

.I am using MAC

. I need to know where the resources of 'web' bundle got deployed e.g. images, javascript files ?

2015-04-01 01:56:54 -0700 received badge  Popular Question (source)
2015-04-01 01:56:54 -0700 received badge  Notable Question (source)
2015-04-01 01:56:54 -0700 received badge  Famous Question (source)
2015-03-09 21:54:07 -0700 received badge  Famous Question (source)
2015-02-12 22:02:54 -0700 received badge  Notable Question (source)
2015-02-10 09:36:39 -0700 received badge  Popular Question (source)
2015-02-09 16:28:55 -0700 asked a question A required class was missing while executing org.codehaus.enunciate:maven-enunciate-plugin:1.28:docs: com/sun/mirror/apt/AnnotationProcessorFactory

On compiling stable/helium it give following error :

" A required class was missing while executing org.codehaus.enunciate:maven-enunciate-plugin:1.28:docs: com/sun/mirror/apt/AnnotationProcessorFactory "

Configurations :

F:\JAVA\ODLFeb2015\controller>mvn -version Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=2048M; support was removed in 8.0 Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T09:29:23-08:00) Maven home: C:\Program Files\mvn325 Java version: 1.8.025, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.8.025\jre Default locale: enUS, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos" F:\JAVA\ODLFeb2015\controller>java -version java version "1.7.075" Java(TM) SE Runtime Environment (build 1.7.0_75-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)

F:\JAVA\ODLFeb2015\controller>

2015-02-09 15:55:16 -0700 asked a question Stable/Helium release of Controller supports Java 1.8.0_25 ?

I am using Java 1.8.0_25 to compile the controller, and that gave following error :

[INFO]
[INFO] --- maven-enunciate-plugin:1.28:docs (default) @ connectionmanager.northbound ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] checkstyle ......................................... SUCCESS [  0.655 s]
[INFO] commons.opendaylight ............................... SUCCESS [  1.417 s]
[INFO] sal ................................................ SUCCESS [ 11.604 s]
[INFO] configuration ...................................... SUCCESS [  1.302 s]
[INFO] containermanager ................................... SUCCESS [  0.975 s]
[INFO] usermanager ........................................ SUCCESS [  3.224 s]
[INFO] appauth ............................................ SUCCESS [  0.554 s]
[INFO] clustering.services ................................ SUCCESS [  0.691 s]
[INFO] sal.connection ..................................... SUCCESS [  0.544 s]
[INFO] connectionmanager .................................. SUCCESS [  0.477 s]
[INFO] hosttracker ........................................ SUCCESS [  0.649 s]
[INFO] switchmanager ...................................... SUCCESS [  1.454 s]
[INFO] topologymanager .................................... SUCCESS [  2.257 s]
[INFO] arphandler ......................................... SUCCESS [  1.157 s]
[INFO] bundlescanner ...................................... SUCCESS [  0.469 s]
[INFO] bundlescanner.implementation ....................... SUCCESS [  1.814 s]
[INFO] commons.parent ..................................... SUCCESS [  1.298 s]
[INFO] commons.logback_settings ........................... SUCCESS [  0.139 s]
[INFO] clustering.services-implementation ................. SUCCESS [  6.752 s]
[INFO] clustering.test .................................... SUCCESS [  2.416 s]
[INFO] commons.httpclient ................................. SUCCESS [  1.840 s]
[INFO] commons.northbound ................................. SUCCESS [  9.480 s]
[INFO] configuration.implementation ....................... SUCCESS [  0.602 s]
[INFO] connectionmanager.implementation ................... SUCCESS [  0.614 s]
[INFO] connectionmanager.northbound ....................... FAILURE [  5.667 s]
[INFO] containermanager.implementation .................... SKIPPED
[INFO] web ................................................ SKIPPED
[INFO] containermanager.northbound ........................ SKIPPED
[INFO] controllermanager.northbound ....................... SKIPPED
[INFO] forwarding.staticrouting ........................... SKIPPED
[INFO] forwardingrulesmanager ............................. SKIPPED
[INFO] devices.web ........................................ SKIPPED
[INFO] flowprogrammer.northbound .......................... SKIPPED
[INFO] flows.web .......................................... SKIPPED
[INFO] forwarding.staticrouting.northbound ................ SKIPPED
[INFO] forwardingrulesmanager.implementation .............. SKIPPED
[INFO] hosttracker.implementation ......................... SKIPPED
[INFO] hosttracker.northbound ............................. SKIPPED
[INFO] httpservice-bridge ................................. SKIPPED
[INFO] jolokia-bridge ..................................... SKIPPED
[INFO] logging.bridge ..................................... SKIPPED
[INFO] sal.networkconfiguration ........................... SKIPPED
[INFO] networkconfig.bridgedomain.northbound .............. SKIPPED
[INFO] networkconfig.neutron .............................. SKIPPED
[INFO] networkconfig.neutron.implementation ............... SKIPPED
[INFO] networkconfig.neutron.northbound ................... SKIPPED
[INFO] osgi-brandfragment.web ............................. SKIPPED
[INFO] protocol_plugins.openflow .......................... SKIPPED
[INFO] routing.dijkstra_implementation .................... SKIPPED
[INFO] sal.connection.implementation ...................... SKIPPED
[INFO] sal.implementation ................................. SKIPPED
[INFO] sal.networkconfiguration.implementation ............ SKIPPED
[INFO] samples.loadbalancer ............................... SKIPPED
[INFO] samples.loadbalancer.northbound .................... SKIPPED
[INFO] samples.simpleforwarding ........................... SKIPPED
[INFO] security ........................................... SKIPPED
[INFO] statisticsmanager .................................. SKIPPED
[INFO] statistics.northbound .............................. SKIPPED
[INFO] statisticsmanager.implementation ................... SKIPPED
[INFO] subnets.northbound ................................. SKIPPED
[INFO] switchmanager.implementation ....................... SKIPPED
[INFO] switchmanager.northbound ........................... SKIPPED
[INFO] topology.northbound ................................ SKIPPED
[INFO] topology.web ....................................... SKIPPED
[INFO] troubleshoot.web ................................... SKIPPED
[INFO] usermanager.implementation ......................... SKIPPED
[INFO] usermanager.northbound ............................. SKIPPED
[INFO] netconf-subsystem .................................. SKIPPED
[INFO] ietf-netconf-monitoring ............................ SKIPPED
[INFO] ietf-netconf-monitoring-extension .................. SKIPPED
[INFO] concepts ........................................... SKIPPED
[INFO] config-subsystem ................................... SKIPPED
[INFO] config-api ......................................... SKIPPED
[INFO] config-util ........................................ SKIPPED
[INFO] config-manager ..................................... SKIPPED
[INFO] config-plugin-parent ............................... SKIPPED
[INFO] yang-jmx-generator ................................. SKIPPED
[INFO] yang-jmx-generator-plugin .......................... SKIPPED
[INFO] netty-config-api ................................... SKIPPED
[INFO] netty-event-executor-config ........................ SKIPPED
[INFO] protocol-framework ................................. SKIPPED
[INFO] netconf-api ........................................ SKIPPED
[INFO] netconf-mapping-api ................................ SKIPPED
[INFO] netconf-util ....................................... SKIPPED
[INFO] commons.thirdparty ................................. SKIPPED
[INFO] ganymed ............................................ SKIPPED
[INFO] netconf-netty-util ................................. SKIPPED
[INFO] netconf-client ..................................... SKIPPED
[INFO] netconf-impl ....................................... SKIPPED
[INFO] yang-test-plugin ................................... SKIPPED
[INFO] yang-test .......................................... SKIPPED
[INFO] config-netconf-connector ........................... SKIPPED
[INFO] config-persister-api ............................... SKIPPED
[INFO] config-persister-file-xml-adapter .................. SKIPPED
[INFO] config-persister-directory-xml-adapter ............. SKIPPED
[INFO] config-persister-impl .............................. SKIPPED
[INFO] filter-valve ....................................... SKIPPED
[INFO] logback-config ..................................... SKIPPED
[INFO] netty-threadgroup-config ........................... SKIPPED
[INFO] threadpool-config-api .............................. SKIPPED
[INFO] threadpool-config-impl ............................. SKIPPED
[INFO] netty-timer-config ................................. SKIPPED
[INFO] netconf-config-dispatcher .......................... SKIPPED
[INFO] netconf-monitoring ................................. SKIPPED
[INFO] netconf-auth ....................................... SKIPPED
[INFO] netconf-ssh ........................................ SKIPPED
[INFO] netconf-usermanager ................................ SKIPPED
[INFO] netconf-tcp ........................................ SKIPPED
[INFO] sal-parent ......................................... SKIPPED
[INFO] sal-common-api ..................................... SKIPPED
[INFO] sal-binding-api .................................... SKIPPED
[INFO] sal-binding-config ................................. SKIPPED
[INFO] sal-binding-util ...
(more)
2015-01-12 02:37:44 -0700 received badge  Popular Question (source)
2015-01-12 02:37:44 -0700 received badge  Notable Question (source)
2015-01-12 02:37:44 -0700 received badge  Famous Question (source)
2015-01-12 01:54:38 -0700 received badge  Popular Question (source)
2015-01-12 01:54:38 -0700 received badge  Notable Question (source)
2015-01-12 01:54:38 -0700 received badge  Famous Question (source)
2014-12-30 01:07:19 -0700 received badge  Notable Question (source)
2014-12-30 01:07:19 -0700 received badge  Famous Question (source)
2014-11-19 06:24:31 -0700 received badge  Famous Question (source)
2014-11-19 03:34:16 -0700 received badge  Popular Question (source)
2014-11-19 03:34:16 -0700 received badge  Notable Question (source)
2014-11-17 22:07:18 -0700 asked a question Uncaught TypeError: Cannot read property 'data' of undefined OnMouseEnter event on open-topology.js

I have seen this error many times :

onMouseEnter : function(node, eventInfo, e) { // if node if (node.id != undefined) { one.topology.graph.canvas.getElement().style.cursor = 'move'; } else if (eventInfo.edge != undefined && eventInfo.edge.nodeTo.data["$type"] == "switch" && eventInfo.edge.nodeFrom.data["$type"] == "switch") { one.topology.graph.canvas.getElement().style.cursor = 'pointer'; } },

Browser presents : Uncaught TypeError: Cannot read property 'data' of undefined on code line eventInfo.edge.nodeTo.data["$type"] == "switch"

2014-11-17 12:57:46 -0700 received badge  Popular Question (source)
2014-11-17 03:51:29 -0700 asked a question Who wrote OpendayLight SDN Controller UI Part,TopologyView ? { Infovis JavaScript for Node/Switch}

I am exploring helium release of OpendayLight SDN Controller for its UI Part , and there I would like to make some changes in the UI of Topology View. But nothing is happening as expected. May I know who wrote open-topology.js/jit.js { javascript files of opendaylight sdn controller }, Is there any way help is available on that ?

2014-11-14 06:31:28 -0700 received badge  Taxonomist
2014-11-14 06:31:28 -0700 asked a question gogo: BundleException while updating org.opendaylight.controller.web-0.4.3-SNAPSHOT.jar via OSGI console

Steps : { done the following}

-.Made some changes on org.opendaylight.controller.web-0.4.3-SNAPSHOT.jar bundle

-. compiled it

-. copied into the ../../plugins directory

-. on console checked its bundle id via : ss org.opendaylight.controller.web-0.4.3-SNAPSHOT.jar

-.then stop - bundle id

-. then update bundle.id

but it give following error { even nothing happens like autamatic update }

2014-11-14 19:54:19.533 IST [Refresh Packages] INFO o.o.y.y.d.i.s.tree.InMemoryDataTree - Attempting to install schema contexts 2014-11-14 19:54:19.533 IST [Refresh Packages] INFO o.o.y.y.d.i.s.tree.InMemoryDataTree - Attempting to install schema contexts 2014-11-14 19:54:20.416 IST [Refresh Packages] INFO o.o.y.y.d.i.s.tree.InMemoryDataTree - Attempting to install schema contexts 2014-11-14 19:54:20.420 IST [Refresh Packages] INFO o.o.y.y.d.i.s.tree.InMemoryDataTree - Attempting to install schema contexts 2014-11-14 19:54:20.771 IST [Refresh Packages] INFO o.o.y.y.d.i.s.tree.InMemoryDataTree - Attempting to install schema contexts 2014-11-14 19:54:20.772 IST [Refresh Packages] INFO o.o.y.y.d.i.s.tree.InMemoryDataTree - Attempting to install schema contexts

osgi> osgi> osgi> 2014-11-14 19:54:21.571 IST [Refresh Packages] INFO o.o.y.y.d.i.s.tree.InMemoryDataTree - Attempting to install schema contexts 2014-11-14 19:54:21.572 IST [Refresh Packages] INFO o.o.y.y.d.i.s.tree.InMemoryDataTree - Attempting to install schema contexts 2014-11-14 19:54:21.814 IST [Refresh Packages] INFO o.o.y.y.d.i.s.tree.InMemoryDataTree - Attempting to install schema contexts 2014-11-14 19:54:21.815 IST [Refresh Packages] INFO o.o.y.y.d.i.s.tree.InMemoryDataTree - Attempting to install schema contexts 2014-11-14 19:54:22.334 IST [Refresh Packages] INFO o.o.y.y.d.i.s.tree.InMemoryDataTree - Attempting to install schema contexts 2014-11-14 19:54:22.334 IST [Refresh Packages] INFO o.o.y.y.d.i.s.tree.InMemoryDataTree - Attempting to install schema contexts u2014-11-14 19:54:22.493 IST [Refresh Packages] INFO o.o.y.y.d.i.s.tree.InMemoryDataTree - Attempting to install schema contexts 2014-11-14 19:54:22.494 IST [Refresh Packages] INFO o.o.y.y.d.i.s.tree.InMemoryDataTree - Attempting to install schema contexts pdate 251 gogo: BundleException: State change in progress for bundle "file:/E:/odlhelium/controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/plugins/org.opendaylight.controller.web-0.4.3-SNAPSHOT.jar" by thread "fileinstall-./plugins". osgi> !ENTRY org.opendaylight.controller.web 4 0 2014-11-14 19:54:41.362 !MESSAGE FrameworkEvent ERROR !STACK 0 org.osgi.framework.BundleException: State change in progress for bundle "file:/E:/odlhelium/controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/plugins/org.opendaylight.controller.web-0.4.3-SNAPSHOT.jar" by thread "fileinstall-./plugins". at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1088) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:387) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework ... (more)

2014-11-13 20:11:37 -0700 asked a question Switches on WebUI doesn't show the label/tooltip however host shows

On entering the sudo mn --controller=remote,ip=x.x.x.x --topo tree,2 and then pingall on mininet, it shows the webUI of the mininet network(switch,host) on browser via localhost:8080.{ as odl sdn already up and running)

However it shows the network as usual, but some time it doesn't show the label on switch nor tooltips, however on host it shows.

If only switch are visible (before pingall) then it shows the tooltip and label both to switches, but with host it only shows label/tooltip for host not for switches.

Is there any body experienced such behavior o ?

2014-11-13 17:54:35 -0700 received badge  Famous Question (source)
2014-11-13 15:11:00 -0700 received badge  Notable Question (source)
2014-11-13 15:11:00 -0700 received badge  Famous Question (source)
2014-11-13 11:05:55 -0700 received badge  Popular Question (source)
2014-11-13 11:05:55 -0700 received badge  Notable Question (source)
2014-11-13 03:13:13 -0700 answered a question Creating threads in a OSGI Bundle that continue to run ?

Below solved my problem

I referred OFStatisticsManager.java, it has implemented statisticsCollector = new Thread(new Runnable() {... to create the thread on the init method. it is available on the following path :..\controller\opendaylight\protocolplugins\openflow\src\main\java\org\opendaylight\controller\protocolplugin\openflow\internal

Note : I am completely new to Java/OSGI

2014-11-13 03:07:53 -0700 received badge  Enthusiast
2014-11-12 12:52:10 -0700 asked a question Creating threads in a OSGI Bundle that continue to run ?
  • Is there any thing to keep in mind while creating threads inside a OSGI Bundle ?,

{Q}. Created a new bundle and then created two thread on it, and Topology.java from web module access this bundle {topology.java passes received switch/host data to this bundle, and this bundle waiting to read this data, once it receive it and then it print it, it works fine} but one of the side effect it showing e.g. it shows the host node and those are movable from the webUI, but it deosn't show the label of switch node, and those are not movable also.

Any suggestion on this ?


2014-11-12 12:45:11 -0700 commented answer Helium Stable Release: 6th-Nov-2014 : Bundle:org.opendaylight.controller.switchmanager.implementation Message:Invocation of 'setInventoryService' failed. java.lang.NullPointerException: null

Its a ODL Version : Helium Stable Release: 6th-Nov-2014 and jdk1.7.07

2014-11-11 12:19:32 -0700 received badge  Popular Question (source)
2014-11-11 11:14:56 -0700 received badge  Famous Question (source)
2014-11-10 11:31:49 -0700 received badge  Famous Question (source)
2014-11-10 01:30:13 -0700 answered a question ServiceHelper.getInstance (IAClass.class,containerName, this) -- returns null ?,How to check if a Interface Instance properly configured to the OSGI Registery ?

On OSGI Consol I typed the following command :

OSGI>> b bundle_id

that gave a lot of information including the "Registered Services" e.g. {org.opendaylight.controller.sal.core.IContainerAware}={service.id=75}

This information helped me to compare with other existing services and from that I found the issue e.g. this information told that requisite service didn't get register to the intended bundle.

2014-11-10 01:09:20 -0700 received badge  Notable Question (source)
2014-11-09 17:31:48 -0700 asked a question ServiceHelper.getInstance (IAClass.class,containerName, this) -- returns null ?,How to check if a Interface Instance properly configured to the OSGI Registery ?

Question :How to check if a Interface Instance properly configured to the OSGI Resgitery ?, How we can debug it if that has not happened successfully ?

As in one of my implementation case - ServiceHelper.getInstance (IAClass.class,containerName, this) -- returns null ? However similar other implementation return the instance.

{ I have checked everything e.g. pom.xml, versions, .m2 etc , most trivial stuff, seems now I need to debug more on the Service Registry side. }

Explanation

Point-1

Please refer Topology.java : that calls the instance of ISwitchManager.class, and then uses its one of the interface to access its functionl

ISwitchManager switchManager = (ISwitchManager) ServiceHelper .getInstance(ISwitchManager.class, containerName, this); if (switchManager == null) { return null; }

Point-2:

I have created two OSGI Module ,and followed the proper approach as defined everywhere e.g. pom.xml,dependencies

1.IXManager (api and implementation)
2.IXManager (api and implementation)

so I can use like the above 1 and 2 in same file:

IXManager xManager = (IXManager) ServiceHelper .getInstance(IXManager.class, containerName, this);

if (xManager == null) { return null; } xManager return the instance and everything works.

IYManager yManager = (IYManager) ServiceHelper .getInstance(IYManager.class, containerName, this); if (yManager == null) { return null; }

yManager returns null :

Here is how I wrote the activator example classes :

package org.opendaylight.controller.xmanager.internal;

import org.apache.felix.dm.Component; mport org.opendaylight.controller.xmanager.IXManager; import org.opendaylight.controller.sal.core.ComponentActivatorAbstractBase; import org.slf4j.Logger; import org.slf4j.LoggerFactory;

/** * Bundle Activator for XManager class */ public class Activator extends ComponentActivatorAbstractBase { protected static final Logger logger = LoggerFactory.getLogger(Activator.class);

@Override
public Object[] getImplementations() {
    Object[] res = { XManager.class };
    return res;
}

@Override
public void configureInstance(Component c, Object imp, String containerName) {
    if (imp.equals(XManager .class)) {

        String interfaces[] = new String[] {IXManager.class.getName()};
        c.setInterface(interfaces, null);
    }
}

}

2014-11-07 06:07:07 -0700 received badge  Popular Question (source)
2014-11-06 19:22:00 -0700 received badge  Scholar (source)
2014-11-06 18:30:58 -0700 received badge  Popular Question (source)
2014-11-06 18:30:58 -0700 received badge  Notable Question (source)
2014-11-06 18:30:58 -0700 received badge  Famous Question (source)
2014-11-06 11:01:43 -0700 asked a question Helium Stable Release: 6th-Nov-2014 : Bundle:org.opendaylight.controller.switchmanager.implementation Message:Invocation of 'setInventoryService' failed. java.lang.NullPointerException: null

As usual I have made the clone of SDN Controller , followed the steps and compiled the code via mvn clean instal -DskipTests, and then once I run it via run.bat then it gives following errors :

E:\odlhelium\controller\opendaylight\distribution\opendaylight\target\distribution.opendaylight-osgipackage\opendaylight>run.bat Setting maximum memory to 1G. Picked up JAVATOOLOPTIONS: -Xmx2048m -XX:MaxPermSize=512m -Xms512m "C:\Program Files\Java\jdk1.7.071\bin\java.exe" -Dopendaylight.controller -Xmx1G -Djava.io.tmpdir="E:\odlhelium\controller\opendaylight\distribution\opendaylight\target\distribution.opendaylight-osgipackage\opendaylight\work\tmp" -Djava.awt.headless=true -Dosgi.install.area=E:\odlhelium\controller\opendaylight\distribution\opendaylight\target\distribution.opendaylight-osgipackage\opendaylight\ -Dosgi.configuration.area="E:\odlhelium\controller\opendaylight\distribution\opendaylight\target\distribution.opendaylight-osgipackage\opendaylight\configuration" -Dosgi.frameworkClassPath="file:\E:\odlhelium\controller\opendaylight\distribution\opendaylight\target\distribution.opendaylight-osgipackage\opendaylight\lib\org.eclipse.osgi-3.8.1.v20120830-144521.jar,file:\E:\odlhelium\controller\opendaylight\distribution\opendaylight\target\distribution.opendaylight-osgipackage\opendaylight\lib\org.eclipse.virgo.kernel.equinox.extensions-3.6.0.RELEASE.jar,file:\E:\odlhelium\controller\opendaylight\distribution\opendaylight\target\distribution.opendaylight-osgipackage\opendaylight\lib\org.eclipse.equinox.launcher-1.3.0.v20120522-1813.jar" -Dosgi.framework="file:\E:\odlhelium\controller\opendaylight\distribution\opendaylight\target\distribution.opendaylight-osgipackage\opendaylight\lib\org.eclipse.osgi-3.8.1.v20120830-144521.jar" -classpath "E:\odlhelium\controller\opendaylight\distribution\opendaylight\target\distribution.opendaylight-osgipackage\opendaylight\lib\org.eclipse.osgi-3.8.1.v20120830-144521.jar;E:\odlhelium\controller\opendaylight\distribution\opendaylight\target\distribution.opendaylight-osgipackage\opendaylight\lib\org.eclipse.virgo.kernel.equinox.extensions-3.6.0.RELEASE.jar;E:\odlhelium\controller\opendaylight\distribution\opendaylight\target\distribution.opendaylight-osgipackage\opendaylight\lib\org.eclipse.equinox.launcher-1.3.0.v20120522-1813.jar" org.eclipse.equinox.launcher.Main -console -consoleLog Picked up JAVATOOLOPTIONS: -Xmx2048m -XX:MaxPermSize=512m -Xms512m osgi> 2014-11-06 23:59:10.287 IST [ControllerI/O Thread] INFO o.o.c.p.o.core.internal.ControllerIO - Controller is now listening on any:6633 2014-11-06 23:59:10.348 IST [ControllerI/O Thread] INFO o.o.c.p.o.core.internal.Controller - Switch:192.168.1.8:52570 is connected to the Controller 2014-11-06 23:59:10.355 IST [ControllerI/O Thread] INFO o.o.c.p.o.core.internal.Controller - Switch:192.168.1.8:52574 is connected to the Controller 2014-11-06 23:59:10.364 IST [ControllerI/O Thread] INFO o.o.c.p.o.core.internal.Controller - Switch:192.168.1.8:52571 is connected to the Controller 2014-11-06 23:59:11.304 IST [ControllerI/O Thread] INFO o.o.c.p.o.core.internal.Controller - Switch:192.168.1.8:52581 is connected to the Controller 2014-11-06 23:59:11.312 IST [ControllerI/O Thread] INFO o.o.c.p.o.core.internal.Controller - Switch:192.168.1.8:52582 is connected to the Controller 2014-11-06 23:59:11 IST [org.apache.catalina.mbeans.GlobalResourcesLifecycleListener] SEVERE org.apache.catalina.mbeans.GlobalResourcesLifecycleListener createMBeans No global naming context defined for server 2014-11-06 23:59:11.821 IST [fileinstall-./plugins] INFO o.o.c.c.s.internal.ClusterManager - I'm a GossipRouter will listen ... (more)

2014-11-06 05:26:20 -0700 answered a question Running ODL with of13 using local code

For this Error : java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “main”

Following solved my problem :

I set the following on the System Environment variable of Windows 8.0 e.g. JAVATOOLOPTIONS to -Xmx2048m -XX:MaxPermSize=512m -Xms512m

To verify it do :

C:\windows\system32>java -version Picked up JAVATOOLOPTIONS: -Xmx2048m -XX:MaxPermSize=512m -Xms512m java version "1.7.071" Java(TM) SE Runtime Environment (build 1.7.071-b14) Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

C:\windows\system32>