Hi,
There's a multithreaded code that creates N no. of threads, each
thread creates a new DB Connection instance to connect to a DB using
JDBC. So there are N no. of individual connections to the database created by each thread. In this context find that when one of thread is being created and it tries to get the DB Connection the below Exception is being throwed.
As per the exception, find its relevant to the JDBC URL formation. Please note the method that obtains the DB Connection is a synchronized one.
Would like to know the possible cause for this and the possble solution like implementing colleection pooling would help.
Thanks in advance.
Regards
Roshini