The problem is that the JAVA_HOME environment variable is not set
correctly - it has an equal sign in it (that's why its saying
"usr/java1.2=/bin/java: not found").  It also looks like the classpath has
the same issue.  I would suggest looking though the environment variables
and resetting them without the equals sign.  If they aren't in the
environment variables then look through the script, the shell might have a
different syntax for the set command in use.

        Randy

-----Original Message-----
From: Luba Powell [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 16, 2001 10:46 AM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat starting problem


Using classpath:
/user/staff/wapteam/tomcat=/lib/*:/user/staff/wapteam/tomcat/
./tomcat.sh: usr/java1.2=/bin/java: not found
 
This should be simple.  Just go thru each directory in you classpath 
and make sure that those directories indeed exist as well as their content.
Also make sure that your ENV variables are set correctly.
 
Regards,
L
 
----- Original Message ----- 
From: yilmaz 
To: [EMAIL PROTECTED] 
Sent: Saturday, June 16, 2001 4:14 AM
Subject: Re: Tomcat starting problem


Hi Luba,
dbs[160] startup.sh  was not part of the error message
it is the command i used to start the tomcat.
the following 
Using classpath:
/user/staff/wapteam/tomcat=/lib/*:/user/staff/wapteam/tomcat/
./tomcat.sh: usr/java1.2=/bin/java: not found

is the error message.
any help ?
thanks

----- Original Message ----- 
From: Luba Powell 
To: [EMAIL PROTECTED] 
Sent: Saturday, June 16, 2001 12:34 AM
Subject: Re: Tomcat starting problem


dbs[160] startup.sh

This an OS error, not tomcat.  Unix admin should be able to
help you
----- Original Message ----- 
From: yilmaz 
To: [EMAIL PROTECTED] 
Sent: Friday, June 15, 2001 11:58 AM
Subject: Tomcat starting problem


hi everyone
at first it looks as it is a very basic question
though not so..
i have installed tomcat nearly one month ago, on unix OS
everything went fine, it was working smoothly.
however, today when i tried to access the files i put in hte webapps
directory previously , i couldn't.
the server dosen't work anymore. the reason is that when the http server of
our campus restarted, all the 
environment variables set by users have been cancelled,
so i tried to set again according to the instructions on hte tomcat docs
as follows:
setenv TOMCAT_HOME  /user/staff/wapteam/tomcat
setenv JAVA_HOME  /usr/java1.2/
setenv CLASSPATH user/staff/wapteam/tomcat/bin
where tomcat is the directory that tomcat files reside
when i try to start the server by :
'startup.sh '   command
it gives the following error:
dbs[160] startup.sh
Using classpath:
/user/staff/wapteam/tomcat=/lib/*:/user/staff/wapteam/tomcat/
./tomcat.sh: usr/java1.2=/bin/java: not found
what is wrong ?
can someone help me , please?
thanks in advance :)
cheers

Reply via email to