• 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

System error when using JPA

 
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello to all ranchers,


I am using eclipselink for JPA implementation. I have an application wherein a particular user can send a message to all the users registered in the database. Initially we implemented this using file system i mean the messages were stored on the filesystem for the particular user. so there were as many folders were created as there are registered users. When 3 or 4 users try to login at the same time and access their message the application works file but as soon as the implementaion changes to database using eclipselink and JTA i am getting an exception and here is the stacktrace:






I am using MySql as the databse and Glassfish application server. For other databse related transaction the code is working absolutely fine.

Can somebody point out as to what the problem may be. Also is it fine if we stick to file system or we should try working the things right for database.

Any help is greatly appreciated.


Thanks and Regards,

-- Girish --



 
Girish Vasmatkar
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can any one please guide me on this exception? It will be of great help.

Thanks
Girish
 
reply
    Bookmark Topic Watch Topic
  • New Topic