share « Tomcat « JPA Q&A





1. How can multiple webapps in the same tomcat instance share database connection pool?    stackoverflow.com

Having in mind that each webapp has its own separate database (but all databases are in the same database server). The scenario is that I have a multi-tenant saas application - I ...

2. Sharing Hibernate on multiple Tomcat instances    stackoverflow.com

I have 4 web applications, that have a common reference to an Hibernate implementation but that run on different Tomcat instances. And so, for example, a connection pool configured in Hibernate ...

3. Tomcat Cross Context Sharing of SessionFactory    forum.hibernate.org

I am working on a solution for this problem: we have multiple web-apps that build a large number of Session Factories (up to 30) with large class maps which are taking up a large amount of space - we have the potential to soon run into memory usage issues if we keep doing this. Overview: We have at least 3 contexts ...

4. Sharing a single Hibernate instance: Tomcat 5.5    forum.hibernate.org

I have a series of applications which all use Hibernate and, at the moment, exist in the same Tomcat 5.5 container. As each app is in a different context Hibernate is deployed and loaded by the container for each app. The disadvantage of this is that the 2nd level cache must be disabled or at least minimized to ensure consistency across ...

5. Hibernate on a Shared Tomcat    forum.hibernate.org

I have been struggling to upload my application with my hosting service provider i.e. GoDaddy.com - I named them but i think it will be case with most of the shared hosting service providers. For running and executing the code we need following permissions in the policy file. permission java.lang.RuntimePermission "getProtectionDomain"; permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; But hosting service providers do not provide ...