You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by yilmaz <s9...@ntut.edu.tw> on 2001/06/15 17:58:08 UTC
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
Re: Tomcat starting problem
Posted by Luba Powell <lu...@bellatlantic.net>.
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: tomcat-user@jakarta.apache.org
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: tomcat-user@jakarta.apache.org
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: tomcat-user@jakarta.apache.org
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
Re: Tomcat starting problem
Posted by yilmaz <s9...@ntut.edu.tw>.
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: tomcat-user@jakarta.apache.org
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: tomcat-user@jakarta.apache.org
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
Re: Tomcat starting problem
Posted by Luba Powell <lu...@bellatlantic.net>.
dbs[160] startup.sh
This an OS error, not tomcat. Unix admin should be able to
help you
----- Original Message -----
From: yilmaz
To: tomcat-user@jakarta.apache.org
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
RE: Tomcat starting problem
Posted by Filip Hanik <ma...@filip.net>.
somehow, your environment variables are getting screwed up, there is an "="
sign to much in there
try to edit startup.sh directly or tomcat.sh and do the command inside the
shell script
export JAVA_HOME=/usr/java1.2;
and that should do the trick.
Filip
~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
filip@filip.net
www.filip.net
-----Original Message-----
From: yilmaz [mailto:s9318025@ntut.edu.tw]
Sent: Friday, June 15, 2001 8:58 AM
To: tomcat-user@jakarta.apache.org
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