I have few web applications and define different host for each application in web.xml..........
If there are only one application using hibernate, no matter how many hosts that I put in web.xml, everything still work fine............. but if there are more than one application using hibernate and when I run some function that need to use database through hibernate, the program will crash without any exception and error message........I think it's because the tomcat crash...........
I need to terminate tomcat, remove and leave only one appliation using hibernate in web.xml.
Therefore when I have two applications that use hibernate, I have to modify hosts in web.xml and restart tomcat to switch between those applications.
so is there anyone know why????
(I am using myeclipse, struts, mysql, tomcat)
|