tomcat installation


 
Thread Tools Search this Thread
Operating Systems Solaris tomcat installation
# 1  
Old 01-10-2011
tomcat installation

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...
# 2  
Old 01-10-2011
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:
Code:
CATALINA_BASE=/var/apache/tomcat
export CATALINA_BASE
 
JAVA_HOME=/usr/java
export JAVA_HOME

# 3  
Old 01-10-2011
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.
# 4  
Old 01-11-2011
hi..
if i echo SHELL
am getting
/sbin/sh

which means am using sh shell
am i rite..?
# 5  
Old 01-11-2011
That sounds like you are root and using a Bourne shell.
# 6  
Old 01-11-2011
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..
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Solaris

Tomcat..Unable to deploy application remotely in tomcat

Hi, We have upgrade tomcat from 5.0.20 to 7.0.33 and made changes to server.xml file according to newer version.. how ever the upgrade went fine and now i am unable to deploy application remotely.. it is giving 403 access denied error.. we have seperate appbase directory mentioned in server.xml..... (0 Replies)
Discussion started by: phani4u
0 Replies

2. Solaris

Tomcat installation

Hi Friends, I have a upgrade task of tomcat from 5.5.20 to latest 7.0.32 stable release on solaris 10 sparc 64 bit.. Is tomcat package same for solaris 10 x86 and sparc 64bit..?? Can we upgrade directly from 5 to 7? Please help me.. (1 Reply)
Discussion started by: phani4u
1 Replies

3. Web Development

Tomcat shutdown error

not sure if this is the right forum but im having problem with tomcat restart. i have a regular user that when he login it will go directly to a menu options (a. stop tomcat, start tomcat,). if he selects start it would should show that tomcat has been restarted. if the user press X, he will... (2 Replies)
Discussion started by: lhareigh890
2 Replies

4. UNIX for Advanced & Expert Users

Tomcat Connection closed

Hi how can do why a process closed a connection? # lsof -i tcp:8080 COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME java 5851 tomcat 29u IPv6 73216185 TCP *:webcache (LISTEN) # telnet localhost 8080 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1).... (0 Replies)
Discussion started by: lain
0 Replies

5. Solaris

How to start tomcat with 2 jdk?

Current platform: Sun OS 5.9 Solaris isainfo -v 64-bit sparcv9 applications 32-bit sparc applications Problem: Fail to start tomcat server ps -ef | grep tomcat nothing displays... Steps: Installed jakarta-tomcat-5.0.30 Installed jdk 1.6 and set path in profile... (11 Replies)
Discussion started by: sbox
11 Replies

6. UNIX for Dummies Questions & Answers

Tomcat configuration

i want to use jsp and servlets on my fedora core 6 system.So,I want to run tomcat.i dont how to configure tomcat in linux. the command:service tomcat5 start is working but http://localhost/8180 or http://localhost:8080 are not working plzzzz help (1 Reply)
Discussion started by: preeti chouhan
1 Replies

7. Solaris

installation of Solaris: installation bypasses network config.

hello solaris friends, I've tried installing Sun Solaris 10.0, but everytime it seems to bypass the network config. screen that looks similar to this...here's the url: http://www.hup.hu/old/images/hup/Solaris/Sol10beta7/9.png I'm able to install it all the way through but I get no... (2 Replies)
Discussion started by: cadmiumgreen
2 Replies
Login or Register to Ask a Question