Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    $CATALINA_HOME and Tomcat question

    Hey all -

    I have successfully installed Apache Tomcat 5.5 from the Ubuntu repositories on my school's server machine, and after some minor fixes, it seems to be up and running.

    Visiting localhost on port 8180, however, produces a blank page. This makes sense though, as there are obviously no files in the Tomcat root directory ($CATALINA_HOME) for the JSP engine to display.

    I assumed that /usr/share/tomcat5.5/webapps is the directory that I would put such files, but after dropping some test files in there, obviously my intuition is wrong.

    I was reading some forum posts and it seems that installing the tomcat5.5-webapps package sets $CATALINA_HOME to /usr/share/tomcat5.5-webapps for you automatically.

    My question is, where the heck is $CATALINA_HOME defined/set by default if you install tomcat5.5 from the repositories? Also, how can I change this default - I can't figure out how to set it statically to a directory of my own choosing.


    PS - echoing $CATALINA_HOME from Bash shows nothing.

  2. #2
    Ideas? Kind of desperate here

  3. #3
    Linux Newbie
    Join Date
    May 2007

    Have you installed java(JDK) and set the environment variable for it? in addition, i think there is a configuration issue (maybe java), if tomcat is installed correctly the default page will appear with some jsp examples.


  4. $spacer_open
  5. #4
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    North Carolina
    yes, I believe you need to have JAVA_HOME set. what happens when you start tomcat from console, /usr/sbin/tomcat ???(can't remember exact location)

Posting Permissions

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