Hello, and welcome to Tungsten!
As you probably understood by reading the docs, the SQL Router is a bit particular compared to other components since it is not really "started" by any script.
The router is a thin wrapper around the dbms original jdbc driver, so it starts as soon as you load the sql router driver in your application.
In the case of the connector, the router starts together with the connector, since the connector loads the specified jdbc driver at startup.
So, in order to integrate both components, all you need to do is to specify the router as the jdbc driver used by the connector. In config terms, that looks like the following
(in the connector uconnector.properties):
jdbc.driver = com.continuent.tungsten.router.jdbc.TSRDriver
jdbc.driver.options = ?qos=RW_STRICT
(in user.map)
<user> <pass> <db> <service name>
(if you didn't change anything in the router conf, the service name will be "default" without quotes)
Optionally, you can use the direct connections feature:
jdbc.direct-connection.driver = com.continuent.tungsten.router.jdbc.TSRDriver
and set a read-only connection url to the sql-router in user.map:
@direct <user> <db> jdbc:t-router://<service name>/<real db>?qos=RO_RELAXED&user=<real user>&password=<real password>
Please don't hesitate to report here if you see any further issue.
Regards,
Gilles.