I have installed Tomcat 3.1 and followed the instruction as suggested by jakarta.apache.org. I am trying to start tomcat using 'startup' script after setting all environment variables. But it looks like that the server is not getting started since i am not able to get anything if i type http://localhost:8080/ on browser. How do u know whether the script ran successfully and server is running. In my case it opens a new dos window and close it immedialtely. I cannot see what is happening in new window. Could somebody help me in configuring tomcat. Thanks in advance
Be sure you have the CLASSPATH properly setup. Then you can check whether your browser bypass the proxy server. Try to follow this step.. From IE5... 1. Click Tools menu then select Internet options 2. Click on the Connection tab 3. Click on the Lan Settings 4. Click on the check box that says "Bypass Proxy server for local address" (you should check this box) 5. Start your tomcat server 6. Start IE5 7. type http://localhost/examples That's it! Hope it Helps!
pk: If the DOS window closes, it means the server is not running. The console (DOS window) should stay open.
Originally posted by pk: How do u know whether the script ran successfully and server is running. In my case it opens a new dos window and close it immedialtely. I cannot see what is happening in new window.
Generally, it happens if the classpaths are not OK and TOMCAT & JAVA HOME variables are not setup properly. If you have installed the server in C:\tomcat, see c:\tomcat\doc\uguide\tomcat_ug.html. Then, you can move on to setting the context paths in server.xml. Consult Chapter 10 of JSP API doc for setting up applications. You can download the API doc from java.sun.com. Good luck! RM
[This message has been edited by R Mutum (edited September 07, 2000).]
pk: what was told abv is 100 % true. I have experienced the same thing you said. A dos window starts up and dies instantaneously. What I did was, as soon as it starts, try to hit <CTRL>S and you may see an error like the one below: (to come out hit <CTRL>C Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/web/shell/ In my case, the CLASSPATH was wrong as mentioned abv. I was using JSDK2.1 and I set it to JDSK2.1 Do you see the problem ? Ofcourse I shamelessly agree that it took me abt four hrs to figure it out. And ofcourse now I am trying to use tomcat and have a problem of my own...could someone help me with my posting... Regds. - satya