The JVM Bind means that a socket that the old class was bound to is still open and the new version of the class is trying to open a socket on the same port and can't. Is there a TCP/IP listener in your class?? You might need to put a means of shutdown into the class so it will cleanly close any open sockets before you try to reload it.
Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -----Original Message----- From: kelly, Burrowa [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 12, 2002 10:14 PM To: Tomcat Users List Subject: Re: JVM Bind error > During runtime when I change a class file, tomcat > 4.0.3 is supposed to reload that class(due to > reloadable=true in server.xml). But instead, I > get some JVM Bind error. > To be more specific, the error is: WebappClassLoader: Resource '/WEB-INF/classes/TestCC.class' was modified; Date is now: Mon May 13 10:46:56 IST 2002 Was: Mon May 13 10:32:40 IST 2002 java.net.BindException: Address in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:452) at java.net.ServerSocket.<init>(ServerSocket.java:170) at java.net.ServerSocket.<init>(ServerSocket.java:82) at TestServer.startServer(TestServer.java:22) at TestRun.run(TestRun.java:45) at java.lang.Thread.run(Thread.java:484) Cannot start engine: Address in use: JVM_Bind Any idea about whats going wrong here? __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>