Apache Tomcat(8.5.13)启动问题

时间:2018-03-17 03:45:48

标签: java tomcat stderr

我正在使用Apache Tomcat(8.5.13)和JAVA 8以及MSSQL Database.While试图用所有配置文件(server.xml和context.xml)启动JVM,我无法启动JVM和运行。     在Tomcat标准错误日志中观察到下面提到的错误。

2018-03-16 20:26:01 Commons Daemon procrun stderr initialized
java.io.FileNotFoundException: D:TOMCAT_LOGS\CSX2L\csx2l-stderr.2018-03-16.log (The system cannot find the path specified)
    at java.io.FileOutputStream.open0(Native Method)
    at java.io.FileOutputStream.open(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)

java.io.FileNotFoundException: D:TOMCAT_LOGS\CSX2L\csx2l-stdout.2018-03-16.log (The system cannot find the path specified)
    at java.io.FileOutputStream.open0(Native Method)
    at java.io.FileOutputStream.open(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)

Mar 16, 2018 8:26:19 PM com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl 
SEVERE: Error initializing PRAppLoader
java.io.FileNotFoundException: D:\Apache\Tomcat\8.5.13\instances\CSX2L\work\Catalina\localhost\prweb\extractedFiles\apploader\prlog4jcustomappender.jar (Access is denied).

Mar 16, 2018 8:26:19 PM com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega 
SEVERE: Problem during method invocation (contextInitialized)
java.lang.RuntimeException: PRAppLoader was not properly initialized, unable to load class com.pega.pegarules.web.servlet.WebAppLifeCycleListener.

Mar 16, 2018 8:26:19 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot
java.lang.RuntimeException: Problem during method invocation (contextInitialized).

Mar 16, 2018 8:26:19 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file

Mar 16, 2018 8:26:19 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/prweb] startup failed due to previous errors

1 个答案:

答案 0 :(得分:0)

您的用户似乎没有对tomcat的访问权限,在为您的用户提供访问权限之后尝试启动JVM - &gt; 右键单击tomcat目录,然后转到属性,接着是安全选项卡,并提供访问权限。