When I use my test client to get the value object from the first entity
bean, everything works fine. But once I use a session facade to the entity
bean, I always get the error. Is there any way to work around this problem?
My AppServer is Inprise 4.1.1
Nested Exception is:
javax.transaction.TransactionRolledbackException: java.rmi.ServerException:
Could not resolve one-to-many relationship; nested exception is:
java.lang.reflect.InvocationTargetException
...
I found same scenario has been posted earlier with ClassCastException in
April, Could anyone tell me if it is caused by Inprise 4.1.1 in my case?
Thanks a lot.
I would recommend upgrading to version 4.5.1 if possible.
Otherwise, it seems strange that a remote client works while
a session bean calling that entity bean does not. Are your
beans in same jar (you mention a ClassCastException)?
-krish
"Wei Jin" <wjin...@hotmail.com> wrote in message news:3bd73220$1_1@dnews...
The production environment is ias 4.1.1, the problem is I can not use the
entity bean directly, it must go through a seesion facade bean inside the
same jar or another session controller in seperate jar. How can I solve this
problem?
Thanks a lot.
Wei Jin
"Krishnan Subramanian" <ksubra...@borland.com> wrote in message
news:3bdc471f_1@dnews...
try a Class.forName("vo.class") inside your Session
Bean before you do anything with your vo.
Renato
"Wei Jin" <wjin...@hotmail.com> escreveu na mensagem
news:3bdd74dc$1_2@dnews...