This week's giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP and have Lucian Maly on-line!
See this thread for details.
Win a copy of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

server start-up problem

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using windows xp home edition, so there is no possibility for IIS is on.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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 ]
 
Joel Salatin has signs on his property that say "Trespassers will be Impressed!" Impressive tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic