Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

TOMCAT INSTALLATION IN LINUX

Posted on 2002-06-16
5
246 Views
Last Modified: 2013-11-24
tomcat is stored at /usr/tomcat/jakarta1...
tomcat 3.2.1
first command
TOMCAT_HOME=/usr/tomcat/jakarta1;export TOMCAT_HOME
JAVA_HOME=<DIRECTORY OF JAVA>

on using the command
/usr/bin/startup.sh
CLASS PATH IS ASSIGNED TO
STARTING TOMCAT ..CHECKING FOR ERRORS


java.io.exception:address already in use
0
Comment
Question by:akanksha
5 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 7081545
Which version of Tomcat are you using?
0
 
LVL 5

Expert Comment

by:Jan Louwerens
ID: 7084047
looks like it's already running...
try shutting down first:

$TOMCAT_HOME/bin/shutdown.sh
$TOMCAT_HOME/bin/startup.sh

I will assume your /usr/bin/startup.sh script is a link or at least executes $TOMCAT_HOME/bin/startup.sh ?
0
 
LVL 1

Accepted Solution

by:
howesd earned 22 total points
ID: 7091006
My guess would be that you've chosen to run tomcat on a port that you've already got another service running on. In $TOMCAT_HOME/conf/server.xml you define the port that tomcat "listens" on - the default is 8080. I've a feeling that Apache is sometimes configured to use that port. Try stopping tomcat, changing the port to 8081 ( for example ) and restarting it.

The relevant bit in server.xml is the PoolTcpConnector element

Dave
0
 
LVL 35

Expert Comment

by:girionis
ID: 8860420
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this
question is:

- points to howesd

Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

girionis
Cleanup Volunteer
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question