Bugs item #1023711, was opened at 2004-09-07 14:23 Message generated for change (Comment added) made by ejort You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1023711&group_id=22866
Category: JBossMQ Group: CVS HEAD Status: Open >Resolution: Later Priority: 5 Submitted By: J. Engel (joengel) >Assigned to: Adrian Brock (ejort) Summary: NullPointerEx in org.jboss.mq.pm.jdbc3.PersistenceManager Initial Comment: org.jboss.mq.pm.jdbc3.PersistenceManager throws an NullPointerException during startup. Call to removeMarkedReferences in resolveAllUncommitedTXs: 1323: // Delete all the non persistent references that were added by the 1324: // CacheStore interface of this PM 1325: removeMarkedReferences(c, null, "T"); NullPointerExeption is thrown in removeMarkedReferences:1529 since txid ==null 1528: stmt = c.prepareStatement(DELETE_MARKED_MESSAGES); 1529: stmt.setLong(1, txid.longValue()); 1530: stmt.setString(2, mark); 1531: stmt.executeUpdate(); Steps to reproduce: 1.) install jboss-4.0.0RC2 2.) deploy docs/examples/jms/postgres-jdbc3-service.xml ---------------------------------------------------------------------- >Comment By: Adrian Brock (ejort) Date: 2004-09-07 14:50 Message: Logged In: YES user_id=9459 That needs to be changed to use DELETE_TEMPORARY_MESSAGES like jdbc2, perhaps you can provide the patch? You know jdbc3 is experimental? i.e. it has not been properly tested. The only significant benefit I have seen from it is that it uses less database storage for topics with large numbers of subscriptions. It would also be good to apply the lazy transaction processing from jdbc2. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1023711&group_id=22866 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
