Hi Brighter,
Could you show us the json description of your 12207 object.
Which client did you use ?
This will not solve your issue, but maybe this could help.
There is a way for loading custom models in leshan (without
tweaking the json file):
- place your DDF(xml) files or json files in a directory
- set the "MODELS_FOLDER" env variable value for pointing where
you placed the file (e.g export MODELS_FOLDER=/opt/extra-models)
- run leshan standalone, it will load the extra model files.
Simon
Le 22/10/2015 10:06, Brighter Agyemang
a écrit :
Hello Kai,
Thanks for the attention. By that I mean the
file oma-objects-spec.json which comes with leshan-core.
From my understanding that is where the object models are
kept and loaded from at runtime. What I did was to create a
custom object model and gave it the ID 12207 (with its
resources as well) so I can use in my project. What I am
doing is that I have exposed some services which make use of
an instance of LeshanServer class. The server processes all
requests concurrently. From my log, the server runs okay for
a while then after sometimes these exceptions get thrown.
I hope I have clarified what I was referring to.
Thanks very much.
Best regards,
Brighter
_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev
|