• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Illegal access: this web application instance has been stopped already.

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear members,

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.

or,

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

 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!