Search:

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

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    2,314

    Hi Julio, apologies but I never got the details...

    Hi Julio,
    apologies but I never got the details I required for this task. In the end with project deadlines and changing requirements I didn't need to implement the complex authorization.

    sorry I...
  2. Replies
    2
    Views
    1,096

    XA and JMS - messages missing?

    Hi,
    i am posting here as I cannot find the reason behind my app problem and I would appreciate any input. I am sure I am just missing some small change somewhere!

    I have an app usiing Spring, JPA...
  3. Replies
    7
    Views
    2,314

    ContactSecurityVoter

    Hi,
    I am trying to find the src code for the ContactSecurityVoter. I would like to see how to implement some specific logic relating to domain objects I have in my app. I cannot find this class in...
  4. Spring + JMS + Atomikos - "Session is closed" exception

    Hi,
    I am getting the following exception while working with Spring and JMS:
    Caused by: javax.jms.IllegalStateException: The Session is closed

    I can't figure out why. I have a JPA application...
  5. Replies
    31
    Views
    6,328

    Will do...

    Hi,
    as soon as things quieten down here I will do that. I am under a bit of pressure now and playing catch up as a result of the delays with this.

    cheers
  6. Replies
    31
    Views
    6,328

    ...

    Yes that is strange!

    However, I can reproduce this problem at will! Simply add entries to the application.xml and deploy in ear (outside war). I see the EMF getting created for each persistence...
  7. Replies
    31
    Views
    6,328

    Success Update

    Hi All,
    Ok guys, I have discovered the cause of the problem I've been having with JBoss, Spring and JPA (or at least managed to get things working!).


    When I inherited my application it was...
  8. Replies
    31
    Views
    6,328

    Thanks!!!

    I'll have a look over it...
  9. Replies
    31
    Views
    6,328

    Hi Fox, quick question - what tx manager are you...

    Hi Fox,
    quick question - what tx manager are you using in your example? Is it the JPA implementation? Are you deployed in an app server env?

    cheers
  10. Replies
    31
    Views
    6,328

    Update...

    Ok I've configured the JTA tx handler. still no joy but at least I have a more detailed error message:


    2007-04-30 15:17:26,214 DEBUG [org.hibernate.impl.SessionImpl] <init>() | opened session at...
  11. Replies
    31
    Views
    6,328

    persistence.xml

    <?xml version="1.0" encoding="UTF-8" ?>
    <persistence xmlns="http://java.sun.com/xml/ns/persistence"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    ...
  12. Replies
    31
    Views
    6,328

    Exactly!...

    Hi there,
    yes, I can't figure out why.

    I have tried using both LocalEntityManagerFactoryBean and LocalContainerEntityManagerFactoryBean with specific properties set. Still no joy. Only other...
  13. Replies
    31
    Views
    6,328

    Hi there, thanks for getting back guys. The...

    Hi there, thanks for getting back guys.

    The log attached was the hibernate log. I have included the Spring log in one of the earlier replies.

    cheers
  14. Replies
    31
    Views
    6,328

    Event Listener

    Hi there,
    something else I've just noticed is that the JPA event listener is not invoked!? Perhaps this might add some extra info to the mix!...

    There is some basic logging info in the...
  15. Replies
    31
    Views
    6,328

    Hibernate log...

    Ok, here's hibernate debug log snap shot from the attempted insert. The Object I am creating is type Filter and you can see that it gets assigned a new id of 80 etc.. I have attached file as it's too...
  16. Replies
    31
    Views
    6,328

    ...

    Just to be clear the flow is:

    Action <-> business layer <-> dao <-> EM <-> DB

    So action calls business, which calls dao...
  17. Replies
    31
    Views
    6,328

    ...

    Hi,
    yes my intention is to wrap the business method in the tx. Obviuosly there are (in some cases) multiple calls to the dao within a single business method. So my assumption is that the tx will...
  18. Replies
    31
    Views
    6,328

    Hi guys and thanks for replies. Here is sample...

    Hi guys and thanks for replies.

    Here is sample of my DAO (which extends spring JpaDaoSupport) code:


    public Filter saveOrUpdate(Filter filter)
    {
    if(filter.getId() == 0)
    ...
  19. Replies
    31
    Views
    6,328

    Any suggestions?????!! :-(

    Hi all,
    I cannot figure out what is missing in my solution and would appreciate ANY suggestions!

    I have tried almost every combination of settings and even replaced oracle instance with HSQLDB....
  20. Replies
    9
    Views
    3,047

    ...

    My working example/unit test is a simple junit test case extending org.springframework.test.jpa.AbstractJpaTests so the ctx is loaded from classpath and test kicked off in eclipse.

    The error is...
  21. Replies
    9
    Views
    3,047

    ?

    I am not sure what you mean by test driver?

    A bit of history in this issue: I was originally using:

    <aop:config>
    <aop:aspect ref="loggingAspect">
    <aop:pointcut...
  22. Replies
    9
    Views
    3,047

    Get exception

    I get an exception saying that the DebugInterceptor class is not instance of Advice??
  23. Replies
    9
    Views
    3,047

    here goes..

    As you can see this is a simple test for a debug output. Just wanted to try out the Spring aop.


    public class DebugInterceptor implements MethodInterceptor
    {

    private static Log log =...
  24. Replies
    31
    Views
    6,328

    ...

    Also, the "No transaction available" statement is coming from the last part of the workflow, i.e. the retrieve() method on the viewAction. The tx propagation is set to SUPPORTS so tx not required by...
  25. Replies
    9
    Views
    3,047

    Not of Type "Advice"???

    I am getting following error:

    org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'debuggingAspect' must be of type [org.aopalliance.aop.Advice],
    but was actually of...
Results 1 to 25 of 42
Page 1 of 2 1 2