• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Communication Link Failure & Unexpected end of input screen

 
Marcus Hathaway
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm having the following SQL error when trying to connect to a database for use with JasperReports.



Anybody have any ideas to how to solve this? When i use the same connection mechanism for connecting to the database in another program everything works fine....so not sure why its saying it now.

Thanks for any advice...
[ October 03, 2005: Message edited by: Bear Bibeault ]
 
Maximilian Xavier Stocker
Ranch Hand
Posts: 381
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Marcus,

This is a rather generic error and without some more context is rather hard to diagnose.

Off the top of my head, since you say this is happening on connect I wonder if you are using a different driver because it sounds like it could be a protocol misfunction. Namely in one place you use a driver that is speaking the correct protocol and with Jasper you are not.

Please consult the FAQ http://faq.javaranch.com/view?JdbcConnectionQuestions and the question Why do I get a connection refused exception

Make sure you go down the checklist of all the things that can go wrong.
 
Marcus Hathaway
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply,

In case anybody else suffers the same problem, the dilema was that i had mistakingly copied an old mysql diver into the lib/ext folder.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I knew that I've done the same thing. Sorry I was too late.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic