my dog learned polymorphism*
The moose likes Threads and Synchronization and the fly likes multi user problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "multi user problem" Watch "multi user problem" New topic

multi user problem

Lakshmi Ramachandran

Joined: Jun 26, 2001
Posts: 26
i have a multi user client/server application which takes the xml file,parses it and inserts into the database.
I have synchronised the method of db insertion to avoid collision/deadlocks at the time of more than one request.It works fine with 2-3 users but as the number of users increase it fails,and the server crashes.
I have an apache webserver using tomcat3.2 servlet runner.
can u identify the problem?i require an urgent help?
plz correct me in my thinking of using a connection pooling class for the same.
It is sorta covered in the JavaRanch Style Guide.
subject: multi user problem
Similar Threads
Qs. on wait() and notifyAll() ----------->
FBN - Multithreaded server problem
ClassCastException Error
Working with multiple database Tables
Prevent Multiple Submits