Hi All,
We are seeking help in
EJB development for the problem encountered during the middle of the project and it is to be solved ASAP.
The development tool for EJB is IBM VisualAge for
Java 3.5 EE. Database is Oracle 9i. WAS 3.5 Ad Ed.
Could anyone help us in this regard? If anyone faced this kind of problems, please let us know.
This would really help us for the completion of the project asap. This is very urgent.
The EJBs developed are CMP. There are three problems:
1. prepared statement does not map to a connection
When an EJB is tested in VAJ WTE, for a finder method with argument as the primary key column,
the
Test cilent gives the above mentioned error. The schema mapping was perfect and it didnt gave
any error. The mapping was done again and regernerated and tested. the same error continues.
The same table is created with some other name and the EJB is created on the new table.
Again the same error is occurring.
Exception details:
prepared statement does not map to a connection
com.ibm.ejs.container.UncheckedException
2. ClassCastException
When an EJB is tested in VAJ WTE, for a finder method, or create method with arguments,
the test client gives the following exception:
java.rmi.ServerException: RemoteException occurred
java.lang.ClassCastException
3. cannot convert portable remote object.
when the Test client is started and click on the Lookup button in VAJ,
the following message is thrown:
cannot convert portable remote object.
Thanks in advance.
Kind Rgds,
Prasad
prasad_thirugnanam@satyam.com