=====================================================================
==THIS IS AN AUTOMATED EMAIL - SEE http://www.lubega.com FOR DETAILS=
=====================================================================
Buildfile: run_tests.xml
build:
prepare:
compile:
jar:
prepare:
bank-subproject:
compile:
jar:
[delete] Deleting directory /home/lubega/jbossro/jbosstest/build/classes/META-INF
[copy] Copying 3 files to /home/lubega/jbossro/jbosstest/build/classes
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/lib/banktest.jar
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/deploy/bank.jar
prepare:
hello-subproject:
compile:
jar:
[delete] Deleting directory /home/lubega/jbossro/jbosstest/build/classes/META-INF
[copy] Copying 2 files to /home/lubega/jbossro/jbosstest/build/classes
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/lib/hellotest.jar
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/deploy/hello.jar
prepare:
idgen-subproject:
compile:
jar:
[delete] Deleting directory /home/lubega/jbossro/jbosstest/build/classes/META-INF
[copy] Copying 2 files to /home/lubega/jbossro/jbosstest/build/classes
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/lib/idgentest.jar
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/deploy/idgen.jar
prepare:
cts-subproject:
compile:
jar:
[delete] Deleting directory /home/lubega/jbossro/jbosstest/build/classes/META-INF
[copy] Copying 2 files to /home/lubega/jbossro/jbosstest/build/classes
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/lib/ctstest.jar
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/deploy/cts.jar
prepare:
perf-subproject:
compile:
jar:
[delete] Deleting directory /home/lubega/jbossro/jbosstest/build/classes/META-INF
[copy] Copying 1 files to /home/lubega/jbossro/jbosstest/build/classes
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/lib/perftest.jar
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/deploy/perf.jar
prepare:
bench-subproject:
compile:
ear:
[delete] Deleting directory /home/lubega/jbossro/jbosstest/build/classes/META-INF
[copy] Copying 3 files to /home/lubega/jbossro/jbosstest/build/classes
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/bench/bench.jar
[delete] Deleting directory /home/lubega/jbossro/jbosstest/build/classes/META-INF
[copy] Copying 4 files to /home/lubega/jbossro/jbosstest/build/web
[copy] Copying 11 files to
/home/lubega/jbossro/jbosstest/build/web/WEB-INF/classes/org/jboss/test/bench/servlet
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/bench/bench.war
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/deploy/bench.ear
prepare:
testbean-subproject:
compile:
jar:
[copy] Copying 1 files to /home/lubega/jbossro/jbosstest/build/classes
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/deploy/testbean.jar
[delete] Deleting directory /home/lubega/jbossro/jbosstest/build/classes/META-INF
[copy] Copying 3 files to /home/lubega/jbossro/jbosstest/build/classes
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/deploy/testbean2.jar
prepare:
dbtest-subproject:
compile:
jar:
[delete] Deleting directory /home/lubega/jbossro/jbosstest/build/classes/META-INF
[copy] Copying 2 files to /home/lubega/jbossro/jbosstest/build/classes
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/deploy/dbtest.jar
prepare:
lock-subproject:
compile:
jar:
[delete] Deleting directory /home/lubega/jbossro/jbosstest/build/classes/META-INF
[copy] Copying 1 files to /home/lubega/jbossro/jbosstest/build/classes
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/deploy/locktest.jar
prepare:
load-subproject:
compile:
jar:
[delete] Deleting directory /home/lubega/jbossro/jbosstest/build/classes/META-INF
prepare:
xa-subproject:
compile:
jar:
[copy] Copying 2 files to /home/lubega/jbossro/jbosstest/build/classes
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/deploy/xatest.jar
prepare:
bmp-subproject:
compile:
jar:
[delete] Deleting directory /home/lubega/jbossro/jbosstest/build/classes/META-INF
[copy] Copying 2 files to /home/lubega/jbossro/jbosstest/build/classes
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/lib/bmptest.jar
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/deploy/bmp.jar
prepare:
mdb-subproject:
compile:
jar:
[delete] Deleting directory /home/lubega/jbossro/jbosstest/build/classes/META-INF
[copy] Copying 2 files to /home/lubega/jbossro/jbosstest/build/classes
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/lib/mdbtest.jar
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/deploy/mdb.jar
prepare:
spydermq-subproject:
compile:
jar:
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/lib/spydermqtest.jar
prepare:
jrmp-subproject:
compile:
jar:
[delete] Deleting directory /home/lubega/jbossro/jbosstest/build/classes/META-INF
[copy] Copying 2 files to /home/lubega/jbossro/jbosstest/build/classes
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/deploy/jrmp-comp.jar
prepare:
naming-subproject:
compile:
jar:
[delete] Deleting directory /home/lubega/jbossro/jbosstest/build/classes/META-INF
[mkdir] Created dir: /home/lubega/jbossro/jbosstest/build/classes/META-INF
[copy] Copying 1 files to /home/lubega/jbossro/jbosstest/build/classes/META-INF
[copy] Copying 1 files to /home/lubega/jbossro/jbosstest/build/classes/META-INF
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/deploy/naming.jar
[copy] Copying 1 files to /home/lubega/jbossro/jbosstest/build/classes/META-INF
[copy] Copying 1 files to /home/lubega/jbossro/jbosstest/build/classes/META-INF
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/deploy/remote-naming.jar
prepare:
security-subproject:
compile:
jar:
[delete] Deleting directory /home/lubega/jbossro/jbosstest/build/classes/META-INF
[copy] Copying 3 files to /home/lubega/jbossro/jbosstest/build/classes
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/deploy/security.jar
[move] Moving 1 files to /home/lubega/jbossro/jbosstest/build/classes/META-INF
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/deploy/security-spec.jar
prepare:
web-subproject:
compile:
ear:
[delete] Deleting directory /home/lubega/jbossro/jbosstest/build/web
[mkdir] Created dir: /home/lubega/jbossro/jbosstest/build/web
[mkdir] Created dir: /home/lubega/jbossro/jbosstest/build/web/WEB-INF/lib
[copy] Copying 9 files to /home/lubega/jbossro/jbosstest/build/web
[jar] Building jar:
/home/lubega/jbossro/jbosstest/build/web/jbosstest-web-ejbs.jar
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/web/WEB-INF/lib/util.jar
[copy] Copying 6 files to /home/lubega/jbossro/jbosstest/build/web/WEB-INF/classes
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/web/jbosstest-web.war
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/deploy/jbosstest-web.ear
prepare:
jmsra-subproject:
compile:
jar:
[delete] Deleting directory /home/lubega/jbossro/jbosstest/build/classes/META-INF
[copy] Copying 2 files to /home/lubega/jbossro/jbosstest/build/classes
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/deploy/jmsra.jar
prepare:
logging-subproject:
compile:
jar:
[delete] Deleting directory /home/lubega/jbossro/jbosstest/build/classes/META-INF
[mkdir] Created dir: /home/lubega/jbossro/jbosstest/build/classes/META-INF
[jar] Note: creating empty jar archive
/home/lubega/jbossro/jbosstest/build/deploy/logging.jar
[jar] Building jar: /home/lubega/jbossro/jbosstest/build/deploy/logging.jar
run-tests:
standard-tests:
[junit] Running org.jboss.test.bank.test.Main
[junit] Deploying
[junit] Remove accounts
[junit] Remove customers
[junit] Get code
[junit] Bank id=5678
[junit] Get large accounts
[junit] Acquire customers
[junit] Acquire accounts
[junit] Start test. 10 threads, 10 iterations
[junit] Only 9 left
[junit] Only 8 left
[junit] Only 7 left
[junit] Only 6 left
[junit] Only 5 left
[junit] Only 4 left
[junit] Only 3 left
[junit] Only 2 left
[junit] Only 1 left
[junit] Only 0 left
[junit] Show balance
[junit] 5678.Marc.990754854275:50.0
[junit] 5678.Rickard.990754854276:0.0
[junit] Time:25465
[junit] Avg. time/call(ms):42
[junit] Acquire customers
[junit] Start test. 10 threads, 10 iterations
[junit] Only 9 left
[junit] Only 8 left
[junit] Only 7 left
[junit] Only 6 left
[junit] Only 5 left
[junit] Only 4 left
[junit] Only 3 left
[junit] Only 2 left
[junit] Only 1 left
[junit] Only 0 left
[junit] Time:17156
[junit] Avg. time/call(ms):28
[junit] Create customers
[junit] Customers created
[junit] Acquire customers
[junit] Marc acquired
[junit] Rickard acquired
[junit] Acquire accounts
[junit] Do read calls
[junit] Calls done
[junit] Total time(ms):8419
[junit] Avg. time/call(ms):21
[junit] Acquire customers
[junit] Acquire accounts
[junit] Show balance
[junit] 5678.Marc.990754854275:200.0
[junit] 5678.Rickard.990754854276:200.0
[junit] Transfer money
[junit] Average call time: 8
[junit] Show balance
[junit] 5678.Marc.990754854279(Marc):50.0
[junit] 5678.Rickard.990754854280(Rickard):0.0
[junit] 5678.Marc.990754854277(Marc):50.0
[junit] 5678.Rickard.990754854278(Rickard):0.0
[junit] 5678.Marc.990754854283(Marc):50.0
[junit] 5678.Rickard.990754854284(Rickard):0.0
[junit] 5678.Marc.990754854281(Marc):50.0
[junit] 5678.Rickard.990754854282(Rickard):0.0
[junit] 5678.Marc.990754854285(Marc):50.0
[junit] 5678.Rickard.990754854286(Rickard):0.0
[junit] 5678.Marc.990754854289(Marc):50.0
[junit] 5678.Rickard.990754854292(Rickard):0.0
[junit] 5678.Marc.990754854290(Marc):50.0
[junit] 5678.Rickard.990754854293(Rickard):0.0
[junit] 5678.Marc.990754854287(Marc):50.0
[junit] 5678.Rickard.990754854294(Rickard):0.0
[junit] 5678.Marc.990754854288(Marc):50.0
[junit] 5678.Rickard.990754854296(Rickard):0.0
[junit] 5678.Marc.990754854291(Marc):50.0
[junit] 5678.Rickard.990754854295(Rickard):0.0
[junit] 5678.Marc.990754854275(Marc):-300.0
[junit] 5678.Rickard.990754854276(Rickard):700.0
[junit] Acquire customers
[junit] Marc acquired
[junit] Rickard acquired
[junit] Acquire accounts
[junit] Show balance
[junit] 5678.Marc.990754854275:50.0
[junit] 5678.Rickard.990754854276:0.0
[junit] Transfer money
[junit] Transfer done
[junit] Show balance
[junit] 5678.Marc.990754854275(Marc):0.0
[junit] 5678.Rickard.990754854276(Rickard):50.0
[junit] Acquire customers
[junit] Marc acquired
[junit] Rickard acquired
[junit] Acquire accounts
[junit] Show balance
[junit] 5678.Marc.990754854275:5000.0
[junit] 5678.Rickard.990754854276:0.0
[junit] Transfer money
[junit] Transfer done
[junit] Total time(ms):4160
[junit] Avg. time/call(ms):20
[junit] Show balance
[junit] 5678.Marc.990754854275:0.0
[junit] 5678.Rickard.990754854276:5000.0
[junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 82.078 sec
[junit] Running org.jboss.test.bmp.test.Main
[junit] deployDir = /home/lubega/jbossro/jbosstest/build/deploy
[junit] looking up table:
[junit] table does not exist.
[junit] create it...done.
[junit]
[junit] start playing with bmp beans.
[junit]
[junit] create bean1: 1, Daniel
[junit] getName (): Daniel
[junit]
[junit] create bean2: 2, Robert
[junit] getName (): Robert
[junit]
[junit] trying to create one with same primkey: 1, Patrick
[junit] javax.ejb.DuplicateKeyException: Bean with id=1 already exists.
[junit]
[junit] create some more dummys:
[junit]
[junit] trying to find Robert again
[junit] getName (): Robert
[junit]
[junit] trying to find an not existing bean
[junit] javax.ejb.FinderException: No bean with id=0 found.
[junit]
[junit] rename Daniel to Maria: 1, Daniel
[junit] name old: Daniel
[junit] name new: Maria
[junit]
[junit] find all beans:
[junit] found:Dummy 0
[junit] found:Dummy 1
[junit] found:Dummy 2
[junit] found:Dummy 3
[junit] found:Dummy 4
[junit] found:Dummy 5
[junit] found:Dummy 6
[junit] found:Dummy 7
[junit] found:Dummy 8
[junit] found:Dummy 9
[junit] found:Dummy 10
[junit] found:Dummy 11
[junit] found:Dummy 12
[junit] found:Dummy 13
[junit] found:Dummy 14
[junit] found:Dummy 15
[junit] found:Dummy 16
[junit] found:Dummy 17
[junit] found:Dummy 18
[junit] found:Dummy 19
[junit] found:Dummy 20
[junit] found:Dummy 21
[junit] found:Dummy 22
[junit] found:Dummy 23
[junit] found:Dummy 24
[junit] found:Dummy 25
[junit] found:Dummy 26
[junit] found:Dummy 27
[junit] found:Dummy 28
[junit] found:Dummy 29
[junit] found:Dummy 30
[junit] found:Dummy 31
[junit] found:Dummy 32
[junit] found:Dummy 33
[junit] found:Dummy 34
[junit] found:Dummy 35
[junit] found:Dummy 36
[junit] found:Dummy 37
[junit] found:Dummy 38
[junit] found:Dummy 39
[junit] found:Dummy 40
[junit] found:Dummy 41
[junit] found:Dummy 42
[junit] found:Dummy 43
[junit] found:Dummy 44
[junit] found:Dummy 45
[junit] found:Dummy 46
[junit] found:Dummy 47
[junit] found:Dummy 48
[junit] found:Dummy 49
[junit] found:Robert
[junit] found:Maria
[junit]
[junit] Now trying from within the Session bean (to be able to rollback):
[junit] found: Maria
[junit] set name to "Name for rollback"
[junit] current name is: Name for rollback
[junit] now rolling back...
[junit] current name is: Maria
[junit] done.
[junit] removing all beans:
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 7.463 sec
[junit] Running org.jboss.test.cts.test.AllJUnitTests
[junit] Deploying
[junit] **************************************************************
[junit] testBasicSession()
[junit] **************************************************************
[junit] **************************************************************
[junit] testEJBHomeInterface()
[junit] Verify EJBMetaData from home interface
[junit] Get Home interface class
[junit] home Interface : org.jboss.test.cts.interfaces.StatefulSessionHome
[junit] Get Remote Interface class
[junit] remote Interface: org.jboss.test.cts.interfaces.StatefulSession
[junit] Verify isSession..
[junit] Verify is not Stateless session...
[junit] **************************************************************
[junit] **************************************************************
[junit] testRemoveSessionObject()
[junit] Obtain home interface
[junit] OK
[junit] Call remove using a primary key
[junit] java.rmi.ServerException: RemoteException occurred in server thread;
nested exception is:
[junit] javax.transaction.TransactionRolledbackException: Could not activate;
nested exception is:
[junit] java.io.FileNotFoundException:
[EMAIL PROTECTED]
(No such file or directory); nested exception is:
[junit] java.rmi.NoSuchObjectException: Could not activate; nested exception
is:
[junit] **************************************************************
[junit] testSerialize
[junit] Obtain home interface
[junit] java.io.FileNotFoundException:
[EMAIL PROTECTED]
(No such file or directory)
[junit] javax.transaction.TransactionRolledbackException: Could not activate;
nested exception is:
[junit] java.io.FileNotFoundException:
[EMAIL PROTECTED]
(No such file or directory); nested exception is:
[junit] java.rmi.NoSuchObjectException: Could not activate; nested exception
is:
[junit] java.io.FileNotFoundException:
[EMAIL PROTECTED]
(No such file or directory)
[junit] java.rmi.NoSuchObjectException: Could not activate; nested exception is:
[junit] java.io.FileNotFoundException:
[EMAIL PROTECTED]
(No such file or directory)
[junit] Increment bean, count = 3
[junit] at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
[junit] Bean == 3?
[junit] at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
[junit] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
[junit] passes..
[junit] at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invoke(Unknown Source)
[junit] **************************************************************
[junit] **************************************************************
[junit] at
org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericProxy.java:357)
[junit] at
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:172)
[junit] at $Proxy0.remove(Unknown Source)
[junit] testUnSerialize
[junit] Resurrect bean from .ser file
[junit] at
org.jboss.test.cts.test.StatefulSessionTest.testRemoveSessionObject(StatefulSessionTest.java:176)
[junit] at java.lang.reflect.Method.invoke(Native Method)
[junit] at junit.framework.TestCase.runTest(TestCase.java:155)
[junit] at junit.framework.TestCase.runBare(TestCase.java:129)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:100)
[junit] Bean reanimated, still equal '3'? bean = 3
[junit] Yup, equal to '3'
[junit] at junit.framework.TestResult.runProtected(TestResult.java:117)
[junit] at junit.framework.TestResult.run(TestResult.java:103)
[junit] at junit.framework.TestCase.run(TestCase.java:120)
[junit] at junit.framework.TestSuite.run(TestSuite.java:144)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:202)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:326)
[junit] **************************************************************
[junit] testCompareSerializeGetPK()
[junit] Obtain home interface
[junit] **************************************************************
[junit] **************************************************************
[junit] testProbeBeanContext
[junit] Setting LoginContext callback...
[junit] **************************************************************
[junit] testLoopback
[junit] Obtain home interface
[junit] Calling loopbackTest( )....
[junit] Received RemoteException...
[junit] **************************************************************
[junit] testUsrTrx
[junit] Obtain home interface
[junit] Try to instantiate a UserTransaction
[junit] **************************************************************
[junit] **************************************************************
[junit] testBasicStatelessSession()
[junit] **************************************************************
[junit] Build Container MBX for BMP
[junit] Initialize to empty BMP table.
[junit] [BEAN MESSAGE]: SET_ENTITY_CONTEXT_MSG
[junit] **************************************************************
[junit] testProbeContainerCallbacks()
[junit] Create a bean...[BEAN MESSAGE]: EJB_CREATE_MSG
[junit] [BEAN MESSAGE]: EJB_POST_CREATE_MSG
[junit] OK
[junit] Check for set entity context, create and post create messages...OK
[junit] Calling setter as a business method...OK
[junit] Remove the bean...[BEAN MESSAGE]: EJB_STORE_MSG
[junit] [BEAN MESSAGE]: EJB_REMOVE_MSG
[junit] OK
[junit] **************************************************************
[junit] Build Container MBX for BMP
[junit] Initialize to empty BMP table.
[junit] **************************************************************
[junit] testEjbCreate()
[junit] create bean, name=GuysName
[junit] **************************************************************
[junit] Build Container MBX for BMP
[junit] Initialize to empty BMP table.
[junit] [BEAN MESSAGE]: EJB_CREATE_MSG
[junit] [BEAN MESSAGE]: EJB_POST_CREATE_MSG
[junit] [BEAN MESSAGE]: SET_ENTITY_CONTEXT_MSG
[junit] Removing 1 old beans.
[junit] Removal done.
[junit] **************************************************************
[junit] testEjbFinder()
[junit] Create bean, name=GuysName
[junit] [BEAN MESSAGE]: EJB_REMOVE_MSG
[junit] [BEAN MESSAGE]: EJB_CREATE_MSG
[junit] [BEAN MESSAGE]: EJB_POST_CREATE_MSG
[junit] Find bean, name=GuysName
[junit] Verify result set not empty
[junit] OK
[junit] Bean result set:
[junit] Name from Bean=GuysName
[junit] Verify bean name equals: GuysName
[junit] [BEAN MESSAGE]: EJB_STORE_MSG
[junit] OK
[junit] **************************************************************
[junit] Build Container MBX for BMP
[junit] Initialize to empty BMP table.
[junit] Removing 1 old beans.
[junit] [BEAN MESSAGE]: EJB_STORE_MSG
[junit] Removal done.
[junit] **************************************************************
[junit] testEjbRemove()
[junit] Create a bean...[BEAN MESSAGE]: EJB_REMOVE_MSG
[junit] [BEAN MESSAGE]: EJB_CREATE_MSG
[junit] OK
[junit] Delete with bean.remove()...[BEAN MESSAGE]: EJB_POST_CREATE_MSG
[junit] OK
[junit] Recreate the bean...[BEAN MESSAGE]: EJB_REMOVE_MSG
[junit] [BEAN MESSAGE]: EJB_CREATE_MSG
[junit] OK
[junit] Remove the bean using primary key...[BEAN MESSAGE]: EJB_POST_CREATE_MSG
[junit] OK
[junit] Reconstitute the bean...[BEAN MESSAGE]: EJB_REMOVE_MSG
[junit] [BEAN MESSAGE]: EJB_CREATE_MSG
[junit] [BEAN MESSAGE]: EJB_POST_CREATE_MSG
[junit] OK
[junit] Get Handle object...OK
[junit] Remove the bean using the handle...OK
[junit] Bean remove, try to use.. Should get
'java.rmi.NoSuchObjectException'...[BEAN MESSAGE]: EJB_REMOVE_MSG
[junit] [BEAN MESSAGE]: EJB_ACTIVATE_MSG
[junit] [BEAN MESSAGE]: EJB_LOAD_MSG
[junit] Build Container MBX for BMP
[junit] Initialize to empty BMP table.
[junit] **************************************************************
[junit] testEjbLifeCycle()
[junit] Create a bean...[BEAN MESSAGE]: EJB_CREATE_MSG
[junit] [BEAN MESSAGE]: EJB_POST_CREATE_MSG
[junit] OK
[junit] Use a finder method to retrieve the bean...[BEAN MESSAGE]:
SET_ENTITY_CONTEXT_MSG
[junit] OK
[junit] Assert it is the same bean as passed to a method...GuysName==GuysName?
[junit] [BEAN MESSAGE]: EJB_STORE_MSG
[junit] OK
[junit] Calling setter as a business method...[BEAN MESSAGE]: EJB_STORE_MSG
[junit] [BEAN MESSAGE]: EJB_STORE_MSG
[junit] OK
[junit] Get the HOME interface...OK
[junit] Get the bean's Primary Key...OK
[junit] Get the bean's handle...OK
[junit] Remove the bean...OK
[junit] **************************************************************
[junit] Build Container MBX for BMP
[junit] Initialize to empty BMP table.
[junit] **************************************************************
[junit] testPrimaryKeyObjectIdentity()
[junit] [BEAN MESSAGE]: EJB_REMOVE_MSG
[junit] Create a bean...[BEAN MESSAGE]: EJB_CREATE_MSG
[junit] [BEAN MESSAGE]: EJB_POST_CREATE_MSG
[junit] OK
[junit] Now query based on the 'PersonsName': GuysName...OK
[junit] Verify result set not empty...OK
[junit] Bean result set:
[junit] Use 'isIdentical()' to compare beans
[junit] beans match..OK
[junit] Make a bean that doesn't match..[BEAN MESSAGE]: EJB_CREATE_MSG
[junit] OK
[junit] Use 'isIdentical()' to verify different beans...OK...beans are different!
[junit] Test the Primary Keys...OK...they're the same
[junit] Compare different keys...OK...they're different
[junit] **************************************************************
[junit] Build Container MBX for BMP
[junit] java.net.SocketException: Connection reset by peer: Connection reset by
peer
[junit] at java.net.SocketInputStream.socketRead(Native Method)
[junit] at java.net.SocketInputStream.read(SocketInputStream.java:86)
[junit] at java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
[junit] at java.io.BufferedInputStream.read(BufferedInputStream.java:204)
[junit] at java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1549)
[junit] at java.io.ObjectInputStream.refill(ObjectInputStream.java:1683)
[junit] at java.io.ObjectInputStream.read(ObjectInputStream.java:1659)
[junit] at java.io.ObjectInputStream.readByte(ObjectInputStream.java:1905)
[junit] at
org.jbossmq.distributed.server.DistributedJMSServerUILClient.waitAnswer(DistributedJMSServerUILClient.java:107)
[junit] at
org.jbossmq.distributed.server.DistributedJMSServerUILClient.acknowledge(DistributedJMSServerUILClient.java:200)
[junit] at org.jbossmq.SpyConnection.send(SpyConnection.java:586)
[junit] at org.jbossmq.SpyConnection.deliver(SpyConnection.java:473)
[junit] at
org.jbossmq.distributed.server.ConnectionReceiverOIL.run(ConnectionReceiverOIL.java:124)
[junit] at java.lang.Thread.run(Thread.java:484)
[junit] java.rmi.RemoteException: Cannot contact the remote object
[junit] Initialize to empty BMP table.
[junit] at
org.jbossmq.distributed.server.DistributedJMSServerUILClient.failure(DistributedJMSServerUILClient.java:127)
[junit] [BEAN MESSAGE]: EJB_POST_CREATE_MSG
[junit] at
org.jbossmq.distributed.server.DistributedJMSServerUILClient.waitAnswer(DistributedJMSServerUILClient.java:120)
[junit] at
org.jbossmq.distributed.server.DistributedJMSServerUILClient.acknowledge(DistributedJMSServerUILClient.java:200)
[junit] at org.jbossmq.SpyConnection.send(SpyConnection.java:586)
[junit] at org.jbossmq.SpyConnection.deliver(SpyConnection.java:473)
[junit] at
org.jbossmq.distributed.server.ConnectionReceiverOIL.run(ConnectionReceiverOIL.java:124)
[junit] at java.lang.Thread.run(Thread.java:484)
[junit] java.rmi.RemoteException: Cannot contact the remote object
[junit] at
org.jbossmq.distributed.server.DistributedJMSServerUILClient.failure(DistributedJMSServerUILClient.java:127)
[junit] at
org.jbossmq.distributed.server.DistributedJMSServerUILClient.waitAnswer(DistributedJMSServerUILClient.java:120)
[junit] at
org.jbossmq.distributed.server.DistributedJMSServerUILClient.acknowledge(DistributedJMSServerUILClient.java:200)
[junit] at org.jbossmq.SpyConnection.send(SpyConnection.java:586)
[junit] at org.jbossmq.SpyConnection.deliver(SpyConnection.java:473)
[junit] at
org.jbossmq.distributed.server.ConnectionReceiverOIL.run(ConnectionReceiverOIL.java:124)
[junit] at java.lang.Thread.run(Thread.java:484)
[junit] [BEAN MESSAGE]: SET_ENTITY_CONTEXT_MSG
[junit] Removing 2 old beans.
[junit] [BEAN MESSAGE]: EJB_REMOVE_MSG
[junit] Removal done.
[junit] **************************************************************
[junit] testEjbRemoteIF ()
[junit] Create a bean...[BEAN MESSAGE]: EJB_REMOVE_MSG
[junit] [BEAN MESSAGE]: EJB_CREATE_MSG
[junit] OK
[junit] Obtain the HOME interface...[BEAN MESSAGE]: EJB_POST_CREATE_MSG
[junit] OK
[junit] Obtain the HANDLE...OK
[junit] Obtain the primary key...OK
[junit] Remove the entity bean
[junit] OK
[junit] **************************************************************
[junit] Build Container MBX for BMP
[junit] Initialize to empty BMP table.
[junit] [BEAN MESSAGE]: EJB_REMOVE_MSG
[junit] **************************************************************
[junit] testEntityHandle()
[junit] Create a bean...[BEAN MESSAGE]: EJB_CREATE_MSG
[junit] [BEAN MESSAGE]: EJB_POST_CREATE_MSG
[junit] OK
[junit] Get a Handle reference and serialize it...OK
[junit] Unserialize bean handle...OK
[junit] Use PortableRemoteObject to narrow result...OK
[junit] Check that new reference works...OK
[junit] **************************************************************
[junit] Build Container MBX for BMP
[junit] Initialize to empty BMP table.
[junit] [BEAN MESSAGE]: EJB_STORE_MSG
[junit] Removing 1 old beans.
[junit] Removal done.
[junit] **************************************************************
[junit] testUserTransaction()
[junit] Obtain UserTransaction...OK
[junit] Do UserTransaction tests...
[junit] [BEAN MESSAGE]: EJB_REMOVE_MSG
[junit] [BEAN MESSAGE]: EJB_CREATE_MSG
[junit] [BEAN MESSAGE]: EJB_POST_CREATE_MSG
[junit] [BEAN MESSAGE]: EJB_STORE_MSG
[junit] [BEAN MESSAGE]: EJB_STORE_MSG
[junit] [BEAN MESSAGE]: EJB_STORE_MSG
[junit] [BEAN MESSAGE]: EJB_ACTIVATE_MSG
[junit] [BEAN MESSAGE]: EJB_LOAD_MSG
[junit] [BEAN MESSAGE]: EJB_STORE_MSG
[junit] [BEAN MESSAGE]: EJB_STORE_MSG
[junit] [BEAN MESSAGE]: EJB_STORE_MSG
[junit] [BEAN MESSAGE]: EJB_STORE_MSG
[junit] [BEAN MESSAGE]: EJB_STORE_MSG
[junit] [BEAN MESSAGE]: EJB_STORE_MSG
[junit] [BEAN MESSAGE]: EJB_STORE_MSG
[junit] [BEAN MESSAGE]: EJB_STORE_MSG
[junit] [BEAN MESSAGE]: EJB_ACTIVATE_MSG
[junit] [BEAN MESSAGE]: EJB_LOAD_MSG
[junit] [BEAN MESSAGE]: EJB_STORE_MSG
[junit] [BEAN MESSAGE]: EJB_CREATE_MSG
[junit] [BEAN MESSAGE]: EJB_POST_CREATE_MSG
[junit] [BEAN MESSAGE]: EJB_ACTIVATE_MSG
[junit] [BEAN MESSAGE]: EJB_LOAD_MSG
[junit] [BEAN MESSAGE]: EJB_CREATE_MSG
[junit] Ok
[junit] **************************************************************
[junit] Build Container MBX for BMP
[junit] Initialize to empty BMP table.
[junit] [BEAN MESSAGE]: EJB_POST_CREATE_MSG
[junit] [BEAN MESSAGE]: SET_ENTITY_CONTEXT_MSG
[junit] Removing 2 old beans.
[junit] [BEAN MESSAGE]: EJB_REMOVE_MSG
[junit] Removal done.
[junit] **************************************************************
[junit] testContainerObjects()
[junit] Create a bean...[BEAN MESSAGE]: EJB_REMOVE_MSG
[junit] [BEAN MESSAGE]: EJB_CREATE_MSG
[junit] [BEAN MESSAGE]: EJB_POST_CREATE_MSG
[junit] OK
[junit] Get HomeHandle...OK
[junit] Get another home from the HomeHandle...OK
[junit] Get the Meta-data object...OK
[junit] Probe the Meta-data object:
[junit] Home Interface : org.jboss.test.cts.interfaces.CtsBmpHome
[junit] PrimaryKey : org.jboss.test.cts.keys.AccountPK
[junit] Remote Interface: org.jboss.test.cts.interfaces.CtsBmp
[junit] Meta-data OK
[junit] Check isSession()==false ...OK
[junit] Check isStatelessSession()==false ...OK
[junit] Test EJBHome.remove(PrimaryKey)OK
[junit] **************************************************************
[junit] Tests run: 20, Failures: 3, Errors: 0, Time elapsed: 17.181 sec
[junit] TEST org.jboss.test.cts.test.AllJUnitTests FAILED
[junit] Running org.jboss.test.cts.test.Main
[junit] Deploying
[junit] Callback test
[junit] Obtain home interface
[junit] Verify EJBMetaData from home interface
[junit] Get Home interface class
[junit] Get Primary key class
[junit] Get Remote Interface class
[junit] Verify isSession..
[junit] Verify is not Stateless session...
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 70.913 sec
[junit] Running org.jboss.test.dbtest.test.Main
[junit] _____________________________________________
[junit]
[junit] jBoss, the EJB Open Source Server
[junit] Copyright (C), The jBoss Organization, 2000
[junit] _____________________________________________
[junit]
[junit] Welcome to the database test
[junit] _____________________________________________
[junit]
[junit] Deploying the bean...done!
[junit]
[junit] 1- Looking up the home AllTypes...OK
[junit] 2- Calling findByPrimaryKey on AllTypesHome with name seb...Object with
primary key seb not found in storage
[junit] not found OK
[junit] 3- Calling create on AllTypesHome with name seb...OK
[junit] Getting all the fields
[junit] 4- boolean true OK
[junit] 5- byte 1 OK
[junit] 6- short 2 OK
[junit] 7- int 3 OK
[junit] 8- long 4 OK
[junit] 9- float 5.6 OK
[junit] 10- double 7.8 OK
[junit] No char test yet, bug in jdk
[junit] 11- String seb OK
[junit] 12- Date 2001-05-25 OK
[junit] 13- Time 02:44:00 OK
[junit] 14- Timestamp 2001-05-25 02:44:00.866 OK
[junit] 15- MyObject OK
[junit] 16- Creating Record beans and adding them to the Collection in Alltypes..OK
[junit] 17- Getting them back..OK
[junit] All basic tests passed; Now testing min/max values.
[junit] This is just for information, it's okay if some fail.
[junit] Not all DBs have a column type that supports 8-byte numbers.
[junit] 18- Double Min Value OK
[junit] 19- Double Max Value OK
[junit] 20- Float Min Value OK
[junit] 21- Float Max Value OK
[junit] 22- Long Min Value Failed
[junit] 23- Long Max Value OK
[junit] 24- Short Min Value OK
[junit] 25- Short Max Value OK
[junit] 26- Byte Min Value OK
[junit] 27- Byte Max Value OK
[junit] 28- Int Min Value OK
[junit] 29- Int Max Value OK
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 7.456 sec
[junit] Running org.jboss.test.hello.test.Main
[junit] Deploying
[junit] Starting context lookup speed test
[junit] Avg. time/call(ms):11
[junit] Howdy World!
[junit] Hello World!
[junit] Starting context lookup speed test
[junit] Avg. time/call(ms):9
[junit] Time/call(ms):4
[junit] Time/call(ms):4
[junit] Time/call(ms):4
[junit] Time/call(ms):3
[junit] Avg. time/call(ms):4
[junit] Time/call(ms):13
[junit] Time/call(ms):17
[junit] Time/call(ms):13
[junit] Time/call(ms):12
[junit] Avg. time/call(ms):13
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 20.681 sec
[junit] Running org.jboss.test.idgen.test.Main
[junit] Deploying
[junit] Remove id counters
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.752 sec
[junit] Running org.jboss.test.jrmp.test.TestCustomSockets
[junit] Deploying: jrmp-comp.jar
[junit] Lookup StatefulSession
[junit] Found StatefulSession Home
[junit] Created StatefulSession
[junit] bean.echo(jrmp) = jrmp
[junit] Lookup StatelessSession
[junit] Found StatelessSession Home
[junit] Created StatelessSession
[junit] bean.echo(jrmp-comp) = jrmp-comp
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.708 sec
[junit] Running org.jboss.test.lock.test.Main
[junit] _____________________________________________
[junit]
[junit] jBoss, the EJB Open Source Server
[junit] Copyright (C), The jBoss Organization, 2000
[junit] _____________________________________________
[junit]
[junit] Welcome to the lock test v0.1
[junit] _____________________________________________
[junit]
[junit] Deploying the bean...done!
[junit] Spawning 2 threads for 10 iterations with single bean call
[junit] thread no 1 1 iterations done
[junit] thread no 1 2 iterations done
[junit] thread no 2 1 iterations done
[junit] thread no 1 3 iterations done
[junit] thread no 1 4 iterations done
[junit] thread no 2 2 iterations done
[junit] thread no 2 3 iterations done
[junit] thread no 1 5 iterations done
[junit] thread no 2 4 iterations done
[junit] thread no 2 5 iterations done
[junit] thread no 2 6 iterations done
[junit] thread no 1 6 iterations done
[junit] thread no 2 7 iterations done
[junit] thread no 1 7 iterations done
[junit] thread no 2 8 iterations done
[junit] thread no 2 9 iterations done
[junit] thread no 2 10 iterations done
[junit] thread no 2: did 10 iterations in 463ms
[junit] thread no 1 8 iterations done
[junit] thread no 1 9 iterations done
[junit] thread no 1 10 iterations done
[junit] thread no 1: did 10 iterations in 555ms
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.581 sec
[junit] Running org.jboss.test.mdb.test.Main
[junit] Deploying
[junit] Deploying: ../deploy/mdb.jar
[junit] java.rmi.UnmarshalException: Error unmarshaling return; nested exception
is:
[junit] java.lang.ClassNotFoundException:
org.jboss.deployment.J2eeDeploymentException (no security manager: RMI class loader
disabled)
[junit] java.lang.ClassNotFoundException:
org.jboss.deployment.J2eeDeploymentException (no security manager: RMI class loader
disabled)
[junit] at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:318)
[junit] at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:132)
[junit] at
sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:143)
[junit] at
java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:918)
[junit] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
[junit] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
[junit] at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
[junit] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
[junit] at
java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2262)
[junit] at
java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
[junit] at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
[junit] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
[junit] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
[junit] at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:212)
[junit] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
[junit] at org.jboss.jmx.server.JMXAdaptorImpl_Stub.invoke(Unknown Source)
[junit] at org.jboss.jmx.client.Deployer.deploy(Deployer.java:55)
[junit] at org.jboss.test.util.Deploy.deploy(Deploy.java:25)
[junit] at org.jboss.test.mdb.test.Main.suite(Main.java:187)
[junit] at java.lang.reflect.Method.invoke(Native Method)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:166)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:144)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:324)
[junit] Running org.jboss.test.naming.test.TestENC
[junit] Deploying: naming.jar
[junit] Found TestENCHome
[junit] Created ENCBean
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.233 sec
[junit] Running org.jboss.test.naming.test.TestExternalContext
[junit] No ExternalContext names exist
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.995 sec
[junit] Running org.jboss.test.spydermq.test.Main
[junit] Connection to spyderMQ established.
[junit] Starting QueueMessageOrder test
[junit] Drained 1 messages from the queue
[junit] High Priority Persistent message
[junit] High Priority Persistent message
[junit] Normal message
[junit] QueueMessageOrder passed
[junit] Starting RequestReplyQueue test
[junit] Drained 3 messages from the queue
[junit] RequestReplyQueue passed
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 6.575 sec
[junit] Running org.jboss.test.testbean.test.Main
[junit] _____________________________________________
[junit]
[junit] jBoss, the EJB Open Source Server
[junit] Copyright (C), The jBoss Organization, 2000
[junit] _____________________________________________
[junit]
[junit] Welcome to the test Suite v1.4
[junit] _____________________________________________
[junit]
[junit] Deploying test beans...done!
[junit]
[junit]
[junit] Test AllTypesBean
[junit] =================
[junit]
[junit] 1- Looking up the home AllTypes...ok
[junit] 2- Getting the home handle...OK
[junit] 3- Getting the home back from the handle...OK
[junit] 4- Getting metadata from home...OK
[junit] 5- Getting home from metadata...OK
[junit] 6- Calling findByPrimaryKey on AllTypesHome with name seb...Object with
primary key seb not found in storage
[junit] not found OK
[junit] 7- Calling create on AllTypesHome with name seb...ok
[junit] 8- Calling business method A an AllTypes (B2B with external ejb-ref)...OK,
result isI was created with Stateful String noname
[junit] Getting all the fields
[junit] 9- boolean true Ok
[junit] 10- byte 1 Ok
[junit] 11- short 2 Ok
[junit] 12- int 3 Ok
[junit] 13- long 4 Ok
[junit] 14- float 5.6 Ok
[junit] 15- double 7.8 Ok
[junit] No char test yet, bug in jdk
[junit] 16- String seb Ok
[junit] 17- Date 2001-05-25 Ok
[junit] 18- Timestamp 2001-05-25 02:45:09.879 Ok
[junit] 19- MyObject OK
[junit] 20- getting handle of stateful...OK
[junit] 21- getting the bean back from the handle...OK
[junit] 22- calling business method A on stateful: OK, result is I was created
with Stateful String noname
[junit] 23- adding the stateful bean as an object in AllTypes..OK
[junit] 24- getting handle of stateless...OK
[junit] 25- getting the bean back from the handle...OK
[junit] 26- calling business method B on stateless: OK, result is from the
environment properties my name is marc
[junit] 27- adding the stateless bean as an object in AllTypes..OK
[junit] 28- getting handle of entity...OK
[junit] 29- getting the bean back from the handle...OK
[junit] 30- calling business method A on stateless: OK, result
isEntityBean.callBusinessMethodA() called, my primaryKey is seb
[junit] 31- adding the entity bean as an object in AllTypes..OK
[junit] 32- Getting the list of objects back (should contain the 3 beans)...OK
[junit] 33- stateful bean OK
[junit] 34- stateless bean OK
[junit] 35- entity bean OK
[junit] Testing automatically generated finders
[junit] 36- findAll()..OK
[junit] 37- findByPrimaryKey()...OK
[junit] 38- findByABoolean()..OK
[junit] 39- findByAByte()..OK
[junit] 40- findByAShort()..OK
[junit] 41- findByAnInt()..OK
[junit] 42- findByALong()..OK
[junit] 43- findByAFloat()..OK
[junit] 44- findByADouble()..OK
[junit] No Char test yet, bug in jdk
[junit] 45- findByAString()..OK
[junit] 46- findByADate()..OK
[junit] 47- findByATimestamp()..OK
[junit] 48- findByAnObject()..OK
[junit] 49- findByStatefulSession()..OK
[junit] 50- findByStatelessSession()..OK
[junit] 51- findByEnterpriseEntity()..OK
[junit] Testing finders defined in jaws.xml
[junit] 52- findByMinInt()..OK
[junit] 53- findByIntAndDouble()..OK
[junit]
[junit]
[junit] Test Bean Managed Transaction Demarcation
[junit] =========================================
[junit]
[junit] 54- Looking up the home BMTStateful...ok
[junit] 55- Calling create on BMTStatefulHome...OK
[junit] 56- Can the bean access its UserTransaction
[junit] Got UserTransaction via sessionContext.getUserTransaction():
STATUS_NO_TRANSACTION
[junit] Got UserTransaction via lookup(java:comp/UserTransaction):
STATUS_NO_TRANSACTION
[junit]
[junit] 57- Testing commit on UserTransaction
[junit] Got transaction : STATUS_NO_TRANSACTION
[junit] tx.begin(): STATUS_ACTIVE
[junit] tx.commit(): STATUS_NO_TRANSACTION
[junit]
[junit] 58- Testing rollback on UserTransaction
[junit] Got transaction : STATUS_NO_TRANSACTION
[junit] tx.begin(): STATUS_ACTIVE
[junit] tx.rollback(): STATUS_NO_TRANSACTION
[junit]
[junit] 59- Beginning a transaction...status: STATUS_ACTIVE
[junit] 60- Committing the transaction in another call...status:
STATUS_NO_TRANSACTION
[junit] 61- Creating a table for real db w/ tx test...OK, field value is:
[junit] not found
[junit] 62- Updating the field in a transaction, commit...OK, field value is:
[junit] not found
[junit] 63- Updating the field in a transaction, rollback...OK, field value is:
[junit] not found
[junit] 64- Now dropping the table...OK
[junit] 65- Looking up the home BMTStateful...ok
[junit] 66- Calling create on BMTStatelessHome...OK
[junit] 67- Can the bean access its UserTransaction
[junit] Got UserTransaction via sessionContext.getUserTransaction()
[junit] Got UserTransaction via lookup(java:comp/UserTransaction)
[junit]
[junit] 68- Testing commit on UserTransaction
[junit] Got transaction : STATUS_NO_TRANSACTION
[junit] tx.begin(): STATUS_ACTIVE
[junit] tx.commit(): STATUS_NO_TRANSACTION
[junit]
[junit] 69- Testing rollback on UserTransaction
[junit] Got transaction : STATUS_NO_TRANSACTION
[junit] tx.begin(): STATUS_ACTIVE
[junit] tx.rollback(): STATUS_NO_TRANSACTION
[junit]
[junit] 70- Beginning a transaction (container should throw an exception)... ...
OK, exception message: RemoteException occurred in server thread; nested exception is:
[junit] java.rmi.RemoteException: Application error: BMT stateless bean
BMTStateless should complete transactions before returning (ejb1.1 spec, 11.6.1)
[junit]
[junit]
[junit]
[junit] Test OK, 70 tests run, congratulations
[junit] Tests took 17697 milliseconds
[junit]
[junit]
[junit] Test Entity Bean BMP
[junit] ====================
[junit]
[junit] 71- Looking up home for nextgen.EntityBMP...ok
[junit] 72- Calling create on the home...ok
[junit] 73- Calling getEJBHome() on EntityBMP...ok
[junit] 74- Calling business methodA on BMP bean...
[junit] EntityBMP.callBusinessMethodA() called, my primaryKey is Marc
[junit] 75- Calling business methodB (B2B) on BMP bean and it says
[junit] EntityBMP.callBusinessMethodB() called, called other bean (B2B) and it
said "from the environment properties my name is marc"
[junit] 76- Calling Business Method B(String) on BMP...
[junit] EntityBMP.callBusinessMethodB() called, called other bean (B2B) and it
said "from the environment properties my name is marc" words of wisdom
[junit] 77- calling remove() on BMP...
[junit] 78- calling findCollectionKeys....
[junit] primary key number 1
[junit] primary key number 2
[junit] primary key number 3
[junit] ok
[junit] 79- calling findEnumeratedKeys....
[junit] primary key number 1
[junit] primary key number 2
[junit] primary key number 3
[junit] ok
[junit]
[junit]
[junit] Test Entity Bean CMP
[junit] ====================
[junit]
[junit] 80- Looking up the home nextgen.EnterpriseEntity...ok
[junit] 81- Calling find on EnterpriseEntityHome with name Marc...Object with
primary key Marc not found in storage
[junit] not found OK
[junit] 82- Calling create on EnterpriseEntityHome with name Marc...ok
[junit] 83- Calling for duplicate create and DuplicateKeyException...ok
[junit] 84- Calling getEJBHome() on EntityCMP...ok
[junit] 85- Getting a new reference with findByPK...ok
[junit] 86- Calling Business Method A on enterpriseEntity...
[junit] EntityBean.callBusinessMethodA() called, my primaryKey is Marc
[junit] 87- Calling Business Method A (again to ejbLoad if TypeC) on
enterpriseEntity...
[junit] EntityBean.callBusinessMethodA() called, my primaryKey is Marc
[junit] 88- Calling Business Method B (EJBObject from entity) on
enterpriseEntity...
[junit] nextgen.EnterpriseEntity:Marc
[junit] 89- Calling Business Method B(String) on EnterpriseEntity...
[junit] nextgen.EnterpriseEntity:Marc words of wisdom
[junit] 90- Calling getOtherField (non pk) on enterpriseEntity...value: 0
[junit] 91- Calling setOtherField(4) on enterpriseEntity...OK
[junit] 92- Calling getOtherField() on enterpriseEntity (should be 4)...value is
4, OK
[junit] ***Testing the various local Object class calls
[junit] 93- toString ... nextgen.EnterpriseEntity:Marc
[junit] 94- hashCode ... 2390757
[junit] 95- equals (same object) ... true
[junit] 96- equals (another object) (true for this case)... true
[junit] ***Testing the various local EJBObject class calls
[junit] 97- Get Primary Key ... Marc
[junit] 98- Get Handle ... OK
[junit] 99- Serialize handle and deserialize....OK
[junit] 100- Calling businessMethodA on it...
[junit] nextgen.EnterpriseEntity:Marc
[junit] 101- They should be identical...true
[junit] 102- Calling entityHome.remove(Handle)...OK
[junit] 103- Calling enterpriseEntity.remove() (should fail)...OK
[junit] 104- Calling EnterpriseEntity.create() for marc6...ok
[junit] 105- Calling method createEntity on enterpriseEntity... OK
[junit] 106- removing by PK on home (marc2)...ok
[junit] 107- Calling enterpriseEntity.remove() (marc6)...ok
[junit]
[junit]
[junit]
[junit]
[junit]
[junit] Test Entity Bean PK
[junit] ====================
[junit]
[junit] 108- Looking up home for nextgen.EntityPK...ok
[junit] 109- Calling find on the home...not found
[junit] 110- Did not find the instance will create it...ok
[junit] 111- Retrieving other field...0, ok
[junit] 112- Setting it to 4...ok
[junit] 113- Findind it again ... ok
[junit] 114- Retrieving other field again, should be 4...4, ok
[junit] 115- gettting a new reference ... ok
[junit] 116- Retrieving other field again, should be 4...4, ok
[junit] 117- Removing the bean...
[junit] 118- I should not find it...
[junit] not found, OK
[junit]
[junit] Test Real BMP (load/passivation/...
[junit] ===================================
[junit]
[junit] looking up table:
[junit] 119- create bean1: 1, Daniel
[junit] getName (): Daniel
[junit] 120- create bean2: 2, Robert
[junit] getName (): Robert
[junit] 121- trying to create one with same primkey: 1, Patrick
[junit] javax.ejb.DuplicateKeyException: Bean with id=1 already exists.
[junit] 122- create some more dummys:
[junit] 123- trying to find Robert again
[junit] getName (): Robert
[junit] 124- trying to find an not existing bean
[junit] javax.ejb.FinderException: No bean with id=0 found.
[junit] 125- rename Daniel to Maria: 1, Daniel
[junit] name old: Daniel
[junit] name new: Maria
[junit] 126- find all beans:
[junit] found:Dummy 0
[junit] found:Dummy 1
[junit] found:Dummy 2
[junit] found:Dummy 3
[junit] found:Dummy 4
[junit] found:Dummy 5
[junit] found:Dummy 6
[junit] found:Dummy 7
[junit] found:Dummy 8
[junit] found:Dummy 9
[junit] found:Dummy 10
[junit] found:Dummy 11
[junit] found:Dummy 12
[junit] found:Dummy 13
[junit] found:Dummy 14
[junit] found:Dummy 15
[junit] found:Dummy 16
[junit] found:Dummy 17
[junit] found:Dummy 18
[junit] found:Dummy 19
[junit] found:Dummy 20
[junit] found:Dummy 21
[junit] found:Dummy 22
[junit] found:Dummy 23
[junit] found:Dummy 24
[junit] found:Dummy 25
[junit] found:Dummy 26
[junit] found:Dummy 27
[junit] found:Dummy 28
[junit] found:Dummy 29
[junit] found:Dummy 30
[junit] found:Dummy 31
[junit] found:Dummy 32
[junit] found:Dummy 33
[junit] found:Dummy 34
[junit] found:Dummy 35
[junit] found:Dummy 36
[junit] found:Dummy 37
[junit] found:Dummy 38
[junit] found:Dummy 39
[junit] found:Dummy 40
[junit] found:Dummy 41
[junit] found:Dummy 42
[junit] found:Dummy 43
[junit] found:Dummy 44
[junit] found:Dummy 45
[junit] found:Dummy 46
[junit] found:Dummy 47
[junit] found:Dummy 48
[junit] found:Dummy 49
[junit] found:Robert
[junit] found:Maria
[junit] 127- Now trying from within the Session bean (to be able to rollback):
[junit] found: Maria
[junit] set name to "Name for rollback"
[junit] current name is: Name for rollback
[junit] now rolling back...
[junit] current name is: Maria
[junit] done.
[junit] 128- removing all beans
[junit] drop table...done.
[junit]
[junit] Test Stateful Bean
[junit] ==================
[junit]
[junit] 129- Looking up the home nextgen.StatefulSession...ok
[junit] 130- Calling create on StatefulSessionHome with name Marc...ok
[junit] 131- Calling getEJBHome() on StatefulSession...ok
[junit] 132- Calling Business Method A on StatefulSession...
[junit] I was created with Stateful String Marc
[junit] 133- Calling Business Method A (state) on StatefulSession...
[junit] I was created with Stateful String Marc
[junit] 134- Calling Business Method B (EJBObject) on StatefulSession... OK
ejbObject is nextgen.StatefulSession:990754946543
[junit] 135- Calling Business Method B(String) on StatefulSession...
[junit] OK ejbObject is nextgen.StatefulSession:990754946543 words of wisdom
[junit] ***Testing the various local Object class calls
[junit] 136- toString ... nextgen.StatefulSession:990754946543
[junit] 137- hashCode ... -1382499063
[junit] 138- equals (same object) ... true
[junit] 139- equals (another object) (false under same home)... false
[junit] ***Testing the various local EJBObject class calls
[junit] 140- Get Primary Key ... 990754946543
[junit] 141- Get Handle ... OK
[junit] 142- Serialize handle and deserialize....OK
[junit] 143- Calling businessMethodB on it...
[junit] OK ejbObject is nextgen.StatefulSession:990754946543
[junit] 144- They should be identical...true
[junit] 145- Calling StatefulSession.remove()...ok
[junit] 146- Calling StatefulHome.remove(Handle) (this should fail)...not found OK
[junit] 147- Creating a 3rd bean and calling it...I was created with Stateful
String marc3
[junit] 148- Calling StatefulSession.remove(Handle) on a third bean...OK
[junit] 149- I should not be able to remove it directly...OK
[junit] 150- Trying the context...OK
[junit]
[junit] Test Stateless Bean
[junit] ===================
[junit]
[junit] 151- Looking up the home nextgen.StatelessSession...ok
[junit] 152- Calling create on StatelessSessionHome...ok
[junit] 153- Calling getEJBHome() on StatelessSession...ok
[junit] 154- Calling Business Method A on StatelessSession... ok
[junit] 155- Calling Business Method B on StatelessSession...
[junit] from the environment properties my name is marc
[junit] 156- Calling Business Method B(String) on StatelessSession...
[junit] OK ejbObject is nextgen.StatelessSession:Stateless words of wisdom
[junit] 157- Calling Business Method C on StatelessSession...
[junit] from the environment properties (subContext) my name is marc with
subContext
[junit] 158- Calling Business Method D on StatelessSession...
[junit] Caught BusinessMethodException OK
[junit] 159- Calling Business Method E (getEJBObject) on StatelessSession...
nextgen.StatelessSession:Stateless
[junit] 160- Calling testClassLoading on StatelessSession... OK
[junit] ***Testing the various local Object class calls
[junit] 161- toString ... nextgen.StatelessSession:Stateless
[junit] 162- hashCode ... 3417413
[junit] 163- equals (same object) ... true
[junit] 164- equals (another object) (true under same home)... true
[junit] ***Testing the various local EJBObject class calls
[junit] 165- Get Primary Key ... nextgen.StatelessSession
[junit] 166- Get Handle ... OK
[junit] 167- Serialize handle and deserialize..OK
[junit] 168- Calling businessMethodB on it...
[junit] from the environment properties my name is marc
[junit] 169- They should be identical...true
[junit] ***Testing the various local EJBHome class calls
[junit] 170- Getting the metaData...OK
[junit] 171- Is stateless Session? true
[junit] 172- The remote class is interface
org.jboss.test.testbean.interfaces.StatelessSession
[junit]
[junit] 173- Calling StatelessSession.remove()...ok
[junit]
[junit]
[junit] Test TxSession
[junit] ==============
[junit]
[junit] 174- Looking up home for nextgen.TxSession...ok
[junit] 175- Calling create on the home...ok
[junit] 176- calling supports... supports sees no transaction
[junit] 177- calling required... required sees a transaction 3898
[junit] 178- calling requiresNew... requiresNew sees a transaction 3899
[junit] 179- calling not supported... notSupported sees no transaction
[junit] 180- calling mandatory (should get an exception)...got Exception, ok
[junit] 181- calling requiredToSupports... Required sees a transaction 3900
Supports should see the same supports sees a transaction 3900 on coming back Required
sees a transaction 3900
[junit] 182- calling requiredToNotSupported... Required sees a transaction 3901
NotSupported should see the same notSupported sees no transaction on coming back
Required sees a transaction 3901
[junit] 183- calling requiredToRequiresNew... Required sees a transaction 3902
Requires new should see a new transaction requiresNew sees a transaction 3903 on
coming back Required sees a transaction 3902
[junit] ok
[junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 23.523 sec
[junit] Running org.jboss.test.xa.test.Main
[junit] _____________________________________________
[junit]
[junit] jBoss, the EJB Open Source Server
[junit] Copyright (C), The jBoss Organization, 2000
[junit] _____________________________________________
[junit]
[junit] Welcome to the XADataSource test
[junit] _____________________________________________
[junit]
[junit] Deploying the bean...done!
[junit]
[junit] 1- Looking up the XATest home...OK
[junit]
[junit] 2- Creating an the XATest bean...OK
[junit]
[junit] 3- Clearing any old data...
[junit] Could not clear the data: did you create the table in both data sources?
[junit] CREATE TABLE XA_TEST(ID INTEGER NOT NULL PRIMARY KEY, DATA INTEGER NOT
NULL)
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2.305 sec
[junit] TEST org.jboss.test.xa.test.Main FAILED
[junit] Running org.jboss.test.jmsra.test.AllJUnitTests
[junit] Deploying
[junit] Deploying: ../deploy/jmsra.jar
[junit] Testing Queue publishing
[junit] Testing topic publishing
[junit]
[junit] ---- Testing method testSimple for bean TxPublisher
[junit] Verify simple send of message
[junit] Recived message
[junit] Test OK
[junit] ----
[junit]
[junit] ---- Testing method testSimpleFail for bean TxPublisher
[junit] Verify simple failed transaction
[junit] NO message recived
[junit] Test OK
[junit] ----
[junit]
[junit] ---- Testing method testBeanOk for bean TxPublisher
[junit] Verify bean ok
[junit] Recived message
[junit] Test OK
[junit] ----
[junit]
[junit] ---- Testing method testBeanError for bean TxPublisher
[junit] Verify bean eroor failed transaction
[junit] NO message recived
[junit] Test OK
[junit] ----
[junit]
[junit] ---- Testing method testSimple for bean TxTopicPublisher
[junit] Verify simple send of message
[junit] Recived message
[junit] Test OK
[junit] ----
[junit]
[junit] ---- Testing method testSimpleFail for bean TxTopicPublisher
[junit] Verify simple failed transaction
[junit] NO message recived
[junit] Test OK
[junit] ----
[junit]
[junit] ---- Testing method testBeanOk for bean TxTopicPublisher
[junit] Verify bean ok
[junit] Recived message
[junit] Test OK
[junit] ----
[junit]
[junit] ---- Testing method testBeanError for bean TxTopicPublisher
[junit] Verify bean eroor failed transaction
[junit] NO message recived
[junit] Test OK
[junit] ----
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 25.059 sec
[junit] Running org.jboss.test.web.test.TestWebIntegration
[junit] http://jduke:theduke@localhost:8080/ result=302 in HTTP OK, skipping tests
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.65 sec
basic-security-tests:
[junit] Deploying: security-spec.jar
[junit] Found Unsecure StatelessSessionHome
[junit] Created spec.UnsecureStatelessSession2
[junit] echo failed
[junit] Creating LoginContext(spec-test)
[junit] Created LoginContext, subject=Subject:
[junit]
[junit] Found spec.StatelessSession2
[junit] Creating LoginContext(spec-test)
[junit] Created LoginContext, subject=Subject:
[junit]
[junit] Found StatelessSessionHome
[junit] Creating LoginContext(spec-test)
[junit] Created LoginContext, subject=Subject:
[junit]
[junit] Found Unsecure StatelessSessionHome
[junit] Created spec.UnsecureStatelessSession2
BUILD FAILED
/home/lubega/jbossro/jbosstest/src/build/run_tests.xml:118: Test
org.jboss.test.security.test.TestEJBSpec failed
Total time: 5 minutes 32 seconds
Test org.jboss.test.security.test.TestEJBSpec failed
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development