Java program all of a sudden not talking with MySQL causing whole MySQL to not respon

Hello,

One one of our servers we have a Java program that runs and this program then writes new data
to the MySQL server that is on that machine.

This Java has been running just fine for few years, but all of a sudden as of a few days ago it is
not running. And when it is started it blocks all connection to the MySQL server on that machine too
resulting in this Error message when trying to connect to this server:

Warning: mysql_connect() [function.mysql-connect]: Too many connections in /var/www/html/anoox.com/a1_oma.php on line 20
connection via server2.anoox.com tried an

Do you have any suggestions how to fix this?

Or is there a Java forum here to which I should be posting this question.

I thank you before hand.

Regards,
Dean

Have any configuration changes been made to the MySQL server?

Any new apps been set up around the time the problem started which access the MySQL server?

Hi,

No, nothing.
No changes were made to this server.
Just out of blue all of sudden when the Java processors on this server are started, then no MySQL connection can be
made to this MySQL server and of course the related Java processors are not doing their job on this server either!

Any suggestions for next step will be highly appreciated.