Hi Friends,
Suppose you have a web appliction which consists of 100
clients are connected with Connection pooling and they are
associated with 100 connection objcet and connected
with DB sever,Due some problem DB-Server suddenly crashed
and server came to down state for a while after few minutes
DB-server once again up,Now how will I manage my Pool
Management with my 100 clients...can any one tell
me??????????????????

Answer Posted / amit arora

I believe if db server suddenly crashed, then all the
connections are lost.
Also, all the sessions are expired for each and every
client.
now, when db-server is again up.
As soon as first client request for any data. (if session
tracking) then It will creates new session and create first
connection.(or get the first connection from the connection
pool). Summary- Connection pool need to be reset from
begining, and this will grow up the conections as per your
original logic.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What’s the use of the servlet wrapper classes??

630


What is servlet used for?

688


What is the element?

585


Why is httpservlet declared abstract?

574


What is servlet container?

660






What is Client-Server Computing?

1889


What's the difference between authentication and authorization?

542


How to get the path of servlet in the server?

531


Explain Action Servlet?

617


What do you mean by web applications? Explain web application directory arrangement?

534


Whether thread can be used in servlets?

722


How we can get ip address of client in servlet?

533


A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?

601


Why do we have servlet wrapper classes?

571


What do you mean by deployment descriptor?

549