DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7207>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7207 Redeployment Problem under Tomcat 4.0.2 Summary: Redeployment Problem under Tomcat 4.0.2 Product: Tomcat 4 Version: 4.0.2 Final Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Installable Packages AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] A number of people have reported variations of this problem on Tomcat-users. - I do NOT have persistent sessions enabled in server.xml I can initially deploy a web app by placing the .war file in webapps dir. However, if I try to redeploy I run into problems. To re-deploy I ususally stop Tomcat, delete the current app directory and existing .war file, put the new .war file in webapps and restart Tomcat. Is it necessary to delete my current app directory? I need to GUARANTEE that any existing contents are totally removed. Using the above procedure I run into these problems: When I start Tomcat the log has the following: 2002-03-11 15:10:12 StandardContext[/Autoweb2]: Error initializing resources: Document base ..\webapps\Autoweb2 does not exist or is not a readable directory 2002-03-11 15:10:12 StandardContext[/Autoweb2]: Context startup failed due to previous errors 2002-03-11 15:10:12 StandardContext[/Autoweb2]: Exception during cleanup after start failed LifecycleException: Container StandardContext[/Autoweb2] has not been started at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1147) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3451) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3408) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardHost.start(StandardHost.java:614) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343) at org.apache.catalina.core.StandardService.start(StandardService.java:388) at org.apache.catalina.core.StandardServer.start(StandardServer.java:506) at org.apache.catalina.startup.Catalina.start(Catalina.java:781) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) If I create an app directory (Autoweb2) I instead get the following: 2002-03-11 15:13:45 WebappLoader[/Autoweb2]: Reloading checks are enabled for this Context 2002-03-11 15:13:45 StandardManager[/Autoweb2]: Seeding random number generator class java.security.SecureRandom 2002-03-11 15:13:45 StandardManager[/Autoweb2]: Seeding of random number generator has been completed 2002-03-11 15:13:45 StandardManager[/Autoweb2] ClassNotFoundException while loading persisted sessions: java.lang.ClassNotFoundException: com.athensgroup.autoweb2.forms.ListForm java.lang.ClassNotFoundException: com.athensgroup.autoweb2.forms.ListForm at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1394) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1243) at org.apache.catalina.util.CustomObjectInputStream.resolveClass(CustomObjectIn putStream.java:119) at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:918) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236) at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236) at org.apache.catalina.session.StandardSession.readObject(StandardSession.java: 1268) at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.j ava:810) at org.apache.catalina.session.StandardManager.load(StandardManager.java:411) at org.apache.catalina.session.StandardManager.start(StandardManager.java:617) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1104) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3345) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardHost.start(StandardHost.java:614) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343) at org.apache.catalina.core.StandardService.start(StandardService.java:388) at org.apache.catalina.core.StandardServer.start(StandardServer.java:506) at org.apache.catalina.startup.Catalina.start(Catalina.java:781) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) Note that persistent sessions is NOT enabled in server.xml, but the above seems to indicate that some type of persistence checking is running into problems. Using manager/remove on the app before replacement does not help! Specifying reloadable="false" does not help. If I manually explode the .war file, everything is fine. Frank Lawlor Athens Group, Inc. (512) 345-0600 x151 Athens Group, an employee-owned consulting firm integrating technology strategy and software solutions. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>