Friends!! I have installed tomcat v4 in directory CATALINA_HOME (as per some java book). I have also set the environment variable JAVA_HOME. When i click on startup in Catalina_home/bin, the console screen comes and goes away. To check whether the tomcat has started or not, i open the browser and type in http://localhost:8080 but the reply i get is web page not found. Please help me what could be the problem. Thanks, FYI- I am using IE 5
Roseanee, I did that but i still face the same problem , the console window goes away after i clik startp.bat in bin directory. I have not setup iis or apache. Do i need to setup some web server first to get tomcat working?? Please help
You need to read the error message catalina tells you. Nobody can read them remotely. The other way is uninstall it, then reintall it. Actually catalina is much easier than the old tomcat. Oh, intall tomcat in directory called c:/tomcat, NOT C:/program files/apache group/jakarta-tomcat-4.0.3/... You might get a command line too long error if you install them the other way around. Then, catalina will not have a chance to write anything in her log. If necessary, you might need to uninstall/reinstall you Java to shorter the path too. Good luck!!! [ June 15, 2002: Message edited by: Roseanne Zhang ]
Thanks Roseanne. Atleast I came to know that i don't need apache. My startup.bat file is installed in following location c:\catalina\bin\bin\startup.bat my java is installed in following location c:\jdk1.3 I have the following environ ment variable setup JAVA_HOME = C:\jdk1.3 And lastly when i go to command prompt and type in these command c:\catalina\bin\bin\startup.bat i get the following messages : Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDR: ..\temp Using JAVA_HOME: C:\jdk1.3 after the one console windows with title "tomcat" comes for about 4 secs and goes away after that to check if tomcat has started or not i open the browser and type in http://localhost:8080 i don't get the desired default webpage. Please advise. Thanks,
Actually, I'm not sure that 8080 is the right port for Catalina. It MAY be 8180. They set it up that way so you could run both Tomcat 3 and 4 on the same machine simultaneously while using the default config files. Check your conf/server.xml file and you should be able to see what port you really need.
Sometimes the only way things ever got fixed is because people became uncomfortable.
The glass is neither half full or half empty. It is too big. But this tiny ad is just right: