I am trying use an EJB statefull session (Valto Ejipt) from a servlet
engine (Apache Tomcat) but this don't work for me.
I store JNDI context, EJB home interface reference (which are also JDNI
reference I guess) and EJB remote interface reference in the servlet
session context.
[First HTTP request]
1. I get a JNDI context, I store it in a servlet session variable (Ok)
[Second HTTP request]
2. I get the JNDI context from the servlet session (OK)
3. I make a JNDI lookup for a statefull session EJB, I store the home
reference in a servlet session variable (OK)
4. Create a instance of the statefull session EJB thanks to the Home
interface reference an store the remote refence in a servlet session
variable (OK)
5. Call a method of the statefull session EJB thanks to the Remote
interface reference (OK)
[Third HTTP request]
6. I get the remote reference from the servlet session (OK)
7. Call a method of the statefull session EJB thanks to the Remote
interface reference (FAIL!!!)
[Fourth HTTP request]
8. I get the home reference from the servlet session (OK)
9. Create a instance of the statefull session EJB thanks to the Home
interface reference (FAILT!!!)
The failure is due to SecurityException ("Access disallowed") thrown on
the EJB server side.
So I am wondering if someone has done this kind of architecture and had
this kind of problem or can give me some hints on what's going on
(software is Ejipt 1.2.1 and Tomcat on Java 1.2.2 NT)
Best regards,
St�phane
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".