Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8082251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T17:01:29+00:00 2026-06-05T17:01:29+00:00

Our application is a Java-GWT application that uses Guice-Persist and Guice-Servlet extensively. We have

  • 0

Our application is a Java-GWT application that uses Guice-Persist and Guice-Servlet extensively. We have never had a problem using the session-per-HTTPRequest feature of Guice-Persist which is similar to what Warp-persist originally used.

We are filtering our webapp through the PersistFilter class as per the documentation. Our persistence.xml file has transaction-type=”RESOURCE_LOCAL” as per the Guice documentation here.

Now for some strange reason our PROD environment is showing the error

“Work already begun on this thread. Looks like you have called UnitOfWork.begin() twice without a balancing call to end() in between.”

enter image description here

It looks like there is an issue where nested Units of work are not supported in Guice-Persist. LINK

We also recently moved from hibernate 3.6.3.Final to 4.1.4.Final. Not sure if his would have some sort of incompatibility with guice…

At this point we are totally in the dark as to why this would be happening.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T17:01:31+00:00Added an answer on June 5, 2026 at 5:01 pm

    I was experiencing that symptom when a transaction was implicitly opened by Hibernate because I forgot to add a @Transaction annotation to the outermost logical transaction brace.

    To, to pinpoint the issue, set breakpoints in your database layer as well as in begin() and end() to spot cases when persistence (read or write does not matter) happens without an existing transaction.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Java web application that uses the SLF4J logging facade. To date,
I'm using Eclipse to write a small Java application that uses WLST to manage
I have deployed our Restlet services to a Jetty Java Application server using the
We recently started using Eclipse to develop our java application and have been running
my co-workers and I are reworking our application so that it uses java beans
Our Java application uses TimeZone tz = TimeZone.getDefault() Are there any other methods of
I've set up ehcache on our Java application, which uses Spring and Hibernate. However,
I am working on the I18n of our java application and we have decided
in our application we have a Java applet running inside a .NET browser control.
In our application, I have seen code written like this: User.java (User entity) public

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.