This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
This is an NT4.0 with SP6. 1. I have Tomcat3.1 'zip' & is extracted in d:\Tomcat directory. 2. PATH, CLASSPATH, J2EE_HOME=e:\j2sdkee1.2, JAVA_HOME=d:\jdk1.3 & TOMCAT_HOME=d:\Tomcat have been properly set. I use 'tomcat start' or 'tomcat run' in a proper 'command.com' console (with 8096 environment space), the response from the system is: "The name specified is not recognized as an internal or external command, operable program or batch file. Using classpath: ...<entire classpath>....". How to ascertain if the server is running? Setup is okay? Anything else to be run, started, built? thanks --Shiny
It sounds like something failed in the start.bat or tomcat.bat files. Comment out the @echo at the start of the files so you can see what is failing. If startup succeeds, you should get a 2nd window where Tomcat is running. Bill
Shiny: let me share my wisdom from yesterday night..... Last night when I was trying to get my jSDK server to run, I noticed that a new window is started and immediately dies. ofcourse I got similar msgs on the browser saying file not found whats that number ...404 ? whatever... My trick was to use the Pause button on the keyboard in the new window and temporarily stop the server run. Doing this some 20-25 times, I could catch the error...everytime I started the jsdk server (jsdk2.1\startserver) I was getting an exception in the new window and so it died.... The fix was that my classpath was missing a jar file.... I put all the jar files in the classpath and it worked fine. Btw, today night I will be trying the Tomcat, I have already downloaded it. BTW, if you use pause key then you could continue using the CTRL-C combination.... Best of luck... - the satya (much wiser than yesterday night) did you see my other post and discussions with Rahul..
Thanks Bill & Satya. I got it working finally. But I think I need to provide 'xml.jar' for enhancing its functionality. But I saw some messages between developers contributing to this 'tomcat' project that 'xml.jar' has been nullified & has been packaged as 'ant.jar'. I don't know what's the exact status now... anyway my hunt goes on....... Satya: Yes, I followed your disco.. with rahul...till both of you slept off regards --Shiny