Try to provide REST service to be able to pilot light: as difficult to use jersey, use directly a servlet registered directly at OSGi HttpService.
For the moment use: localhost:8080/server/index.xhtml to get the client and localhost:8080/light/12 to get the status of light with adress 12.