aspose file tools*
The moose likes JDBC and the fly likes Unable to create connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Unable to create connection" Watch "Unable to create connection" New topic
Author

Unable to create connection

Nila dhan
Ranch Hand

Joined: Sep 15, 2005
Posts: 161
Hi pals,can anyone explain why this error occurs.I am posting the full stack trace.Thanks in advance
Masoud Kalali
Author
Ranch Hand

Joined: Jul 08, 2004
Posts: 531

I think you should check with new driver (latest is 3.1.11 )and then if you get the exception again , post your code + exception .
the error i think come from version uncompatibility between Mysql and driver you used.


Masoud Kalali
Software Engineer - My Weblog - GlassFish Security
Nila dhan
Ranch Hand

Joined: Sep 15, 2005
Posts: 161
Hi Masoud Kalali,The application was working fine for a few days and the exception was discovered only today.Could there be any other issue that could create such a problem.My driver version is 3.1.7
[ November 05, 2005: Message edited by: Nila dhan ]
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Is this a recurring exception or a one-off? If it only happened once and (for example) you only found out about it by looking at the logs I'd forget about it. If it is happeneing all the time, well that's different.

I still think it looks like a driver version problem. Is there the possibility someone placed a driver somewhere else that is getting pick up in preference (eg the jre/lib/ext directory)
Nila dhan
Ranch Hand

Joined: Sep 15, 2005
Posts: 161
This error didnot occur only once.It happens frequently and the server goes down and it restarts automatically.
ajay halmandge
Greenhorn

Joined: Oct 04, 2005
Posts: 7
I am also facing same problem as Nila dhan,I mean to same scenario of Mr.Nila Dhan....So there no problem verion

Any type of help is kindly appriciated
Thanks in Advance
 
 
subject: Unable to create connection