我正在使用Tomee +和Maven。我可以在本地运行(Windows XP / 7,JDK 1.6,Maven 2.2.1),但在我们的Jenkins CI服务器上运行测试会产生一些负载并挂起:
Running server.util.MessageProcessorTest Exception in thread "Thread-17" Exception in thread "Thread-19" Exception in thread "Thread-14" java.lang.ArithmeticException: divide by zero
...
Exception in thread "Thread-25" java.lang.ArithmeticException: divide by zeroException in thread "Thread-30" java.lang.ArithmeticException: divide by zero
java.lang.ArithmeticException: divide by zero at org.apache.openejb.Core$3.run(Core.java:118)
我正在使用openejb 4.5.1:
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-core</artifactId>
<version>4.5.1</version>
<scope>test</scope>
</dependency>
Jenkins CI服务器是一个80核的Red Hat 4.1.x(Linux 2.6.x)盒子,运行JDK1.6,Maven 2。