Re: ClassLoader IllegalStateException

2006-03-06 Thread Artur Rataj
To turn it off, set reloadable="false" in the context definition of your app. I do not know where you have it defined, it might be tomcat's server.xml or context.xml of your app. I am not sure if it will work -- I have used applications listeners to stop the threads, which was very easy. Artur --

Re: ClassLoader IllegalStateException

2006-03-06 Thread Matteo Barbieri
Artur Rataj ha scritto: It might that it unloaded an app. You may turn off app unloading/reloading in serwer.xml. How to do this? Is the server.xml in conf/ ? How to turn off? Thank you a lot - To unsubscribe, e-mail: [E

Re: ClassLoader IllegalStateException

2006-03-06 Thread Artur Rataj
It might that it unloaded an app. You may turn off app unloading/reloading in serwer.xml. Or start and stop threads using listeners. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ClassLoader IllegalStateException

2006-03-06 Thread Matteo Barbieri
Artur Rataj ha scritto: >One of the reasons might be that you have stray threads that do not >stop when Tomcat tries to stop. > But Tomcat has not to stop. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: ClassLoader IllegalStateException

2006-03-06 Thread Artur Rataj
One of the reasons might be that you have stray threads that do not stop when Tomcat tries to stop. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ClassLoader IllegalStateException

2006-03-06 Thread Matteo Barbieri
Any idea? :( - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ClassLoader IllegalStateException

2006-03-02 Thread Matteo Barbieri
Filip Hanik - Dev Lists ha scritto: > 1. where in the tomcat directory structure is the mysql jdbc driver > JAR file stored? webapps/my-application/WEB-INF/lib/mysql-connector-java-3.1.12-bin.jar > > 2. when does this happen? all the time? or as soon as you have more > than one browser connect?

Re: ClassLoader IllegalStateException

2006-03-02 Thread Filip Hanik - Dev Lists
1. where in the tomcat directory structure is the mysql jdbc driver JAR file stored? 2. when does this happen? all the time? or as soon as you have more than one browser connect? 3. are you using a connectionpool? 4. how are you closing your connections? Matteo Barbieri wrote: Filip Hanik -

Re: ClassLoader IllegalStateException

2006-03-02 Thread Filip Hanik - Dev Lists
ok, there could be plenty of things. but basically this is what is happening: one of your JDBC connections is being garbage collected. When this happens, it tries to close itself and in doing so, it needs to load a class. But the webapp is in a state where it has stopped (either been stopped, o

Re: ClassLoader IllegalStateException

2006-03-02 Thread Matteo Barbieri
Filip Hanik - Dev Lists ha scritto: > what is a "client"? browser? > Yes, browser. > if the webapp has stopped, or is stopping, that means that the .war > file or WEB-INF/web.xml timestamp changed, and the webapp might be > reloading. > more info would be needed for further analysis > Filip the

Re: ClassLoader IllegalStateException

2006-03-02 Thread Filip Hanik - Dev Lists
what is a "client"? browser? if the webapp has stopped, or is stopping, that means that the .war file or WEB-INF/web.xml timestamp changed, and the webapp might be reloading. more info would be needed for further analysis Filip Matteo Barbieri wrote: Hi, I have a web application that uses Tom

Re: ClassLoader IllegalStateException

2006-03-02 Thread Matteo Barbieri
Sorry, the correct exception is: 2-mar-2006 16.14.00 org.apache.catalina.loader.WebappClassLoader loadClass 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 de