MySQL Forums
Forum List  »  Connector/JDBC and Java

Inquiry about using mysql router with java (tomcat server)
Posted by: Tang Hao
Date: January 12, 2017 07:13PM

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

Options: ReplyQuote


Subject
Written By
Posted
Inquiry about using mysql router with java (tomcat server)
January 12, 2017 07:13PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.