Search:

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

Search: Search took 0.03 seconds.

  1. NPE with JmsTemplate.execute(ProducerCallback) and Resin

    I've tried this with the most recent from the 2.0 and 2.5 branches.

    I'm using a ProducerCallback to setup a synchronous JMS request but anytime I try sent send a request to the queue I receive a...
  2. I tried moving the Hibernate jars to one of the...

    I tried moving the Hibernate jars to one of the nodes in a two-node cluster and so far have not seen the error message in the one I changed, and several times in the one that hasn't. I will change...
  3. I can confirm there is only 1 instance of the jar...

    I can confirm there is only 1 instance of the jar present. It in is usually in WEB-INF/lib of the application but I have also tried it in $RESIN/ext-webapp with the same result. I will try $RESIN/lib...
  4. interface org.hibernate.jdbc.ConnectionWrapper is not visible from class loader

    I'm seeing this error in my application log files a lot.


    [2008-01-14 10:06:46.626] org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for...
  5. org.springframework.transaction.IllegalTransaction StateException: Pre-bound JDBC Con

    There have been a few posts on the subject before but I've not really gained much headway in the problem.


    org.springframework.transaction.IllegalTransactionStateException: Pre-bound JDBC...
  6. I'm using Resin. I seem to recall doing...

    I'm using Resin. I seem to recall doing something similar a while ago in Tomcat and not having the classloader issue. I hadn't realised this had been discussed already.

    This makes sense. Thanks...
  7. Yes, I was a little vague. Apologies. I'm...

    Yes, I was a little vague. Apologies.

    I'm expecting three files to be processed and none are. Turning up the debug didn't reveal anything. The files are in my application jar which resides in...
  8. classpath importing from a Web application context

    In my applicationContext.xml I include the line
    <import resource="classpath*:META-INF/services/*.ctx.xml" /> for use as an implementation of the lightweight plug-in arcitecture described in this...
  9. The session factory I use depends on a parameter...

    The session factory I use depends on a parameter passed into a HTTP request. In order to use the OpenSessionInViewFilter I rewrote the Spring class to obtain use the session factory associated with...
  10. Replies
    45
    Views
    91,608

    You might want to just increase the permgen space...

    You might want to just increase the permgen space available to the JVM.
  11. Replies
    15
    Views
    18,518

    Yeah, that's how I did it to try it out. I'm...

    Yeah, that's how I did it to try it out. I'm warming to the idea of fewer configs to manage and get wrong.



    Fair enough. I wasn't getting very far in getting JTA set up anyway.
  12. Replies
    15
    Views
    18,518

    Well, it was more complicated than that. It is a...

    Well, it was more complicated than that. It is a large application that uses a great many third-party libraries and has a memory-intensive sub-system involving many huge and complicated XSLT...
  13. Replies
    15
    Views
    18,518

    Yes, there are a few good reasons. Memory usage...

    Yes, there are a few good reasons. Memory usage and maintainance being two of them. The app has evolved a lot over the last 6 months and continues to do so. Maintaining $BIGNUM instances of the...
  14. Hmm, reading the documentation a little more...

    Hmm, reading the documentation a little more shows that this isn't the way to handle transactions when accessing multiple databases. Any pointers on the right way to go about that?
  15. Can I still do this without having DAOs...

    Can I still do this without having DAOs configured in applicationContext.xml? I have no DAOs configured because I have multiple session factories and one DAO could use any of them.
  16. Configure transaction managment in Spring or Hibernate?

    I have an abstract base DAO that uses HibernateTemplates for data access. I'm a little confused as to where I should be configuring transaction management. Should I be configuring it with my...
  17. Replies
    15
    Views
    18,518

    As would I. I'm new to Spring, but I'm VERY...

    As would I. I'm new to Spring, but I'm VERY protective over how I perceive myself as a coder. Thanks for the vote of confidence.
  18. Replies
    2
    Views
    1,765

    Use a better driver - specifically jTDS.

    Use a better driver - specifically jTDS.
  19. Replies
    15
    Views
    18,518

    Sure thing. Whether it's any good is still open...

    Sure thing. Whether it's any good is still open to debate ;)

    So I have my session factories configured in separate XML files and loaded by the bean factory. Here is one of them (sanitised):

    ...
  20. Replies
    15
    Views
    18,518

    Yup, this was a requirement. Stupid, I know, but...

    Yup, this was a requirement. Stupid, I know, but the customers insist (apparently).

    Using a HibernateTemplate-per-customer works. I just hope it scales well. I need to make sure that...
  21. Replies
    15
    Views
    18,518

    No. Not 500 session factories for 500 people...

    No. Not 500 session factories for 500 people logged in. That's not what I meant :)

    Currently there are 25 databases (1 per customer) and X number of people log into each.

    I read through the...
  22. Replies
    15
    Views
    18,518

    Multiple Hibernate SessionFactories

    I've been reading through the threads concerning multiple session factories but can't really find anything particularly concrete to what I'm trying to do.

    I currently have multiple Hibernate...
Results 1 to 22 of 22