This combination seems to have done the trick. I now receive the exceptions fast enough.
<property name="loginTimeout" value="2" />
<property name="acquireRetryAttempts" value="1" />
...
Type: Posts; User: ovokinder; Keyword(s):
This combination seems to have done the trick. I now receive the exceptions fast enough.
<property name="loginTimeout" value="2" />
<property name="acquireRetryAttempts" value="1" />
...
Hello,
I'm using Spring 2.5 + Hibernate 3.3. I've tried both with DBCP and now C3P0 and I can't seem to reduce the time it takes for the system to realise that the database connection is down.
...
I've recently refactored my data access layer to support multiple implementations.
I've decided to start off with hibernate, as it allows me to focus on business logic now and deal with database...
After reading a bit about it I realised it makes sense, since weaving takes place at class load time. I now have everything working perfectly.
Talking to the folks at Wowza, I now know that the URLClassLoader is being created by them and it's set as the context classloader.
So I've managed to fix it using two different approaches. One is...
(I posted a the same question on WowzaMedia forums, so I'll just copy the most of it)
Hi,
I'm having problems using @AspectJ Spring annotations inside a Java Flash Media server called Wowza....
Okay, so I got it to work (not perfectly but it's going there) but there's a strange thing happening that I don't quite understand.
I wrote a method profiler that acts on all methods of package...
Howdy,
I've been googling around for a solution to advise non-beans with Spring's AOP and I can't find anything that works for me.
I have an interface, DataSession which is implemented by...
By reading chapter 6.6.1. Understanding AOP proxies I noticed what I was doing wrong:
The problem I pointed out previously was only happening because I wasn't testing any externally called method...
Confirmed this by applying an execution pointcut that would target all methods within the class and still, only the ones who take no parameters are being advised.
You can see that the expression...
Hey there,
I've ran into a weird problem that I've narrowed down to:
- If the execution() pointcut contains a method and that method takes no parameters, the aspect works;
- If the execution()...