Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Viewing all articles
Browse latest Browse all 884

Inquiry about using mysql router with java (tomcat server) (no replies)

$
0
0
Hi all,

I'm trying to improve my Java SOAP API system (tomcat server) by using mysql router to load balance read-only queries to multiple DB instances.

The problem is that: Although router is working well (I tested it by using a simple shellscript to send multiple request directly to router), the integration with java (tomcat's context.xml) doesn't work (queries were not load balanced).
I created a SO question here: http://stackoverflow.com/questions/41607743/tomcat-config-for-mysqlrouter

Do we need to make special config to make it work?
Do we have any documentation for this use case?

Thanks,
Hao Tang

Viewing all articles
Browse latest Browse all 884

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>