I am trying to execute a
test client on a session bean which invokes the following method in the environment listed below:
I'm receiving the following message:
<pre>
java.rmi.ServerException: RemoteException occurred in server
thread; nested exception is:
javax.transaction.TransactionRolledbackException: CORBA TRANSACTION_ROLLEDBACK 0 No; nested exception is:
org.omg.CORBA.TRANSACTION_ROLLEDBACK: minor code: 0 completed: No
javax.transaction.TransactionRolledbackException: CORBA TRANSACTION_ROLLEDBACK 0 No; nested exception is:
org.omg.CORBA.TRANSACTION_ROLLEDBACK: minor code: 0 completed: No
org.omg.CORBA.TRANSACTION_ROLLEDBACK: minor code: 0 completed: No
</pre>
I'm pretty sure it has to do with trying to pass back the vector "list." If I comment out the break and the following lines of code,
<pre> (
String [] list = new String[vect.size()];
vect.copyInto(list);
return list;
</pre>
I get a finderexception as expected (Not the most elegant way to handle this situation, but this is how the author structured the example.)
Any ideas as to what the problem is? Also, in general, when you get CORBA exceptions, what does one do to resolve the problem? Not being familiar with CORBA, is there a reference to use?
Also, I've been testing my examples without the use of Access beans. Any comments pro or con about these?
_______________________________________________________________
Environment: Websphere Test Environment from VA4J 3.5
Machine: Windows 98 SE
[This message has been edited by Elizabeth Reynolds (edited July 17, 2001).]