I'm having trouble with using Jonas in conjunction with Apache/Jserv.
I have created a functional EJB. I have created a regular JavaBean
which interfaces with the EJB, with a client program that calls the
JavaBean in order to access the EJB. The client
program<->JavaBean<->EJB works correctly.[1]
However, if I try to drop in a JSP page in place of the working client,
the reference to the EJB's Home interface is always null, which causes
Jserv to throw an exception and exit before fully rendering the page
(NullPointerException appears only in jserv.log, not on the .jsp's
output html). No other errors are reported in the logs.
Any ideas? Anyone run into similar problems? Anyone at least having
success with jsp <-> javabean <-> Jonas EJBs (so that I know to continue
pounding on my own setup)?
Thansk!
[1] As outlined in the EJB Developer's guide at sun, the only way to
access EJBs via a web interface is either through servlets or jsps.