Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error Starting TOMCAT

 
Nandhini Davey
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm trying to start the TOMCAT server in unix platform. I get the following exception. This is different from the usual "Address already is Use".
I have tried to change the port number many a times but I get the same error. Also, i ahve checked netstat for ports they seem to be free...
the exception is
roperties
StandardServer.await: create[46936]: java.net.BindException: Can't assign reques
ted address
java.net.BindException: Can't assign requested address
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
at java.net.ServerSocket.bind(ServerSocket.java:309)
at java.net.ServerSocket.<init>(ServerSocket.java:183)
at org.apache.catalina.core.StandardServer.await(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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
@
NOT SURE WHY IT CANT ASSIGN THE ADDRESS..
Any Thoughts, I appreciate.
Thanks,
Nandhini
 
himanshu patel
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it first time you are trying to run tomcat? Did it run earliar?
From which user you are trying to run tomcat? Did you try it with root?
You might don't have permission to bind to that socket on your server.
 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try just the standard port 8080 that comes with it. I downloaded TOMCAT last night, all I have is the JAVA_HOME variable, not even the CATALINA, and it starts fine.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic