well said it cause of: Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 172.588.947 milliseconds ago. The last packet sent successfully to the server was 1$
which geenrally means the connection was cut Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-09-01 17:42 GMT+02:00 Andy Gumbrecht <[email protected]>: > Not a must, but for sanity testing when you have issues - Tests each > connection before use etc. > > What is your bean declared like? This area is so heavily tested that it is > not likely to be an internal issue, rather a setup issue - The more info we > get the better to serve you ;-) . > > I'd be looking for the following on a bean paging method... > > @Stateless? > > @PersistenceContext is using the default of > PersistenceContextType.TRANSACTION > > @TransactionAttribute(TransactionAttributeType.NEVER) > pagingMethod(... > > Andy. > > > On 01/09/2014 17:06, og0815 wrote: >> >> Nope, should we ? >> >> >> >> -- >> View this message in context: >> http://tomee-openejb.979440.n4.nabble.com/Using-in-com-mysql-jdbc-jdbc2-optional-MysqlXADataSource-in-Tomee-1-7-0-not-possible-tp4671446p4671524.html >> Sent from the TomEE Dev mailing list archive at Nabble.com. >> >> > > > -- > Andy Gumbrecht > https://twitter.com/AndyGeeDe > http://www.tomitribe.com >
