You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by hetal <he...@cignex.com> on 2007/03/01 05:54:54 UTC

create[8005]: java.net.BindException: error occured while starting tomcat on Ubuntu Plateform

"StandardServer.await: create[8005]: java.net.BindException: Cannot assign
requested address" 

I have installed j2sdk1.5 and tomcat-5.0.28 on ubuntu plateform.

I have changed port no in server.xml also but still i am facing same
problem..

error that is displayed in catalina.out is as under:

StandardServer.await: create[8015]: 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:359)
        at java.net.ServerSocket.bind(ServerSocket.java:319)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at
org.apache.catalina.core.StandardServer.await(StandardServer.java:496)
        at org.apache.catalina.startup.Catalina.await(Catalina.java:619)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:579)
        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:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)


so please anybody have any solution then help me.      
-- 
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#a9243996
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 while starting tomcat on Ubuntu Plateform

Posted by André Warnier <aw...@ice-sa.com>.
Hi.

In the logs below, I see references to "JK2".
That seems to be a reference to the mod_jk2 connector, which to my knowledge is old, not 
developed or maintained anymore.
If that's the case, then you should change your configuration to use mod_jk1.x, of which 
the current version is downloadable at http://tomcat.apache.org/ (see Connectors).

Also, it seems that you are using Tomcat 4.1.
That is pretty much the same thing.  You should be using a more recent version, that one 
is probably 10 years old or so.

What I am saying is that you will not get much help with these versions.  Most people here 
are too young to even remember them.
See : http://tomcat.apache.org/whichversion.html


ikhan wrote:
> I have exatly same error in my tomcat, and I am getting it in every 10
> minutes, I added localhost entry in the hosts file, but still the issue is
> happening, please help me
> Following is the crash...
> 
> INFO: Creating MBeanServer
> Nov 17, 2010 1:10:05 PM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on port 8800
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.27-LE-jdk14
> HTTP Message Charset: utf-8
> SNMP Encoding: ISO8859_1
> Starting DashBoard !!!!!
> Local time zone US/Mountain
> Loading Managed Object Base...
> Nov 17, 2010 1:10:22 PM org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing, config='org.apache.struts.util.LocalStrings',
> returnNull=true
> Nov 17, 2010 1:10:22 PM org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing, config='org.apache.struts.action.ActionResources',
> returnNull=true
> Nov 17, 2010 1:10:23 PM org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources',
> returnNull=true
> Nov 17, 2010 1:10:24 PM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on port 8800
> Nov 17, 2010 1:10:24 PM org.apache.jk.common.ChannelSocket init
> INFO: JK2: ajp13 listening on /0.0.0.0:8802
> Nov 17, 2010 1:10:24 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=2/303 
> config=/opt/bmc/PATROL_DashBoard/tomcat/conf/jk2.properties
> StandardServer.await: create[8801]: 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:359)
> 	at java.net.ServerSocket.bind(ServerSocket.java:319)
> 	at java.net.ServerSocket.<init>(ServerSocket.java:185)
> 	at org.apache.catalina.core.StandardServer.await(StandardServer.java:510)
> 	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:597)
> 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> Stopping service Tomcat-Standalone
> DashBoard is about to shutdown.
> Waiting for current actions to end...
> Waiting for client servlets to end...
> Saving unsaved information on disk ...
> java.lang.NullPointerException
> 	at
> perform.janet.servlets.admin.GenericAdminServlet.stopActivities(GenericAdminServlet.java:665)
> 	at
> perform.janet.servlets.admin.DashboardContextListener.run(DashboardContextListener.java:115)
> 	at java.lang.Thread.run(Thread.java:619)
> PATROL DashBoard is still running.
> CompilerOracle: unrecognized line
>   "exclude oracle/sql/NUMBER _isPositive
> "
>   Unrecognized text after command: 
> CompilerOracle: unrecognized line
>   "exclude com/inprise/vbroker/IIOP/ProtocolConnection receive_reply
> "
>   Unrecognized text after command: 
> CompilerOracle: unrecognized line
>   "exclude oracle/xml/parser/v2/Step matchPattern
> "
>   Unrecognized text after command: 
> CompilerOracle: unrecognized line
>   "exclude perform/dm/core/topology/resolution/validation/SwitchesJoining
> getCommonEntry
> "
>   Unrecognized text after command: 
> CompilerOracle: unrecognized line
>   "exclude
> perform/dm/core/topology/resolution/validation/ValidationCriterium
> sortForwardings
> "
>   Unrecognized text after command: 
> CompilerOracle: unrecognized line
>   "exclude perform/util/log/FileQueryHandler prepareFilter
> "
>   Unrecognized text after command: 
> Nov 17, 2010 1:20:05 PM org.apache.commons.modeler.Registry loadRegistry
> INFO: Loading registry information
> Nov 17, 2010 1:20:05 PM org.apache.commons.modeler.Registry getRegistry
> INFO: Creating new Registry instance
> Nov 17, 2010 1:20:06 PM org.apache.commons.modeler.Registry getServer
> INFO: Creating MBeanServer
> Nov 17, 2010 1:20:07 PM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on port 8800
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.27-LE-jdk14
> HTTP Message Charset: utf-8
> SNMP Encoding: ISO8859_1
> Starting DashBoard !!!!!
> Local time zone US/Mountain
> Loading Managed Object Base...
> Nov 17, 2010 1:20:21 PM org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing, config='org.apache.struts.util.LocalStrings',
> returnNull=true
> Nov 17, 2010 1:20:21 PM org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing, config='org.apache.struts.action.ActionResources',
> returnNull=true
> Nov 17, 2010 1:20:22 PM org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources',
> returnNull=true
> Nov 17, 2010 1:20:23 PM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on port 8800
> Nov 17, 2010 1:20:23 PM org.apache.jk.common.ChannelSocket init
> INFO: JK2: ajp13 listening on /0.0.0.0:8802
> Nov 17, 2010 1:20:23 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=1/201 
> config=/opt/bmc/PATROL_DashBoard/tomcat/conf/jk2.properties
> StandardServer.await: create[8801]: 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:359)
> 	at java.net.ServerSocket.bind(ServerSocket.java:319)
> 	at java.net.ServerSocket.<init>(ServerSocket.java:185)
> 	at org.apache.catalina.core.StandardServer.await(StandardServer.java:510)
> 	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:597)
> 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> Stopping service Tomcat-Standalone
> DashBoard is about to shutdown.
> Waiting for current actions to end...
> Waiting for client servlets to end...
> Saving unsaved information on disk ...
> java.lang.NullPointerException
> 	at
> perform.janet.servlets.admin.GenericAdminServlet.stopActivities(GenericAdminServlet.java:665)
> 	at
> perform.janet.servlets.admin.DashboardContextListener.run(DashboardContextListener.java:115)
> 	at java.lang.Thread.run(Thread.java:619)
> PATROL DashBoard is still running.


---------------------------------------------------------------------
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 starting tomcat on Ubuntu Plateform

Posted by ikhan <im...@yahoo.com>.
I have exatly same error in my tomcat, and I am getting it in every 10
minutes, I added localhost entry in the hosts file, but still the issue is
happening, please help me
Following is the crash...

INFO: Creating MBeanServer
Nov 17, 2010 1:10:05 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8800
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27-LE-jdk14
HTTP Message Charset: utf-8
SNMP Encoding: ISO8859_1
Starting DashBoard !!!!!
Local time zone US/Mountain
Loading Managed Object Base...
Nov 17, 2010 1:10:22 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
Nov 17, 2010 1:10:22 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
Nov 17, 2010 1:10:23 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources',
returnNull=true
Nov 17, 2010 1:10:24 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8800
Nov 17, 2010 1:10:24 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8802
Nov 17, 2010 1:10:24 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=2/303 
config=/opt/bmc/PATROL_DashBoard/tomcat/conf/jk2.properties
StandardServer.await: create[8801]: 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:359)
	at java.net.ServerSocket.bind(ServerSocket.java:319)
	at java.net.ServerSocket.<init>(ServerSocket.java:185)
	at org.apache.catalina.core.StandardServer.await(StandardServer.java:510)
	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:597)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Stopping service Tomcat-Standalone
DashBoard is about to shutdown.
Waiting for current actions to end...
Waiting for client servlets to end...
Saving unsaved information on disk ...
java.lang.NullPointerException
	at
perform.janet.servlets.admin.GenericAdminServlet.stopActivities(GenericAdminServlet.java:665)
	at
perform.janet.servlets.admin.DashboardContextListener.run(DashboardContextListener.java:115)
	at java.lang.Thread.run(Thread.java:619)
PATROL DashBoard is still running.
CompilerOracle: unrecognized line
  "exclude oracle/sql/NUMBER _isPositive
"
  Unrecognized text after command: 
CompilerOracle: unrecognized line
  "exclude com/inprise/vbroker/IIOP/ProtocolConnection receive_reply
"
  Unrecognized text after command: 
CompilerOracle: unrecognized line
  "exclude oracle/xml/parser/v2/Step matchPattern
"
  Unrecognized text after command: 
CompilerOracle: unrecognized line
  "exclude perform/dm/core/topology/resolution/validation/SwitchesJoining
getCommonEntry
"
  Unrecognized text after command: 
CompilerOracle: unrecognized line
  "exclude
perform/dm/core/topology/resolution/validation/ValidationCriterium
sortForwardings
"
  Unrecognized text after command: 
CompilerOracle: unrecognized line
  "exclude perform/util/log/FileQueryHandler prepareFilter
"
  Unrecognized text after command: 
Nov 17, 2010 1:20:05 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Nov 17, 2010 1:20:05 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Nov 17, 2010 1:20:06 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Nov 17, 2010 1:20:07 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8800
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27-LE-jdk14
HTTP Message Charset: utf-8
SNMP Encoding: ISO8859_1
Starting DashBoard !!!!!
Local time zone US/Mountain
Loading Managed Object Base...
Nov 17, 2010 1:20:21 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
Nov 17, 2010 1:20:21 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
Nov 17, 2010 1:20:22 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources',
returnNull=true
Nov 17, 2010 1:20:23 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8800
Nov 17, 2010 1:20:23 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8802
Nov 17, 2010 1:20:23 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/201 
config=/opt/bmc/PATROL_DashBoard/tomcat/conf/jk2.properties
StandardServer.await: create[8801]: 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:359)
	at java.net.ServerSocket.bind(ServerSocket.java:319)
	at java.net.ServerSocket.<init>(ServerSocket.java:185)
	at org.apache.catalina.core.StandardServer.await(StandardServer.java:510)
	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:597)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Stopping service Tomcat-Standalone
DashBoard is about to shutdown.
Waiting for current actions to end...
Waiting for client servlets to end...
Saving unsaved information on disk ...
java.lang.NullPointerException
	at
perform.janet.servlets.admin.GenericAdminServlet.stopActivities(GenericAdminServlet.java:665)
	at
perform.janet.servlets.admin.DashboardContextListener.run(DashboardContextListener.java:115)
	at java.lang.Thread.run(Thread.java:619)
PATROL DashBoard is still running.
-- 
View this message in context: http://old.nabble.com/create-8005-%3A-java.net.BindException%3A-error-occured-while-starting-tomcat-on-Ubuntu-Plateform-tp9243996p30293945.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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 starting tomcat on Ubuntu Plateform

Posted by David Smith <dn...@cornell.edu>.
hetal wrote:

>"StandardServer.await: create[8005]: java.net.BindException: Cannot assign
>requested address" 
>
>I have installed j2sdk1.5 and tomcat-5.0.28 on ubuntu plateform.
>
>I have changed port no in server.xml also but still i am facing same
>problem..
>
>error that is displayed in catalina.out is as under:
>
>StandardServer.await: create[8015]: 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:359)
>        at java.net.ServerSocket.bind(ServerSocket.java:319)
>        at java.net.ServerSocket.<init>(ServerSocket.java:185)
>        at
>org.apache.catalina.core.StandardServer.await(StandardServer.java:496)
>        at org.apache.catalina.startup.Catalina.await(Catalina.java:619)
>        at org.apache.catalina.startup.Catalina.start(Catalina.java:579)
>        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:585)
>        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
>
>
>so please anybody have any solution then help me.      
>  
>

In one case I responded to about a year ago now, it turned out the issue
was a messed up localhost interface.  The shutdown port in tomcat binds
explicitly to the localhost interface (127.0.0.1) so that interface
needs to be working correctly.  Can you confirm the localhost interface
is working?

Also one other instance I've seen on the list (sorry, no personal
experience with this) had to do with the OS having issues with IPv6. 
That was in a *nix distribution.  I don't remember much beyond that, but
a search at google might dig up the original thread.

--David


---------------------------------------------------------------------
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


RE: create[8005]: java.net.BindException: error occured while startingtomcat on Ubuntu Plateform

Posted by "Caldarale, Charles R" <Ch...@unisys.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


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