Question : Tomcat bundled with Netbeans will not start.

Hello all,

Last time I came up against this problem I have had to reinstall the OS in order to remedy it, I've uninstalled and reinstalled Netbeans and Tomcat.

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
Starting Tomcat process...
Waiting for Tomcat...
Starting of Tomcat failed.
C:\Users\Yves Wheeler\Documents\NetBeansProjects\WebApplication4\nbproject\build-impl.xml:577: Deployment error:
Starting of Tomcat failed.
See the server log for details.
BUILD FAILED (total time: 3 minutes 2 seconds)


Catlina log

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
26-Jun-2010 22:27:32 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_20\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\jEdit;C:\Program Files (x86)\Common Files\Autodesk Shared\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\GNUstep\mingw\bin;C:\GNUstep\GNUstep\System\Tools
26-Jun-2010 22:27:33 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8084
26-Jun-2010 22:27:33 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1130 ms
26-Jun-2010 22:27:33 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
26-Jun-2010 22:27:33 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
26-Jun-2010 22:27:33 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8084
26-Jun-2010 22:27:34 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
26-Jun-2010 22:27:34 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/43  config=null
26-Jun-2010 22:27:34 org.apache.catalina.startup.Catalina start
INFO: Server startup in 990 ms
26-Jun-2010 22:35:09 org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8084
26-Jun-2010 22:35:11 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
26-Jun-2010 22:36:21 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_20\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\jEdit;C:\Program Files (x86)\Common Files\Autodesk Shared\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\GNUstep\mingw\bin;C:\GNUstep\GNUstep\System\Tools
26-Jun-2010 22:36:21 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8084
26-Jun-2010 22:36:21 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 801 ms
26-Jun-2010 22:36:21 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
26-Jun-2010 22:36:21 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
26-Jun-2010 22:36:45 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_20\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\jEdit;C:\Program Files (x86)\Common Files\Autodesk Shared\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\GNUstep\mingw\bin;C:\GNUstep\GNUstep\System\Tools
26-Jun-2010 22:36:45 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8084
26-Jun-2010 22:36:45 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 843 ms
26-Jun-2010 22:36:45 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
26-Jun-2010 22:36:45 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
26-Jun-2010 22:40:49 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_20\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\jEdit;C:\Program Files (x86)\Common Files\Autodesk Shared\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\GNUstep\mingw\bin;C:\GNUstep\GNUstep\System\Tools
26-Jun-2010 22:40:49 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8084
26-Jun-2010 22:40:49 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 733 ms
26-Jun-2010 22:40:49 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
26-Jun-2010 22:40:49 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
26-Jun-2010 22:49:16 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_20\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\jEdit;C:\Program Files (x86)\Common Files\Autodesk Shared\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\GNUstep\mingw\bin;C:\GNUstep\GNUstep\System\Tools
26-Jun-2010 22:49:17 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8084
26-Jun-2010 22:49:17 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 887 ms
26-Jun-2010 22:49:17 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
26-Jun-2010 22:49:17 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20


I would like to avoid wiping the OS as I'm not in a positon or have the reasources to do so at this point.

Thanks in advance

Answer : Tomcat bundled with Netbeans will not start.

Just figured out what was happening, I had another project open in Netbeans too and it's web.xml was configured to start up and email thing I had made but some Clever Person had changed the password to the email account and so it dies without releasing any form of error. Tomcat was waiting for that application to initialise before starting my simple hello world app.

Thanks for your help arober11.
Random Solutions  
 
programming4us programming4us