我的工程成功启动,没有抛出异常,但是无法访问!日志有一行apr,不懂是因为Tomcat少东西了吗

来源:5-4 秒杀交互

慕九州2923858

2017-06-03 13:34

Connected to the target VM, address: '127.0.0.1:51860', transport: 'socket'

03-Jun-2017 12:44:23.428 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.44

03-Jun-2017 12:44:23.431 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          May 10 2017 17:21:09 UTC

03-Jun-2017 12:44:23.431 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.44.0

03-Jun-2017 12:44:23.431 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Mac OS X

03-Jun-2017 12:44:23.431 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            10.12.4

03-Jun-2017 12:44:23.431 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          x86_64

03-Jun-2017 12:44:23.431 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre

03-Jun-2017 12:44:23.432 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_131-b11

03-Jun-2017 12:44:23.432 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation

03-Jun-2017 12:44:23.432 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /Users/hanjietao/Library/Caches/IntelliJIdea2017.1/tomcat/Unnamed_HCS

03-Jun-2017 12:44:23.432 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /usr/local/apache-tomcat-8.0.44

03-Jun-2017 12:44:23.432 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/Users/hanjietao/Library/Caches/IntelliJIdea2017.1/tomcat/Unnamed_HCS/conf/logging.properties

03-Jun-2017 12:44:23.432 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

03-Jun-2017 12:44:23.432 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:51860,suspend=y,server=n

03-Jun-2017 12:44:23.434 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=

03-Jun-2017 12:44:23.434 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1089

03-Jun-2017 12:44:23.434 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false

03-Jun-2017 12:44:23.434 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false

03-Jun-2017 12:44:23.434 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1

03-Jun-2017 12:44:23.435 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048

03-Jun-2017 12:44:23.435 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources

03-Jun-2017 12:44:23.435 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=/usr/local/apache-tomcat-8.0.44/endorsed

03-Jun-2017 12:44:23.435 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/Users/hanjietao/Library/Caches/IntelliJIdea2017.1/tomcat/Unnamed_HCS

03-Jun-2017 12:44:23.435 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/apache-tomcat-8.0.44

03-Jun-2017 12:44:23.435 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/local/apache-tomcat-8.0.44/temp

03-Jun-2017 12:44:23.435 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Users/hanjietao/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.

03-Jun-2017 12:44:23.550 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8090"]

03-Jun-2017 12:44:23.569 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read

03-Jun-2017 12:44:23.572 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]

03-Jun-2017 12:44:23.574 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read

03-Jun-2017 12:44:23.574 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 424 ms

03-Jun-2017 12:44:23.598 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina

03-Jun-2017 12:44:23.598 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.44

03-Jun-2017 12:44:23.605 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8090"]

03-Jun-2017 12:44:23.613 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]

03-Jun-2017 12:44:23.614 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 40 ms

Connected to server

03-Jun-2017 12:44:33.614 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/apache-tomcat-8.0.44/webapps/manager

03-Jun-2017 12:44:33.862 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/apache-tomcat-8.0.44/webapps/manager has finished in 248 ms


写回答 关注

1回答

  • 奋斗01234567891011
    2017-06-07 22:47:24

    上次容器未正常关闭,或者本级已经正在运行服务端口被占用

Java高并发秒杀API之web层

Java实现高并发秒杀API的第三门课,介绍Web层的设计和实现

66084 学习 · 395 问题

查看课程

相似问题