users@glassfish.java.net

Re: TransactionRequiredException

From: Sahoo <Sahoo_at_Sun.COM>
Date: Wed, 14 Nov 2007 15:26:07 +0530

Send the stack trace, persistence.xml file, servlet code, and ejb code.

Thanks,
Sahoo

glassfish_at_javadesktop.org wrote:
> HI all
>
>
> I am calling a stateless session bean from a servlet and I call the same bean thru a timer as well.WHen I call it thru a servlet I get an error javax.persistence.TransactionRequiredException: Executing an update/delete query
>
> ANy suggestsion sideas?
> Cheers
> priya
> [Message sent by forum member 'priyasubu' (priyasubu)]
>
> http://forums.java.net/jive/thread.jspa?messageID=245321
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>