Skip to content
Advertisement

API service works every second request

I have problem with jax-rs REST service.

Service does not operate properly. Every second request service throw me exception:

JavaScript

Service retrieve JSON..I think that the problem is due to the size byte string.

Example of successful response:

JavaScript

Advertisement

Answer

The problem is in your mysql datasource configuration. Try to add this two parameters to the datasource definition:

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement