Help

You can run the controller Java Services from your own PC. Once you have succesfully built the controller Java Services, you will have build artifacts in 'trunk/Controller/JavaServices/output' directory.

In the output directory you will find the following:

trunk/Controller/JavaServices/output/bin    --  startup script for the controller
trunk/Controller/JavaServices/output/lib    --  bootstrap libraries for the controller
trunk/Controller/JavaServices/output/server --  controller service implementations and configuration 

In order to run the controller, execute the following:

$ cd trunk/Controller/JavaServices/output/bin
$ sh run.sh

You should see output similar to following:

$ output/bin/run.sh
---------------------------------------------------------------------------

  OpenRemote Controller V0.1

---------------------------------------------------------------------------

  JAVA: /cygdrive/c/Program Files/Java/jdk1.6.0_01/bin/java

Starting...

...

19:44:42,593 INFO  [BOOTSTRAP] Attempting to connect to http://localhost:8080/ControllerRegistration/123456789
19:44:43,593 INFO  [BOOTSTRAP] Failed to connect to controller registration service. Will try again in 60 seconds...

The controller will notice it has not been registered yet and try to connect to OpenRemote Online Manager. It is currently configured to look for the Online Manager on the same PC where it's running (hence localhost). The controller will reattempt to connect to registration service every 60 seconds.

If you want to get further than this, you will need to install Online Manager first.

Additional Documentation

Post Comment
Creative Commons License Content on this website is licensed under Creative Commons BY-NC-SA 3.0.