Skip to Content
0
Former Member
Nov 13, 2003 at 04:47 PM

Problems looking up EJBs

50 Views

Hi all,

I have the following szenario: I have some EJBs and a JSP-frontend together in one EAR-file and there is no problem accessing the EJBs from within the webcontainer. Now I have a second JSP-frontend in another EAR which have to access the EJBs deployed in the first EAR. Every time I try to lookup the EJBs I get the following error:

javax.servlet.ServletException: object is not an instance of declaring class.

RootCause: IllegalArgumentException

I used the ClientAPI.jar to import the home- and remote-interfaces. Without that jar-file I get a NoClassDefFoundError.

Does I have to specify a refenrence in the application-j2ee-engine.xml instead of using the additional jar-file for this purpose? I´m using the SAP WAS 6.30

Thanks for help

Christian