环境: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方面的应用类似);
分享到:
相关推荐
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...
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 ...
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....
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 ...
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 ...
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...
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 ...
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
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...
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 ...
二、特殊字符含义 文件名以“.”开头的都是隐藏文件/目录,只需在文件/目录名前加“.”就可隐藏它。 ~/ 表示主目录。 ./ 当前目录(一个点)。 ../ 上一级目录(两个点)。 ; 多个命令一起用。 > >> 输出重定向...
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) ...
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 ...
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 ...
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 ...
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 ...
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...
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 ...
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 ...
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...