Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. This is why its not working, but what's the right fix?

    I think I've figured out what's happening. I went through a bunch of the classes related to transactions and added log output to trace the execution (I haven't been able to get inside-Tomcat...
  2. Bug in my wiring or bug in Spring.

    I've been banging my head against this for the past two days now. Its either a bug in my bean wiring or a bug in Spring.

    Here's what I'm seeing. When the transaction is started, the...
  3. Multiple calls to doReleasePersistenceManager() in PersistenceManagerFactoryUtils

    I recently moved from the JdoPersistenceManager to JtaPersistenceManager. All my unit tests and integration tests pass, but when I try using the webapp in a "production" environment (Tomcat 5.5 with...
  4. How do I know I'm getting XA transactions?

    I'm using both JDO and Jackrabbit in my project and recently changed from the JdoTransactionManager (which was perfect for getting things started while I didn't have Jackrabbit), to the...
  5. Replies
    10
    Views
    3,469

    And the answer seems to have nothing to do with...

    And the answer seems to have nothing to do with transactions or database connections. It seems it was all about memory, and me running out of it with so many running database processes. I posted the...
  6. Doh!

    I may have been wrong when I assumed that each instance of a postgres process meant an open connection to the database. I don't know enough about how postgres spawns processes, or when, but I did...
  7. Replies
    10
    Views
    3,469

    I just discovered the TransactionTemplate and...

    I just discovered the TransactionTemplate and changed my setup and tear down code to use it, but the results are the same... connections still growing. And now all transaction demarcation is done...
  8. Replies
    10
    Views
    3,469

    This is my entire configuration for the tests...

    This is my entire configuration for the tests that are failing (they're JDO only, no JCR/Jackrabbit at all).




    <?xml version="1.0" encoding="UTF-8"?>

    <!DOCTYPE beans PUBLIC "-//SPRING//DTD...
  9. Database connections don't close until all tests are done

    I've been trying to get XA transactions in Tomcat using Jencks. I'm doing this because I use both JDO and JCR (Apache's Jackrabbit) in my project and every item in the JCR repository has data about...
  10. Replies
    10
    Views
    3,469

    Wow, so I just tried something else... I tried...

    Wow, so I just tried something else... I tried changing my JDO tests from the JtaTransactionManager and Jencks, back to Spring's built-in JdoTransactionManager. And I got the same behavior. I'm going...
  11. Replies
    10
    Views
    3,469

    Well the Jencks mailing lists seem to be dead;...

    Well the Jencks mailing lists seem to be dead; the archives show nothing for months (but that includes my post from yesterday, so maybe the archives are just broken). I've posted to the user forum I...
  12. Replies
    10
    Views
    3,469

    Yeah, after reading more details from Matt and...

    Yeah, after reading more details from Matt and Colin's exchange, it definitely appears that JOTM isn't where I should be going. As for having XA support, it is my understanding that Jencks supports...
  13. Replies
    10
    Views
    3,469

    Jackrabbit, JDO, JCA with Jencks, and Tomcat

    So I've got Jackrabbit and JDO configured and working in my project. Everything works great, except that Jackrabbit didn't participate in the transactions with JDO. This may be a problem for data...
  14. Replies
    1
    Views
    968

    Reverse MIME mapping

    I'm in a situation where I have a MIME type, some bytes, and some meta-data about the bytes, and I need to generate a file name based on the meta-data and the MIME type. I found...
  15. Replies
    15
    Views
    3,519

    Building the docs...

    I am having trouble building the Docs though (not the Javadocs, that target worked fine). It seems the "ant doc-html" target still expects to be invoked from the springmodules root. If its run from a...
  16. Replies
    15
    Views
    3,519

    Nevermind. I checked out a clean copy of...

    Nevermind. I checked out a clean copy of SpringModules and everything worked fine. I must have deleted something somewhere and CVS didn't re-download it when I ran CVS update... or something. Bottom...
  17. Replies
    15
    Views
    3,519

    Hi Costin, I just tried it again and got the...

    Hi Costin,

    I just tried it again and got the same results (but with all caps SNAPSHOT :) ).

    What's the deal with the resolve.conf errors about Authentication being needed? Could that be the...
  18. Replies
    23
    Views
    10,521

    All the code I have is for my system, and I'm not...

    All the code I have is for my system, and I'm not even positive it works yet. Like I said, when am sure that this scheme works, I'll put together a small example to demonstrate it; code will be...
  19. Replies
    23
    Views
    10,521

    Well, there's already separate classes for...

    Well, there's already separate classes for jackrabbit and jeceira... they both have a RepositoryFactoryBean, and when jeceira is able to handle transactions, I'm assuming it will get a...
  20. Replies
    15
    Views
    3,519

    my failure message

    Hey Costin, I ran CVS update and it didn't seem to help. Here's the messages I'm getting.



    resolve.main:
    :: resolving dependencies :: [ springmodules | jcr | working@Terra.local ]
    ...
  21. Replies
    15
    Views
    3,519

    Thanks for updating those things Costin. I just...

    Thanks for updating those things Costin. I just did a CVS update and tried building JCR after doing "ant clean", and it failed because of this dependency:



    <dependency org="apache"...
  22. Replies
    23
    Views
    10,521

    Creating a workspace

    Hi Costin,

    Getting the workspace from the session is standardized. However, making a new workspace is not. From the Jackrabbit FAQ:



    Perhaps there are some implementations that automatically...
  23. Replies
    23
    Views
    10,521

    Multiple Workspaces with JCR

    If you only have one workspace (or some fixed number of them) in your app, you can use dependency injection to manage them all (in your applicationContext.xml files, you'd create a JcrSessionFactory...
  24. Replies
    15
    Views
    3,519

    not broken, but not right either

    So I just found the older thread (from last month) where Costin explained that there is, indeed, a transition going on in the build process. My only suggestion is that someone should put a...
  25. Replies
    15
    Views
    3,519

    build.xml seems to be broken

    For whatever reason, I can't seem to get the JCR package to build. When I run "ant build", I only get classes for the aop, commons, jsr94, and util packages.

    The "build" target looks in src/java...
Results 1 to 25 of 41
Page 1 of 2 1 2