Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[om2m-dev] Tr : Re: OM2M problems

Envoyé depuis mon smartphone Samsung Galaxy.
-------- Message d'origine --------
De : Ferencz <ferencz.fran@xxxxxxxxx>
Date : 05/12/2015 18:45 (GMT+01:00)
À : Mahdi <ben.alaya@xxxxxxx>
Objet : Re: OM2M problems

thank You for answering. 
I managed to get the "older" version with sites NSCL and GSCL. Now I did complete "OM2M/Developer" tutorial. When I build the OM2M platform, GSCL entity is not working. In cmd I got the following as in picture GSCL.png (it is not trying to automatically authenticate as NSCL in not started, also when NSCL is started I don't have GSCL in the browser when logged in).
I'll put console log when building the platform.

And I have one last question about IPU in the "OM2M/Developer": does it simulate sensor and actuator or I have to connect physical device to make it work?

Thank You very much and I apologize for interrupting.


On Fri, Dec 4, 2015 at 3:40 PM, Mahdi <ben.alaya@xxxxxxx> wrote:
Hello Fecencz,

Currently, we are migrating the OM2M platform to the oneM2M standard ( So now the master branch contains the new version of the platform. We will keep maintaining the old version of OM2M compliant with the SmartM2M standard in a separate branch called "smart".
So please clone the SmartM2M-based OM2M using this command:
> git clone -b smart

If you are interested to oneM2M, simply clone the master branch.

Are you fine with this ?

Best regards,

On 04/12/2015 15:21, Ferencz wrote:
Hello and greeting to all,
My name is Fran and I have project for my masters degree at Faculty for electrical engineering and computing in Zagreb.

In May/June 2015. I had seminar with subject of OM2M and then everything worked. Now when I build the platform i don't get two "sites" (NSCL and GSCL) but three as You can see in the attached picture. After the build, I tried to run (start.bat) all three, osgi console is running and that is all. I can't access NSCL ( - error is "Servlet error").

Also You can see error with two imports.

Can You help me and provide quick fix for this problems?

Thank You very much
Fran Pelc

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See for further details.
[INFO] Scanning for projects...
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[INFO] Computing target platform for MavenProject: org.eclipse.om2m:org.eclipse.om2m.sample.ipu:1.0.0-SNAPSHOT @ C:\Users\Fran\git\org.eclipse.om2m\org.eclipse.om2m.sample.ipu\pom.xml
[INFO] Fetching p2.index from (0B at 0B/s)
[INFO] Adding repository
[INFO] Fetching p2.index from (0B at 0B/s)
[INFO] Fetching p2.index from (0B at 0B/s)
[INFO] Fetching p2.index from (0B at 0B/s)
[INFO] Fetching p2.index from (0B at 0B/s)
[INFO] Resolving dependencies of MavenProject: org.eclipse.om2m:org.eclipse.om2m.sample.ipu:1.0.0-SNAPSHOT @ C:\Users\Fran\git\org.eclipse.om2m\org.eclipse.om2m.sample.ipu\pom.xml
[WARNING] The following locally built units have been used to resolve project dependencies:
[WARNING]   org.eclipse.om2m.commons/
[WARNING]   org.eclipse.om2m.ipu.service/
[WARNING]   org.eclipse.om2m.core.service/
[INFO] Resolving class path of MavenProject: org.eclipse.om2m:org.eclipse.om2m.sample.ipu:1.0.0-SNAPSHOT @ C:\Users\Fran\git\org.eclipse.om2m\org.eclipse.om2m.sample.ipu\pom.xml
[INFO] ------------------------------------------------------------------------
[INFO] Building org.eclipse.om2m.sample.ipu 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] --- tycho-packaging-plugin:0.20.0:build-qualifier (default-build-qualifier) @ org.eclipse.om2m.sample.ipu ---
[INFO] The project's OSGi version is
[INFO] --- tycho-packaging-plugin:0.20.0:validate-id (default-validate-id) @ org.eclipse.om2m.sample.ipu ---
[INFO] --- tycho-packaging-plugin:0.20.0:validate-version (default-validate-version) @ org.eclipse.om2m.sample.ipu ---
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ org.eclipse.om2m.sample.ipu ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Users\Fran\git\org.eclipse.om2m\org.eclipse.om2m.sample.ipu\src\main\resources
[INFO] --- tycho-compiler-plugin:0.20.0:compile (default-compile) @ org.eclipse.om2m.sample.ipu ---
[INFO] Nothing to compile - all classes are up to date
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ org.eclipse.om2m.sample.ipu ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Users\Fran\git\org.eclipse.om2m\org.eclipse.om2m.sample.ipu\src\test\resources
[INFO] --- tycho-packaging-plugin:0.20.0:package-plugin (default-package-plugin) @ org.eclipse.om2m.sample.ipu ---
[INFO] Building jar: C:\Users\Fran\git\org.eclipse.om2m\org.eclipse.om2m.sample.ipu\target\org.eclipse.om2m.sample.ipu-1.0.0-SNAPSHOT.jar
[INFO] --- tycho-p2-plugin:0.20.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.om2m.sample.ipu ---
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ org.eclipse.om2m.sample.ipu ---
[INFO] Installing C:\Users\Fran\git\org.eclipse.om2m\org.eclipse.om2m.sample.ipu\target\org.eclipse.om2m.sample.ipu-1.0.0-SNAPSHOT.jar to C:\Users\Fran\.m2\repository\org\eclipse\om2m\org.eclipse.om2m.sample.ipu\1.0.0-SNAPSHOT\org.eclipse.om2m.sample.ipu-1.0.0-SNAPSHOT.jar
[INFO] Installing C:\Users\Fran\git\org.eclipse.om2m\org.eclipse.om2m.sample.ipu\pom.xml to C:\Users\Fran\.m2\repository\org\eclipse\om2m\org.eclipse.om2m.sample.ipu\1.0.0-SNAPSHOT\org.eclipse.om2m.sample.ipu-1.0.0-SNAPSHOT.pom
[INFO] Installing C:\Users\Fran\git\org.eclipse.om2m\org.eclipse.om2m.sample.ipu\target\p2content.xml to C:\Users\Fran\.m2\repository\org\eclipse\om2m\org.eclipse.om2m.sample.ipu\1.0.0-SNAPSHOT\org.eclipse.om2m.sample.ipu-1.0.0-SNAPSHOT-p2metadata.xml
[INFO] Installing C:\Users\Fran\git\org.eclipse.om2m\org.eclipse.om2m.sample.ipu\target\p2artifacts.xml to C:\Users\Fran\.m2\repository\org\eclipse\om2m\org.eclipse.om2m.sample.ipu\1.0.0-SNAPSHOT\org.eclipse.om2m.sample.ipu-1.0.0-SNAPSHOT-p2artifacts.xml
[INFO] --- tycho-p2-plugin:0.20.0:update-local-index (default-update-local-index) @ org.eclipse.om2m.sample.ipu ---
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.586s
[INFO] Finished at: Sat Dec 05 18:21:31 CET 2015
[INFO] Final Memory: 70M/350M
[INFO] ------------------------------------------------------------------------

Attachment: gscl.png
Description: PNG image

Back to the top