-->
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.  [ 3 posts ] 
Author Message
 Post subject: struts, hibernate, mysql problem
PostPosted: Thu Apr 06, 2006 4:42 am 
Newbie

Joined: Thu Apr 06, 2006 4:38 am
Posts: 7
I am using eclipse, struts, hibernate, mysql, tomcat to run my web application. When I try to run more than one application that using hibernate, then all the application will crash. I am only able to run one application at a time and keep changing the host in server.xml if I want to run other application that use hibernate.
This problem occur only when I run more than one application that using hibernate. So is anyone know why does this happen??? help plx..........


Last edited by chun499 on Thu Apr 06, 2006 9:40 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 06, 2006 6:49 am 
Newbie

Joined: Thu Nov 17, 2005 12:59 pm
Posts: 18
In what way do you run more than one application? I mean haw do you run more than one tomcat instance and what exception have you?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 06, 2006 9:35 pm 
Newbie

Joined: Thu Apr 06, 2006 4:38 am
Posts: 7
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)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.