aspose file tools*
The moose likes Tomcat and the fly likes server start-up problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "server start-up problem" Watch "server start-up problem" New topic
Author

server start-up problem

Ramathilagam Bragaspathi
Greenhorn

Joined: Aug 05, 2004
Posts: 7
When I start Tomcat server I am getting following error in screen

Aug 5, 2004 7:34:29 PM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoi
nt.java:280)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:183)

at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.
java:1325)
at org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:633)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:2413)
at org.apache.catalina.startup.Catalina.load(Catalina.java:529)
at org.apache.catalina.startup.Catalina.load(Catalina.java:550)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:258)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:391)
Aug 5, 2004 7:34:29 PM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindExcept
ion: Address already in use: JVM_Bind:80
at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.
java:1327)
at org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:633)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:2413)
at org.apache.catalina.startup.Catalina.load(Catalina.java:529)
at org.apache.catalina.startup.Catalina.load(Catalina.java:550)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:258)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:391)
Aug 5, 2004 7:34:30 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2614 ms
Aug 5, 2004 7:34:30 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 5, 2004 7:34:30 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.12
Aug 5, 2004 7:34:31 PM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Aug 5, 2004 7:34:31 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\java\jakarta-tomcat-5.0.
12\conf\Catalina\localhost\admin.xml
Aug 5, 2004 7:34:31 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tru
e
Aug 5, 2004 7:34:31 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNul
l=true
Aug 5, 2004 7:34:32 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', retur
nNull=true
Aug 5, 2004 7:34:35 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\java\jakarta-tomcat-5.0.
12\conf\Catalina\localhost\manager.xml
Aug 5, 2004 7:34:35 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /jsp-examples from URL file:C:\
java\jakarta-tomcat-5.0.12\webapps\jsp-examples
Aug 5, 2004 7:34:36 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /servlets-examples from URL fil
e:C:\java\jakarta-tomcat-5.0.12\webapps\servlets-examples
Aug 5, 2004 7:34:36 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /tomcat-docs from URL file:C:\j
ava\jakarta-tomcat-5.0.12\webapps\tomcat-docs
Aug 5, 2004 7:34:37 PM org.apache.coyote.http11.Http11Protocol start
SEVERE: Error starting endpoint
java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoi
nt.java:280)
at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpo
int.java:297)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:215
)
at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:
1395)
at org.apache.catalina.core.StandardService.start(StandardService.java:5
28)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:234
3)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:392)
Aug 5, 2004 7:34:37 PM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException: Protocol handler start failed: java.net.BindException: Addr
ess already in use: JVM_Bind:80
at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:
1397)
at org.apache.catalina.core.StandardService.start(StandardService.java:5
28)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:234
3)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:392)
Aug 5, 2004 7:34:37 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 7110 ms

How to fix this error?

Thanks for help
Total Newbie
Greenhorn

Joined: Aug 05, 2004
Posts: 1
Are you sure the server is not already started, or maybe you have IIS (if on WIndows) already started on port 80?
Ramathilagam Bragaspathi
Greenhorn

Joined: Aug 05, 2004
Posts: 7
I am using windows xp home edition, so there is no possibility for IIS is on.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12806
    
    5
java.net.BindException: Address already in use: JVM_Bind:80

The only possible reason is that something is using port 80. Possibilities:
1. you installed Tomcat as a service so it starts when your system boots.
2. your previous start of Tomcat did not shut down properly
3. some other application is using port 80
I would start by looking at the Windows Task Manager for instances of javaw running.
Bill
[ August 05, 2004: Message edited by: William Brogden ]
 
Consider Paul's rocket mass heater.
 
subject: server start-up problem