I've been getting TransactionRollbackExceptions when i loadtest our
server/code...
I've tried everything and this error contiously occurs. Could someone
please help
below i posted the code...
/* error occurs here */ indicates where the error happens in the source
-------------------------------------------------------------------------------
TransactionStateEntityBean.java
/**
*
* @ejb:bean name="rage.billing.TransactionStateEntity"
* display-name="TransactionStateEntityBean"
* type="CMP"
* jndi-name="rage.billing.TransactionStateEntity"
*
* @ejb:transaction type="Required"
*
* @ejb:data-object extends="com.synapp.rage.ejb.AbstractData"
* setData="false"
*
* @ejb:finder signature="java.util.ArrayList findAll()"
*
* @ejb:finder signature="com.synapp.rage.billing.ejb.entity.TransactionStateEntity
findTransactionStateByValue( java.lang.String
aTransactionStateDescription )"
* @jboss:finder-query name="findTransactionStateByValue"
* query="description = {0}"
*
*
* @jboss:table-name table-name="transactionState"
* @jboss:tuned-updates "true"
* @jboss:create-table create="false"
* @jboss:remove-table remove="false"
*
**/
-------------------------------------------------------------------------
TransactionStateSessionBean.java
/**
*
* @ejb:bean type="Stateless"
* name="rage.billing.TransactionStateSession"
* jndi-name="rage.billing.TransactionStateSession"
* display-name="Transaction State Session"
*
* @ejb:ejb-ref ejb-name="rage.billing.TransactionStateEntity"
* ref-name="rage.billing.TransactionStateEntity"
*
*/
/**
* @ejb:interface-method view-type="remote"
***/
public com.synapp.rage.billing.ejb.entity.TransactionStateEntityData
findTransactionStateByValue(java.lang.String aDescription)
throws java.rmi.RemoteException,
javax.naming.NamingException,
javax.ejb.FinderException {
TransactionStateEntityHome lHome = null;
lHome = lookupTransactionStateEntityHome();
/* error occurs here */ TransactionStateEntity lEntity =
lHome.findTransactionStateByValue(aDescription);
return lEntity.getValueObject();
}
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".