Localhost 8080 Apache Tomcat



Sample Application. The example app has been packaged as a war file and can be downloaded here (Note: make sure your browser doesn't change file extension or append a new one). The easiest way to run this application is simply to move the war file to your CATALINAHOME/webapps directory. Tomcat will automatically expand and deploy the application for you. It happen Because Oracle Database and Tomcat Server using same port.Another possible way to overcome issue of Spring Server authentication dialog is to delet. Introduction: The Tomcat Host Manager application enables you to create, delete, and otherwise manage virtual hosts within Tomcat. This how-to guide is best accompanied by the following pieces of documentation: Virtual Hosting How-To for more information about virtual hosting.; The Host Container for more information about the underlying xml configuration of virtual hosts and description of. Tomcat webpage does not appear on localhost:8080 or with the IPaddress:8080. The host-manager and manager web applications for Apache Tomcat tomcat-docs-webapp. Make sure no other application using port 8080 before starting tomcat. If that's not the problem please paste tomcat log. If you want to change tomcat's default port, go to tomcat folder and open conf folder, in which you can see server.xml. In that file you can see something like.

Greenhorn
posted 7 years ago
  • Optional 'thank-you' note:
I am a newbie in java.And I am trying to develop a web application.
I have windows 7 32 bit. I have installed Java 7 and set the path and classpath as well.After that I installed Tomcat 7.
when I try to open tomcat home page using URL http://localhost:8080,it does not open and tomcat stops automatically.
Please help me.
Thanks in advance.
Bartender
posted 7 years ago
  • Optional 'thank-you' note:
Check the log and see what is going wrong? Did you set JAVA_HOME environment variable, and make sure no other service is running on port 8080.
Greenhorn
posted 7 years ago
  • Optional 'thank-you' note:
Thanks Swastik,
As I already told I am a newbie.I dont know how to check logs.I set path and CLASSPATH.
How can I check if other service is running or not on 8080?
Please help me.

Localhost:8080 Apache Tomcat

Bartender
Localhost 8080 Apache Tomcatposted 7 years ago
  • Optional 'thank-you' note:
Tomcat installation folder should have a folder called logs. Under that you should a file called catalina(withdate).log and tomcat7-stderr(withdate).log. Look into these files, you should get the exact reason of tomcat startup failure. However I am not sure how to check the used port numbers in windows. But if you get a port conflict issue in the log, you can always change the port number in tomcat configuration file.
Greenhorn
posted 7 years ago
  • Optional 'thank-you' note:
8080
Catalina.(date) is as below.Please have a look.
Jan 09, 2014 3:22:26 PM 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 FilesApache Software FoundationTomcat 7.0bin;C:WindowsSunJavabin;C:Windowssystem32;C:Windows;C:Program FilesJavajdk1.7.0_45bin;;.
Jan 09, 2014 3:22:27 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:22:27 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:22:27 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1017 ms
Jan 09, 2014 3:22:27 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 09, 2014 3:22:27 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.27
Jan 09, 2014 3:22:27 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsdocs
Jan 09, 2014 3:22:28 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsmanager
Jan 09, 2014 3:22:28 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsROOT
Jan 09, 2014 3:22:28 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:22:28 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:22:28 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 540 ms
Jan 09, 2014 3:22:28 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[localhost:8005]:
java.net.BindException: Cannot assign requested address: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:427)
at org.apache.catalina.startup.Catalina.await(Catalina.java:757)
at org.apache.catalina.startup.Catalina.start(Catalina.java:703)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Jan 09, 2014 3:22:28 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:22:30 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:22:32 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Jan 09, 2014 3:22:32 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:22:34 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:22:36 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:22:36 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:23:58 PM 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 FilesApache Software FoundationTomcat 7.0bin;C:WindowsSunJavabin;C:Windowssystem32;C:Windows;C:Program FilesJavajdk1.7.0_45bin;;.
Jan 09, 2014 3:23:58 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:23:58 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:23:58 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 298 ms
Jan 09, 2014 3:23:58 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 09, 2014 3:23:58 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.27
Jan 09, 2014 3:23:58 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsdocs
Jan 09, 2014 3:23:58 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsmanager
Jan 09, 2014 3:23:58 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsROOT
Jan 09, 2014 3:23:58 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:23:58 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:23:58 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 260 ms
Jan 09, 2014 3:23:58 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[localhost:8005]:
java.net.BindException: Cannot assign requested address: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:427)
at org.apache.catalina.startup.Catalina.await(Catalina.java:757)
at org.apache.catalina.startup.Catalina.start(Catalina.java:703)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Jan 09, 2014 3:23:58 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:24:00 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:24:02 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Jan 09, 2014 3:24:02 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:24:04 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:24:06 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:24:06 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:44:23 PM 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 FilesApache Software FoundationTomcat 7.0bin;C:WindowsSunJavabin;C:Windowssystem32;C:Windows;C:Program FilesJavajdk1.7.0_45bin;;.
Jan 09, 2014 3:44:23 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:44:23 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:44:23 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 298 ms
Jan 09, 2014 3:44:23 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 09, 2014 3:44:23 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.27
Jan 09, 2014 3:44:23 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsdocs
Jan 09, 2014 3:44:23 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsmanager
Jan 09, 2014 3:44:23 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsROOT
Jan 09, 2014 3:44:23 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:44:23 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:44:23 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 234 ms
Jan 09, 2014 3:44:23 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[localhost:8005]:
java.net.BindException: Cannot assign requested address: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:427)
at org.apache.catalina.startup.Catalina.await(Catalina.java:757)
at org.apache.catalina.startup.Catalina.start(Catalina.java:703)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Jan 09, 2014 3:44:23 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:44:25 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:44:27 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Jan 09, 2014 3:44:27 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:44:29 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:44:31 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:44:31 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:53:14 PM 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 FilesApache Software FoundationTomcat 7.0bin;C:WindowsSunJavabin;C:Windowssystem32;C:Windows;C:Program FilesJavajdk1.7.0_45bin;;.
Jan 09, 2014 3:53:14 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:53:14 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:53:14 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 297 ms
Jan 09, 2014 3:53:14 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 09, 2014 3:53:14 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.27
Jan 09, 2014 3:53:14 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsdocs
Jan 09, 2014 3:53:15 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsmanager
Jan 09, 2014 3:53:15 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsROOT
Jan 09, 2014 3:53:15 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:53:15 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:53:15 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 233 ms
Jan 09, 2014 3:53:15 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[localhost:8005]:
java.net.BindException: Cannot assign requested address: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:427)
at org.apache.catalina.startup.Catalina.await(Catalina.java:757)
at org.apache.catalina.startup.Catalina.start(Catalina.java:703)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Jan 09, 2014 3:53:15 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:53:17 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:53:19 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Jan 09, 2014 3:53:19 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:53:21 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:53:23 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:53:23 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:53:41 PM 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 FilesApache Software FoundationTomcat 7.0bin;C:WindowsSunJavabin;C:Windowssystem32;C:Windows;C:Program FilesJavajdk1.7.0_45bin;;.
Jan 09, 2014 3:53:41 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:53:41 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:53:41 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 307 ms
Jan 09, 2014 3:53:41 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 09, 2014 3:53:41 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.27
Jan 09, 2014 3:53:41 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsdocs
Jan 09, 2014 3:53:41 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsmanager
Jan 09, 2014 3:53:41 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsROOT
Jan 09, 2014 3:53:41 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:53:41 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:53:41 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 241 ms
Jan 09, 2014 3:53:41 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[localhost:8005]:
java.net.BindException: Cannot assign requested address: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:427)
at org.apache.catalina.startup.Catalina.await(Catalina.java:757)
at org.apache.catalina.startup.Catalina.start(Catalina.java:703)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Jan 09, 2014 3:53:41 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:53:43 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:53:45 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Jan 09, 2014 3:53:45 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:53:47 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 3:53:49 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ['http-bio-8080']
Jan 09, 2014 3:53:49 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 6:40:29 PM 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 FilesApache Software FoundationTomcat 7.0bin;C:WindowsSunJavabin;C:Windowssystem32;C:Windows;C:Program FilesJavajdk1.7.0_45bin;;.
Jan 09, 2014 6:40:29 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ['http-bio-8080']
Jan 09, 2014 6:40:29 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 6:40:29 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 423 ms
Jan 09, 2014 6:40:29 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 09, 2014 6:40:29 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.27
Jan 09, 2014 6:40:29 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsdocs
Jan 09, 2014 6:40:30 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsmanager
Jan 09, 2014 6:40:30 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsROOT
Jan 09, 2014 6:40:30 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ['http-bio-8080']
Jan 09, 2014 6:40:30 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 6:40:30 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 331 ms
Jan 09, 2014 6:40:30 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[localhost:8005]:
java.net.BindException: Cannot assign requested address: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:427)
at org.apache.catalina.startup.Catalina.await(Catalina.java:757)
at org.apache.catalina.startup.Catalina.start(Catalina.java:703)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Jan 09, 2014 6:40:30 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ['http-bio-8080']
Jan 09, 2014 6:40:32 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 6:40:34 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Jan 09, 2014 6:40:34 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ['http-bio-8080']
Jan 09, 2014 6:40:36 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 6:40:38 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ['http-bio-8080']
Jan 09, 2014 6:40:38 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 6:50:28 PM 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 FilesApache Software FoundationTomcat 7.0bin;C:WindowsSunJavabin;C:Windowssystem32;C:Windows;C:Program FilesJavajdk1.7.0_45bin;;.
Jan 09, 2014 6:50:28 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ['http-bio-8080']
Jan 09, 2014 6:50:28 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 6:50:28 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 304 ms
Jan 09, 2014 6:50:28 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 09, 2014 6:50:28 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.27
Jan 09, 2014 6:50:28 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsdocs
Jan 09, 2014 6:50:28 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsmanager
Jan 09, 2014 6:50:28 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsROOT
Jan 09, 2014 6:50:28 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ['http-bio-8080']
Jan 09, 2014 6:50:28 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 6:50:28 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 236 ms
Jan 09, 2014 6:50:28 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[localhost:8005]:
java.net.BindException: Cannot assign requested address: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:427)
at org.apache.catalina.startup.Catalina.await(Catalina.java:757)
at org.apache.catalina.startup.Catalina.start(Catalina.java:703)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Jan 09, 2014 6:50:28 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ['http-bio-8080']
Jan 09, 2014 6:50:30 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 6:50:32 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Jan 09, 2014 6:50:32 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ['http-bio-8080']
Jan 09, 2014 6:50:34 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 6:50:36 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ['http-bio-8080']
Jan 09, 2014 6:50:36 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 7:01:31 PM 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 FilesApache Software FoundationTomcat 7.0bin;C:WindowsSunJavabin;C:Windowssystem32;C:Windows;C:Program FilesJavajdk1.7.0_45bin;C:Program FilesApache Software FoundationTomcat 7.0bin;.
Jan 09, 2014 7:01:31 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ['http-bio-8080']
Jan 09, 2014 7:01:31 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 7:01:31 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 306 ms
Jan 09, 2014 7:01:31 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 09, 2014 7:01:31 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.27
Jan 09, 2014 7:01:31 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsdocs
Jan 09, 2014 7:01:31 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsmanager
Jan 09, 2014 7:01:32 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsROOT
Jan 09, 2014 7:01:32 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ['http-bio-8080']
Jan 09, 2014 7:01:32 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 7:01:32 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 264 ms
Jan 09, 2014 7:01:32 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[localhost:8005]:
java.net.BindException: Cannot assign requested address: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:427)
at org.apache.catalina.startup.Catalina.await(Catalina.java:757)
at org.apache.catalina.startup.Catalina.start(Catalina.java:703)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Jan 09, 2014 7:01:32 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ['http-bio-8080']
Jan 09, 2014 7:01:34 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 7:01:36 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Jan 09, 2014 7:01:36 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ['http-bio-8080']
Jan 09, 2014 7:01:38 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 7:01:40 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ['http-bio-8080']
Jan 09, 2014 7:01:40 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 7:02:08 PM 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 FilesApache Software FoundationTomcat 7.0bin;C:WindowsSunJavabin;C:Windowssystem32;C:Windows;C:Program FilesJavajdk1.7.0_45bin;C:Program FilesApache Software FoundationTomcat 7.0bin;.
Jan 09, 2014 7:02:08 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ['http-bio-8080']
Jan 09, 2014 7:02:08 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 7:02:08 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 300 ms
Jan 09, 2014 7:02:08 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 09, 2014 7:02:08 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.27
Jan 09, 2014 7:02:08 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsdocs
Jan 09, 2014 7:02:09 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsmanager
Jan 09, 2014 7:02:09 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:Program FilesApache Software FoundationTomcat 7.0webappsROOT
Jan 09, 2014 7:02:09 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ['http-bio-8080']
Jan 09, 2014 7:02:09 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 7:02:09 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 233 ms
Jan 09, 2014 7:02:09 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[localhost:8005]:
java.net.BindException: Cannot assign requested address: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:427)
at org.apache.catalina.startup.Catalina.await(Catalina.java:757)
at org.apache.catalina.startup.Catalina.start(Catalina.java:703)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Jan 09, 2014 7:02:09 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ['http-bio-8080']
Jan 09, 2014 7:02:11 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 7:02:13 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Jan 09, 2014 7:02:13 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ['http-bio-8080']
Jan 09, 2014 7:02:15 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ['ajp-bio-8009']
Jan 09, 2014 7:02:17 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ['http-bio-8080']
Jan 09, 2014 7:02:17 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ['ajp-bio-8009']
Bartender
posted 7 years ago
  • Optional 'thank-you' note:
Are you using any IDE like Netbeans or Eclipse. If so tomat service might be running from there. Close that IDE and try starting tomcat once again. It looks like another instance of tomcat is already running which has not been shut down properly.
Greenhorn
posted 7 years ago
  • Optional 'thank-you' note:
Thanks for your Answer.
Actually I have Eclipse but yet I haven't started it as I am stuck
with tomcat homepage issue.
Bartender
posted 7 years ago
  • Optional 'thank-you' note:
Is tomcat installed as a service or are you starting using the batch file? May be it's already running from service and you are trying to start again?
Greenhorn
posted 7 years ago
  • Optional 'thank-you' note:
Thank you swastik.Tomcat 7.0 is installed and I am starting it from
control panel->Administrative tools->services. tomcat starts but when I open browser and enter http://localhost:8080,homepage doesn't open instead it shows google search links.also Tomcat stops automatically.I also tried changing 8080 from server.xml but it doent work.
Bartender
posted 7 years ago
  • Optional 'thank-you' note:
Under windows installation folder i.e.
WINDOWS_INSTALLTION/windows/System32/drivers/etc
you should get a file called hos. Edit that file and see if you get any entries like this
1 127.0.0.1 localhost
2 192.168.XXX.XX localhost
remove the 2nd entry, save the file and try starting tomcat once again.
Saloon Keeper
posted 7 years ago
  • Optional 'thank-you' note:

Tomcat Home Page

'Kitty javadeveloper',
We don't have many rules here at the JavaRanch, but we do insist that you use your Real Name and not some sort of 'handle' or obvious alias. If you're not sure about this, see
http://www.javaranch.com/name.jsp .

Some people, when well-known sources tell them that fire will burn them, don't put their hands in the fire.
Some people, being skeptical, will put their hands in the fire, get burned, and learn not to put their hands in the fire.
And some people, believing that they know better than well-known sources, will claim it's a lie, put their hands in the fire, and continue to scream it's a lie even as their hands burn down to charred stumps.

The description below uses the variable name $CATALINA_HOME to refer to the directory into which you have installed Tomcat 4, and is the base directory against which most relative paths are resolved. However, if you have configured Tomcat 4 for multiple instances by setting a CATALINA_BASE directory, you should use $CATALINA_BASE instead of $CATALINA_HOME for each of these references.

Localhost 8080 Apache Tomcat

It would be quite unsafe to ship Tomcat with default settings that allowedanyone on the Internet to execute the Manager application on your server.Therefore, the Manager application is shipped with the requirement that anyonewho attempts to use it must authenticate themselves, using a username andpassword that have the role manager associated with them.Further, there is no username in the default users file($CATALINA_HOME/conf/tomcat-users.xml) that is assigned thisrole. Therefore, access to the Manager application is completely disabledby default.

To enable access to the Manager web application, you must either createa new username/password combination and associate the role namemanager with it, or add the manager roleto some existing username/password combination. Exactly where this is donedepends on which Realm implementation you are using:

Tomcat Port 8080

  • MemoryRealm - If you have not customized your $CATALINA_HOME/conf/server.xml to select a different one, Tomcat 4 defaults to an XML-format file stored at $CATALINA_HOME/conf/tomcat-users.xml, which can be edited with any text editor. This file contains an XML <user> for each individual user, which might look something like this: which defines the username and password used by this individual to log on, and the role names he or she is associated with. You can add the manager role to the comma-delimited roles attribute for one or more existing users, and/or create new users with that assigned role.
  • JDBCRealm - Your user and role information is stored in a database accessed via JDBC. Add the manager role to one or more existing users, and/or create one or more new users with this role assigned, following the standard procedures for your environment.
  • JNDIRealm - Your user and role information is stored in a directory server accessed via LDAP. Add the manager role to one or more existing users, and/or create one or more new users with this role assigned, following the standard procedures for your environment.

Localhost 8080 Apache Tomcat

The first time you attempt to issue one of the Manager commandsdescribed in the next section, you will be challenged to log on usingBASIC authentication. The username and password you enter do not matter,as long as they identify a valid user in the users database who possessesthe role manager.

What Is Localhost 8080

In addition to the password restrictions the manager web applicationcould be restricted by the remote IP address or host by adding aRemoteAddrValve or RemoteHostValve. Here isan example of restricting access to the localhost by IP address: