-
1. Re: Connect to MEJB problem
jxtang Apr 30, 2003 4:07 PM (in response to jxtang)One of the solution is to add the server/default/deploy/ejb-management.jar into the build.xml. As the JNDI lookup operation returns a valid object, it needs certain classes and description files to load the proxy.
Any better solution or comments are welcome. -
2. Re: Connect to MEJB problem
lycheel May 20, 2003 2:25 PM (in response to jxtang)Hi,
Did you get MEJB to work? May I benefit from your experience?
What I'm trying to do is similar to what you did except
that I need to display in jsp pages. So I tried to put
a java block in a jsp page like below:
InitialContext ic = new InitialContext();
Object ref = ic.lookup( "ejb/mgmt/MEJB" );
ManagementHome home = (ManagementHome)PortableRemoteObject.narrow( ref, ManagementHome.class );
Management mejb = home.create();
but when accessing the jsp page, it complains about
a bunch of ClassNotFoundException. How are running
the example? Which 'Administration & Development Manual' you used?
Thanks.