All
I keep getting the following from jboss
[CachedConnectionManager] Closing a connection for you. Please close them yourself: org.jboss.resource.adapter.jdbc.WrappedConnection@1d889aa
ObjectMessage objMsg = (ObjectMessage)message; eventMSG = (MonitorMSG)objMsg.getObject(); // Get DS objects InitialContext ctxt = new InitialContext(); DataSource ds = (DataSource) ctxt.lookup("java:OracleDS"); conn = ds.getConnection(); PreparedStatement ps2 = conn.prepareStatement(eventSQL); ResultSet rs2 = ps2.executeQuery();