-
Nov 9th, 2011, 09:38 AM
#1
Spring + DataNucleus + Atomikos = no worky :(
Hi all,
I'm having some trouble getting standalone JTA transactions working with Spring, DataNucleus & Atomikos TransactionsEssentials.
I've created the DataNucleus JTA locator for Atomikos in the same manner as Atomikos's Hibernate integration, and configured Spring to use Atomikos & XA-enabled datasources. All code is downloadable at http://people.apache.org/~madams/examples/atomikos/. If you try yourself, unzip dn-atomikos-1.zip and "mvn install" it, then unzip db.jta-1.zip and "mvn clean test" it. You'll see the exceptions in the logs and maven test failures as well.
I'm not sure what else to try here, so if you could help, I'd appreciate it.
Thanks,
Matthew
-
Nov 29th, 2011, 09:42 PM
#2
Missing maven dependencies
Hi,
Tried your test, but maven fails:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.springframework:spring-test:jar:3.1.0.RC1
(and 4 more)
What repo needs to be set?
Guy
http://www.atomikos.com
-
Nov 29th, 2011, 10:05 PM
#3
You need to use the Spring milestone repo. I'm on my phone right now, but a quick googling of it should work.
-Matthew
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules