Hi to all,

I have a simple problem in jboss 2.4.9. I have a bean using a database. If the 
database goes down for some time the jboss pool of conections becomes invalid. If the 
database becomes available again the bean will not work because of the invalid pool of 
connections.

I am trying not to upgrade to version 3.4.9 because of beans dependencies. So iam 
trying to find the place where the connections to the DB are made and try to insert 
some kind of code which validates them and restarts or stops the pool if the database 
becomes invalid. What i want to do is to write code in this version which might solve 
the problem i explained above.

I know that version 3.4.9 already solves this problem. So iam trying to find in the 
source code where they solve this kind of problem and trying to adapt that piece of 
code in the 2.4.9 version.

Now here is where the problem resides. Iam new to jboss and suddenly i have this 
problem to solve and have to have knowledge about two distinct versions of jboss which 
have a source code completely different. I am becoming a bit confused here and i need 
urgent help from you guys.
Can anyone help me on this matter ?

1. Where can i begin looking in the source code in 2.4.9 and 3.4.9?
2. Where are the pools created and managed ?
3. Is there another simple way to solve this problem?

I really need help on this matter. Every help is needed. Thanks
to all in advance.

k2c

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825960#3825960";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825960>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to