Java 如果我把jenkins.war和nexus.war放在一起,tomcat7就不起作用了

Java 如果我把jenkins.war和nexus.war放在一起,tomcat7就不起作用了,java,jenkins,tomcat7,nexus,Java,Jenkins,Tomcat7,Nexus,全部 我使用Tomcat7。我已经将“set CATALINA_OPTS=-Xms2048m-Xmx4096m”设置到tomcat_home/bin文件夹中的CATALINA.sh中。 然后我将jenkins.war和nexus.war放入webapp/文件夹。但我两个都无法访问。 但是当我删除nexus.war时,一切都正常。 你能帮助我吗?我的jenkins和nexus war文件都是最新的。 谢谢 史蒂文 日志如下: INFO: Loaded all jobs 6136 Exception

全部
我使用Tomcat7。我已经将“set CATALINA_OPTS=-Xms2048m-Xmx4096m”设置到tomcat_home/bin文件夹中的CATALINA.sh中。
然后我将jenkins.war和nexus.war放入webapp/文件夹。但我两个都无法访问。
但是当我删除nexus.war时,一切都正常。
你能帮助我吗?我的jenkins和nexus war文件都是最新的。
谢谢
史蒂文

日志如下:

INFO: Loaded all jobs
6136 Exception in thread "pool-8-thread-2"
6137 Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "pool-8-thread-2"
6138 Exception in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]"
6139 Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "ContainerBackgroundProcessor[StandardEngine[Cata     lina]]"
6140 Exception in thread "pool-8-thread-7"
6141 Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "pool-8-thread-7"
6142 Exception in thread "pool-8-thread-3"
6143 Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "pool-8-thread-3"
6144 Exception in thread "pool-8-thread-6"
6145 Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "pool-8-thread-6"
6146 Exception in thread "pool-8-thread-4"
6147 Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "pool-8-thread-4"
6148 Exception in thread "pool-8-thread-8"
6149 Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "pool-8-thread-8"

您可以在catalina.bat/catalina.sh中添加JAVA\u选项

set JAVA_OPTS="-Xms1024m -Xmx10246m -XX:NewSize=256m -XX:MaxNewSize=356m -XX:PermSize=256m -XX:MaxPermSize=356m"

根据您的计算机配置指定值。

请发送一个包含异常或启动服务器时得到的任何信息的日志。该日志已添加到线程“pool-8-thread-4”162中。异常:java.lang.OutOfMemoryError从线程“pool-8-thread-4”中的UncaughtExceptionHandler抛出