Search:

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

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. ok, finally we got it solved. problem was the...

    ok, finally we got it solved. problem was the gwt-servlet.xml had an annotation scanner, which was picking up a second copy of the daos/services, but not proxying them.
  2. View Post

    <a href="http://foo.bar/myWebApp/login.html">Click here to log in.</a>
  3. Replies
    5
    Views
    1,530

    David, Please try adding the following to your...

    David,

    Please try adding the following to your JDBC URL:


    autoReconnect=true

    Regards,
    Jess
  4. I seem to remember you need to enable trace...

    I seem to remember you need to enable trace logging for this one. Try



    log4j.logger.PerformanceInterceptor=TRACE


    Jess
  5. There should be more to the error. Check the...

    There should be more to the error. Check the catalina.out file in Tomcat's log directory.
  6. Jayarama Nettar - MySQL 4.1 does not support XA....

    Jayarama Nettar -
    MySQL 4.1 does not support XA. Both databases will have to be on MySQL 5.0 or later.

    Jess
  7. Replies
    2
    Views
    811

    John, Please verify that you are using InnoDB...

    John,
    Please verify that you are using InnoDB tables in MySQL. MyISAM tables do not support transactions.

    Jess
  8. Replies
    9
    Views
    1,384

    Francesco, The way to setup transactions using...

    Francesco,

    The way to setup transactions using annotations is clearly documented. Please read about it in the manual here:
    ...
  9. Replies
    6
    Views
    1,201

    The issue is that you specified "class" On the...

    The issue is that you specified "class" On the baseManager. YOu need to use target. See the example here:...
  10. Replies
    3
    Views
    1,370

    What auto proxy are you using? With something...

    What auto proxy are you using? With something like BeanNameAutoProxyCreator or DefaultAdvisorAutoProxyCreator, you can still set proxyTargetClass=true. This will force the use of CGLIB to generate a...
  11. Why are you using the transactional tests if you...

    Why are you using the transactional tests if you are not using any transactional objects?
  12. Replies
    2
    Views
    929

    Can you show the stack trace and config? Also,...

    Can you show the stack trace and config? Also, are you using a container data source w/Hibernate? You need to if you are going to use the JTA txmgr.
  13. Are you retrieving "txResetTradeServiceTarget"...

    Are you retrieving "txResetTradeServiceTarget" from the application context?
  14. Which method on which component are you calling...

    Which method on which component are you calling that is not rolling back? Also please use the proper CODE tags when adding code to your post.
  15. Replies
    11
    Views
    1,890

    Craig, You (probably) don't need XA if you are...

    Craig,

    You (probably) don't need XA if you are using JDBC and Hibernate with the same database. You can use the same data source with both and Spring can help wrap all the access up into one...
  16. Replies
    8
    Views
    9,190

    The problem is that the ActiveMQ connection is...

    The problem is that the ActiveMQ connection is not registered as a resource in the XA transaction. The standard way this is done with JOTM is to use a XAPool data source, but this only works for...
  17. I just found this in the manual, Section...

    I just found this in the manual, Section 12.7.1.2.1. Tomcat setup. It states:



    I would make sure you have that jar copied and no additional Spring jars in server/lib or common/lib.
  18. I would try Spring 2.0-RC3 since it was recently...

    I would try Spring 2.0-RC3 since it was recently released and if it does not work, raise an issue in JIRA.
  19. Replies
    2
    Views
    895

    I think something like this would happen if you...

    I think something like this would happen if you tried to map a non-SQL-native type onto a field, eg. somethat that should be one-to-many or similar. What happens is Hibernate just uses Java...
  20. Thread: Target

    by jbalint
    Replies
    10
    Views
    1,585

    The "target" is in fact the bean to wrap. The...

    The "target" is in fact the bean to wrap. The advice is applied to the target based on the pointcut.

    I'm not sure why you don't think advice can be applied to multiple classes or methods. Have you...
  21. Replies
    3
    Views
    975

    You've got two different sessions going on your...

    You've got two different sessions going on your DAO. Try reading this section of the manual.

    Your DAO can just use getHibernateTemplate() and the operations available on there for most session...
  22. Replies
    17
    Views
    5,158

    Use the JndiObjectFactoryBean to retrieve the...

    Use the JndiObjectFactoryBean to retrieve the data source. Use the data source name that you are using for your BMP EJBs.
  23. Replies
    17
    Views
    5,158

    The problem here is that your data source in your...

    The problem here is that your data source in your JDBC DAO and the data source in the EJB are two different database connections. In order to do this you should use the container-managed datasource...
  24. Replies
    3
    Views
    975

    Can you show your DAO (are you extending...

    Can you show your DAO (are you extending HibernateDaoSupport) and the generated mapping files? Also, remember to use the 'CODE' tags in the post so it's easier to read.

    Also, you'll want to use a...
  25. I think you need to put the Spring jar in...

    I think you need to put the Spring jar in $CATALINA_HOME/common/lib.
Results 1 to 25 of 122
Page 1 of 5 1 2 3 4