furyfish
furyfish

Reputation: 2135

Tomcat blank page

I'm using linux and tomcat6.

When I open with browser http://my-ip-address:8080/my-app/, it shows a blank page.

INFO: Server startup in 6252 ms
May 6, 2013 10:39:25 AM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]: 
java.net.BindException: Address already in use
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:353)
    at java.net.ServerSocket.bind(ServerSocket.java:336)
    at java.net.ServerSocket.<init>(ServerSocket.java:202)
    at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
    at org.apache.catalina.startup.Catalina.await(Catalina.java:657)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:617)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

How can I resolved it?

Upvotes: 0

Views: 3467

Answers (2)

NitinB
NitinB

Reputation: 281

Not sure what you mean by 'But please show me how can I stop that?' You can simply kill the associated process or stop the service using Task manager (or tool like ProcessExplorer on Windows) and 'kill #pid' on linux.

Upvotes: 0

user207421
user207421

Reputation: 310909

You already have something running on port 8005, just like it says in the stack trace.

Upvotes: 1

Related Questions