Search:

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

Page 1 of 7 1 2 3 4

Search: Search took 0.02 seconds.

  1. Is the "query" method in the web application...

    Is the "query" method in the web application being called from "find" method? If this is the case then Spring AOP will not be able to intercept calls to "query" method.

    Refer to slide # 15 @...
  2. Can you share application context configurations....

    Can you share application context configurations. From the error message it seems like you have 2 beans having same name i:e CacheManager. Also you mentioned that you have multiple cache managers,...
  3. Try using @Autowired instead of @Resource.

    Try using @Autowired instead of @Resource.
  4. You should have a repository/DAO & should be...

    You should have a repository/DAO & should be injecting sessionFactory in the repository using Spring.
  5. HibernateTemplate is not recommended. Please...

    HibernateTemplate is not recommended. Please refer to

    http://static.springsource.org/spring/docs/2.5.5/api/org/springframework/orm/hibernate3/HibernateTemplate.html
  6. Can you share your configuration files, normally...

    Can you share your configuration files, normally Spring parses the application context & figures the dependencies, which it then uses to determine sequence for initialization of beans
  7. You should try using the ResultSetExtractor...

    You should try using the ResultSetExtractor interface

    http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/jdbc/core/ResultSetExtractor.html
  8. There seems to be problem with use of...

    There seems to be problem with use of factory-method. You should not be injecting factory in the class, instead should be using the factory-method to call on factory method that will create instance...
  9. You should try using the @Transactional...

    You should try using the @Transactional annotation on the Impl, sometimes applying annotation on interface does not work. Also was the OpenSessionInViewFilter filter enabled when you tried the...
  10. Your method is not returning anything. In case...

    Your method is not returning anything. In case you want to use aspects for performance monitoring you should follow approach provided in the attached file.5140
  11. Cause could be OpenSessionInViewFilter, as per...

    Cause could be OpenSessionInViewFilter, as per javadoc, the flush mode in this filter by default is set to FlushMode.NEVER. In case you are performing write operations you should either use...
  12. You should try taking thread dump (kill -3) of...

    You should try taking thread dump (kill -3) of the java process. Will give you an idea about what is happening in the JVM & why it is not processing messages.
  13. It might be a memory issue. You should try to...

    It might be a memory issue. You should try to increase the heap size, as the memory required to process 500 files will be much higher than that for 10 files. You can enable GC logging also, which...
  14. Replies
    3
    Views
    396

    Needs to be after the file has been written. You...

    Needs to be after the file has been written. You can use inbound poller provided out of the box by Spring to poll a directory for files. Once a file is received it will be be FTP'ed using FTP...
  15. Have a look at ClassifierCompositeItemWriter. You...

    Have a look at ClassifierCompositeItemWriter. You will also have to implement a Classifier that will be used in conjunction with ClassifierCompositeItemWriter
    ...
  16. Replies
    3
    Views
    396

    Yes this is a typical use case for Spring batch....

    Yes this is a typical use case for Spring batch. To whatever extent possible you should try to use in-built readers & writers provided by Spring batch.

    For FTP you can use Spring integration as it...
  17. Replies
    1
    Views
    793

    Spring does not provide equivalent of stateful...

    Spring does not provide equivalent of stateful session beans
  18. The recommended approach from Spring is contract...

    The recommended approach from Spring is contract first web services.

    http://static.springsource.org/spring-ws/site/reference/html/tutorial.html
  19. Replies
    2
    Views
    587

    Try using @Order...

    Try using @Order
    http://forum.springsource.org/showthread.php?85082-Aspect-Order
  20. Replies
    2
    Views
    587

    Try using @Order...

    Try using @Order
    http://forum.springsource.org/showthread.php?85082-Aspect-Order
  21. As per javadocs "Fetch size used internally by...

    As per javadocs "Fetch size used internally by Hibernate to limit amount of data fetched from database per round trip".
    So it seems like Hibernate tries to load all data in the table in a single...
  22. Replies
    1
    Views
    472

    The job parameter passed to the job should be...

    The job parameter passed to the job should be unique.

    Have a look at
    http://ecomputercoach.com/index.php/component/content/article/34-spring-batch/60-dynamic-job-parameters-spring-batch.html
  23. Replies
    4
    Views
    392

    The repository is accessed primarily by Spring...

    The repository is accessed primarily by Spring batch. You will also have to make changes to these classes for this to work.

    Spring uses the BATCH_JOB_EXECUTION table to store the job execution...
  24. What is the size of the JVM ? It is possible that...

    What is the size of the JVM ? It is possible that GC was running. You can enable GC logging, in case GC was running it will show up in the GC logs, the logs will also provide information on the time...
  25. As per the attached stack trace, it seems like...

    As per the attached stack trace, it seems like you are using a XA type data source for local transactions.

    Excerpt from the stack trace

    "resource 'mysql_jbm' cannot be used outside XA...
Results 1 to 25 of 157
Page 1 of 7 1 2 3 4