Hard to say about everything.  But

/opt/java/bin/java

in your path is very suspicious. Check whether that is in fact the executable itself by just trying to execute

/opt/java/bin/java

It might be that you need /opt/java/bin in the path instead. I also would cd to /opt/java/jdk1.6.0_13/bin and do an ls to see what's there.

On May 14, 2009, at 2:02 PM, Dave Filchak wrote:

In trying to troubleshoot my ongoing issues with deploying a Tomcat app, I have been trying to track down any duplicate java/tomcat installs. I made some changes I thought would work and now when I issue the command:

which java, I get:

/usr/bin/which: no java in (/opt/java/bin/java:/usr/kerberos/sbin:/ usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/ sbin:/usr/bin:/usr/X11R6/bin:/opt/java/jdk1.6.0_13/bin:/root/bin)


So my next questions are going to be dumb I am sure but please bear with me as I try to learn this stuff:

Here is my environment:

Using CATALINA_BASE:   /opt/tomcat
Using CATALINA_HOME:   /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME:       /usr/opt/jdk1.6.0_13
Server version: Apache Tomcat/6.0.18
Server built:   Jul 22 2008 02:00:36
Server number:  6.0.18.0
OS Name:        Linux
OS Version:     2.6.9-34.ELsmp
Architecture:   amd64
JVM Version:    1.6.0_13-b03
JVM Vendor:     Sun Microsystems Inc.

My $PATH is: /opt/java/bin/java:/usr/kerberos/sbin:/usr/kerberos/ bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/ usr/X11R6/bin:/opt/java/jdk1.6.0_13/bin:/root/bin

But I get the error when I run which java.

I guess what I am asking is if the jdk I have installed the only java install I need and if so, why does which not find java at all?

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to