From soniaverma9727 at gmail.com Thu Oct 31 05:40:14 2013 From: soniaverma9727 at gmail.com (sonia verma) Date: Thu, 31 Oct 2013 18:10:14 +0530 Subject: Delay in starting Java based Opendaylight controller Message-ID: Hi all, I have ported Opendaylight controller in one board having powerpc architeture e500 kernel 3.8 supporting java: java version "1.7.0_25" OpenJDK Runtime Environment (IcedTea 2.3.12) (25b30-2.3.12) OpenJDK Zero VM (build 23.7-b01, interpreted mode) When I run ./run.sh in order to start Opendaylight.it takes approximately about 10 min for the controller to start properly so as to establish connection with the OVS. However when i run it on x-86,it is fine and is able to connect with the OVS within no time.The java -version at x-86 is as follows.. java -version java version "1.7.0_25" OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.12.04.2) OpenJDK Server VM (build 23.7-b01, mixed mode) I noticed that the java mode at x-86 is mixed mode whereas at that of my board is interpreted mode. Can this be the reason for delay in starting?if yes suggest me how to migrate from inerpreted mode to mixed mode . Or there is some another reason associated with that. Logs of opendaylight at the board are as follows... ./run.sh 2013-10-31 01:00:03.508 UTC [Start Level Event Dispatcher] INFO o.o.c.s.binding.impl. BrokerActivator - Binding Aware Broker initialized osgi> 2013-10-31 01:00:04.374 UTC [Start Level Event Dispatcher] INFO o.o.c.c.s.internal.ClusterManager - I'm a GossipRouter will listen on 1 2013-10-31 01:00:04.611 UTC [Start Level Event Dispatcher] INFO o.o.c.c.s.internal.ClusterManager - Started GossipRouter GossipRouter started at Thu Oct 31 01:00:04 UTC 2013 Listening on port 12001 bound on address 0.0.0.0/0.0.0.0 Backlog is 1000, linger timeout is 2000, and read timeout is 0 2013-10-31 01:00:04.612 UTC [Start Level Event Dispatcher] INFO o.o.c.c.s.internal.ClusterManager - Starting the ClusterManager 2013-10-31 01:00:13.639 UTC [Start Level Event Dispatcher] INFO o.o.c.c.i.ConfigurationService - ConfigurationService Manager init 2013-10-31 01:00:15.782 UTC [Start Level Event Dispatcher] INFO o.o.c.n.i.osgi.NetconfImplActivator - Starting TCP netconf server at /127.0.3 Oct 31, 2013 1:00:17 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.librarb Oct 31, 2013 1:00:22 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8080"] Oct 31, 2013 1:00:23 AM org.apache.catalina.mbeans.GlobalResourcesLifecycleListener createMBeans SEVERE: No global naming context defined for server Oct 31, 2013 1:00:23 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina Oct 31, 2013 1:00:23 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.32 Oct 31, 2013 1:00:23 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8080"] 2013-10-31 01:01:46.580 UTC [ConfigPersister-registrator] INFO o.o.c.n.p.i.ConfigPersisterNotificationHandler - Session id received from net1 2013-10-31 01:01:46.587 UTC [ConfigPersister-registrator] INFO o.o.c.n.p.i.ConfigPersisterNotificationHandler - No last config provided by b] Oct 31, 2013 1:02:08 AM org.apache.catalina.core.ApplicationContext log INFO: No Spring WebApplicationInitializer types detected on classpath Oct 31, 2013 1:02:09 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring FrameworkServlet 'Flows' Oct 31, 2013 1:02:35 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31 PM' Oct 31, 2013 1:02:35 AM com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder INFO: Instantiated the Application class org.opendaylight.controller.northbound.commons.NorthboundApplication Oct 31, 2013 1:02:52 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31 PM' Oct 31, 2013 1:02:52 AM com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder INFO: Instantiated the Application class org.opendaylight.controller.northbound.commons.NorthboundApplication Oct 31, 2013 1:03:22 AM org.apache.catalina.core.ApplicationContext log INFO: No Spring WebApplicationInitializer types detected on classpath Oct 31, 2013 1:03:23 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring FrameworkServlet 'RootGUI' Oct 31, 2013 1:03:44 AM org.apache.catalina.core.ApplicationContext log INFO: No Spring WebApplicationInitializer types detected on classpath Oct 31, 2013 1:03:44 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring FrameworkServlet 'Devices' Oct 31, 2013 1:04:01 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31 PM' Oct 31, 2013 1:04:01 AM com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder INFO: Instantiated the Application class org.opendaylight.controller.northbound.commons.NorthboundApplication Oct 31, 2013 1:04:17 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31 PM' Oct 31, 2013 1:04:17 AM com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder INFO: Instantiated the Application class org.opendaylight.controller.northbound.commons.NorthboundApplication Oct 31, 2013 1:04:38 AM org.apache.catalina.core.ApplicationContext log INFO: No Spring WebApplicationInitializer types detected on classpath Oct 31, 2013 1:04:38 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring FrameworkServlet 'Troubleshoot' Oct 31, 2013 1:04:48 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31 PM' Oct 31, 2013 1:04:48 AM com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder INFO: Instantiated the Application class org.opendaylight.controller.networkconfig.neutron.northbound.NeutronNorthboundRSApplication Oct 31, 2013 1:05:05 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31 PM' Oct 31, 2013 1:05:05 AM com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder INFO: Instantiated the Application class org.opendaylight.controller.northbound.commons.NorthboundApplication Oct 31, 2013 1:05:21 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31 PM' Oct 31, 2013 1:05:21 AM com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder INFO: Instantiated the Application class org.opendaylight.controller.northbound.commons.NorthboundApplication Oct 31, 2013 1:05:45 AM org.apache.catalina.core.ApplicationContext log INFO: No Spring WebApplicationInitializer types detected on classpath Oct 31, 2013 1:05:45 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring FrameworkServlet 'Topology' 2013-10-31 01:05:48.392 UTC [Start Level Event Dispatcher] INFO o.o.c.s.t.provider.ToasterProvider - Provider Session initialized Oct 31, 2013 1:06:03 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31 PM' Oct 31, 2013 1:06:03 AM com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder INFO: Instantiated the Application class org.opendaylight.controller.northbound.commons.NorthboundApplication 2013-10-31 01:06:06.154 UTC [ControllerI/O Thread] INFO o.o.c.p.o.core.internal.ControllerIO - Controller is now listening on any:6633 2013-10-31 01:06:07.050 UTC [ControllerI/O Thread] INFO o.o.c.p.o.core.internal.Controller - Switch:192.168.6.123:56750 is connected to the r Oct 31, 2013 1:06:07 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31 PM' Oct 31, 2013 1:06:07 AM com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder INFO: Instantiated the Application class org.opendaylight.controller.containermanager.northbound.ContainerManagerNorthboundRSApplication 2013-10-31 01:06:10.563 UTC [ControllerI/O Thread] INFO o.o.c.p.o.core.internal.Controller - Switch:192.168.6.137:52815 is connected to the r 2013-10-31 01:06:12.369 UTC [pool-13-thread-1] INFO o.o.c.f.i.ForwardingRulesManager - Forwarding mode for node OF|00:00:00:04:9f:02:a3:e3 se 2013-10-31 01:06:12.371 UTC [pool-13-thread-1] WARN o.o.c.f.i.ForwardingRulesManager - Failed to remove Proactive Static flow: __Punt ARP__ 2013-10-31 01:06:12.372 UTC [pool-13-thread-1] WARN o.o.c.f.i.ForwardingRulesManager - Failed to remove Proactive Static flow: __Punt LLDP__ 2013-10-31 01:06:12.373 UTC [pool-13-thread-1] WARN o.o.c.f.i.ForwardingRulesManager - Failed to remove Proactive Static flow: __Catch-All D_ 2013-10-31 01:06:12.753 UTC [fileinstall-./plugins] INFO o.o.c.s.l.i.LoadBalancerService - Running container name:default 2013-10-31 01:06:12.756 UTC [fileinstall-./plugins] INFO o.o.c.s.l.i.LoadBalancerService - ConfigManager [vips={}, pools={}] Oct 31, 2013 1:06:20 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31 PM' Oct 31, 2013 1:06:20 AM com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder INFO: Instantiated the Application class org.opendaylight.controller.northbound.commons.NorthboundApplication Oct 31, 2013 1:06:27 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31 PM' Oct 31, 2013 1:06:27 AM com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder INFO: Instantiated the Application class org.opendaylight.controller.northbound.commons.NorthboundApplication. Please help regarding this.. Thanks Sonia -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/zero-dev/attachments/20131031/7b2ca5b3/attachment.html From soniaverma9727 at gmail.com Thu Oct 31 08:10:16 2013 From: soniaverma9727 at gmail.com (sonia verma) Date: Thu, 31 Oct 2013 20:40:16 +0530 Subject: enable Shark support in JAVA In-Reply-To: References: Message-ID: adding zero-dev in loop. On Thu, Oct 31, 2013 at 8:38 PM, sonia verma wrote: > Hi ALL, > > I have integrated Java in one of the board having Powerpc architecture > using meta-java. By default it cam with Zero port support which only works > in interpreter mode. > > I need to enable Shark support in that. Can any one please help me with > the procedure to compile JAVA with Shark support. > > -- > Regards > > Sonia Verma > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/zero-dev/attachments/20131031/02d965d9/attachment.html