Solved

TOMCAT INSTALLATION IN LINUX

Posted on 2002-06-16
5
244 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java 1603 Error 3 50
micro services vs rest web services 16 84
thymeleaf natural templating vs JSP 2 66
VB Script to add site to Java Exception List 4 48
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

914 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now