ORM With Tomcat

I tried to use ORM with Tomcat.
When execute the sample selvlet:
org.orm.PersistentException: Failed to create ThreadBaseSessionController
at org.orm.util.ThreadBaseSessionController.(ThreadBaseSessionController.java:29)
at org.orm.PersistentManager.(PersistentManager.java:77)
at fyp.orm.FYPWSPersistentManager.(FYPWSPersistentManager.java:31)
at fyp.orm.FYPWSPersistentManager.instance(FYPWSPersistentManager.java:41)
at ormsamples.RetrieveAndUpdateFYPWSData.retrieveAndUpdateTestData(RetrieveAndUpdateFYPWSData.java:10)
at ormsamples.SampleServlet.doGet(SampleServlet.java:25)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at ormsamples.FYPWSFilter.doFilter(FYPWSFilter.java:54)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:831)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1203)
at java.lang.Thread.run(Unknown Source)
Caused by: org.hibernate.HibernateException: Could not locate TransactionManager
at org.hibernate.transaction.JNDITransactionManagerLookup.getTransactionManager(JNDITransactionManagerLookup.java:26)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:301)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)
at org.orm.util.ORMSessionFactory.(ORMSessionFactory.java:17)
at org.orm.util.ThreadBaseSessionController.(ThreadBaseSessionController.java:26)
… 22 more
Caused by: javax.naming.NameNotFoundException: Name javax.transaction.TransactionManager is not bound in this Context
at org.apache.naming.NamingContext.lookup(NamingContext.java:769)
at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136)
at javax.naming.InitialContext.lookup(Unknown Source)
at org.hibernate.transaction.JNDITransactionManagerLookup.getTransactionManager(JNDITransactionManagerLookup.java:23)
… 26 more

What is the problem

Hi Kit,

Thank you for the bug report. The problem is fixed. Please perform an update to advance to the latest release. You can update the tool by running the updater under $vp-suite-install-dir/bin

Please remove the value of TransactionManagerLookup class and TransactionFactory class. For details, please refer to the attachment.

Best Regards,
Jick
tomcat_orm.PNG