tomcat8.5启动超时?
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了tomcat8.5启动超时?相关的知识,希望对你有一定的参考价值。
2021-06-10 09:57:22.034 DEBUG localhost-startStop-1 o.h.t.BasicTypeRegistry.register - Adding type registration serializable -> org.hibernate.type.SerializableType@67dbd7b4 - [pid:__, uid:__, uri:__]
2021-06-10 09:57:22.053 DEBUG localhost-startStop-1 o.h.t.BasicTypeRegistry.register - Adding type registration object -> org.hibernate.type.ObjectType@372adcf9 - [pid:__, uid:__, uri:__]
2021-06-10 09:57:22.054 DEBUG localhost-startStop-1 o.h.t.BasicTypeRegistry.register - Adding type registration java.lang.Object -> org.hibernate.type.ObjectType@372adcf9 - [pid:__, uid:__, uri:__]
2021-06-10 09:57:22.057 DEBUG localhost-startStop-1 o.h.t.BasicTypeRegistry.register - Adding type registration imm_date -> org.hibernate.type.AdaptedImmutableType@2a7b2306 - [pid:__, uid:__, uri:__]
2021-06-10 09:57:22.057 DEBUG localhost-startStop-1 o.h.t.BasicTypeRegistry.register - Adding type registration imm_time -> org.hibernate.type.AdaptedImmutableType@4bd7efa4 - [pid:__, uid:__, uri:__]
2021-06-10 09:57:22.058 DEBUG localhost-startStop-1 o.h.t.BasicTypeRegistry.register - Adding type registration imm_timestamp -> org.hibernate.type.AdaptedImmutableType@2e4a298b - [pid:__, uid:__, uri:__]
2021-06-10 09:57:22.058 DEBUG localhost-startStop-1 o.h.t.BasicTypeRegistry.register - Adding type registration imm_dbtimestamp -> org.hibernate.type.AdaptedImmutableType@599909f7 - [pid:__, uid:__, uri:__]
2021-06-10 09:57:22.058 DEBUG localhost-startStop-1 o.h.t.BasicTypeRegistry.register - Adding type registration imm_calendar -> org.hibernate.type.AdaptedImmutableType@2a8962d1 - [pid:__, uid:__, uri:__]
2021-06-10 09:57:22.059 DEBUG localhost-startStop-1 o.h.t.BasicTypeRegistry.register - Adding type registration imm_calendar_date -> org.hibernate.type.AdaptedImmutableType@5e5712eb - [pid:__, uid:__, uri:__]
2021-06-10 09:57:22.059 DEBUG localhost-startStop-1 o.h.t.BasicTypeRegistry.register - Adding type registration imm_binary -> org.hibernate.type.AdaptedImmutableType@212e7edb - [pid:__, uid:__, uri:__]
2021-06-10 09:57:22.059 DEBUG localhost-startStop-1 o.h.t.BasicTypeRegistry.register - Adding type registration imm_serializable -> org.hibernate.type.AdaptedImmutableType@30e90db8 - [pid:__, uid:__, uri:__]
一直卡在这,10分钟20分钟也不结束,知道最后超时。。
求大神解惑。
在Eclipse中,Tomcat启动不了,一直到超时?
eclipse启动tomcat超时解决方法:
现有的ECLIPSE都自带了TOMCAT插件,切换到SERVER目录下,然后新建一个SERVER
双击TOMCAT服务器,弹出TOMCAT对应的配置文件,按照如下进行设置即可:
这样即可解决启动超时的问题;
参考技术AServer Tomcat v6.0 Server at localhost was unable to start within 45 seconds.如果碰到这个错误,可以按以下2种方式修改
修改 workspace\\.metadata\\.plugins\\org.eclipse.wst.server.core\\servers.xml文件。
<servers>
<server hostname="localhost" id="JBoss v5.0 at localhost" name="JBoss v5.0 at
localhost" runtime-id="JBoss v5.0" server-type="org.eclipse.jst.server.generic.jboss5"
server-type-id="org.eclipse.jst.server.generic.jboss5" start-timeout="1000" stop-
timeout="15" timestamp="0">
<map jndiPort="1099" key="generic_server_instance_properties" port="8090"
serverAddress="127.0.0.1" serverConfig="default"/>
</server>
</servers>
把 start-timeout="45" 改为 start-timeout="450" 或者更长
重启eclipse就可以了。
在window中选择Show View>Other,直接输入servers查询出来,选中,弹出窗口,右键tomcat,选择open,然后出现如图界面
把Timeouts 下的Start(in seconds)改为450,或者更大的数值即可
1、可能是你设置的tomcat启动的等待时间太短。你可以设置下,打开你tomcat服务配置界面修改里面TimeOuts,中的start的时间,如图
2、可能你的工程中编译发布有问题。
以上是关于tomcat8.5启动超时?的主要内容,如果未能解决你的问题,请参考以下文章
CentOS6.10部署的Tomcat8.5启动后,浏览器访问不到的解决方法