geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralf Barkow <Ralf.Bar...@web.de>
Subject [geronimo-connector] JUnit [ERROR] TEST ...connector.outbound.ConnectionManagerStressTest FAILED
Date Fri, 28 May 2004 10:04:33 GMT

Building the current 1.0-SNAPSHOT on my 'thin-chested' Win2kProf DE box 
w/ java v1.4.2_04-b05, there's now an OutOfMemoryError while running the 
connector.outbound.ConnectionManagerStressTest (see following maven 
output).  Okay, 392.692 KB of RAM in Win speech isn't that much, but 
obviously no problem if I run thist test in Eclipse3M8. Everything's 
green there (see also following Eclipse JUnit Test output).

Setting MAVEN_OPTS=-Xmx<memory_size> didn't help.  I tried 512m 
and--probably more realistic--256M, which I also use in the comand line 
arguments for Eclipse.  So I build--successfully btw--with "maven 
-Dmaven.test.failure.ignore=true" for now.

Is this a maven bug (v. 1.0-rc2) ?  Or a problem with the installed 
JREs?  Eclipse runs under/uses AppServer-jdk-1.4.2_04-b04, which is 
JAVA_HOME also, vs. j2re-1.4.2_04-b05 in WINNT/system32/ and programs, 
which seems to be launched by maven, shells, etc.  

Any ideas?  ;-)


--- schnipp (maven output) --->

| Executing (default): Geronimo :: Connector
| Memory: 45M/50M
        (...)
test:test:
        (...)
    [junit] Running 
org.apache.geronimo.connector.outbound.ConnectionManagerStressTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 46,457 sec
    [junit] java.lang.OutOfMemoryError
    [junit] Exception in thread "main"
    [junit] [ERROR] TEST 
org.apache.geronimo.connector.outbound.ConnectionManagerStressTest FAILED

<--- schnapp ---

The test-report file
 ~\incubator-geronimo\modules\connector\target\test-reports\TEST-org.apache.geronimo.connector.outbound.ConnectionManagerStressTest.txt


is empty (0 KB).


--- schnipp (Eclipse JUnit Test output [condensed]) --->
 691
got a cx: 10, time: 571
got a cx: 2, time: 421
got a cx: 2, time: 991
got a cx: 3, time: 661
got a cx: 114, time: 1122
got a cx: 2, time: 781
got a cx: 2, time: 891
    at 
org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:67)
    at 
org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:78)
    at 
org.apache.geronimo.connector.mock.MockConnectionFactory.getConnection(MockConnectionFactory.java:52)
    at 
org.apache.geronimo.connector.mock.MockConnectionFactory.getConnection(MockConnectionFactory.java:48)
    at 
org.apache.geronimo.connector.outbound.ConnectionManagerTestUtils$1.invoke(ConnectionManagerTestUtils.java:84)
    at 
org.apache.geronimo.connector.outbound.ConnectionManagerTestUtils.invoke(ConnectionManagerTestUtils.java:124)
    at 
org.apache.geronimo.connector.outbound.connectiontracking.DefaultComponentInterceptor.invoke(DefaultComponentInterceptor.java:55)
    at 
org.apache.geronimo.connector.outbound.ConnectionManagerStressTest$1.run(ConnectionManagerStressTest.java:76)
No ManagedConnections available within configured blocking timeout ( 100 
[ms] )

        (...)

28.05.2004 10:29:53 
org.apache.geronimo.connector.outbound.ConnectionManagerStressTest 
testNoTransactionCallMultiThread
INFO: no tx run, thread count: 100, connection count: 200, duration: 
517394, total duration: 48601135, ms per cx request: 2430
no tx run, thread count: 100, connection count: 200, duration: 517394, 
total duration: 48601135, ms per cx request: 2430, slow cx request 
count: 3240

<--- schnapp (Eclipse JUnit Test output [condensed]) ---


Thanks,

-- 
/rgb  


Mime
View raw message