I'm having a rather annoying problem, to do with database access. Basically, I have a bean that opens a connection to a database, does an SQL query, then returns some data. The bean works fine and accessing the jsp page I made displays all of the results ok. However, a short while after accessing the data, the JVM crashes totally. It throws up an illegal operation in windows and shuts down. My best guess is that this is happenning on garbage collection, so I tried cleaning up the database connections. At the end of the access my bean now calls the close() methods of the ResultSet, Statement and Connection in that order. This seems to cure the problem. Does anyone know why the garbage collection was crashing the JVM and why it does not seem to happen in applications, just when used in a servlet? Dave =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".