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



all
我使用Tomcat 7。我已经将"设置 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中添加JAVA_OPTS.sh

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

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

最新更新