You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Caldarale, Charles R" <Ch...@unisys.com> on 2007/03/01 05:59:21 UTC
RE: create[8005]: java.net.BindException: error occured while startingtomcat on Ubuntu Plateform
> From: hetal [mailto:hetal.malaviya@cignex.com]
> Subject: create[8005]: java.net.BindException: error occured
> while startingtomcat on Ubuntu Plateform
>
> "StandardServer.await: create[8005]: java.net.BindException:
> Cannot assign requested address"
This is usually due to the port already being in use by some other
process, frequently another Tomcat. Note that there are at least two
ports to be changed in server.xml (one for shutdown plus one for each
connector) if you want to run multiple Tomcats simultaneously.
Use netstat to find out what other process has the port tied up.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: create[8005]: java.net.BindException: error occured
whilestartingtomcat on Ubuntu Plateform
Posted by hetal <he...@cignex.com>.
Caldarale, Charles R wrote:
>
>> From: hetal [mailto:hetal.malaviya@cignex.com]
>> Subject: RE: create[8005]: java.net.BindException: error
>> occured whilestartingtomcat on Ubuntu Plateform
>>
>> I have checked on my machine only one tomcat is running and I
>> have also tried netstat command it is not listing 8005 port.
>
> Do you have a firewall installed that might be blocking the port? Or
> has it been disabled or rerouted with iptables?
>
> - Chuck
>
>
I have figured out my problem.
I don't have entry in my routing table for lo interface.
With the use of this command
route add -net 127.0.0.0 gw 127.0.0.1 netmask 255.0.0.0 dev 10
I have set lo interface.
now my tomcat is running fine.
Thanks
Hetal
--
View this message in context: http://www.nabble.com/create-8005-%3A-java.net.BindException%3A-error-occured-while-starting-tomcat-on-Ubuntu-Plateform-tf3325087.html#a9248979
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: create[8005]: java.net.BindException: error occured whilestartingtomcat on Ubuntu Plateform
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: hetal [mailto:hetal.malaviya@cignex.com]
> Subject: RE: create[8005]: java.net.BindException: error
> occured whilestartingtomcat on Ubuntu Plateform
>
> I have checked on my machine only one tomcat is running and I
> have also tried netstat command it is not listing 8005 port.
Do you have a firewall installed that might be blocking the port? Or
has it been disabled or rerouted with iptables?
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: create[8005]: java.net.BindException: error occured while
startingtomcat on Ubuntu Plateform
Posted by hetal <he...@cignex.com>.
> From: hetal [mailto:hetal.malaviya@cignex.com]
> Subject: create[8005]: java.net.BindException: error occured
> while startingtomcat on Ubuntu Plateform
>
> "StandardServer.await: create[8005]: java.net.BindException:
> Cannot assign requested address"
This is usually due to the port already being in use by some other
process, frequently another Tomcat. Note that there are at least two
ports to be changed in server.xml (one for shutdown plus one for each
connector) if you want to run multiple Tomcats simultaneously.
Use netstat to find out what other process has the port tied up.
- Chuck
Thanks for the reply.
I have checked on my machine only one tomcat is running and I have also
tried netstat command it is not listing 8005 port.
I have already done that changes in server.xml file but still getting same
error.
Please let me know if there is any other solution
- Hetal
--
View this message in context: http://www.nabble.com/create-8005-%3A-java.net.BindException%3A-error-occured-while-starting-tomcat-on-Ubuntu-Plateform-tf3325087.html#a9244100
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org