Search:

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

Page 1 of 2 1 2

Search: Search took 0.06 seconds.

  1. Replies
    1
    Views
    987

    listing ibatis statement mappings

    is there a way to list all the ibatis statements from a given XML map file?

    I'm getting the following exception:



    com.ibatis.sqlmap.client.SqlMapException: There is no statement named...
  2. Replies
    5
    Views
    2,954

    Thanks for your help!

    Perfect, that was it! In my eclipse environment, I was depending on another project that had the older 1.1 dbcp!

    Thanks for helping on this!
  3. Replies
    5
    Views
    2,954

    my applicationContext.xml has the...

    my applicationContext.xml has the propertyConfigurator to load the values that emod.jdbc.datasource.xxx evaluates to. (both applicationContext.xml and dataAccessContext.xml are loaded via classpath...
  4. Replies
    5
    Views
    2,954

    junit problem with commons dbcp

    When I run my junit test against my DAOs, I get a weird Commons DBCP Exception complaining about the initialiSize for the data source could not be set.

    however, when I run the app from tomcat, the...
  5. Replies
    2
    Views
    1,239

    Stack trace

    Here's the stack trace from my junit test.



    org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC connection for transaction; nested exception is...
  6. Replies
    2
    Views
    1,239

    Object has been closed

    hi All,

    I'm using MS-SQL server as the backend db with Spring 1.2.1 using the ibatis 2.0 data mapping layer.

    I'm getting this error: "Object has been closed"

    My transaction setting is:
  7. Replies
    1
    Views
    1,595

    HttpInvoker server and client deployment

    hi All,

    I have a set of service interfaces and object interfaces that I would like to expose to the client. The server obviously contains these interfaces and their implementations. However when...
  8. I found a solution to this.. Due to my...

    I found a solution to this..

    Due to my branded oem jdbc driver, it requires a username/password to unlock. In order for me to do that I had to create a delegateDataSource.

    Here I was able to...
  9. How to monitor current size of connection pool

    I am getting pool exhausted exceptions and wanted to know if I have a connection leak.

    Is there a way I can monitor the current number of connections in the pool, which of them are idle, which are...
  10. Replies
    7
    Views
    4,412

    The hang that I was experiencing wasn't actually...

    The hang that I was experiencing wasn't actually caused by the httpInvoker but due to exhhausting the connection pool. The datasource was blocking for connections.

    httpInvoker was working like a...
  11. Replies
    1
    Views
    1,874

    Here's an attempt with a dependency on httpclient...

    Here's an attempt with a dependency on httpclient (i know, but we fortunately approved the commons httpclient)




    public class SimpleAuthExecutor extends CommonsHttpInvokerRequestExecutor {

    ...
  12. Replies
    1
    Views
    1,874

    basic authentication using spring only code

    i've read through the blogs about basic authentication and it seems that the only way for the httpInvoker to have this feature is to utilize the acegi security package.

    is there a way to natively...
  13. Replies
    2
    Views
    1,320

    solved

    The problem was not the dispatchServlet, nor httpInvokerProxy it was my BasieDBCPDataSource was configured to have the default pool size. I increased it to 100 and no more hang.
  14. Replies
    2
    Views
    1,320

    configuring the dispatchServlet?

    could it be that the wait is happening at the dispatcher servlet? how should I configure the dispatchServlet to handle large payloads?
  15. Replies
    2
    Views
    1,320

    HttpInvoker hanging

    I am experiencing the httpInvoker protocol hanging after doing some large file transfers( ~4mb files). After transfering from a client to the server, all subsequent connections seem to hang. The...
  16. Replies
    7
    Views
    4,412

    HttpInvoker hanging

    I too send large bytes back and forth using the httpInvoker protocol. What I do is have a serializable class that stores a byte array of the file contents.

    But as a tangent, I am experiencing the...
  17. Replies
    6
    Views
    1,406

    The CommonsDbcpNativeJdbcExtractor did the trick!...

    The CommonsDbcpNativeJdbcExtractor did the trick!

    thanks!
  18. Replies
    6
    Views
    1,406

    The getTargetConnection(..) didn't work.

    The getTargetConnection(..) didn't work.
  19. Replies
    6
    Views
    1,406

    I tried override the DelegatingDataSource class...

    I tried override the DelegatingDataSource class by doing the following:



    public MyDatasource extends DelegatingDataSource {
    public MyDatasource(DataSource dataSource) {
    ...
  20. Replies
    6
    Views
    1,406

    thanks! I'll give that a try.

    thanks! I'll give that a try.
  21. Replies
    6
    Views
    1,406

    how to wrap password protected jdbc drivers

    hi all,

    our company has an OEM jdbc driver from DataDirect that is branded.. Good driver but tough password constraints.. we unfortunately have to hardcode our password every time we call the...
  22. Replies
    2
    Views
    1,052

    debug print statmenets

    i found that setting the log severity levels to DEBUG on the package namespaces did the trick:

    log4j.logger.com.ibatis=DEBUG

    log4j.logger.java.sql=DEBUG

    --sm
  23. Replies
    2
    Views
    1,052

    Print SQL statements

    hi all,

    I'm using the ibatis sqlmap with the spring framework and wanted to know how I can print out my sqlmap SQL statements for debugging purposes? I want to see the actual CURD sql commands as...
  24. Replies
    1
    Views
    1,389

    Similar problem

    did you ever get your problem resolved? I have a similar problem to solve.
  25. Replies
    0
    Views
    2,699

    Minimal Pagination w/o hibernate or struts

    I'm using purely JSF in the web-tier w/o struts and for my persistent layer using ibatis and the sql mapper.

    Is there a performant way of doing pagination with data sets in the order of 10,000...
Results 1 to 25 of 34
Page 1 of 2 1 2