Well-spotted Jason. I followed your steps below (pretty much) and TC 4.1.24 started OK. (Step1: CATALINA_HOME must be defined. Step2: I cleared the jars from JAVA_HOME\jre\lib\ext)
After a 'vanilla' jdk 1.4.1_03 install, JAVA_HOME\jre\lib\ext contains the following: dnsns.jar ldapsec.jar localedata.jar sunjce_provider.jar I had also added the following, since these were needed by my app when I was using Tomcat 4.0.1. After removng these from the jdk 1.4.1_03\jre\lib\ext, TC 4.1.24 starts OK. activation.jar commons-beanutils.jar commons-collections.jar commons-dbcp.jar commons-digester.jar commons-logging.jar commons-pool.jar commons-services.jar commons-validator.jar imap.jar jdbc2_0-stdext.jar mail.jar mailapi.jar pgjdbc2.jar pop3.jar smtp.jar struts.jar I guess there is still some confusion in my mind about where jars should go. When I was using Tomcat 4.0.1, this 2nd batch of jars should probably have never gone into the JDK ext directory to begin with, but somewhere in the Tomcat 4.0.1 tree. (I noticed that most of these are now included with TC 4.1.24 in the <TOMCAT_HOME>/common/lib. The webapp-specific jars (struts, pgjdbc) should probably go in <webapp>/WEB-INF/lib (unless *all* the web-apps are using them). Jason, do you know of some good links that can shed some light on this issue in general, as well as, on class loading? Other 'quirks' I have come across in the past must be related to this. I recall trying to use JasperReports (requires XML parser), and had a hell of a time trying to sort out how many versions of Xerces were laying around and where they should be, etc. Regards - Mark -----Original Message----- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 4:26 PM To: Tomcat Users List Subject: Re: tomcat 4.1.24 + sdk 1.4.1_03 + Win 2000 Can you try the below for me? 1. Delete the CATALINA_HOME environment variable 2. Make sure your JDK install is a vanilla install ie. you haven't put anything in JAVA_HOME\lib\ext 3. Install Tomcat 4.1.24 somewhere like C:\tomcat4 just by extracting the full zip file. 4. REBOOT 5. From the command line run C:\tomcat4\bin\startup.bat --> startup.log If it works brilliant, if it doesn't can you post the contents of startup.log? Thanks, -- Jason Bainbridge http://jblinux.org On Wed, 25 Jun 2003 10:12, Mark Hayes wrote: > I tried two suggestions (don't use LFN's. Comment out MBeans support) but > symptom persists. See env var settings below. I have not made any changes > to jar's in the endorsed directory. > > C:\Program Files\Apache Group\Tomcat 4.1\bin>catalina run > Using CATALINA_BASE: C:\Progra~1\Apache~1\Tomcat~1.1 > Using CATALINA_HOME: C:\Progra~1\Apache~1\Tomcat~1.1 > Using CATALINA_TMPDIR: C:\Progra~1\Apache~1\Tomcat~1.1\temp > Using JAVA_HOME: C:\j2sdk1~1.1_0 > Jun 25, 2003 9:28:55 AM org.apache.commons.digester.Digester startElement > SEVERE: Begin event threw exception > java.lang.ClassNotFoundException: org.apache.catalina.core.StandardServer > > Installation Directories: > C:\Program Files\Apache Group\Tomcat 4.1\bin > C:\j2sdk1.4.1_03 > > Env Var's: > CATALINA_HOME=C:\Progra~1\Apache~1\Tomcat~1.1 > JAVA_HOME=C:\j2sdk1~1.1_0 > > ---------------- > > I too am getting an uneasy feeling that Windows (registry?) is confused. I > tried all this on another machine at home and it worked OK. If I recall, I > may have installed the TC 1.4.1_03 exe before uninstalling the TC 4.0.1 > exe. I have since uninstalled all TC installs and installed only the TC > 1.4.1_03 exe. I have looked threw the Win registry for things that might > be out of wack, but most of the entries seem rather benign. > Pray tell this does not require a windows reinstall. > > -----Original Message----- > From: Jason Bainbridge [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 25, 2003 3:03 AM > To: Tomcat Users List > Subject: Re: tomcat 4.1.24 + sdk 1.4.1_03 + Win 2000 > > > It sounds like it is getting confused with your various Tomcat installs, > what > are the environment variables you have got set? > > A post in the archive suggested editing out the JMX MBeans stuff in > server.xml > and it worked for the original poster, so if you don't need it (if you > don't know what it is it is likely that you don't) so in server.xml comment > out the > following: > > <!-- Uncomment these entries to enable JMX MBeans support --> > <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" > debug="0"/> > <Listener > className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" > debug="0"/> > > I would be more tempted to look more at the environment variables and > possible > problems from the long paths though as a proper solution. > > Regards, > -- > Jason Bainbridge > http://jblinux.org > > On Tue, 24 Jun 2003 17:32, Mark Hayes wrote: > > Unable to start Tomcat 4.1.24 with sdk 1.4.1_03 on Windows 2000 > > > > ClassNotFoundException: org.apache.catalina.core.StandardServer > > > > C:\Program Files\Apache Group\Tomcat 4.1\bin>catalina run > > Using CATALINA_BASE: C:\Program Files\Apache Group\Tomcat 4.1 > > Using CATALINA_HOME: C:\Program Files\Apache Group\Tomcat 4.1 > > Using CATALINA_TMPDIR: C:\Program Files\Apache Group\Tomcat 4.1\temp > > Using JAVA_HOME: C:\j2sdk1.4.1_03 > > Jun 24, 2003 5:22:15 PM org.apache.commons.digester.Digester startElement > > SEVERE: Begin event threw exception > > java.lang.ClassNotFoundException: org.apache.catalina.core.StandardServer > > > > Have struggled with this for 2 days. Symptom occurs with LE version, > > non-LE > > > version, exe version, and zip version Symptom occurs with earlier > > version of TC 4.1.x (4.1.12). TC 4.0.1 starts OK on sdk 1.4.1_03 > > > > I am using "catalina run" to invoke Tomcat from the Tomcat bin directory. > > JAVA_HOME and CATALINA_HOME are both set. > > > > StandardServer is in C:\Program Files\Apache Group\Tomcat > > 4.1\server\lib\catalina.jar > > > > Has anyone encountered this? Have tried numerous uninstall/reinstall and > > search hi and low with no success. > > > > > > > > - ----------------------------------------------------- > > COL Ltd in Hong Kong has checked this message for all > > known viruses using SkyScan-AV powered by MessageLabs. > > For information on this service e-mail [EMAIL PROTECTED] > > or visit www.col.com.hk > > - ----------------------------------------------------- > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - ----------------------------------------------------- > COL Ltd in Hong Kong has checked this message for all > known viruses using SkyScan-AV powered by MessageLabs. > For information on this service e-mail [EMAIL PROTECTED] > or visit www.col.com.hk > - ----------------------------------------------------- > > > - ----------------------------------------------------- > COL Ltd in Hong Kong has checked this message for all > known viruses using SkyScan-AV powered by MessageLabs. > For information on this service e-mail [EMAIL PROTECTED] > or visit www.col.com.hk > - ----------------------------------------------------- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - ----------------------------------------------------- COL Ltd in Hong Kong has checked this message for all known viruses using SkyScan-AV powered by MessageLabs. For information on this service e-mail [EMAIL PROTECTED] or visit www.col.com.hk - ----------------------------------------------------- - ----------------------------------------------------- COL Ltd in Hong Kong has checked this message for all known viruses using SkyScan-AV powered by MessageLabs. For information on this service e-mail [EMAIL PROTECTED] or visit www.col.com.hk - ----------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
