I downloaded tomcat and extracted all the files to my hard disk. I clicked on the startup.bat. Tomcat seems to be up abd running since I haven't got any error messages. I am using Win NT4.0 and netscape browser. I opened the browser and typed http://localhost:8080/. Netscape comes up with an error window saying that 'the document contained no data. Try again later or contact your sevrer's administrator". When I type http://127.0.0.1:8080/, it take me to a html page that talks about microsoft nt 4.0 option pack where something about internet server samples is mentioned. Can any one tell me how to run the samplet servlets that come with TomCat? I want to check if installation is perfect and tomcat is running. Thank you. [This message has been edited by sat (edited August 10, 2000).]
The first thing to do - run startup.bat from a MSDOS console window, don't click on it. The window will stay open and you can see if error messages result. You should set the environment variables TOMCAT_HOME and JAVA_HOME - here is the way mine look: JAVA_HOME=D:\JDK1.2 TOMCAT_HOME=C:\tomcat (I renamed C:\jakarta-tomcat as it is written by the zip file)
Joined: Jul 03, 2000
Thanks William. I already did what you said. I haven't done any changes but it is working now. The only difference is that I was connected to my office network earlier and now I am in a stand alone mode. Does it matter ?
I think I agree with satya. It doesn't seem to worked if I am connected through a network (in office). I try this whole think at home, Win 98, and it working fine. Do we need additional set-up in order for servlet examples to run in Win NT? Somebody help? Thanks in advance! Chow!