首页 > Linux操作系统 > Linux操作系统 > 启动不了tomcat,报Socket bind failed: [730049] 错误

启动不了tomcat,报Socket bind failed: [730049] 错误

原创 Linux操作系统 作者:chenjq2010 时间:2012-05-16 18:09:53 0 删除 编辑


  1、 把默认8080修改为别的端口,重启tomcat,问题没能解决

 2、 把端口修改为“8087”,问题解决

  Licensed to the Apache Software Foundation (ASF)under one or more 
  contributor licenseagreements.  See the NOTICE file distributedwith 
  this work for additional information regardingcopyright ownership. 
  The ASF licenses this file to You under theApache License, Version 2.0 
  (the "License"); you may not use this fileexcept in compliance with 
  the License.  You may obtain acopy of the License at 


  Unless required by applicable law or agreed toin writing, software 
  distributed under the License is distributed onan "AS IS" BASIS, 
  See the License for the specific languagegoverning permissions and 
  limitations under theLicense. 
<!-- Note:  A "Server" is notitself a "Container", so you maynot 
    define subcomponents such as "Valves" at thislevel. 
    Documentation at/docs/config/server.html 
  <!--APRlibrary loader. Documentation at /docs/apr.html--> 
  <!--Initialize Jasper prior towebapps are loaded. Documentation at /docs/jasper-howto.html--> 
  <!-- Prevent memory leaks due touse of particular java/javaxAPIs--> 
  <!-- JMX Support for the Tomcatserver. Documentation at /docs/non-existent.html--> 

  <!-- Global JNDIresources 
      Documentation at/docs/jndi-resources-howto.html 
   <!-- Editable user database that can also be usedby 
        UserDatabaseRealm to authenticateusers 
             description="User database that can be updated andsaved" 

  <!-- A "Service" is a collectionof one or more "Connectors" thatshare 
      a single "Container" Note:  A "Service" is notitself a "Container", 
      so you may not define subcomponents such as "Valves" at thislevel. 
      Documentation at/docs/config/service.html 
   <!--The connectors can use a shared executor, youcan define one or more named threadpools--> 
   <!-- A "Connector" represents an endpoint by whichrequests are received 
        and responses are returned. Documentation at: 
        Java HTTP Connector: /docs/config/http.html (blocking&non-blocking) 
        Java AJP  Connector:/docs/config/ajp.html 
        APR (HTTP/AJP) Connector:/docs/apr.html 
        Define a non-SSL HTTP/1.1 Connector on port8080 
    <!-- A "Connector" using the shared threadpool--> 
   <!-- Define a SSL HTTP/1.1 Connector on port8443 
        This connector uses the JSSE configuration, when using APR,the 
        connector should be using the OpenSSL styleconfiguration 
        described in the APR documentation--> 
              maxThreads="150" scheme="https"secure="true" 
              clientAuth="false" sslProtocol="TLS"/> 

   <!-- Define an AJP 1.3 Connector on port 8009--> 

    <!-- An Engine represents the entry point(within Catalina) thatprocesses 
        every request.  The Engine implementation forTomcat stand alone 
        analyzes the HTTP headers included with the request, and passesthem 
        on to the appropriate Host (virtualhost). 
        Documentation at /docs/config/engine.html--> 

   <!-- You should set jvmRoute to supportload-balancing via AJP ie : 

     <!--For clustering, please take a look atdocumentation at: 
         /docs/cluster-howto.html  (simple howto) 
         /docs/config/cluster.html (reference documentation)--> 

     <!-- The request dumper valve dumps useful debugginginformation about 
          the request and response data received and sent byTomcat. 
          Documentation at: /docs/config/valve.html--> 

     <!-- This Realm uses the UserDatabase configured inthe global JNDI 
          resources under the key "UserDatabase".  Anyedits 
          that are performed against this UserDatabase areimmediately 
          available for use by the Realm. --> 

     <!-- Define the default virtualhost 
          Note: XML Schema validation will not work with Xerces2.2. 

       <!-- SingleSignOn valve, share authenticationbetween web applications 
            Documentation at: /docs/config/valve.html--> 

       <!-- Access log processes allexample. 
            Documentation at: /docs/config/valve.html--> 
              prefix="localhost_access_log." suffix=".txt" pattern="common"resolveHosts="false"/> 


来自 “ ITPUB博客 ” ,链接:,如需转载,请注明出处,否则将追究法律责任。

下一篇: 没有了~
请登录后发表评论 登录


  • 博文量
  • 访问量