Hi,
I am unable to start tomcat. Whenever I start it gives me the error  
"StandardServer.await: create[8005]: java.net.BindException: Cannot assign requested 
address". 
I thought initially that there is some process already running on port 8005 but when I 
checked that found that there is no process running on this port.

(i used netstat -an | grep 8005 to check that, later tried telnet 0 8005 and got 
negative response). 

I even change this address to 9005 still the same error. 

Interstingly when i do  ps -ef | grep tomcat    the process is up but when I try to 
access 

tomcat from the browser using http://localhost:8080 then nothing comes up.
when I do netstat -an | grep 8080  , I get LISTEN as the status.

Interestingly tomcat stops automatically after some time.  I am using tomcat 4.1.18 
with JDK 1.4


here is the error message. 

StandardServer.await: create[8005]: java.net.BindException: Cannot assign requested 
address
java.net.BindException: Cannot assign requested address
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:321)
        at java.net.ServerSocket.bind(ServerSocket.java:308)
        at java.net.ServerSocket.bind(ServerSocket.java:266)
        at java.net.ServerSocket.<init>(ServerSocket.java:182)
        at org.apache.catalina.core.StandardServer.await(StandardServer.java:509)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:521)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Stopping service Tomcat-Standalone


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to