aspose file tools*
The moose likes JDBC and the fly likes SqlGetFloatData Error with DB2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "SqlGetFloatData Error with DB2" Watch "SqlGetFloatData Error with DB2" New topic

SqlGetFloatData Error with DB2

Mia James

Joined: Jun 30, 2010
Posts: 1

We recently built a new stage server for our application, which is the exact replica of the production server (currently running). When we attempt to perform any float-value operations on the Stage server, we get the following error:

We are using DB2 for database and JBOSS for application server. The version of JBOSS, DB2, and all related JAR files is the same on production and stage server. This error is occuring only on Stage and not on Production. Please help, if someone has seen this before and know how to resolve it.

I search on net and did not find anything useful.

Thanks in advance.
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3697

It sounds like you've checked everything but if the staging and production really are identical, then you wouldn't be seeing this error. My guess is there is something different between the two that you've overlooked. I'd start with the JDBC driver and go from there.

My Blog: Down Home Country Coding with Scott Selikoff
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3697

By the way, this link seems to confirm my suspicion that it has something to do with the DB2 driver:
I agree. Here's the link:
subject: SqlGetFloatData Error with DB2
Similar Threads
DB2 StaleConnectionException
DB2 8.0 Driver Error
Error in DB2 connection Pooling
CachedRowSet - Stored Procedure
DB2 App Driver gives Null Pointer