title: java.lang.IllegalStateException while reloading Tomcat
body: <p>I'm working on Spring with Hibernate application, It's working fine but while starting or reloading tomcat server, i'm getting <code>java.lang.IllegalStateException</code> Exception.</p>
  
  <p>Can anybody explain, why this exception occurring and how to resolve it??    </p>
  
  <p><code>INFO: Illegal access: this web application instance has been stopped already. Could not load java.net.BindException. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact. 
  java.lang.IllegalStateException
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1600)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
      at com.mysql.jdbc.SQLError.createLinkFailureMessageBasedOnHeuristics(SQLError.java:1220)
      at com.mysql.jdbc.exceptions.jdbc4.CommunicationsException.&lt;init&gt;(CommunicationsException.java:57)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      at java.lang.reflect.Constructor.newInstance(Unknown Source)
      at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
      at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
      at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3270)
      at com.mysql.jdbc.MysqlIO.quit(MysqlIO.java:1659)
      at com.mysql.jdbc.ConnectionImpl.realClose(ConnectionImpl.java:4296)
      at com.mysql.jdbc.ConnectionImpl.cleanup(ConnectionImpl.java:1265)
      at com.mysql.jdbc.ConnectionImpl.finalize(ConnectionImpl.java:2667)
      at java.lang.System$2.invokeFinalize(Unknown Source)
      at java.lang.ref.Finalizer.runFinalizer(Unknown Source)
      at java.lang.ref.Finalizer.access$100(Unknown Source)</code></p>