Hi Team,

I have been following the procedures, 
https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Startup_Project_Archetype,
 to create projects. It works with Carbon releases. Recently when I tried it 
with Nitrogen releases, the project creation and compilation were fine, but 
when installed with karaf feature:install, the init method of the Provider was 
not called. I tried all three Nitrogen release and they have the same problem.

The generation command that I used,

mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller 
-DarchetypeArtifactId=opendaylight-startup-archetype 
-DarchetypeRepository=http://nexus.opendaylight.org/content/repositories/opendaylight.releas/
 -DarchetypeCatalog=remote -DarchetypeVersion=1.4.3

Define value for property 'groupId': : org.opendaylight.example
Define value for property 'artifactId': : example
Define value for property 'package':  org.opendaylight.example: :
Define value for property 'classPrefix':  
${artifactId.substring(0,1).toUpperCase()}${artifactId.substring(1)}
Define value for property 'copyright': : Yoyodyne, Inc.


cd example/

mvn clean install

cd karaf/target/assembly/bin

./karaf

log:display | grep Example
The last command showed nothing. After I did feature:install and installed the 
Example feature without a problem, it still did not show "ExampleProvider 
Session Initiated".

In the karaf.log, there is no "ExampleProvider Session Initiated" either. After 
that, I added a rpc to the service, when browse the rpc from apidoc url, it 
says the api was not implemented.

Could somebody tell me whether some steps changed for bringing up a feature?

I redid the creation with Carbon release with exact the same procedure, there 
were no problems.




Thanks,

Harry







_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Reply via email to