Announcement Announcement Module
Collapse
No announcement yet.
Spring + DataNucleus + Atomikos = no worky :( Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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

    Comment


    • #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

      Comment

      Working...
      X