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 ...
- 04-13-2007 #1
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
- 04-13-2007 #2Linux 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


Reply With Quote