Server control

LSC 1.3+ can be launched as a server which pull updates. You can control this server and request some operation through a JMX agent.

Activating JMX on LSC startup

To be able to use this client, you need to launch LSC with the following JVM arguments :

-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=1099 
-Dcom.sun.management.jmxremote.authenticate=false 
-Dcom.sun.management.jmxremote.ssl=false

But take care that this installation is highly unsecured ! Please look at the “Securing JMX Access” section to implement a correct security configuration.

Control LSC

Then you need to launch org.lsc.jmx.LscAgent with the following parameters :

You can get the list of available tasks through :

Or get an asynchronous task status :

Then you can add the following parameters to launch start an asynchronous task :

Or stop it :

If you want to force a object synchronization for a synchronous task, add :

Securing JMX access

To be completed by implemeting following advice : http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html#remote