If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
We have a web application which uses Sybase as DB. Recently we found one error in the tomcat logs, which is printed in lacs of lines. The error was,
-ERROR- JDBCDatabase.get: Attempt to access a database connection that has not been made. JDBCDatabase.login must first be called to get a connection.
-ERROR- JDBCDatabase.getObjectField: No fields can be returned from this method because no query results exist to be retrieved. A query must first be executed through this class and then the get method must be called to reference a row of the query results before this method can be called.
Could you plz let me know why this error is getting generated?
According to the first line there is no connection with the database. You cannot acces a database when you have no connection.
Check your code if all the necessary commands are given. Connect, login, open db, etcetera.
I'm not crazy, I'm an aeroplane!