startup « Tomcat « JPA Q&A





1. Adding DataSource for Hibernate when Tomcat already startup.    coderanch.com

Hi, My project uses Hibernate to lookup datasource. The datasource name is in the hibernate.cfg.xml file. The rule of my web app is that the datasource info will be written in to the server.xml file after Tomcat 5.5 already startup. I follow the rule but when I start up Tomcat 5.5, it has an error because Hibernate Configuration needs a datasource ...

2. Tomcat 5 and Hibernate 2.1 startup issue    forum.hibernate.org

Hi, I'm having problems deploying my hibernate project which works fine under tomcat 4, but reports the following warning at startup with tomcat 5: WARN net.sf.hibernate.xml.XMLDatabinder - Problem opening output stylesheet - databinding disabled javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: java.lang.IllegalStateException: can't declare any more prefixes in this context As anyone else experienced this? Is there a workaround? Is it a hibernate bug or a ...

3. tomcat hibernate startup slow    forum.hibernate.org

Newbie Joined: Thu Apr 06, 2006 4:38 am Posts: 7 I have a question when I startup the tomcat, I am using tomcat5, hibernate, mysql to build my web apps I have 3 web apps, the problem that I have is when I startup the tomcat, the follow message will show in the log, ------------------------------------------------------------------------------- 0 [main] INFO org.hibernate.cfg.Environment - Hibernate ...

4. Tomcat slow startup when in debug mode    forum.hibernate.org

When I try to start up tomcat in debug mode (via myeclipse tomcat plugin) on a struts/hibernate application, the initialization of Hibernate sessions goes from 4 seconds to 3.5 minutes. We created a struts plug in that initializes the hibernate configuration upon startup. The log file indicates that the longest amount of time occurs when configuring the ehcache. Here are some ...