Re: Trying register an application via the registerJar command

2016-09-16 Thread Susan Cline
Thanks Dale.  It did not work however, the results are the same after removing 
the 3 lines before provider.start().
When I submit the SpeedJarApp I can see this in the pi terminal (this is the 
full output from when I started the registerJarExample application to when I 
submitted the command):

pi@raspberrypi:~/devConf $ java -jar registerJarExample.jar 
speed_sensor_config1.txt
Sep 16, 2016 9:39:08 PM org.apache.edgent.runtime.appservice.AppService 
registerTopology
INFO: Register application name: edgentIotDevicePubSub
Sep 16, 2016 9:39:08 PM org.apache.edgent.runtime.appservice.AppService 
registerTopology
INFO: Register application name: edgentIotCommandsToControl
Sep 16, 2016 9:39:08 PM org.apache.edgent.runtime.appservice.AppService 
registerTopology
INFO: Register application name: edgentJobMonitorApp
false
Sep 16, 2016 9:39:09 PM pi.RegisterJarExample main
INFO: Here is some info
Sep 16, 2016 9:39:09 PM com.ibm.iotf.client.AbstractClient createClient
INFO: pool-1-thread-22-edgentIotDevicePubSub: Org ID= ni6dcf
 Client ID= d:ni6dcf:SpeedSensor:Pi3_SpeedSensor_1
Sep 16, 2016 9:39:09 PM com.ibm.iotf.client.AbstractClient connect
INFO: pool-1-thread-22-edgentIotDevicePubSub: Connecting client 
d:ni6dcf:SpeedSensor:Pi3_SpeedSensor_1 to 
ssl://ni6dcf.messaging.internetofthings.ibmcloud.com:8883 (attempt #1)...
Sep 16, 2016 9:39:10 PM com.ibm.iotf.client.AbstractClient connect
INFO: pool-1-thread-22-edgentIotDevicePubSub: Successfully connected to the IBM 
Watson IoT Platform
Sep 16, 2016 9:39:49 PM org.apache.edgent.runtime.appservice.AppService 
registerJar
INFO: Register jar: file:///home/pi/devConf/pi.sensors.jar
Sep 16, 2016 9:39:49 PM org.apache.edgent.runtime.appservice.AppService 
registerJar
INFO: about to call registerTopology
Sep 16, 2016 9:39:49 PM org.apache.edgent.runtime.appservice.AppService 
registerTopology
INFO: Register application name: SpeedJarApp
SpeedJarApp
Sep 16, 2016 9:40:11 PM org.apache.edgent.runtime.etiao.Executable$1 accept
INFO: No more active user tasks

Thanks,

Susan



> On Sep 16, 2016, at 10:32 AM, Dale LaBossiere  wrote:
> 
> 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  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");
>>  }
>>  
>> }
> 



[jira] [Commented] (EDGENT-248) [console] no hover popup for source oplet

2016-09-16 Thread Queenie Ma (JIRA)

[ 
https://issues.apache.org/jira/browse/EDGENT-248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15497454#comment-15497454
 ] 

Queenie Ma commented on EDGENT-248:
---

I followed those steps (but had to modify the CLASSPATH variable in 
runfilesample.sh to get the script to run), but still couldn't reproduce it. 
I'm on Mac as well and tested on the same three browsers. I tried using both my 
cloned Git repo and the downloaded master zip file from GitHub. I think we may 
need someone else to try this out...

But yes, I have seen what you mentioned before (both the leftmost source oplet 
and its output stream didn't bring up anything on hover). That fact that I 
can't reproduce it anymore is odd.

> [console] no hover popup for source oplet
> -
>
> Key: EDGENT-248
> URL: https://issues.apache.org/jira/browse/EDGENT-248
> Project: Edgent
>  Issue Type: Bug
>  Components: Console
>Reporter: Dale LaBossiere
>
> This used to work... if you hover on a source oplet (of any type?) no popup 
> is generated.  Hovering on other oplets works fine.  (can demo with sample 
> file connector - see scripts/connectors/file/README) 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)