Post

(1) the lookup in your code
(2) the relevant piece from ejb-jar.xml
(3) the relevant piece from jboss.xml

----- Original Message -----
From: "Anoop" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 01, 2001 1:28 PM
Subject: RE: [JBoss-user] NoClassDefFoundError - PortableRemoteObject


> yup i am using the jndi name in there. the one specfed in my deployment
> descriptor.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Guy
> Rouillier
> Sent: Thursday, May 31, 2001 9:47 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] NoClassDefFoundError - PortableRemoteObject
>
>
> 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
>
>
> _______________________________________________
> 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

Reply via email to