tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Tomcat 5.59 with jTDS, and SQL Server 2005
Date Wed, 21 Oct 2009 16:14:34 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robin,

On 10/20/2009 3:34 PM, ULS Tech Support wrote:
> This is all i get now..
> 
> SQLException: java.sql.SQLException: No current row in the ResultSet.
> SQLException Message: No current row in the ResultSet.

Try replacing this catch block:

            } catch (SQLException e) {
                System.out.println("SQLException: " + e);
                System.out.println("SQLException Message: " +
e.getMessage());
            }

with this:

catch (SQLException e) {
   e.printStackTrace();
}

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrfM2oACgkQ9CaO5/Lv0PBvPQCgpoOmUbb09O3lADjVgY/1wLmN
RW8AniUNAIe2t9kM6jwxo97PEkAvndV5
=txot
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message