Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. How do I control ordering (precedence) of AspectJ caching?

    Hi all,

    I have an application which uses @Cacheable annotations through AspectJ caching.

    I.e.
    <cache:annotation-driven mode="aspectj"/>

    I also have some AspectJ AOP running (authorization...
  2. Bugreport: AspectJ LTW behaves incorrectly in tcServer

    Hi all,

    Dunno where to file a bugreport, but it seems that I found a bug somewhere inside tcServer.

    Please look here: http://forum.springsource.org/showthread.php?t=99778

    Basically, the bug...
  3. Solved!

    It turned out that I was missing the ant-style syntax of the namespaces in aop.xml.

    However, tcServer behaves incorrectly then. Guess I'll file a bug on this...

    Cheers,
    ~Morten :-)
  4. I am pretty sure of this, since I get this in the...

    I am pretty sure of this, since I get this in the log:


    INFO: Using a reflective load-time weaver for class loader:...
  5. SOLVED: AspectJ LTW does not work in Tomcat, but works fine in tcServer?!

    Hi all,

    I have been banging my head on a very heavy wall for the last couple of days.

    I am developing an application, which uses AspectJ Load-Time-Weaving (LTW). It works just fine on my...
  6. Hibernate OpenSessionInViewFilter + Jersey REST webservice = Error!

    Hi all,

    I have developed several JSF web applications which uses the OpenSessionInViewFilter in order to keep the Hibernate session open throughout each HTTP request.

    However, when I develop a...
  7. Replies
    2
    Views
    531

    Security layer should be Java, which probably...

    Security layer should be Java, which probably brings me down to Tomcat.

    If I use a ServletFilter I still need to do some proxying to the other server if I allow the user past my filter.

    Any...
  8. Replies
    2
    Views
    531

    Proxying HTTP requests?

    Hi all,

    We have an ancient web server running some archaic web-based programs with no built-in security layer. (All in PL/SQL.)

    I want to set up some HTTP proxy in front of this ancient server....
  9. Where is the forum/wiki with full working code examples?

    Hi all,

    After working with Spring for a while now, I've been banging my head up against almost any wall in our house. (Old brick house from the 1930's... -- Ouch!!!)

    The Spring framework is...
  10. OpenSessionInViewInterceptor and @MVC / REST

    Hi all,

    I'm developing a Spring 3.0 application that should expose itself through a series of REST URLs.

    My servlet is annotated with the @Controller annotation.

    However I get the dreaded...
  11. Okay thanks. I only have this problem once in...

    Okay thanks.

    I only have this problem once in my application, so I just did a join fetch on the entities (it's an isolated case).

    I talked with one of the other guys in our development team,...
  12. I also read about Spring Web Flow, which seems to...

    I also read about Spring Web Flow, which seems to address this issue in version 2.0. However, I feel it's just another extra technology with loads of additional configuration files.

    I'm running...
  13. Does Ajax and Hibernate work together at all?

    Hi all,

    We're developing web applications using JSF with Richfaces, Spring and Hibernate on the back.

    It works fine with the OpenSessionInView filter, until I had an Ajax component which gave...
  14. Replies
    2
    Views
    732

    It is true: you cannot acces the database outside...

    It is true: you cannot acces the database outside a transaction. However a transaction can be set as read-only, which will improve performance under certain circumstances.

    However (side note!),...
  15. Check if you have two different versions of the...

    Check if you have two different versions of the SLF4J libraries in your classpath. (Or rather: check if you use a different version of the SLF4J library than Spring (PropertyBinder.java) was built...
  16. Guess this is the question we're all evaluating....

    Guess this is the question we're all evaluating. :p

    Keep the code free of unnecessary imports, and decoupled as much as you can. The ultimate smell test is whether you have redundant code (i.e....
  17. I have attended the Core Spring course, which...

    I have attended the Core Spring course, which really gave me a lot. If you haven't taken it yet, you should seriously consider it.

    The exam should pretty much reflect that course. There are some...
  18. It was indeed a concurrency issue. I missed a...

    It was indeed a concurrency issue.

    I missed a ThreadLocal variable to store the session in.

    This is my helper class that does the job in case other people need to do the same:



    package...
  19. Thread: My error

    by silverjam
    Replies
    1
    Views
    2,443

    You're missing the apache-commons jar file in...

    You're missing the apache-commons jar file in your classpath. If it's there already (in Tomcat?), try to add a newer version to the application classpath and see if it helps.
  20. Replies
    1
    Views
    741

    You need to restart the Spring application for...

    You need to restart the Spring application for this.

    However, you can easily link external Spring XML configuration files into the main Spring configuration file using the <import resource="..."/>...
  21. I don't think you can do things much different...

    I don't think you can do things much different than that.

    For small applications, it might be okay to use @Autowired, but it is generally not advisable, since you can't see the actual wiring...
  22. Replies
    1
    Views
    595

    You probably need to inject the datasource...

    You probably need to inject the datasource somewhere (into the transaction manager perhaps?). Please let us see some code. ;)
  23. Replies
    2
    Views
    795

    I don't know if this will help you, but have you...

    I don't know if this will help you, but have you tried to clear and/or flush the session?

    Best regards,
    Morten
  24. SOLVED: SpringSessionContext and long sessions? (concurrency issue?)

    Hi all,

    I have a JSF web application utilizing Hibernate. It runs with the OpenSessionInViewFilter, which works perfectly fine for my needs.

    In my applicationContext.xml, I have a plain...
  25. Replies
    2
    Views
    962

    Hm.... Thats also what I have mostly concluded...

    Hm.... Thats also what I have mostly concluded during the last days trial and error on my coding:

    I cannot set up my threads programatically (based on the actual entities from Hibernate) and have...
Results 1 to 25 of 34
Page 1 of 2 1 2