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
|