-->
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.  [ 6 posts ] 
Author Message
 Post subject: hibernate with tomcat
PostPosted: Tue Nov 15, 2005 3:00 am 
Newbie

Joined: Tue Nov 15, 2005 2:41 am
Posts: 3
i am tryiing to connect hibernate to tomcat and anyone of the online documentaion doesnt seems to help me. If someone who has already done it can please guide me it would be great.

Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:

Mapping documents:

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:

Name and version of the database you are using:

The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:


Top
 Profile  
 
 Post subject: how about these links?
PostPosted: Tue Nov 15, 2005 3:45 am 
Expert
Expert

Joined: Fri Jul 22, 2005 2:42 pm
Posts: 670
Location: Seattle, WA
http://www.hibernate.org/42.html
http://www.hibernate.org/43.html
http://www.hibernate.org/114.html

_________________
--------------
Konstantin

SourceLabs - dependable OpenSource systems


Top
 Profile  
 
 Post subject: reply
PostPosted: Tue Nov 15, 2005 3:17 pm 
Newbie

Joined: Tue Nov 15, 2005 2:41 am
Posts: 3
I am not sure how does this links help me in installing tomcat with hibernate


Top
 Profile  
 
 Post subject: confusion
PostPosted: Tue Nov 15, 2005 3:20 pm 
Expert
Expert

Joined: Fri Jul 22, 2005 2:42 pm
Posts: 670
Location: Seattle, WA
Well probably I do not understand what you are trying to accomplish. Please describe what exactly you want to get done.

_________________
--------------
Konstantin

SourceLabs - dependable OpenSource systems


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 15, 2005 10:25 pm 
Newbie

Joined: Tue Nov 15, 2005 2:41 am
Posts: 3
I amtrying to integrate tomcat with hibernate

I am making a project titled as online examination module for the middle layer which access the data layer I wanted to implememt hibernate in that. But the problem arises when I am integrating hibernate with tomcat and none of the online tutorial seems to help me. I am not able to understand the part server.xml


Top
 Profile  
 
 Post subject: war
PostPosted: Wed Nov 16, 2005 1:43 am 
Expert
Expert

Joined: Fri Jul 22, 2005 2:42 pm
Posts: 670
Location: Seattle, WA
Well, you need to create a standard web application (WAR) that will use Hibernate for ORM and deploy it on Tomcat.
There is nothing Tomcat specific about it.

Server.xml is Tomcat’s configuration file but you do not need to change it at all usually, except when want to define global resources there like data sources and mail sessions.

_________________
--------------
Konstantin

SourceLabs - dependable OpenSource systems


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 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.