Bhai, The problem is that you have a '\' character at the end of %CATALINA_HOME%. Instead of the following:
C:\Programs\jakarta-tomcat-4.0.3-src\dist\ set CATALINA_HOME to the following: C:\Programs\jakarta-tomcat-4.0.3-src\dist Patrick Bhai wrote: > > > > Hi, > > > > > > I have downloaded the tomcat source from TC web and have built it and > also created a distribution. But on my Win2K machine when I do "catalina > start" from the CATALINA_HOME\bin, it echoes the JAVA_HOME and CATALINA_HOME > and the CATALINA_BASE, it appears to open a new command window, which it > closes instantaneously. The port 8080 on my machine is not in use and > looking at the task manager it does not appear that the java instance is > running. > > > > > > Is there some other setting that I have to do other than setting the > java home and catalina home in order to run the distribution/build. my > catalina home is set to c:\...jakarta-tomcat-src\dist where ant created the > distributables. > > > > > > Please point me in the right direction. > > > > > > Thanks. > > > Bhai, > > > > It is hard to tell what is going on without capturing what is appearing in > the > > window that pops up. Try running "catalina run". This will keep all output > in > > the same window so that you can see the errors. > > > > Patrick > > Hello Patrick, > > That ran and I could see the output which I have pasted below. > > C:\Programs\jakarta-tomcat-4.0.3-src\dist\bin>catalina run > Using CATALINA_BASE: C:\Programs\jakarta-tomcat-4.0.3-src\dist\ > Using CATALINA_HOME: C:\Programs\jakarta-tomcat-4.0.3-src\dist\ > Using CATALINA_TMPDIR: C:\Programs\jakarta-tomcat-4.0.3-src\dist\\temp > Using JAVA_HOME: C:\j2sdk1.4.0 > Exception during startup processing > java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina > at > org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas > sLoader.java:1127) > at > org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas > sLoader.java:992) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:218) > > It cannot find the catalina.class file that is present in the catalina.jar > within the dist/servers/catalina.jar file. Can you help me out. > > Thanks. > > Bhai. > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- _____________________________________________________________________ Patrick Luby Email: [EMAIL PROTECTED] Sun Microsystems Phone: 408-276-7471 901 San Antonio Road, USCA14-303 Palo Alto, CA 94303-4900 _____________________________________________________________________ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>