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.
Hi all, I am new to Jakarta-Tomcat 5.0. I installed and set the environment variable as Tomcat_Home pointing to jakarata-tomcat dir. I even tried Catalina_Home pointing to the dir. But when i start the server my command prompt gets closed. Can anyone explain me what to do exactly to startup the server?. Please help me. Thanks
1. Note that those names are case sensitive so you want CATALINA_HOME and JAVA_HOME 2. Run the startup.bat from a Command Prompt window - NOT by clicking on it. 3. If a window opens and then immediately closes, change the line in startup.bat call "%EXECUTABLE%" start %CMD_LINE_ARGS% to call "%EXECUTABLE%" run %CMD_LINE_ARGS% This will cause the catalina.bat to continue in the open window. Hopefully an error message that makes sense will be preserved. 4. If you still can't figure it out, comment out the @echo off line at the start of catalina.bat to get a full listing. Bill
Joined: Nov 30, 2003
Actually i have set the enviornment variables in caps and tried doing startup from the commandprompt. I dont know why my command prompt closes as soon as i try to start up. Did you get what I am saying??? I would appreciate if anyone can help me on this Thanks