Hi!

I have a following problem when I try to start tomcat:

[ Jun  3 16:49:17 Executing start method ("/opt/webstack/lib/svc/method/tomcat5 
start") ]
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
[ Jun  3 16:49:17 Method "start" exited with status 1 ]

# ls -al /usr/java
lrwxrwxrwx   1 root     root          11 Jun  3 16:32 /usr/java -> jdk1.6.0_14

# /usr/java/bin/java -version
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Server VM (build 14.0-b16, mixed mode)

Any ideas? jdk is one for Solaris from an archive from Sun website.... I 
extracted both i586 & x64 versions...
Interesting thing is that if I try to run:

# /opt/webstack/lib/svc/method/tomcat5 start
Using CATALINA_BASE:   /var/opt/webstack/tomcat/5.5
Using CATALINA_HOME:   /opt/webstack/tomcat/5.5
Using CATALINA_TMPDIR: /var/opt/webstack/tomcat/5.5/temp
Using JAVA_HOME:       /usr/java

# ps -ef | grep java
    root  1251     1   0 16:56:22 pts/1       0:04 /usr/java/bin/java 
-Djava.util.logging.config.file=/var/opt/webstack/tomcat/5.5

So something is started ad it seems.

Any ideas?!?!
-- 
This message posted from opensolaris.org

Reply via email to