Tomcat server error on Eclipse

Multi tool use
Can anyone help me to solve the following case?
I am trying to generate my first web site using java and working with Eclipse Galileo running on Ubuntu 9.10. Since I generate my first lines of code I haven't seen the web. All the time when I try to run the program I get the following error:
Several ports (8080, 8080) required by Tomcat v6.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).
eclipse tomcat
add a comment |
Can anyone help me to solve the following case?
I am trying to generate my first web site using java and working with Eclipse Galileo running on Ubuntu 9.10. Since I generate my first lines of code I haven't seen the web. All the time when I try to run the program I get the following error:
Several ports (8080, 8080) required by Tomcat v6.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).
eclipse tomcat
add a comment |
Can anyone help me to solve the following case?
I am trying to generate my first web site using java and working with Eclipse Galileo running on Ubuntu 9.10. Since I generate my first lines of code I haven't seen the web. All the time when I try to run the program I get the following error:
Several ports (8080, 8080) required by Tomcat v6.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).
eclipse tomcat
Can anyone help me to solve the following case?
I am trying to generate my first web site using java and working with Eclipse Galileo running on Ubuntu 9.10. Since I generate my first lines of code I haven't seen the web. All the time when I try to run the program I get the following error:
Several ports (8080, 8080) required by Tomcat v6.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).
eclipse tomcat
eclipse tomcat
edited Dec 24 '12 at 8:36
slhck
163k47450474
163k47450474
asked Dec 24 '12 at 0:40
jahjah
612
612
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Probably, you have another Tomcat instance running and using the same port. Try this command in the terminal .
kill $(ps -aef | grep java | grep apache-tomcat-7.0.27 | awk '{print $2}')
Then try to restart the Tomcat again.
Alternatively, You can try to /bin
subfolder of the Tomcat installation folder and execute the shutdown.sh
(Unix) script. If in vain, close Eclipse and then open the System manager and kill all java and/or javaw processes.
Ref : Same problem with perfect solutions.. Next time when you encounter such errors, just copy and paste the error in Google. There are similar/identical problems solved. You get the idea. =]
add a comment |
If you are starting tomcat from within eclipse, you can change the port tomcat runs on from 8080, to say 8070 or 8090 by editing the server.xml file.
<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
add a comment |
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f523538%2ftomcat-server-error-on-eclipse%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Probably, you have another Tomcat instance running and using the same port. Try this command in the terminal .
kill $(ps -aef | grep java | grep apache-tomcat-7.0.27 | awk '{print $2}')
Then try to restart the Tomcat again.
Alternatively, You can try to /bin
subfolder of the Tomcat installation folder and execute the shutdown.sh
(Unix) script. If in vain, close Eclipse and then open the System manager and kill all java and/or javaw processes.
Ref : Same problem with perfect solutions.. Next time when you encounter such errors, just copy and paste the error in Google. There are similar/identical problems solved. You get the idea. =]
add a comment |
Probably, you have another Tomcat instance running and using the same port. Try this command in the terminal .
kill $(ps -aef | grep java | grep apache-tomcat-7.0.27 | awk '{print $2}')
Then try to restart the Tomcat again.
Alternatively, You can try to /bin
subfolder of the Tomcat installation folder and execute the shutdown.sh
(Unix) script. If in vain, close Eclipse and then open the System manager and kill all java and/or javaw processes.
Ref : Same problem with perfect solutions.. Next time when you encounter such errors, just copy and paste the error in Google. There are similar/identical problems solved. You get the idea. =]
add a comment |
Probably, you have another Tomcat instance running and using the same port. Try this command in the terminal .
kill $(ps -aef | grep java | grep apache-tomcat-7.0.27 | awk '{print $2}')
Then try to restart the Tomcat again.
Alternatively, You can try to /bin
subfolder of the Tomcat installation folder and execute the shutdown.sh
(Unix) script. If in vain, close Eclipse and then open the System manager and kill all java and/or javaw processes.
Ref : Same problem with perfect solutions.. Next time when you encounter such errors, just copy and paste the error in Google. There are similar/identical problems solved. You get the idea. =]
Probably, you have another Tomcat instance running and using the same port. Try this command in the terminal .
kill $(ps -aef | grep java | grep apache-tomcat-7.0.27 | awk '{print $2}')
Then try to restart the Tomcat again.
Alternatively, You can try to /bin
subfolder of the Tomcat installation folder and execute the shutdown.sh
(Unix) script. If in vain, close Eclipse and then open the System manager and kill all java and/or javaw processes.
Ref : Same problem with perfect solutions.. Next time when you encounter such errors, just copy and paste the error in Google. There are similar/identical problems solved. You get the idea. =]
edited May 23 '17 at 12:41
Community♦
1
1
answered Dec 24 '12 at 1:13


Ye Lin AungYe Lin Aung
5,10462732
5,10462732
add a comment |
add a comment |
If you are starting tomcat from within eclipse, you can change the port tomcat runs on from 8080, to say 8070 or 8090 by editing the server.xml file.
<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
add a comment |
If you are starting tomcat from within eclipse, you can change the port tomcat runs on from 8080, to say 8070 or 8090 by editing the server.xml file.
<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
add a comment |
If you are starting tomcat from within eclipse, you can change the port tomcat runs on from 8080, to say 8070 or 8090 by editing the server.xml file.
<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
If you are starting tomcat from within eclipse, you can change the port tomcat runs on from 8080, to say 8070 or 8090 by editing the server.xml file.
<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
answered Dec 24 '12 at 1:18


Eddy Yuansheng WuEddy Yuansheng Wu
172
172
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f523538%2ftomcat-server-error-on-eclipse%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
acKa,1,mJzMT5qjiOg2n2aQ7xJeHD le mu1ncgae,5XXj NKEX,ZXG 7O,lzhhQzB 2UgT7EPnCc9FlJ2TOhJfLQ,pq0t1xG6