Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Problem Starting Tomcat

Steve Ochani

2006-03-17

Replies:

On 17 Mar 2006 at 13:06, Marco Aurélio Seraphim da Sil wrote:

> Hi,
>
> I got this problem yesterday at the morning, but during the evening it
> was working well, and when reboot the machine, it got the same
> problem.
>
> The port 8005 is been used by another program, but in my server.xml I
> can't see nothing using the port 8005.
>

8005 is the default shutdown port for tomcat


> I'm using it on Windows XP, and tomcat 5.0.28...
>
> This is my server.xml...
> <?xml version='1.0' encoding='utf-8'?>
> <Server debug="9">
>  <Listener
>  className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
>  <Listener
> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener
> "/>
>  <GlobalNamingResources>
>   <Environment name="simpleValue" type="java.lang.Integer"
>   value="30"/> <Resource auth="Container" description="User database
>   that can be
> updated and saved" name="UserDatabase"
> type="org.apache.catalina.UserDatabase"/>
>   <ResourceParams name="UserDatabase">
>     <parameter>
>      <name>factory</name>
>      <value>org.apache.catalina.users.MemoryUserDatabaseFactory</va
>      lue>
>     </parameter>
>     <parameter>
>      <name>pathname</name>
>      <value>conf/tomcat-users.xml</value>
>     </parameter>
>   </ResourceParams>
>  </GlobalNamingResources>
>  <Service debug="9" name="Catalina">
>   <Connector acceptCount="100" connectionTimeout="40000" debug="9"
> disableUploadTimeout="true" port="81" redirectPort="8443"
> maxSpareThreads="75" maxThreads="150" minSpareThreads="25">
>   </Connector>
>   <Connector port="8009" protocol="AJP/1.3"
> protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"
> redirectPort="8443">
>   </Connector>
>   <Engine debug="9" defaultHost="localhost" name="Catalina">
>     <Host appBase="webapps" name="localhost">
>      <Logger className="org.apache.catalina.logger.FileLogger"
>      debug="9"
> prefix="localhost_log." suffix=".txt" timestamp="true" verbosity="4"/>
>     </Host>
>     <Logger className="org.apache.catalina.logger.FileLogger"
>     debug="9"
> prefix="catalina_log." suffix=".txt" timestamp="true" verbosity="4"/>
>     <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
> debug="9"/>
>   </Engine>
>  </Service>
> </Server>
>
>
> Thanks,
>
> Marco
> ----- Original Message -----
> From: "Neil Sherman" <nsherman@(protected)>
> To: "Tomcat Users List" <users@(protected)
> Seraphim da Silva" <marco.aurelio@(protected)
> 17, 2006 12:07 PM Subject: RE: Problem Starting Tomcat
>
>
> Marco,
>
> This sounds as if Tomcat is attempting to bind to a port that is
> already in use.
>
> You should check your server.xml file to see which ports Tomcat is
> attempting to bind too, you can then check to see if this port is
> already in use by running:
>
> Netstat -a
>
> Has this setup worked previously ? If so is tomcat already running ?
>
> How are you starting tomcat ? And under what OS ?
>
> Neil
>
> -----Original Message-----
> From: Marco Aurélio Seraphim da Silva
> [mailto:marco.aurelio@(protected):
> users@(protected)
>
>
>
>  When I Start tomcat i got this error:
>
> StandardServer.await: create[8005]: java.net.BindException: Address
> already in use: JVM_Bind java.net.BindException: Address already in
> use: JVM_Bind
>      at java.net.PlainSocketImpl.socketBind(Native Method)
>      .......
>
>
> Someone why are this hapennig?
>
> Thanks,
>
> Marco
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> additional commands, e-mail: users-help@(protected)
>
>
> This email message contains confidential information and is intended
> for the use of its intended recipient only. Access to this email by
> anyone else is unauthorised. If you are not the intended recipient
> you are hereby notified that any use, disclosure, copying or
> distribution or any action taken or omitted to be taken in reliance on
> it is strictly prohibited.
>
> If this communication has been sent to you in error, please notify us
> immediately.
>
> Action Information Management Ltd.
> 129 Devizes Road, Hilperton, Trowbridge, Wiltshire BA14 7SZ.
> Tel: +44 (0) 1225 711200
> Fax: +44 (0) 1225 711222
> Website www.aimltd.co.uk
> email: support@(protected)
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> additional commands, e-mail: users-help@(protected)
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.