• Post Reply Bookmark Topic Watch Topic
  • New Topic

Catalina start error

 
Tom Tang
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have no problem installing tomcat4.0(Catalina) at my home computer. But when I tried to start tomcat on my company computer, i got the following error:
Catalina.start: LifecycleException: Error creating server socket: java.net.Bin
dException: Address in use: JVM_Bind
LifecycleException: Error creating server socket: java.net.BindException: Addr
ess in use: JVM_Bind
at org.apache.catalina.connector.warp.WarpConnector.initialize(Unknown S
ource)
at org.apache.catalina.core.StandardService.initialize(Unknown Source)
at org.apache.catalina.core.StandardServer.initialize(Unknown Source)
at org.apache.catalina.startup.Catalina.start(Unknown Source)
at org.apache.catalina.startup.Catalina.execute(Unknown Source)
at org.apache.catalina.startup.Catalina.process(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
----- Root Cause -----
java.net.BindException: Address in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
at java.net.ServerSocket.<init>(ServerSocket.java:170)
at java.net.ServerSocket.<init>(ServerSocket.java:121)
at org.apache.catalina.net.DefaultServerSocketFactory.createSocket(Unkno
wn Source)
at org.apache.catalina.connector.warp.WarpConnector.initialize(Unknown S
ource)
at org.apache.catalina.core.StandardService.initialize(Unknown Source)
at org.apache.catalina.core.StandardServer.initialize(Unknown Source)
at org.apache.catalina.startup.Catalina.start(Unknown Source)
at org.apache.catalina.startup.Catalina.execute(Unknown Source)
at org.apache.catalina.startup.Catalina.process(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
The only difference is that I have IBM HTTP server and Web Sphere server installed on my work computer(both shut down when I started tomcat). The error looks like the port 8080 has already been used(or bound). But it's not working either when I changed to any funky port number in server.xml. Anybody got some idea?
Thanks
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's too bad the stack trace doesn't provide just that *extra* bit of helpful information, like what port is being used.

It's probably the Warp connector port 8008. Try going through your entire server.xml and change all instances of '80' to '90'. *something* is running on port 8008.

A search of the forums would have turned this up, it's been discussed frequently.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!