Solved

TOMCAT INSTALLATION IN LINUX

Posted on 2002-06-16
5
248 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
[X]
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
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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

691 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