For Programmers: Free Programming Magazines  


Home > Archive > Java Beans > March 2004 > Access to ejb after deserializing ejb hanlder









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Access to ejb after deserializing ejb hanlder
hannes

2004-03-19, 8:45 pm

Hi,
I use oc4j (version 9.0.3.0.0).
The problem is that I serialize handler of the stateful session bean
in the servlet and pass it to the applet as string. In the applet
(different JVM than web container) I deserialize the handler. Using
this handler I try to access to the ejb and I get error:
javax.naming.NamingException: Lookup error:
javax.naming.AuthenticationException: Invalid username/password for
epssession (); nested exception is:
javax.naming.AuthenticationException: Invalid username/password for
epssession ()

When I lookup the ejb from the applet then it works fine.
Anyhow, handler in the applet is ok. Why I can not use the same
handler in the different virutal machine? Is this problem of the
configuration of the container? Please help!
Hannes
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com