-->
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 works in tomcat4 /does not in tomcat5
PostPosted: Tue Apr 06, 2004 5:32 am 
Newbie

Joined: Tue Apr 06, 2004 5:28 am
Posts: 1
Hi,

I'm using hibernate in our jsr portlet container. We are using tomcat4 so far as servlet container. Everything works fine. (using the 2.1.2 release). Now we want to move on to tomcat5 and we run into some problems with hibernate.

it looks like when I deploy the exact same code to tomcat5 hibernate has some strange behavior on

try {

session = factory.openSession();
...
} catch (Exception e) {
...
} finally {
...
}

it goes directly to finally without throwing an exception (at least what my debugger tells me).
Now I started using the three versions from cvs 2.0.x, 2.1 branch and 2.2 branch. Only the 2.0.x version seems to work with tomcat5 the others have the same problem with openSession?
I have to say I'm not that expert on tomcat but maybe somebody could help me here.

Thanks.

Oliver


Top
 Profile  
 
 Post subject: Exception?
PostPosted: Thu Apr 08, 2004 4:05 pm 
Newbie

Joined: Fri Feb 27, 2004 6:17 pm
Posts: 11
What's the exception?


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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.