This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
You should examing the startup.bat file - the first line (on my copy anyway) is @echo off perhaps your batch file is damaged? I suggest removing the @echo off so you can see error messages. (if any) Bill
Sanjay: Couple of things...i wonder what version of tomcat u r running.is it tomcat 3.1? also u as i know, the startup script is in the bin dir so i would expect you to give: c:\tomcat\bin\startup As an example on my sys. (win 98) i use: c:\jakarta-tomcat\bin\startup i am also a newbie to tomcat.... Please post further details, so we could help. Regds. - satya
Thanks guys it works now. I looked at the startup script. The startup.bat script calls tomcat.bat. And in tomcat.bat file while starting the server it creates a new window by 'start' command. This window was not getting close. I comment out the start command and allowed it to exceute in the same window, and it works fine. What do u think would be the problem, start command not getting enough memory?? Cheers Sanjay
Joined: Jun 03, 2000
Goto your MSDOS window, top left corner use right mouse button, pull-down menu, select "properties" Goto the memory tab and under the "Initial Environment" use something higher like 4096 or something. This is also explained in the JSDK and Tomcat helps. Regds. - satya
u could even start and stop using : tomcat start and tomcat stop from the command prompt. However, I have a concern. Could anybody please let me know how to associate Tomcat with the Apache server. What r the modifications to be made to the httpd.conf file of apache and should anything be modified in the tomcat config file..