• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

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

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Clowns were never meant to be THAT big! We must destroy it with this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic