• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Client's Transaction Aborted

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey guys and gals

I'm having a lot of trouble diagnosing what is wrong with my application / environment.

I'm running a RESTful Jersey app with ejb 3.1 beans on a Glassfish 3.1.2 server.

I have two databases that I use in the app. Both of the connection pools in Glassfish ping successfully.

I keep getting this error -



I am unable to reproduce it with any consistency. It always comes from different beans as well (so the last line of the stack trace will change but it always ends up going to BaseContainer.useClientTx.

I also see a bunch of these




I've googled like crazy to no avail. Mostly, it seems I need to dig into the real root cause and fix that.

I'm admittedly not an EJB, Glassfish, or Java expert. Does anyone have any advice for debugging this?

Thanks so much in advance.
 
Justin Phillips
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As I'm working through this I started wondering about how glassfish's EJB container handles what I've written. I have beans that talk to two databases in separate methods. Should a bean only ever talk to one database? Should i separate out the beans so that they only ever talk to one database? Could the bean caching be causing my weird errors?
 
Quick! Before anybody notices! Cover it up with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic