Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am running Ubuntu 11.10 and have downloaded and unpacked the JDK tarball:

http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
jdk-7u17-linux-i586.tar.gz

into folder usr/java/jdk1.7.0_17

I have downloaded tomcat7 from the apache archive site:

https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.27/bin/apache-tomcat-7.0.27.tar.gz 

I have unpacked the tarball into usr/share/apache-tomcat-7.0.27 folder

then updated dot.bash_profile with:

CATALINA_HOME=/usr/share/apache-tomcat-7.0.27
CATALINA_BASE=/usr/share/apache-tomcat-7.0.27
JAVA_HOME=/usr/java/jdk1.7.0.17

After reboot, I still cannot get Tomcat running using:

gksudo service tomcat7 start

which the only response from terminal is to enter root password and then:

sat105:~$

which is the prompt.

What am I missing?

share|improve this question
    
After reboot, I still cannot get Tomcat running using: why not? (error messages tend to be the way to find answers ;) ) And did you not need to add parameters to path so the system knows it needs to look in usr/share/apache-tomcat-7.0.27?? –  Rinzwind Apr 5 '13 at 14:10
    
No error message is displayed, only the next prompt line. I get 0 feedback after sending the command. –  Android Addict Apr 5 '13 at 14:12
    
ah... possible -> did you alter .bash to include CATALINA_HOME? –  Rinzwind Apr 5 '13 at 14:14
    
I updated bash_profile with CATALINA_HOME, CATALINA_BASE and JAVA_HOME –  Android Addict Apr 5 '13 at 14:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.