Search:

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

Page 1 of 19 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies
    0
    Views
    202

    How to implement retries in JDBC template?

    I have an app using NamedParameterJdbcTemplate to run some queries. It's been working reasonably well.

    Today I discovered that one of my datasources is failing with an obscure problem when it...
  2. Trying to define a session-scoped bean accessed from a filter and jsp

    I'm assembling a somewhat simple webapp step by step. I have an authentication/authorization servlet filter along with the DelegatingFilterProxy. The process was working well until I tried to set...
  3. I figured this out. I was fooled by the fact...

    I figured this out. I was fooled by the fact that when moving from SimpleJdbcDaoSupport to NamedParameterJdbcDaoSupport, the order of the "rowmapper" and "paramsmap" arguments were reversed, but the...
  4. After update from 3.0.6 to 3.1.3, getting unexplained "Invalid column type"

    I have an app that was working fine with 3.0.6. I'm upgrading to 3.1.3. I noticed that SimpleJdbcDaoSupport is now deprecated. I use named parameters, so I changed it to...
  5. Ideas for datasource with unreliable connection?

    I have a Spring 3.1 app that connects to several datasources. It runs on WebLogic 10.3.

    Most of the time it works perfectly fine. However, there are a couple of database connections that fail a...
  6. In fact, I tried doing the parameter replacement...

    In fact, I tried doing the parameter replacement myself, using the same map that I was passing to "query()", and the result works perfectly fine. Something appears to be going wrong when it does the...
  7. query results in "(full) year must be between -4713 and +9999, and not be 0"

    I have a complex query with several blocks joined with "union all". Each of those blocks has two datetime values that I need to insert, but they are the same parameters, and the same values, in each...
  8. SimpleJdbcTemplate query gets 0 rows, but pasting query into SQL browser gets > 0 row

    I have a DAO class that I wrote. It has some existing queries that I wrote that I can step through, and which are returning rows. Someone else added a query to this class which I unfortunately have...
  9. Perhaps it's bothered by the fact that your Map...

    Perhaps it's bothered by the fact that your Map class only takes a single type parameter, for the value type. If your class took both a key type and value type, perhaps it would be happier?
  10. Yes, you're right. Never mind.

    Yes, you're right. Never mind.
  11. That expression will run the job at 00:15 on only...

    That expression will run the job at 00:15 on only the first day of the month.
  12. If you're running out of memory, look at your JVM...

    If you're running out of memory, look at your JVM configuration. It's not a Spring problem. You'll likely have to set your "maxmem" value higher.
  13. Concerning whether a bean is referenced, you...

    Concerning whether a bean is referenced, you might have to take the approach of noting all of the beans that are referenced in a particular time period, and with that log data, look for all of your...
  14. Replies
    1
    Views
    786

    You didn't say HOW you're including the jar in...

    You didn't say HOW you're including the jar in your classpath. You should put this jar in the WEB-INF/lib directory of your WAR file.
  15. You'd be better off posting this on the CXF...

    You'd be better off posting this on the CXF user's mailing list. http://cxf.apache.org/mailing-lists.html.
  16. Replies
    3
    Views
    490

    It seems odd that your "sendLoginForm()" method...

    It seems odd that your "sendLoginForm()" method is protected. Try changing it to public and rerunning your test.
  17. Hmm, well, never mind. I finally rebooted, and...

    Hmm, well, never mind. I finally rebooted, and that has fixed the problem. I guess there's something snarky on my new Win7 Dell laptop.
  18. After upgrading to 2.9.0, I can't connect to any update sites

    I just updated from 2.8.1 to 2.9.0 yesterday. Now when I check for new updates, it says it fails to connect, for all of my update sites. In the update sites page, it just says "This repository is...
  19. Replies
    1
    Views
    328

    It should be noted that the semantics of bean...

    It should be noted that the semantics of bean creation from annotations are slightly different from bean creation from xml. That is, when you create beans from annotations, there is an expected 1-1...
  20. Did you not understand my last reply on this...

    Did you not understand my last reply on this thread (that I started)? The point is that @ManagedResource only specifies how the managed bean will be exported as an mbean. By itself that will not...
  21. I don't suppose you could start over and just...

    I don't suppose you could start over and just install the entire STS 2.8.1, as opposed to installing Indigo and then STS on top of that?
  22. It depends on the service and the implementation...

    It depends on the service and the implementation of the service methods. If the class has no instance data, then you're pretty safe. If the only instance data is only set at bean initialization...
  23. That fixed it. I just moved my installation and...

    That fixed it. I just moved my installation and the shortcut out of Program Files, and I was able to update again.
  24. This is a fresh 2.8.1 installation, not installed...

    This is a fresh 2.8.1 installation, not installed on top of an existing installation. I also have an existing 2.8.1 installation on this box copied from my old laptop, but they are separate.

    Why...
  25. install of STS281, Win7, JDK 1.7 fails with "There were no installable units selected

    On my new Win7 laptop I installed JDK 1.6.0_30 and JDK 1.7.0_02. I then installed STS 2.8.1. I set the VM parameters to point to the 1.7 VM. I started up STS. I did "Check for updates". It...
Results 1 to 25 of 467
Page 1 of 19 1 2 3 4