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...
Type: Posts; User: markds75; Keyword(s):
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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 ]
...
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"...
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...
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...
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...
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...