Did you specify the <container-transaction> settings in the deployment
descriptor?
----- Original Message -----
From: "Rhodes, Phillip C." <[EMAIL PROTECTED]>
To: "JRun-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, December 12, 2000 8:20 AM
Subject: BMP EJB gives error on context.setRollbackOnly?
> I have several BMP ejb's that will sometimes generate SQL exceptions in
> their operations. When I catch the SQLException, I try to do a rollback
on
> the context
> (context.setRollbackOnly();)
>
> I get an error:
> java.lang.IllegalStateException: Call with no transaction context
>
> Can someone tell me what is going on?
>
>
> Thanks!
>
>
>
> Phillip Rhodes
> [EMAIL PROTECTED]
> Alcoa eCommerce
> https://www.ALCOADIRECT.COM
> 826B Two Allegheny Center Pittsburgh, PA 15212
> (412) 553-4900 (phone) (412) 553-2484 (fax)
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists