-->
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.  [ 2 posts ] 
Author Message
 Post subject: Hibernate and Tomcat Realm
PostPosted: Fri Sep 12, 2003 5:32 am 
Newbie

Joined: Fri Sep 12, 2003 5:17 am
Posts: 3
Hello,
I am writing a Web Application on Tomcat 4.1.
I am using Hibernate for all my business objects, and I wanted to write a Tomcat Realm to use one of those objects (User's object).

I have encountered a big problem :
- When I want to declare the use of my custom's realm within the webapp context, Hibernate is not yet initialised. (It may not be a pb ?)

- My custom Realm implements catalina.realm.Realm and the library isn't accessible from the context. If i put catalina.jar, in Common/lib, tomcat doesn't work.

So Tomcat stopped.
Is anyone has resolved this kind of problem ? Do you have an example of custom tomcat Realm which use hibernate managed objects ?

Thank you very much for your help,
Excuses my poor english.

Bruno


Top
 Profile  
 
 Post subject: Re: Hibernate and Tomcat Realm
PostPosted: Wed Feb 08, 2006 9:16 am 
Beginner
Beginner

Joined: Mon Jan 30, 2006 2:28 am
Posts: 47
Location: INDIA
Try to see this application sample link
http://www.laliluna.de/first-hibernate- ... orial.html
It's useful for u. Try to Use IDE eg. myeclipse. and deploy into tomcat server.

_________________
A.Edward Durai
"The things which are impossible with men are possible with God."


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.