Harry, On Tue, Jul 24, 2018 at 6:57 PM harry.zh...@us.fujitsu.com < harry.zh...@us.fujitsu.com> wrote:
> Hi Tom, > > > > May I ask if you remember how to fix the problem? I could not find the > previous record. > if you are willing to work with bleeding edge (master Fluorine, which is about to be frozen and released; in August) then please use the new arechetype and its documentation, see https://docs.opendaylight.org/en/latest/developer-guide/developing-apps-on-the-opendaylight-controller.html Tx, M. -- Michael Vorburger, Red Hat vorbur...@redhat.com | IRC: vorburger @freenode | ~ = http://vorburger.ch > Thanks, > > > > Harry > > > > > > *From:* Tom Pantelis [mailto:tompante...@gmail.com] > *Sent:* Tuesday, July 24, 2018 11:43 AM > *To:* Zhang, Harry <harry.zh...@us.fujitsu.com> > *Cc:* controller-dev@lists.opendaylight.org > *Subject:* Re: [controller-dev] MD-SAL: Startup Project Archetype Seems > Stopped Working Since Release Nitrogen > > > > > > > > On Tue, Jul 24, 2018 at 12:35 PM, harry.zh...@us.fujitsu.com < > harry.zh...@us.fujitsu.com> wrote: > > Hi Team, > > > > I have been following the procedures, > https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Startup_Project_Archetype > <https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.opendaylight.org_view_OpenDaylight-5FController-3AMD-2DSAL-3AStartup-5FProject-5FArchetype&d=DwMFaQ&c=09aR81AqZjK9FqV5BSCPBw&r=lq6I3u0wiARfxjpvxTgWkgOXHPZRN6twp12sL6yfwoc&m=dfNlHfBik8zrOu8n6LgLAkovupFZzDe3CoTBppdW-F4&s=UTYenlM54P71KglqRSqCnAcmZoI56uqdIi6ES4qEtlo&e=>, > 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/ > <https://urldefense.proofpoint.com/v2/url?u=http-3A__nexus.opendaylight.org_content_repositories_opendaylight.releas_&d=DwMFaQ&c=09aR81AqZjK9FqV5BSCPBw&r=lq6I3u0wiARfxjpvxTgWkgOXHPZRN6twp12sL6yfwoc&m=dfNlHfBik8zrOu8n6LgLAkovupFZzDe3CoTBppdW-F4&s=9UQBNL9NRvN5MJlUSbqj7lgl7gAyLTtPRIHqfeLTRWc&e=> > -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. > > > > > > > > This has come up before in previous mailing list discussions and I don't > recall the details but FWIC, it's b/c the bundle that contains the > ExampleProvider isn't installed, either b/c it's not included in a feature > or that feature isn't installed by the generated local karaf distro. > > > > > > > > Thanks, > > > > Harry > > > > > > > > > > > > > > > > > _______________________________________________ > controller-dev mailing list > controller-dev@lists.opendaylight.org > https://lists.opendaylight.org/mailman/listinfo/controller-dev > <https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.opendaylight.org_mailman_listinfo_controller-2Ddev&d=DwMFaQ&c=09aR81AqZjK9FqV5BSCPBw&r=lq6I3u0wiARfxjpvxTgWkgOXHPZRN6twp12sL6yfwoc&m=dfNlHfBik8zrOu8n6LgLAkovupFZzDe3CoTBppdW-F4&s=6AWKBlUiFV7bvSAG_2NinQA72-jFco--WFRuqjflivg&e=> > > > _______________________________________________ > controller-dev mailing list > controller-dev@lists.opendaylight.org > https://lists.opendaylight.org/mailman/listinfo/controller-dev >
_______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev