hi..
i need to install tomcat on my solaris 10 x86 OS..
can u please guide me ..
i know that tomcat is already present in solaris 10 x86..
tell me how to enable it..
tel me as soon as possible..
i tried but its throwing me the following error..
The JAVA_HOME environment variable is not defined
This environment variable is needed to run this program
i ve set the Environment variables in /etc/profile file ...
setenv CATALINA_BASE /var/apache/tomcat
setenv JAVA_HOME /usr/java
---------- Post updated at 06:29 PM ---------- Previous update was at 05:27 PM ----------
tell me as soon as possible...
Are you using csh? File /etc/profile is system-wide, perhaps not an appropriate place for one-user, one-app variables. You should set this in an application-specific script you write that calls it. Variables must be exported to affect child processes. More usual is a sh/ksh/bash friendly form:
CATALINA_BASE=/var/apache/tomcat
export CATALINA_BASE
JAVA_HOME=/usr/java
export JAVA_HOME
If you are using csh or tcsh, /etc/profile is the incorrect file to modify to set global environmental variables for the C shell. The correct file is /etc/csh.login.
hi..
if i echo SHELL
am getting
/sbin/sh
which means am using sh shell
am i rite..?
That sounds like you are root and using a Bourne shell.
okay..
i added those two lines in /etc/profile
i couldn't fine /etc/csh.login at etc
still getting the above error.
---------- Post updated at 08:19 PM ---------- Previous update was at 07:57 PM ----------
thanks .. i got my tomcat services running..