I was actually because the database was down.
The datasource was set with blocking=true.
Therefore it blocks whenever i try to obtain the connection
when the database is down. At startup time the datasources are
verified by obtaining a connection, so this blocks as well,
forever!
I didn't realize that blocking was that "good".
It will hang jboss when the database is down, blocking for a datasource
Maybe it would be a nice feature to extending the blocking,
to take a timeout value...
I'd like it to block(i.e. not return null) but I don't want it to
block forever.
Any ideas?
d.
-----Original Message-----
From: Allen fogleson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 8:07 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Strange Behavior When DataSource goes down.
every time i have seen a hang on startup with the DS binding it was because
either
a) the driver wasnt available to Jboss
b) The driver wasnt available to jboss.
I have actually seen a driver "mysteriously" disappear from the lib/ext dir.
(i think some moron deleted the jar lol) and had this problem.
Al
----- Original Message -----
From: danch <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 8:11 PM
Subject: Re: [JBoss-user] Strange Behavior When DataSource goes down.
> Ferguson, Doug wrote:
>
> > We are seeing jboss hang when the datasource goes down and we cannot
restart
> > jboss becuase it hangs on the datasource binding.
> >
> > This is terrible because we have implemented within our beans but it
can't
> > work becuase
> > jboss is hanging.
>
> Implemented what within your beans?
>
> I agree that this is really bad behavior. I'll start looking at the pool
> code and see if I can come up with something.
>
> -danch
>
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user