-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Using http://hibernate.sourceforge.net/hibernate-mapping-3.0
PostPosted: Tue Dec 06, 2005 12:18 am 
Beginner
Beginner

Joined: Sun Dec 04, 2005 4:28 pm
Posts: 24
exception

javax.servlet.ServletException: Invoker service() exception
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:477)
org.apache.catalina.servlets.InvokerServlet.doPost(InvokerServlet.java:169)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause

java.lang.NoClassDefFoundError: javax/transaction/SystemException
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:141)
org.hibernate.id.IdentifierGeneratorFactory.class$(IdentifierGeneratorFactory.java:25)
org.hibernate.id.IdentifierGeneratorFactory.<clinit>(IdentifierGeneratorFactory.java:76)
org.hibernate.mapping.SimpleValue.createIdentifierGenerator(SimpleValue.java:152)
org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:181)
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
Upload.doPost(Upload.java:50)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:419)
org.apache.catalina.servlets.InvokerServlet.doPost(InvokerServlet.java:169)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 06, 2005 12:41 am 
Expert
Expert

Joined: Mon Jul 04, 2005 5:19 pm
Posts: 720
put jta.jar in the classpath


Top
 Profile  
 
 Post subject: JTA.jar in WEB-INF/lib of tomcat+hibernation 3
PostPosted: Tue Dec 06, 2005 1:28 am 
Beginner
Beginner

Joined: Sun Dec 04, 2005 4:28 pm
Posts: 24
dennisbyrne wrote:
put jta.jar in the classpath


Works.
Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 06, 2005 2:35 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
..and for the next time - put such questions in the user forum, not the tools forum. thanks.

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.