`
yanghuidang
  • 浏览: 910384 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

Tomcat无法启动解决(二)_Only one usage of each socket address is normally permitted

 
阅读更多

环境:MyEclipse 6.5+Tomcat6.0.18(安装版本)

在Tomcat下部署项目出错:

错误1:java.lang.Exception: Socket bind failed: [730048] Only one usage of eachsocket address (protocol/network address/port) is normally permitted.

错误2:LifecycleException: Protocol handlerinitialization failed: java.lang.Exception: Socket bind failed: [730048] Only one usage of eachsocket address (protocol/netw

ork address/port) is normally permitted.

错误3:org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Io 异常: The Network Adapter could not establish theconnection)

错误4:Caused by: java.sql.SQLException: Io 异常: The Network Adapter could not establish theconnection

错误5:java.net.BindException: Address already in use: JVM_Bind

解决办法:打开服务,发现Apache Tomcat 这个服务设置为自动,把它改为手动,然后停止此服务。

重新启动Tomcat,发现部署的项目跑起来了,问题解决。

总结:

1.每次启动Tomcat都对应一个服务开启,不用在服务里打开;

2.服务器报错会出现一大堆,只需要处理最核心、最关键的那个(一般是报错顺序最前面的 )(web方面的应用类似);

分享到:
评论

相关推荐

    微软内部资料-SQL性能优化2

    A 32-bit process is normally limited to addressing 2 gigabytes (GB) of memory, or 3 GB if the system was booted using the /3G boot switch even if there is more physical memory available. By leveraging...

    Universal-USB-Installer

    Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your ...

    微软内部资料-SQL性能优化5

    The only source of any storage location information is the sysindexes table, which keeps track of the address of the root page for every index, and the first IAM page for the index or table....

    WizFlow网页编辑

    Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the ...

    hibernate-shards.jar

    Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the ...

    Clause_by_Clause_Explanation_of_ISO_13485_2016_EN.pdf

    The work of preparing International Standards is normally carried out through ISO technical committees. Each member body interested in a subject for which a technical committee has been established...

    mysql 断电不能启动

    Plugin 'FEDERATED' is disabled. 2017-11-15 19:23:46 16c0 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option ...

    part one of a surfing tool

    This is the part one of Two parts. Please make sure you get "part two of a surfing tool" as well, and then use following command to get a intact bz2 package if you use linux. cat x* > browser.tar.bz2

    Expert One-on-One J2EE Design and Development

    What is this book about? The results of using J2EE in practice are often disappointing: applications are often slow, unduly complex, and take too long to develop. Rod Johnson believes that the problem...

    LCTF软件备份VariSpec™ Liquid Crystal Tunable Filters

    With these routines, one can address the filter as a virtual object, with little need for detailed understanding of its behavior. This simplifies the programming task for those who want to integrate ...

    2009 达内Unix学习笔记

    二、特殊字符含义 文件名以“.”开头的都是隐藏文件/目录,只需在文件/目录名前加“.”就可隐藏它。 ~/ 表示主目录。 ./ 当前目录(一个点)。 ../ 上一级目录(两个点)。 ; 多个命令一起用。 > >> 输出重定向...

    i-vector的工具箱

    As expected there is no change in overall shape of the distribution, and only the dynamic range of the feature stream is modified. wcmvn Purpose Cepstral mean and variance normalization (CMVN) ...

    Electronics A Systems Approach 6th Edition by Neil Storey- 2017

    One of the great misconceptions concerning this approach is that it is in some way less rigorous in its treatment of the subject. It seems that some instructors believe that any book that does not ...

    Development of a perceptually calibrated objective metric of noise

    A system simulation model was used to create scene-dependent noise masks that reflect current performance of mobile phone cameras. Stimuli with different overall magnitudes of noise and with varying ...

    80286_and_80287_Programmers_Reference_Manual_1987.pdf

    The 80286 is the most powerful 16-bit processor in the 8086 series of microprocessors, which includes the 8086, the 8088, the 80186, the 80188, and the 80286. It is designed for applications that ...

    a project model for the FreeBSD Project.7z

    Committers fall into three groups: committers who are only concerned with one area of the project (for instance file systems), committers who are involved only with one sub-project and committers who ...

    发电机常用英文.pdf

    One ampere of current will flow when a potential of one volt is applied across a resistance of one ohm. Annunciator An annunciator is an accessory device used to give remote indication of the status...

    微软内部资料-SQL性能优化3

    However, the req_mode column of master.dbo.syslockinfo has lock mode code that is one less than the code values shown here. For example, value of req_mode = 3 represents the Shared lock mode rather ...

    Fundamental of Electric Circuits-4e.pdf

    is exactly what we will do in each chapter. Within the normal problem set, we have a set of problems where we ask the student to design a problem. This will have two very important results. The first ...

    Android代码-查看手机应用的CPU和内存资源的使用情况

    Due to undocumented changes made by Google, on Android 7.0 CPU usage information for processes others than the own AnotherMonitor one will not be available (not even with root access). Rest of the app...

Global site tag (gtag.js) - Google Analytics