Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Help : BIRT & jTDS(Unable to get jTDS driver to work with eclipse)
Help : BIRT & jTDS [message #664475] Sat, 09 April 2011 10:43 Go to next message
No real name is currently offline No real nameFriend
Messages: 2
Registered: April 2011
Junior Member
Hello friends,

I've been trying to get BIRT to create a datasource using jTDS driver . Though the driver ( jtds-1.2.5.jar ) was added without any issues / errors ... when I try to do a test connection , my "Test Connection" freezes.

Digging further , I found the following entries in the error log and it comes up every time I try a test.

!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NoClassDefFoundError: net/sourceforge/jtds/jdbc/ConnectionJDBC3
	at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184)
	at org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager$WrappedDriver.connect(JDBCDriverManager.java:1162)
	at java.sql.DriverManager.getConnection(DriverManager.java:525)
	at java.sql.DriverManager.getConnection(DriverManager.java:14
<snipped>



I've added a datasource with mysql connector and it works perfectly fine. JFYI , following are the softwares that I'm using
-----
eclipse-reporting-helios-SR2-macosx-cocoa.tar.gz
jtds-1.2.5-dist.zip
on a Macbook ( Leopard )
-----


I'm left clueless on how to proceed . Any help would be greatly appreciated.
Re: Help : BIRT & jTDS [message #664592 is a reply to message #664475] Mon, 11 April 2011 09:50 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

I assume this is happening in the designer?
Can you check the
eclipse-reporting-helios-SR2-win32\eclipse\plugins\org.eclip se.birt.report.data.oda.jdbc_2.6.2.r262_v20110127\drivers
directory to see if it contains jtds-1.2.5.jar (not the .zip).

Jason

On 4/9/2011 6:43 AM, sojish@gmail.com wrote:
> Hello friends,
>
> I've been trying to get BIRT to create a datasource using jTDS driver .
> Though the driver ( jtds-1.2.5.jar ) was added without any issues /
> errors ... when I try to do a test connection , my "Test Connection"
> freezes.
> Digging further , I found the following entries in the error log and it
> comes up every time I try a test.
>
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.NoClassDefFoundError: net/sourceforge/jtds/jdbc/ConnectionJDBC3
> at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184)
> at
> org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager$Wrap pedDriver.connect(JDBCDriverManager.java:1162)
>
> at java.sql.DriverManager.getConnection(DriverManager.java:525)
> at java.sql.DriverManager.getConnection(DriverManager.java:14
> <snipped>
>
>
>
> I've added a datasource with mysql connector and it works perfectly
> fine. JFYI , following are the softwares that I'm using
> -----
> eclipse-reporting-helios-SR2-macosx-cocoa.tar.gz
> jtds-1.2.5-dist.zip
> on a Macbook ( Leopard ) -----
>
>
> I'm left clueless on how to proceed . Any help would be greatly
> appreciated.
Re: Help : BIRT & jTDS [message #664728 is a reply to message #664475] Mon, 11 April 2011 17:48 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 2
Registered: April 2011
Junior Member
Thank you Jason.

I was trying with a friend's login details and it worked perfectly. Turns out that my login password had expired ( not sure how ) and I had to get the DBA to reset the login details for me.

Still wondering , why eclipse did not throw any error related to login or atleast a message that "server is not responding accurately"

... and even worse , it sent me on a wild-goose chase with error message saying "Java class not found" .

Anyway, all is well that ends well.

I still believe that Eclipse/Birt is really cool. Thanks to all its developers.

Regards,
Sojish Krishnan

Re: Help : BIRT & jTDS [message #664850 is a reply to message #664728] Tue, 12 April 2011 09:26 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Normally on a Jdbc connection a credential error is very obvious. I am
not sure what happened here. It may be the jdbc driver threw an error
that BIRT did not understand. In any case it would be good if you could
log a bug for this.

Jason

On 4/11/2011 1:48 PM, sojish@gmail.com wrote:
> Thank you Jason.
>
> I was trying with a friend's login details and it worked perfectly.
> Turns out that my login password had expired ( not sure how ) and I had
> to get the DBA to reset the login details for me.
> Still wondering , why eclipse did not throw any error related to login
> or atleast a message that "server is not responding accurately"
>
> ... and even worse , it sent me on a wild-goose chase with error message
> saying "Java class not found" .
> Anyway, all is well that ends well.
>
> I still believe that Eclipse/Birt is really cool. Thanks to all its
> developers.
> Regards,
> Sojish Krishnan
>
>
Previous Topic:Problem when generating "Report parameter"
Next Topic:Report parameters and computed columns
Goto Forum:
  


Current Time: Fri Apr 26 02:58:21 GMT 2024

Powered by FUDForum. Page generated in 0.03237 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top