Discussions

Web tier: servlets, JSP, Web frameworks: tomcat3.2 installation problem

  1. tomcat3.2 installation problem (6 messages)

    hi guys
      I have downloaded tomcat3.2 from jakarta site. I extracted into a folder c:\tomcat3.2. When i go to Dos prompt and invoked tomcatenv.bat from there. But i m getting
    the following error "Bad command or file name". I am using windows 98.
    Expecting ur reply

    sundar

    Threaded Messages (6)

  2. tomcat3.2 installation problem[ Go to top ]

    1. make sure you have JAVA_HOME envoromental variable pointing to your JDK wherever is installed
     
  3. tomcat3.2 installation problem[ Go to top ]

    1. make sure you have JAVA_HOME envoromental variable pointing to your JDK wherever it is installed, exp.
    JAVA_HOME C:\jdk1.3

    2. now you need enviromental variable TOMCAT_HOME that points to point to the root directory of your Tomcat hierarchy, in your case C:\Tomcat3.2.

    Once you have that setup, from the command prompt execute startup.bat. If setup was successeful in your tomcat\webapps directory you should see four folders ROOT, Admin, examples and one more. If you have that you are all set. Next thing you have to do is type http://localhost:8080
    and it will bring you to the tomcat's welcome page.

    Now, since you arerunning w98, you will have to modify autoexec.bat (this is where you will put your enviromental variables JAVA_HOME & TOMCAT_HOME), and probably need to restart your PC.

    I have tomcat configured on w2000, hope this will work for you.

    m,phx
     
  4. tomcat3.2 installation problem[ Go to top ]

    hi
      thanx for ur reply. I had setup my autoexec.bat based on your instructions. But i m getting the same error.

    please help
    sundar
  5. tomcat3.2 installation problem[ Go to top ]

    Try these links
    http://www.webappcabaret.com/javachina/tomcathowto.htm

    http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/uguide/tomcat_ug.html


  6. tomcat3.2 installation problem[ Go to top ]

    Also change the enviornmental problem by changin the memory of the offending dos window of tomcat from auto to 4096 bytes.

    this is required for tomcat to work.
  7. tomcat3.2 installation problem[ Go to top ]

    try this, when you're in DOS prompt, assuming you have installed tomcat in c:\tomcat, go to c:\tomcat\bin, then
    type: tomcat run

    this should start the server, i was getting all kinds of errors before i did this, but this seems to work.

    to stop the server: open another DOS window and

    type: tomcat stop

    --once the server has started correctly you should be able to access the default(ROOT) context, by typing

    http://localhost:8080 in your browser