我开发了一个Oracle ADF应用程序并配置了数据源名称,并按照here进行了更改。在webapps文件夹中部署ADF war文件后,我在{{{tomcat web应用程序管理器控制台上单击了启动命令1}}然后我得到了
消息 下面的
失败 - 上下文路径中的应用程序[/ HrEntry_ViewController1_webapp]
无法启动失败 - 遇到异常
[org.apache.catalina.LifecycleException:无法启动组件
[StandardEngine [卡塔利娜] .StandardHost [本地主机] .StandardContext [/ HrEntry_ViewController1_webapp]]] 以下是catalina日志 04-Apr-2018 02:07:38.227 INFO [localhost-startStop-2]
org.apache.catalina.startup.HostConfig.deployWAR部署Web
应用程序存档[C:\ Program Files \ Apache Software
Foundation \ Tomcat 8.5 \ webapps \ sample.war]
04-Apr-2018 02:07:44.133 INFO [localhost-startStop-2] org.apache.jasper.servlet.TldScanner.scanJars至少有一个JAR是
扫描TLD但尚未包含TLD。为此启用调试日志记录
记录器获取已扫描但没有TLD的JAR的完整列表
发现在他们身上。在扫描期间跳过不需要的JAR可以改善
启动时间和JSP编译时间。
04-Apr-2018 02:07:44.164 INFO [localhost-startStop-2] org.apache.catalina.startup.HostConfig.deployWAR Web部署
应用程序存档[C:\ Program Files \ Apache Software
Foundation \ Tomcat 8.5 \ webapps \ sample.war]已于[5,953] ms完成
04-Apr-2018 02:07:54.180 INFO [ContainerBackgroundProcessor [StandardEngine [Catalina]]]
org.apache.catalina.startup.HostConfig.undeploy取消部署上下文
[/样品]
04-Apr-2018 02:07:54.258 INFO [localhost-startStop-3] org.apache.catalina.startup.HostConfig.deployWAR部署web
应用程序存档[C:\ Program Files \ Apache Software
Foundation \ Tomcat 8.5 \ webapps \ sample.war]
04-Apr-2018 02:07:58.242 INFO [localhost-startStop-3] org.apache.jasper.servlet.TldScanner.scanJars至少有一个JAR是
扫描TLD但尚未包含TLD。为此启用调试日志记录
记录器获取已扫描但没有TLD的JAR的完整列表
发现在他们身上。在扫描期间跳过不需要的JAR可以改善
启动时间和JSP编译时间。
04-Apr-2018 02:07:58.242 INFO [localhost-startStop-3] org.apache.catalina.startup.HostConfig.deployWAR Web部署
应用程序存档[C:\ Program Files \ Apache Software
Foundation \ Tomcat 8.5 \ webapps \ sample.war]已在[3,984] ms内完成
04-Apr-2018 02:08:21.007 INFO [Thread-6] org.apache.coyote.AbstractProtocol.pause暂停ProtocolHandler
[" HTTP-NIO-8080"]
04-Apr-2018 02:08:21.117 INFO [Thread-6] org.apache.coyote.AbstractProtocol.pause暂停ProtocolHandler
[" AJP-NIO-8009"]
04-Apr-2018 02:08:21.195 INFO [Thread-6] org.apache.catalina.core.StandardService.stopInternal Stopping service
[卡塔利娜]
04-Apr-2018 02:08:21.241 INFO [Thread-6] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler
[" HTTP-NIO-8080"]
04-Apr-2018 02:08:21.241 INFO [Thread-6] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler
[" AJP-NIO-8009"]
04-Apr-2018 02:08:34.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log服务器版本:
Apache Tomcat / 8.5.29
04-Apr-2018 02:08:34.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log服务器内置:
2018年3月5日13:11:12 UTC
04-Apr-2018 02:08:34.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log服务器编号:
8.5.29.0
04-Apr-2018 02:08:34.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log操作系统名称:
Windows Server 2012 R2
04-Apr-2018 02:08:34.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log操作系统版本:
6.3
04-Apr-2018 02:08:34.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log架构:
AMD64
04-Apr-2018 02:08:34.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:
C:\ Program Files \ Java \ jre1.8.0_161
04-Apr-2018 02:08:34.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM版本:
1.8.0_161-B12
04-Apr-2018 02:08:34.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM供应商:
甲骨文公司
04-Apr-2018 02:08:34.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:
C:\ Program Files \ Apache Software Foundation \ Tomcat 8.5
04-Apr-2018 02:08:34.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:
C:\ Program Files \ Apache Software Foundation \ Tomcat 8.5
04-Apr-2018 02:08:34.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log命令行
参数:-Dcatalina.home = C:\ Program Files \ Apache Software
Foundation \ Tomcat 8.5
04-Apr-2018 02:08:34.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log命令行
参数:-Dcatalina.base = C:\ Program Files \ Apache Software
Foundation \ Tomcat 8.5
04-Apr-2018 02:08:34.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log命令行
参数:-Djava.io.tmpdir = C:\ Program Files \ Apache Software
Foundation \ Tomcat 8.5 \ temp
04-Apr-2018 02:08:34.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log命令行
参数:
-Djava.util.logging.manager = org.apache.juli.ClassLoaderLogManager
04-Apr-2018 02:08:34.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log命令行
参数:-Djava.util.logging.config.file = C:\ Program Files \ Apache
Software Foundation \ Tomcat 8.5 \ conf \ logging.properties
04-Apr-2018 02:08:34.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log命令行
论点:退出
04-Apr-2018 02:08:34.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log命令行
论点:中止
04-Apr-2018 02:08:34.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log命令行
参数:-Xms128m
04-Apr-2018 02:08:34.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log命令行
参数:-Xmx256m
04-Apr-2018 02:08:34.101 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR
基于Apache Tomcat的本机库,可以实现最佳性能
在java.library.path上找不到生产环境:
[C:\ Program Files \ Apache Software Foundation \ Tomcat
8.5 \ BIN; C:\ WINDOWS \太阳\的Java \ BIN; C:\ WINDOWS \ SYSTEM32; C:\ WINDOWS; C:\ ProgramData \ ORACLE \的Java \ javapath; C:\ WINDOWS \ SYSTEM32; C:\ WINDOWS; C:\ WINDOWS \ SYSTEM32 \ WBEM; C:\ WINDOWS \ SYSTEM32 \ WindowsPowerShell \ V1.0 \; C:\ PROGRAM
文件\亚马逊\ CFN的自举\ ;;]
04-Apr-2018 02:08:34.616 INFO [main] org.apache.coyote.AbstractProtocol.init初始化ProtocolHandler
[" HTTP-NIO-8080"]
04-Apr-2018 02:08:34.882 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector使用
servlet写/读的共享选择器
04-Apr-2018 02:08:34.897 INFO [main] org.apache.coyote.AbstractProtocol.init初始化ProtocolHandler
[" AJP-NIO-8009"]
04-Apr-2018 02:08:34.897 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector使用
servlet写/读的共享选择器
04-Apr-2018 02:08:34.897 INFO [main] org.apache.catalina.startup.Catalina.load初始化处理
2004 ms
04-Apr-2018 02:08:35.147 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting
服务[Catalina]
04-Apr-2018 02:08:35.147 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet
引擎:Apache Tomcat / 8.5.29
04-Apr-2018 02:08:35.194 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR部署web
应用程序存档[C:\ Program Files \ Apache Software
Foundation \ Tomcat 8.5 \ webapps \ ADFTomcatDemo_ViewController_webapp.war]
04-Apr-2018 02:08:35.819警告[localhost-startStop-1] org.apache.tomcat.util.scan.StandardJarScanner.processURLs失败
扫描
[文件:/ C:/Program%20Files/oracle_common/modules/oracle.osdt/osdt_cert.jar]
来自classloader层次结构
java.io.FileNotFoundException:C:\ Program Files \ oracle_common \ modules \ oracle.osdt \ osdt_cert.jar(系统
找不到指定的路径)
at java.util.zip.ZipFile.open(Native Method)
在java.util.zip.ZipFile。(未知来源)
在java.util.zip.ZipFile。(未知来源)
在java.util.jar.JarFile。(未知来源)
在java.util.jar.JarFile。(未知来源)
在org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:188)
在org.apache.tomcat.util.scan.JarFileUrlJar。(JarFileUrlJar.java:65)
在org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:49)
在org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:374)
at org.apache.tomcat.util.scan.StandardJarScanner.processURLs(StandardJarScanner.java:309)
at org.apache.tomcat.util.scan.StandardJarScanner.doScanClassPath(StandardJarScanner.java:266)
在org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:229)
在org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1888)
在org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1116)
在org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:765)
在org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299)
在org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5113)
在org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
在org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
在org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
在org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
在org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:986)
在org.apache.catalina.startup.HostConfig $ DeployWar.run(HostConfig.java:1857)
at java.util.concurrent.Executors $ RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor $ Worker.run(Unknown Source)
在java.lang.Thread.run(未知来源)