Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. InvalidPropertyException on Tomcat 5.5 Windows XP

    Hi all,

    I'm trying to deploy a web application to Tomcat 5.5, Windows XP SP2.
    Spring version is 2.5.4.
    The spring XML configuration is working perfectly when running unit tests in Eclipse....
  2. Replies
    2
    Views
    1,111

    Yes, I'm using Spring transactions. Here's the...

    Yes, I'm using Spring transactions.
    Here's the spring configuration xml for transactions & the like.
    First, I create a HibernateTransactionManager.

    <!-- Transaction manager for a single...
  3. Replies
    2
    Views
    1,111

    connections not released on Hibernate/c3p0

    Hi all,

    I'm just trying to come back to Java/Spring after about a year when I couldn't touch it.

    It's a different laptop, so I loaded the source code, but am now running it against Java 1.5.0,...
  4. Indeed, it turned out to be a previous build I...

    Indeed, it turned out to be a previous build I had made of the spring sandbox higher up in the classpath than spring.jar!

    Thanks!
  5. invalid property in TransactionProxyFactoryBean

    Hi all,

    Getting back to Spring/Java after a long foray into the .Net world.
    Because I'm using a new laptop, I've tried to rebuild my old project with the latest libaries (including Spring 2.0.7)....
  6. Replies
    2
    Views
    1,101

    Thanks, that did the trick!

    Thanks, that did the trick!
  7. Replies
    2
    Views
    1,101

    can't find WebApplicationContext on Tomcat

    Hi all,

    I have a web application working on Resin 3.0.19.
    When I port to Tomcat 5.5 I get the following error:


    java.lang.IllegalStateException: No WebApplicationContext found: no...
  8. Replies
    9
    Views
    1,830

    Please see...

    Please see http://userpages.umbc.edu/~mabzug1/cs/md5/md5.html

    To quote:
    " [The MD5 algorithm] takes as input a message of arbitrary length and produces as output a 128-bit "fingerprint"...
  9. I'm not sure I understand, being a newbie with...

    I'm not sure I understand, being a newbie with Acegi.
    I assume what you mean is that when the users navigate to the system, they either
    include a "customer" querystring parameter in the request:...
  10. Relative URLs in AuthenticationProcessingFilter

    Hi all,

    In my previous Spring web apps, I used the URL to determine which customer database to go to.
    Thus, https://www.mydomain.com/appName/customer1/login.action
    would authenticate and then...
  11. Done. See: ...

    Done. See:

    http://opensource.atlassian.com/projects/spring/browse/SEC-246

    Regards,
  12. Acegi incompatible with DependencyInjectionInterceptorFactoryBean

    I've started trying to use Acegi for the last couple of days, but have run into circular dependency problems.

    Setup:
    I'm using DependencyInjectionInterceptorFactoryBean from the sandbox to allow...
  13. Answering a bit late, but maybe it'll help...

    Answering a bit late, but maybe it'll help somebody. Just started with Acegi yesterday.
    This is what I did (using Java 5).

    First, an enum class to represent the authorities.


    import...
  14. Replies
    101
    Views
    22,275

    I tried using this but as far as I can tell the...

    FYI - The class has already been ported for Hibernate 3 and currently resides in the sandbox : .../orm/hibernate3/support/DependencyInjectionInterceptorFactoryBean.[/quote]

    I tried using this but...
  15. Hi Ben - just wondering how your Validators...

    Hi Ben - just wondering how your Validators delegate to child object Validators. The ideal would seem to walk through collections and call:

    childObject.validate();
    However, validate throws a...
  16. Answering myself, with my latest thoughts on the...

    Answering myself, with my latest thoughts on the subject, having attempted to Springify one of my most complex UI forms:

    1. Binding generally involves translating HTML-specific data...
  17. This is fine within the View, if you're loading a...

    This is fine within the View, if you're loading a fresh object first.
    But in the controller, if you're using Hibernate anyway, you can easily run into an error saying something like "attempt to...
  18. service-layer interface for domain object binding

    Hi all,

    It'll probably come home to me one of these days that if I want an answer I should post a straightforward question rather than first posting tons of code (as in my previous posting)...
  19. Oh, I think I get it. Why do you create a new...

    Oh, I think I get it.
    Why do you create a new (empty) object after the submit? That's where your problem is. You should be loading the existing object from the database using the ID, and then...
  20. Did you test this? I haven't yet come across a...

    Did you test this? I haven't yet come across a situation where spring binding actually causes Hibernate to delete the entire collection.
    Can you post the code where this is happening?
  21. Vjeran, I agree, I've become allergic to OSIV in...

    Vjeran, I agree, I've become allergic to OSIV in all its forms...

    I've usually implemented my getUser methods as you mentioned above, with a flag stating whether I should load all collections or...
  22. Hi Rexxe, Well, I've been avoiding session...

    Hi Rexxe,

    Well, I've been avoiding session forms (I've never much liked keeping domain objects lying around in the session - what if the session times out?), the main cost of which seems to be...
  23. I don't much like OSIV, nor...

    I don't much like OSIV, nor singleSession="true"...
    But it seems to me like you could add a method in your DAO that says something like:

    public void reconnect&#40;Object entity&#41; &#123;
    ...
  24. Replies
    5
    Views
    8,834

    Thanks for your help! Works like a charm now...

    Thanks for your help! Works like a charm now...
  25. binding domain objects inside the transactional boundary

    Hi all,

    Following on from a mailing list thread about transactional boundaries (more or less):



    I'm still struggling with the same issue, and haven't found any simple answer. In the case of...
Results 1 to 25 of 50
Page 1 of 2 1 2