Re: Windows Migration 5.5.23 to 6.0.18 - java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
Hi Dan You need to set CATALINA_HOME variable pointingo to your installation directory. Flavio regards Dan d...@tipjarawards.com gravou em 21/01/2009 14:27:27: I am migrating from 5.5.23 on Windows to 6.0.18. I have installed the Windows Service binary download and can start up the server fine with the installation defaults. I then point CATALINA_BASE to my actual tomcat base directory that I use for my project with 5.5.23 and I get the following: java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:215) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:390) What other changes should I make after installation? With 5.5.23 that was all that was necessary, is there another step to use a custom catalina base with 6.x? Are they not backwards-compatible in this sense? Thanks, Dan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Windows Migration 5.5.23 to 6.0.18 - java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
CATALINA_HOME is pointing there, that is the default from the installtion. Here is the view of the tomcat service params: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 6.0.18 -Dcatalina.base=c:\dev\tomcat -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 6.0.18\endorsed -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 6.0.18\temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=C:\Program Files\Apache Software Foundation\Tomcat 6.0.18\conf\logging.properties Thanks, Dan -Original Message- From: Flavio Crispim [mailto:flavio.cris...@sulamerica.com.br] Sent: January-21-09 11:46 AM To: Tomcat Users List Subject: Re: Windows Migration 5.5.23 to 6.0.18 - java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina Hi Dan You need to set CATALINA_HOME variable pointingo to your installation directory. Flavio regards Dan d...@tipjarawards.com gravou em 21/01/2009 14:27:27: I am migrating from 5.5.23 on Windows to 6.0.18. I have installed the Windows Service binary download and can start up the server fine with the installation defaults. I then point CATALINA_BASE to my actual tomcat base directory that I use for my project with 5.5.23 and I get the following: java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:215) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:390) What other changes should I make after installation? With 5.5.23 that was all that was necessary, is there another step to use a custom catalina base with 6.x? Are they not backwards-compatible in this sense? Thanks, Dan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Windows Migration 5.5.23 to 6.0.18 - java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
From: Flavio Crispim [mailto:flavio.cris...@sulamerica.com.br] Subject: Re: Windows Migration 5.5.23 to 6.0.18 - java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina You need to set CATALINA_HOME variable pointingo to your installation directory. That's not useful in any way. The OP is running Tomcat as Windows service, so environment variables are ignored. Any necessary settings (including location of the Tomcat code) must be done via the tomcat6w.exe program. Note that once the service is installed, the location of the tomcat6.exe program *cannot* be changed, but catalina.home and catalina.base system properties can. If you want to run tomcat6.exe from a different location, you'll need to download the .zip (not .exe) package, install it where you want, then use the service.bat script to create the service. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Windows Migration 5.5.23 to 6.0.18 - java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
From: Dan [mailto:d...@tipjarawards.com] Subject: RE: Windows Migration 5.5.23 to 6.0.18 - java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina -Dcatalina.base=c:\dev\tomcat And what's under c:\dev\tomcat? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Windows Migration 5.5.23 to 6.0.18 - java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
I haven't changed anything from the default installation. I did the following: 1. Installed 6.0.18 as windows service 2. Launch the service after a successful installation, no problems it starts. Tried the tomcat6.exe directly, no problems. 3. Click the service tray icon to change the -Dcatalina.base directory to c:\dev\tomcat 4. Restart the service, it fails with the classnotfound exception as noted, same if I use tomcat6.exe. The c:\dev\tomcat contains my webapps etc. so it has a bin/conf/logs/shared/webapps/ directories. I'm really stumped on this one as I've used tomcat for years with no problems. Is there a CLASSPATH environment variable that needs to exist? Thanks, Dan -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: January-21-09 12:16 PM To: Tomcat Users List Subject: RE: Windows Migration 5.5.23 to 6.0.18 - java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina From: Dan [mailto:d...@tipjarawards.com] Subject: RE: Windows Migration 5.5.23 to 6.0.18 - java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina -Dcatalina.base=c:\dev\tomcat And what's under c:\dev\tomcat? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Windows Migration 5.5.23 to 6.0.18 - java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
2009/1/21 Dan d...@tipjarawards.com: I haven't changed anything from the default installation. I did the following: 1. Installed 6.0.18 as windows service 2. Launch the service after a successful installation, no problems it starts. Tried the tomcat6.exe directly, no problems. 3. Click the service tray icon to change the -Dcatalina.base directory to c:\dev\tomcat 4. Restart the service, it fails with the classnotfound exception as noted, same if I use tomcat6.exe. The c:\dev\tomcat contains my webapps etc. so it has a bin/conf/logs/shared/webapps/ directories. I'm really stumped on this one as I've used tomcat for years with no problems. Is there a CLASSPATH environment variable that needs to exist? You cannot use pre-existing 5.5 configuration to run Tomcat 6.0. You must copy the one from TC 6.0 installation and tune it accordingly. Your specific problem is caused by the differences in catalina.properties files (*.loader paths are different), but most of other configuration files are also different between versions (though similar). CLASSPATH variable is not needed. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Windows Migration 5.5.23 to 6.0.18 - java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
From: Dan [mailto:d...@tipjarawards.com] Subject: RE: Windows Migration 5.5.23 to 6.0.18 - java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina The c:\dev\tomcat contains my webapps etc. so it has a bin/conf/logs/shared/webapps/ directories. The classloading hierarchy has changed in Tomcat 6; in particular, there is no shared directory anymore, but there is a lib directory (under catalina.home). If you're missing that, you'll get the exception you noted. If you simply expect your 5.5 conf/server.xml and conf/*.properties files to work in Tomcat 6, you're sadly mistaken. I'm really stumped on this one as I've used tomcat for years with no problems. Read the doc for the current level, not what you've used for years. Things change. Is there a CLASSPATH environment variable that needs to exist? NEVER, NEVER, NEVER set the CLASSPATH variable for Tomcat. (Besides, services ignore environment variables.) - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Windows Migration 5.5.23 to 6.0.18 - java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
From: Caldarale, Charles R Subject: RE: Windows Migration 5.5.23 to 6.0.18 - java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina If you simply expect your 5.5 conf/server.xml and conf/*.properties files to work in Tomcat 6, you're sadly mistaken. You might want to read this: http://tomcat.apache.org/migration.html - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Windows Migration 5.5.23 to 6.0.18 - java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
I did read that but it didn't explicitly mention the change in the properties files etc. for classloader. I did expect the server to at least boot up with errors or something. Thanks for the help, will simply copy the installation default properties files to my base and should be good. Best, Dan -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: January-21-09 1:24 PM To: Caldarale, Charles R; Tomcat Users List Subject: RE: Windows Migration 5.5.23 to 6.0.18 - java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina From: Caldarale, Charles R Subject: RE: Windows Migration 5.5.23 to 6.0.18 - java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina If you simply expect your 5.5 conf/server.xml and conf/*.properties files to work in Tomcat 6, you're sadly mistaken. You might want to read this: http://tomcat.apache.org/migration.html - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org