Search:

Type: Posts; User: ovokinder; Keyword(s):

Search: Search took 0.06 seconds.

  1. This combination seems to have done the trick. I...

    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" />
    ...
  2. Reducing database connection acquisition timeout

    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.
    ...
  3. [Advice needed] The best approach for using Hibernate DAOs

    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...
  4. Replies
    5
    Views
    1,390

    After reading a bit about it I realised it makes...

    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.
  5. Replies
    1
    Views
    1,315

    Talking to the folks at Wowza, I now know that...

    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...
  6. Replies
    1
    Views
    1,315

    Different ClassLoaders

    (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....
  7. Replies
    5
    Views
    1,390

    Okay, so I got it to work (not perfectly but it's...

    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...
  8. Replies
    5
    Views
    1,390

    Advising non spring beans

    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...
  9. Replies
    2
    Views
    935

    By reading chapter 6.6.1. Understanding AOP...

    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...
  10. Replies
    2
    Views
    935

    Confirmed this by applying an execution pointcut...

    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...
  11. Replies
    2
    Views
    935

    [Solved] Some aspects not working

    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()...
Results 1 to 11 of 11