posted 15 years ago
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 --