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


onSessionInitiated not called ODL summit 2015 tutorial

asked 2016-11-23 08:29:23 -0700

jgray gravatar image

Hi, I am trying to follow the Hello tutorial from the 2015 summit. ( In ex.3 we add "implements BindingAwareProider" the the definition of the HelloProvider class, and then we also add: @Override public void onSessionInitiated(ProviderContext session) {"HelloProvider Session Initiated(2)"); helloService = session.addRpcImplementation(HelloService.class, new HelloWorldImpl()); }

My problem is that onSessionInitiated is not called... The initial generated HelloProvider has an init() function that is called but then I don't have the ProviderContext session and can not add the RPC implementation.

Does anybody have an idea?


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-11-24 08:05:20 -0700

jgray gravatar image

Found the answer... In the Wiki page it has Archetype version 1.3.0-SNAPSHOT, but in the video of the event I saw that when Ed pasted the Archetype command it has version 1.1.0-SNAPSHOT. This means that the Wiki page was updated to a non working state. When I generated the project with 1.1.0 it works. At least as far as Ex.3...

edit flag offensive delete publish link more
Login/Signup to Answer


Asked: 2016-11-23 08:29:23 -0700

Seen: 100 times

Last updated: Nov 24 '16