Thanks to danch, how's about this: <gr>
When you say "the same name as given in the deployment descriptor", which
name are you talking about? Are you using the jndi-name?
Ignore my previous post - my employer went out of business today (telecom)
and I worked till midnight last night (now of course I wonder why) so I'm
not thinking as much as I should.
----- Original Message -----
From: "Anoop" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 31, 2001 1:46 PM
Subject: [JBoss-user] NoClassDefFoundError - PortableRemoteObject
> 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
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user