One time it would work fine and most time it will give the following
exception.
And this is not used concurrently yet. Any help is appreciated. I've
been stuck with this for a week.
org.springframework.web.util.NestedServletException: Request processing
failed; nested exception is
javax.persistence.TransactionRequiredException:
Exception Description: No transaction is currently active
org.springframework.web.servlet.FrameworkServlet.processRequ est(FrameworkServlet.java:583)
org.springframework.web.servlet.FrameworkServlet.doGet(Frame workServlet.java:501)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)