关于tomcat配置https的问题

关于tomcat配置https的问题

月亮是我掰弯的 发布于 2021-11-25 字数 3423 浏览 741 回复 4

正确配置后,eclipse启动,没有异常,也能正确访问!

2015-6-6 12:19:42 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8443"]
2015-6-6 12:19:42 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
2015-6-6 12:19:42 org.apache.catalina.startup.Catalina start
信息: Server startup in 20344 ms

----------
但是eclipse的progress下一直处于starting tomcatv7.0 server,然后超时,server自动关闭,

请问这是咋回事儿?

-------------------
补充打印的日志:

2015-6-6 12:19:22 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:Javajdk1.6.0_32bin;C:WindowsSunJavabin;C:Windowssystem32;C:Windows;C:Program Files (x86)Common FilesNetSarang;C:Program Files (x86)InteliCLS Client;C:Program FilesInteliCLS Client;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program FilesIntelIntel(R) Management Engine ComponentsDAL;C:Program FilesIntelIntel(R) Management Engine ComponentsIPT;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsDAL;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsIPT;C:Program Files (x86)IntelOpenCL SDK3.0binx86;C:Program Files (x86)IntelOpenCL SDK3.0binx64;C:Program FilesTortoiseSVNbin;C:Javajdk1.6.0_32bin;E:toolsapache-maven-3.2.3 clientbin;C:Program Files (x86)SSH Communications SecuritySSH Secure Shell;.
2015-6-6 12:19:22 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:yiqiniu-web-oms' did not find a matching property.
2015-6-6 12:19:22 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8443"]
2015-6-6 12:19:22 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
2015-6-6 12:19:22 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 539 ms
2015-6-6 12:19:22 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
2015-6-6 12:19:22 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.42
2015-6-6 12:19:22 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:workspace_indigo.metadata.pluginsorg.eclipse.wst.server.coretmp1wtpwebappsyiqiniu-web-omsWEB-INFlibjavax.servlet-api-3.0.1.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2015-6-6 12:19:26 org.apache.catalina.core.ApplicationContext log
信息: No Spring WebApplicationInitializer types detected on classpath
2015-6-6 12:19:26 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
。。。。。此处省略其他

2015-6-6 12:19:42 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8443"]
2015-6-6 12:19:42 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
2015-6-6 12:19:42 org.apache.catalina.startup.Catalina start
信息: Server startup in 20344 ms

如果你对这篇文章有疑问,欢迎到本站 社区 发帖提问或使用手Q扫描下方二维码加群参与讨论,获取更多帮助。

扫码加入群聊

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

复古式 2021-12-01 4 楼

将项目打包后放入tomcat,启动服务,能够正常访问,估计是eclipse的问题

瑾夏年华 2021-12-01 3 楼

引用来自“liangbo”的评论

把tomcat下的启动超时时间设置的长一点有用么?

终止放荡 2021-12-01 2 楼

把tomcat下的启动超时时间设置的长一点有用么?

多情癖 2021-11-28 1 楼

看日志