Problems start dal-web-apis-bin

42 views
Skip to first unread message

Alessandro Chelli

unread,
Nov 11, 2014, 6:38:28 AM11/11/14
to jemma-...@googlegroups.com
Hello everybody,
I am started working with Jemma, so I have a FlexKey and I have installed on my VM all the package and started (./start.sh of the dal-web-apis-bin folder).
If I go from host machine to http://ip:8080/virtualhome/index.html I see 


HTTP ERROR 404

Problem accessing /virtualhome/index.html. Reason:

    ProxyServlet: /virtualhome/index.html


Powered by Jetty://

Any suggestions will be appreciated
Regards
Alessandro

Ranalli Andrea

unread,
Nov 11, 2014, 6:45:29 AM11/11/14
to jemma-...@googlegroups.com

Can you try with the path /energyathome/index.html or /demo/index.html?

Try also with the /conf subpath (e.g. /demo/conf).

Please let us know, best regards,

 

Andrea

 

------------------------------------------------------------------
Telecom Italia
Andrea Ranalli

Open Innovation Research – Future Internet Trial (SI.OIR.FIT)

Via di val cannuta, 182 00166 Roma

Mobile phone: +39 331 60 42 768

Land phone: +39 06 3688 8266
Fax number: +39 06 2331 6872

 

Da: jemma-...@googlegroups.com [mailto:jemma-...@googlegroups.com] Per conto di Alessandro Chelli
Inviato: martedì 11 novembre 2014 12:38
A: jemma-...@googlegroups.com
Oggetto: [jemma-general] Problems start dal-web-apis-bin

--
JEMMA - Java Energy ManageMent Application framework - http://jemma.energy-home.org
---
You received this message because you are subscribed to the Google Groups "JEMMA General Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jemma-genera...@googlegroups.com.
To post to this group, send email to jemma-...@googlegroups.com.
Visit this group at http://groups.google.com/group/jemma-general.
To view this discussion on the web visit https://groups.google.com/d/msgid/jemma-general/06a04594-4682-47fa-853e-92cb2b91f98c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie.

This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail, Thanks.

rispetta l'ambienteRispetta l'ambiente. Non stampare questa mail se non è necessario.

Alessandro Chelli

unread,
Nov 11, 2014, 6:51:07 AM11/11/14
to Ranalli Andrea, jemma-...@googlegroups.com
Great Andrea,
With the path /energyathome/index.html something happen.
Now I have got this problem:

Why connectivity error?
Regards
Alessandro
<logo Ambiente_foglia2.jpg>Rispetta l'ambiente. Non stampare questa mail se non è necessario.


-- 
JEMMA - Java Energy ManageMent Application framework - http://jemma.energy-home.org
--- 
You received this message because you are subscribed to a topic in the Google Groups "JEMMA General Mailing List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jemma-general/gbeV8ddu_eI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jemma-genera...@googlegroups.com.

To post to this group, send email to jemma-...@googlegroups.com.
Visit this group at http://groups.google.com/group/jemma-general.

For more options, visit https://groups.google.com/d/optout.
<logo Ambiente_foglia2.jpg>

Ranalli Andrea

unread,
Nov 11, 2014, 7:06:29 AM11/11/14
to Alessandro Chelli, jemma-...@googlegroups.com

That problem generally is related with the wrong setting of the JavaGAL bundle. Please double check the config.ini setting and be sure that the flexKey USB port is the right one recognized by your PC.

Also, the time is wrong (January 1st 1970) so your environment shall be updated. If it is a Unix O.S. try using this command:

 

/bin/ntpclient -s -c 2 -i 3 -h ntp.ien.it  >/dev/null

 

Best regards,

 

Andrea

 

------------------------------------------------------------------
Telecom Italia
Andrea Ranalli

Open Innovation Research – Future Internet Trial (SI.OIR.FIT)

Via di val cannuta, 182 00166 Roma

Mobile phone: +39 331 60 42 768

Land phone: +39 06 3688 8266
Fax number: +39 06 2331 6872

 

Da: Alessandro Chelli [mailto:alessand...@gmail.com]
Inviato: martedì 11 novembre 2014 12:51
A: Ranalli Andrea
Cc: jemma-...@googlegroups.com
Oggetto: Re: [jemma-general] Problems start dal-web-apis-bin

Alessandro Chelli

unread,
Nov 11, 2014, 4:43:57 PM11/11/14
to Ranalli Andrea, jemma-...@googlegroups.com
Andrea, the problem wasn’t resolved yet:

The time and date is correct.
But the page continue to give me Connectivity error.

Now I want to use dal-web-apis-bin to comunicate with a javascript client to GAL.
I have two flexKey and I want to comunicate from server to another pc that I can call client.
If I enter in the page /virtualhome/index.html I see:

Error getting devices list.

Why it happen?

Regards
Alessandro
Il giorno 11/nov/2014, alle ore 13:06, Ranalli Andrea <andrea....@telecomitalia.it> ha scritto:

That problem generally is related with the wrong setting of the JavaGAL bundle. Please double check the config.ini setting and be sure that the flexKey USB port is the right one recognized by your PC.
Also, the time is wrong (January 1st 1970) so your environment shall be updated. If it is a Unix O.S. try using this command:
 
/bin/ntpclient -s -c 2 -i 3 -h ntp.ien.it  >/dev/null
 
Best regards,
 
Andrea
 
------------------------------------------------------------------
Telecom Italia
Andrea Ranalli
Open Innovation Research – Future Internet Trial (SI.OIR.FIT)
Via di val cannuta, 182 00166 Roma
Mobile phone: +39 331 60 42 768
Land phone: +39 06 3688 8266
Fax number: +39 06 2331 6872
 
Da: Alessandro Chelli [mailto:alessand...@gmail.com] 
Inviato: martedì 11 novembre 2014 12:51
A: Ranalli Andrea
Cc: jemma-...@googlegroups.com
Oggetto: Re: [jemma-general] Problems start dal-web-apis-bin
 
Great Andrea,
With the path /energyathome/index.html something happen.
Now I have got this problem:
<image001.png>

Ivan Grimaldi

unread,
Nov 12, 2014, 4:05:19 AM11/12/14
to Alessandro Chelli, Ranalli Andrea, jemma-...@googlegroups.com
Dear Alessandro,
the web apis module relies on the OSGi Device Abstraction Layer. In order to get it working you must be sure that you have also installed these bundles: I also reccomend to update the dal-webapis bundle: https://github.com/ismb/it.ismb.pert.osgi.dal.web-apis
The devices will be listed in the virtualhome pages once they are associated and configured in the Gateway.

Best regards,
Ivan

Ivan Grimaldi

unread,
Nov 12, 2014, 4:43:18 AM11/12/14
to Alessandro Chelli, Ranalli Andrea, jemma-...@googlegroups.com
Dear Alessio,
I also suggest to use JEMMA's latest release candidate that can be found here: https://github.com/ismb/jemma/releases/tag/0.9-rc1

Best regards,
Ivan

Alessandro Chelli

unread,
Nov 14, 2014, 12:51:09 PM11/14/14
to Ivan Grimaldi, Ranalli Andrea, jemma-...@googlegroups.com
Dear Ivan,
Can you explain me step by step what I should do for start a functional jemma environment?
I have try several day with Linux VM to start Jemma system, everytime with connection problem.
If you write me a step by step tutorial to start jemma 0,9 with flex key, I would appreciate it.
Thank you so much
Alessandro
  
Il giorno 12/nov/2014, alle ore 10:43, Ivan Grimaldi <ivan.gri...@gmail.com> ha scritto:

Dear Alessio,
I also suggest to use JEMMA's latest release candidate that can be found here: https://github.com/ismb/jemma/releases/tag/0.9-rc1

Best regards,
Ivan

Il giorno mer, 12/11/2014 alle 10.05 +0100, Ivan Grimaldi ha scritto:
Dear Alessandro,
the web apis module relies on the OSGi Device Abstraction Layer. In order to get it working you must be sure that you have also installed these bundles: I also reccomend to update the dal-webapis bundle: https://github.com/ismb/it.ismb.pert.osgi.dal.web-apis
The devices will be listed in the virtualhome pages once they are associated and configured in the Gateway.

Best regards,
Ivan

Il giorno mar, 11/11/2014 alle 22.43 +0100, Alessandro Chelli ha scritto:
Andrea, the problem wasn’t resolved yet:
<Schermata 2014-11-11 alle 22.38.19.png>



The time and date is correct.
But the page continue to give me Connectivity error.


Now I want to use dal-web-apis-bin to comunicate with a javascript client to GAL.
I have two flexKey and I want to comunicate from server to another pc that I can call client.
If I enter in the page /virtualhome/index.html I see:
<Schermata 2014-11-11 alle 22.42.48.png>

marco....@consoft.it

unread,
Nov 14, 2014, 1:15:35 PM11/14/14
to Alessandro Chelli, Ivan Grimaldi, Ranalli Andrea, jemma-...@googlegroups.com
Hi Alessandro, have you set the correct serial port?
Can you send the output log?
In order to set the serial port, you have to set the dongleuri property  into the run configuration of eclipse.

Then you can see the coordinator in http://yourip:8080/Zigbee/

user:admin
psw:Admin



Regards,
Marco N.

Inviato da iPhone

Ivan Grimaldi

unread,
Nov 16, 2014, 12:52:28 PM11/16/14
to Alessandro Chelli, Ranalli Andrea, jemma-...@googlegroups.com
Dear Alessandro,
I have just created a page which describes how to run a JEMMA release with a FlexKey: https://github.com/ismb/jemma/wiki/Running-JEMMA-release-with-a-FlexKey

I hope this helps.
Best Regards,
Ivan

Alessandro Chelli

unread,
Nov 16, 2014, 12:58:11 PM11/16/14
to Ivan Grimaldi, Ranalli Andrea, jemma-...@googlegroups.com
Thank you so much, this packet and guide will be very useful for everybody want start to use jemma.
In this day we have solved our problem by ourself and now we start to interface API with our system.
Best Regards
Alessandro Chelli
Reply all
Reply to author
Forward
0 new messages