Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "OM2M/Starting"

Line 1: Line 1:
 +
== Start the NSCL ==
 +
 
* Go to the "om2m/nscl" directory.
 
* Go to the "om2m/nscl" directory.
 
* You can launch the NSCL directly by invoking the JVM as follows:
 
* You can launch the NSCL directly by invoking the JVM as follows:
Line 7: Line 9:
 
* Once the NSCL is started, you will see an OSGi console. You can type “ss” to report a summary status of all installed bundles. Type "exit" to shutdown.
 
* Once the NSCL is started, you will see an OSGi console. You can type “ss” to report a summary status of all installed bundles. Type "exit" to shutdown.
 
[[File:OM2M-start-NSCL.jpg|center|800px|thumb|NSCL OSGi console]]
 
[[File:OM2M-start-NSCL.jpg|center|800px|thumb|NSCL OSGi console]]
 +
 +
* Open your browser and connect to the address "127.0.0.1:8080" to access the NSCL web interface.
 +
* Enter username "admin" and password "admin" then click on login button to display the NSCL resource tree.

Revision as of 11:19, 18 April 2014

Start the NSCL

  • Go to the "om2m/nscl" directory.
  • You can launch the NSCL directly by invoking the JVM as follows:
> java -jar -ea -Declipse.ignoreApp=true -Dosgi.clean=true -Ddebug=true -Dosgi.console.enable.builtin=true plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar -console -noExit 
  • The NSCL is an Eclipse product. So when you build the project from source code, you will be able to alternatively start the NSCL by running "nscl.exe" on Windows or "nscl" binary on other platforms. This native launcher essentially finds and loads the JVM.
  • Once the NSCL is started, you will see an OSGi console. You can type “ss” to report a summary status of all installed bundles. Type "exit" to shutdown.
NSCL OSGi console
  • Open your browser and connect to the address "127.0.0.1:8080" to access the NSCL web interface.
  • Enter username "admin" and password "admin" then click on login button to display the NSCL resource tree.

Back to the top