I am not sure whether this is the correct Forum to post in.
I am developing an application with Struts2, Hibernate3 (XML based mapping), MySQL- in Tomcat6.0.20. IDE- Netbeans 6.7
I set the project properties "Deploy On Save" option in Netbeans.
When my application is running, If I make any changes in any part of my application, netbeans console shows the following Error in the
console while auto deploying:
again sometimes while auto deploying, it shows the following errors also:
Illegal access: this web application instance has been stopped already. Could not load java.net.BindException.
Illegal access: this web application instance has been stopped already.
Could not load com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException.
Every now and then it keeps me showing the error and in my development machine (Windows)- I can then re-run the application and make it work.
But the problem is- when I deploy the war in the remote Linux Server, the Application looses the database connection after some period- means no database driven actions are performed.
the results from the database are not shown, only the static resources are displayed. I can't see the log of that server also.
Now, I am not sure if it is a problem with the Hibernate configurations that I have made or any other, so that I am not sure what else should I post here.
I will paste my specific codes here if I anybody suggests.
would anybody point me out what might be going wrong?
Thanks in advance for any help