Find the answer to your Linux question:
Results 1 to 2 of 2
On a Suse 10.1 installation + Apache2, I have a fresh installation of Tomcat5.5, after uninstalling java, jakarta, tomcat, and deleting dirs and conf files. The installation comes from openSUSE ...
  1. #1
    Just Joined! dianelane's Avatar
    Join Date
    Jul 2006
    Posts
    6

    Error With Tomcat5

    On a Suse 10.1 installation + Apache2, I have a fresh installation of Tomcat5.5, after uninstalling java, jakarta, tomcat, and deleting dirs and conf files.
    The installation comes from openSUSE download repositories, java included.
    I install all packages via YAST, and set JAVA_HOME=/usr/share/java.

    Enabling tomcat in YAST fails with error 7

    Log files
    start.log
    (empty)

    catalina.out
    /usr/share/tomcat55/bin/catalina.sh: line 321: /usr/share/java/bin/java:
    No such file or directory

    java seems to be in /usr/share/java

    Now I set JAVA_HOME to blank (as it was from installation), and I start Tomcat55 from Yast.

    start.log
    No JAVA_HOME specified in @@@TCCONF@@@/tomcat55.conf and no java found

    If I exec
    cichis:/usr/share # which java
    /usr/bin/java
    cichis:/usr/share # ln -s /usr/bin/java /usr/share/java/bin/java
    ln: creating symbolic link `/usr/share/java/bin/java' to `/usr/bin/java': No such file or directory

    In /usr/bin/ there if already a file java

  2. #2
    Linux Newbie
    Join Date
    May 2006
    Location
    Kansas
    Posts
    187
    JAVA_HOME should be set to the directory where your java is installed. If it is set correctly, you should be able to do this:

    ls -l $JAVA_HOME/bin/java

Posting Permissions

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