NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
madafak14
Joined: 10 Sep 2009 Posts: 5
|
Posted: Thu Sep 10, 2009 10:08 am Post subject: Starting of Tomcat failed |
|
|
Hello!
I've just recently installed Netbeans 6.7.1 and Tomcat 6.0.18. When I create new Java Web Project, I have some serous problems with running the Hello World .jsp page. I keep getting the:
C:\Documents and Settings\Ivan Lelas\My Documents\NetBeansProjects\Proba\nbproject\build-impl.xml:563: Deployment error:
Starting of Tomcat failed.
See the server log for details.
BUILD FAILED (total time: 3 minutes 4 seconds)
And after that when I try to run it I get the following message:
C:\Documents and Settings\Ivan Lelas\My Documents\NetBeansProjects\Proba\nbproject\build-impl.xml:563: Deployment error:
Starting of Tomcat failed, the server port 8080 is already in use.
See the server log for details.
BUILD FAILED (total time: 6 seconds)
Where did I go wrong and please can somebody help me because I REALLY need to start writing my thesis
Thanks! |
|
| Back to top |
|
 |
Melongo Annabel Posted via mailing list.
|
Posted: Fri Sep 11, 2009 1:18 am Post subject: Starting of Tomcat failed |
|
|
To better help you, it would be useful to provide the server logs as well. thanks.
From: madafak14 <address-removed>
To: address-removed
Sent: Thursday, September 10, 2009 5:09:38 AM
Subject: [nbj2ee] Starting of Tomcat failed
Hello!
I've just recently installed Netbeans 6.7.1 and Tomcat 6.0.18. When I create new Java Web Project, I have some serous problems with running the Hello World .jsp page. I keep getting the:
C:\Documents and Settings\Ivan Lelas\My Documents\NetBeansProjects\Proba\nbproject\build-impl.xml:563: Deployment error:
Starting of Tomcat failed.
See the server log for details.
BUILD FAILED (total time: 3 minutes 4 seconds)
And after that when I try to run it I get the following message:
C:\Documents and Settings\Ivan Lelas\My Documents\NetBeansProjects\Proba\nbproject\build-impl.xml:563: Deployment error:
Starting of Tomcat failed, the server port 8080 is already in use.
See the server log for details.
BUILD FAILED (total time: 6 seconds)
Where did I go wrong and please can somebody help me because I REALLY need to start writing my thesis
Thanks! |
|
| Back to top |
|
 |
madafak14
Joined: 10 Sep 2009 Posts: 5
|
Posted: Sat Sep 12, 2009 12:56 pm Post subject: |
|
|
I've managed to make it work. Thanks anyway  |
|
| Back to top |
|
 |
adikkto
Joined: 01 Nov 2009 Posts: 1
|
Posted: Sun Nov 01, 2009 3:21 pm Post subject: |
|
|
| madafak14 wrote: | I've managed to make it work. Thanks anyway  |
Hey madafak14 (or anyone). Can you tell me how you managed to solve this issue?? i still have the same problem and i dont know how to fix it.
Thanks in advance. |
|
| Back to top |
|
 |
nicephotog
Joined: 07 Nov 2009 Posts: 17 Location: Australia
|
Posted: Sat Nov 07, 2009 4:44 pm Post subject: |
|
|
I think it amounts to switching off glassfish server in the NB left panel.
Or turning off an independent 8080 or 8084 server.
or installing Tomcat with the NB bundle. |
|
| Back to top |
|
 |
Steve289
Joined: 30 Oct 2009 Posts: 7
|
Posted: Sun Nov 15, 2009 4:30 am Post subject: |
|
|
| "Starting of Tomcat failed, the server port 8080 is already in use." means port 8080 is already being used. For example, this can happen if you started Tomcat then you try to run it again. |
|
| Back to top |
|
 |
Kannan Ehambaram Posted via mailing list.
|
Posted: Mon Nov 16, 2009 9:23 am Post subject: Re: Starting of Tomcat failed |
|
|
Hai,
Check whether the port 8080 is used by any other process like windows pws server.
using the windows command..netstat -ao or equivalent unix command and then stop that process. Using windows command net stop <processname> or equivalent unix command.
and then start ur tomcat.. then it will work.
Regards,
Kannan.
On Sun, Nov 15, 2009 at 10:00 AM, Steve289 <address-removed ([email]address-removed[/email])> wrote:
| Quote: | | "Starting of Tomcat failed, the server port 8080 is already in use." means port 8080 is already being used. |
|
| Back to top |
|
 |
SSCBrian
Joined: 25 Feb 2010 Posts: 6
|
Posted: Wed Mar 24, 2010 2:56 pm Post subject: |
|
|
| madafak14 wrote: | I've managed to make it work. Thanks anyway  |
Yes, please tell us how you fixed it... I have the same problem and haven't been able to get it fixed. Mine mysteriously failed overnight. Was working fine when I left at the end of the day, came in the next day and *poof*, broken.
Running my project results in the "Starting of Tomcat failed" error and my browser doesn't popup. This message is not in fact totally true, as if I browse to 127.0.0.1:8080, Tomcat IS running, just Netbeans doesn't know about it. Obviously, trying to run a second time from Netbeans fails with the 8080 in use message. At that point I end up rebooting because I can't find Tomcat in the process list to kill it, yet it's obviously still running.
Noticed that my JAVA_HOME wasn't set (but probably never was). Setting it made no difference. |
|
| Back to top |
|
 |
halkhata987
Joined: 26 Mar 2010 Posts: 1
|
Posted: Fri Mar 26, 2010 5:41 pm Post subject: |
|
|
Using the windows command..netstat -ao or equivalent unix command and then stop that process. Using windows command net stop <processname> or equivalent unix command.
and then start ur tomcat.. then it will work.
Edinburgh Accommodation
NBA and NCAA Picks |
|
| Back to top |
|
 |
SSCBrian
Joined: 25 Feb 2010 Posts: 6
|
Posted: Mon Mar 29, 2010 4:27 pm Post subject: |
|
|
| halkhata987 wrote: | | and then start ur tomcat.. then it will work. |
Nope, Tomcat still doesn't work right.
Doesn't really matter anymore though. I moved the project over to Glassfish, and that works fine. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|