NutzCN Logo
问答 nutzboot tomcat容器部署失败
发布于 2128天前 作者 Hamming 1651 次浏览 复制 上一个帖子 下一个帖子
标签:

Tomcat 网站下载的容器8.5 部署
日志

D:\apache-tomcat-8.5.38\bin\catalina.bat run
[2019-02-24 05:01:37,087] Artifact nutzsite:war exploded: Waiting for server connection to start artifact deployment...
Using CATALINA_BASE:   "C:\Users\Haimming\.IntelliJIdea2018.3\system\tomcat\Unnamed_nutzsite_2"
Using CATALINA_HOME:   "D:\apache-tomcat-8.5.38"
Using CATALINA_TMPDIR: "D:\apache-tomcat-8.5.38\temp"
Using JRE_HOME:        "C:\Program Files\Java\jdk-11.0.2"
Using CLASSPATH:       "D:\apache-tomcat-8.5.38\bin\bootstrap.jar;D:\apache-tomcat-8.5.38\bin\tomcat-juli.jar"
Connected to the target VM, address: '127.0.0.1:59138', transport: 'socket'
24-Feb-2019 17:01:41.137 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.5.38
24-Feb-2019 17:01:41.147 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Feb 5 2019 11:42:42 UTC
24-Feb-2019 17:01:41.147 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.5.38.0
24-Feb-2019 17:01:41.154 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 10
24-Feb-2019 17:01:41.156 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            10.0
24-Feb-2019 17:01:41.157 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
24-Feb-2019 17:01:41.158 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             C:\Program Files\Java\jdk-11.0.2
24-Feb-2019 17:01:41.158 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           11.0.2+9-LTS
24-Feb-2019 17:01:41.161 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
24-Feb-2019 17:01:41.161 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         C:\Users\Haimming\.IntelliJIdea2018.3\system\tomcat\Unnamed_nutzsite_2
24-Feb-2019 17:01:41.162 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         D:\apache-tomcat-8.5.38
24-Feb-2019 17:01:41.164 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
24-Feb-2019 17:01:41.166 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
24-Feb-2019 17:01:41.166 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
24-Feb-2019 17:01:41.167 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\Haimming\.IntelliJIdea2018.3\system\tomcat\Unnamed_nutzsite_2\conf\logging.properties
24-Feb-2019 17:01:41.168 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
24-Feb-2019 17:01:41.168 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:59138,suspend=y,server=n
24-Feb-2019 17:01:41.168 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -javaagent:C:\Users\Haimming\.IntelliJIdea2018.3\system\captureAgent\debugger-agent.jar
24-Feb-2019 17:01:41.168 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
24-Feb-2019 17:01:41.168 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
24-Feb-2019 17:01:41.169 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
24-Feb-2019 17:01:41.169 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.password.file=C:\Users\Haimming\.IntelliJIdea2018.3\system\tomcat\Unnamed_nutzsite_2\jmxremote.password
24-Feb-2019 17:01:41.169 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.access.file=C:\Users\Haimming\.IntelliJIdea2018.3\system\tomcat\Unnamed_nutzsite_2\jmxremote.access
24-Feb-2019 17:01:41.169 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
24-Feb-2019 17:01:41.169 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
24-Feb-2019 17:01:41.176 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
24-Feb-2019 17:01:41.178 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
24-Feb-2019 17:01:41.180 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\Haimming\.IntelliJIdea2018.3\system\tomcat\Unnamed_nutzsite_2
24-Feb-2019 17:01:41.180 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=D:\apache-tomcat-8.5.38
24-Feb-2019 17:01:41.180 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=D:\apache-tomcat-8.5.38\temp
24-Feb-2019 17:01:41.184 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.21] using APR version [1.6.5].
24-Feb-2019 17:01:41.185 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
24-Feb-2019 17:01:41.185 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
24-Feb-2019 17:01:41.207 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1a  20 Nov 2018]
24-Feb-2019 17:01:41.350 淇℃伅 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
24-Feb-2019 17:01:41.472 淇℃伅 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
24-Feb-2019 17:01:41.521 淇℃伅 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
24-Feb-2019 17:01:41.538 淇℃伅 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
24-Feb-2019 17:01:41.546 淇℃伅 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 2681 ms
24-Feb-2019 17:01:41.753 淇℃伅 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
24-Feb-2019 17:01:41.753 淇℃伅 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.38
24-Feb-2019 17:01:41.780 淇℃伅 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
24-Feb-2019 17:01:41.804 淇℃伅 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
24-Feb-2019 17:01:41.812 淇℃伅 [main] org.apache.catalina.startup.Catalina.start Server startup in 265 ms
Connected to server
[2019-02-24 05:01:42,149] Artifact nutzsite:war exploded: Artifact is being deployed, please wait...
24-Feb-2019 17:01:47.906 淇℃伅 [RMI TCP Connection(4)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
24-Feb-2019 17:01:48.272 璀﹀憡 [RMI TCP Connection(4)-127.0.0.1] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [238] milliseconds.
[2019-02-24 05:01:48,335] Artifact nutzsite:war exploded: Artifact is deployed successfully
[2019-02-24 05:01:48,337] Artifact nutzsite:war exploded: Deploy took 6,187 milliseconds
24-Feb-2019 17:01:51.785 淇℃伅 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\apache-tomcat-8.5.38\webapps\manager]
24-Feb-2019 17:01:51.897 淇℃伅 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\apache-tomcat-8.5.38\webapps\manager] has finished in [113] ms

访问
http://localhost:8080/

HTTP Status 404 – Not Found
Type Status Report

Message /

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

Apache Tomcat/8.5.38

我想容器 热部署 怎么操作呢

3 回复

这是打包成war?

要用 mvn clean package nutzboot:shade nutzboot:war 生成的war文件才可以的

添加回复
请先登陆
回到顶部