关于tomcat配置https的问题

骑单车的程序员 发布于 2015/06/06 12:23
阅读 351
收藏 0

正确配置后,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:\Java\jdk1.6.0_32\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Common Files\NetSarang;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files\TortoiseSVN\bin;C:\Java\jdk1.6.0_32\bin;E:\tools\apache-maven-3.2.3 client\bin;C:\Program Files (x86)\SSH Communications Security\SSH 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\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\yiqiniu-web-oms\WEB-INF\lib\javax.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


加载中
0
专送一血的码农
专送一血的码农
把tomcat下的启动超时时间设置的长一点有用么?
0
骑单车的程序员
骑单车的程序员

引用来自“liangbo”的评论

把tomcat下的启动超时时间设置的长一点有用么?
没用的,应该不是这个问题,已经显示启动成功了,并且可以访问得到!
0
骑单车的程序员
骑单车的程序员
将项目打包后放入tomcat,启动服务,能够正常访问,估计是eclipse的问题
返回顶部
顶部