GeeCON Prague 2014*
The moose likes Linux / UNIX and the fly likes Error Starting TOMCAT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Error Starting TOMCAT" Watch "Error Starting TOMCAT" New topic
Author

Error Starting TOMCAT

Nandhini Davey
Greenhorn

Joined: Mar 03, 2004
Posts: 3
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

Joined: Feb 03, 2003
Posts: 205
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.


If you want to become a rich, do not work for others but make others to work for you.
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error Starting TOMCAT