Run your client under jdk1.3.
Anoop wrote:
> Hi All,
>
> My client application (a simple java class) is trying to access a deployed
> ejb.
>
> The code am using is -
> Object ref = jndiContext.lookup("MenuDisplayBean"); // This is
> the same name as given in the deployment descriptor for the bean.
> // Get a reference from this to the Bean's Home interface
> MenuDisplayHome home = (MenuDisplayHome)
> javax.rmi.PortableRemoteObject.narrow(ref, MenuDisplayHome.class);
>
> The following error is shown -
> java.lang.NoClassDefFoundError: javax/rmi/PortableRemoteObject
>
> The same error is shown when I tried to run the sample example provided by
> the JBoss.
>
> Any kind of suggestion is welcome.
>
> Thanks,
> Anoop.
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
Confidential e-mail for addressee only. Access to this e-mail by anyone else is
unauthorized.
If you have received this message in error, please notify the sender immediately by
reply e-mail
and destroy the original communication.