Results 1 to 6 of 6

Thread: Set path to Tomcat servlet container?

  1. #1

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418

    Resolved Set path to Tomcat servlet container?

    According to the Tomat docs Catalina is the name of the servlet container which needs its path to be set in the autoexec.bat file.
    When i try to start up the server i get a message saying the CATALINA_HOME env variable is not defined correctly.
    Does this look right?
    Code:
    SET BLASTER=A220 I7 D1 T2
    SET SNDSCAPE=C:\WINDOWS
    SET JAVA_HOME=C:\jdk1.4.2
    SET PATH=%JAVA_HOME%\bin;%PATH%
    SET CATALINA_HOME=C:\Jakarta\jakarta-tomcat-5.0.12
    
    @SET CLASSPATH=C:\;C:\Java LF Graphics Repositoryjlfgr-1_0.jar;
    C:\j2sdk1.4.1_05\jre\lib\ext\mysql-commector-java-3.0.14-production-bin.jar;
    Last edited by Dilenger4; Nov 11th, 2004 at 08:07 PM.

  2. #2

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    All these are set via DOS. Everything is working fine so far. Does anyone know if these remain if the server is taken down then restarted?
    Code:
    C:\> set JAVA_HOME=C:\jdk1.4.2
    C:\> set PATH=%JAVA_HOME%\bin;%PATH%
    C:\Jakarta> set CATALINA_HOME=C:\Jakarta\jakarta-tomcat-5.0.28

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    They don't. Set them in Control Panel -> System -> Advanced -> Environment Variables.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  4. #4

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    Im stuck running Win98 for the time being until i can run OSx on this G5 ive been eyeing or mepis linux on another computer ive been looking at

  5. #5
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Then put the set commands into autoexec.bat.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  6. #6

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    That's what i did in the first place. If i dont get it to work dosent matter. Ill just set it on the fly, get the server up and leave it up.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width