Came across this while surfing...
Aaron
Index: modules/core/src/java/org/apache/geronimo/ejb/GeronimoSessionContext.java =================================================================== RCS file: /home/cvspublic/incubator-geronimo/modules/core/src/java/org/apache/geronimo/ejb/GeronimoSessionContext.java,v retrieving revision 1.4 diff -c -r1.4 GeronimoSessionContext.java *** modules/core/src/java/org/apache/geronimo/ejb/GeronimoSessionContext.java 15 Aug 2003 14:12:19 -0000 1.4 --- modules/core/src/java/org/apache/geronimo/ejb/GeronimoSessionContext.java 18 Aug 2003 00:37:32 -0000 *************** *** 172,186 **** public void setRollbackOnly() throws IllegalStateException { if (userTransaction != null) { ! throw new IllegalStateException("getRollbackOnly is not allowed for beans with bean-managed transaction demarcation."); } // if (!state.equals("method-ready")) { ! // throw new IllegalStateException("getRollbackOnly is only allowed in the method ready state"); // } try { if (transactionManager.getStatus() == Status.STATUS_NO_TRANSACTION) { ! throw new IllegalStateException("getRollbackOnly is only allowed during a transaction"); } transactionManager.setRollbackOnly(); } catch (SystemException e) { --- 172,186 ---- public void setRollbackOnly() throws IllegalStateException { if (userTransaction != null) { ! throw new IllegalStateException("setRollbackOnly is not allowed for beans with bean-managed transaction demarcation."); } // if (!state.equals("method-ready")) { ! // throw new IllegalStateException("setRollbackOnly is only allowed in the method ready state"); // } try { if (transactionManager.getStatus() == Status.STATUS_NO_TRANSACTION) { ! throw new IllegalStateException("setRollbackOnly is only allowed during a transaction"); } transactionManager.setRollbackOnly(); } catch (SystemException e) {