I haven’t digested the complete email message yet, but try removing those three 
lines before provider.start() and try again.
IotProvider already create/registers those services (described in its javadoc). 
 I guess I wouldn’t be surprised if these extra additions might much things up.

— Dale

> On Sep 16, 2016, at 1:17 PM, Susan Cline <home4...@pacbell.net> wrote:
> 
> I’ve gotten a step further, but I am still having problems.
> ...
> 
> public class RegisterJarExample {
>               IotProvider provider = new IotProvider(topology -> new 
> IotpDevice(topology, configFile));
>               /*
>                * Not sure if I need the next few lines or not ...
>                */
>               JsonControlService control = new JsonControlService();
>               provider.getServices().addService(ControlService.class, 
> control); 
>               ApplicationService appService = 
> AppService.createAndRegister(provider, provider);
>               provider.start();
>               
>               logger.info("Here is some info");
>       }
>       
> }

Reply via email to