users@glassfish.java.net

Re: Communications Exception after wait_timeout expires in MySQL 5

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Fri, 19 Jun 2009 10:30:48 -0700

glassfish_at_javadesktop.org wrote:
> Mysql documentation says that autoReconnect has its own side effects like some of the following:
> - active transactions are rolled back
> - auto commit mode is reset
> Could you try setting the non-transactional-connections attribute to true?

This is JPA, so it needs the transactional resource. The non-transactional
option is provided auto-magically by the GF code.

-marina

>
> Also, please attach the server.log so that nested exceptions can be seen.
> [Message sent by forum member 'sm157516' (sm157516)]
>
> http://forums.java.net/jive/thread.jspa?messageID=352024
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>