On Tue, Jan 09, 2001 at 11:05:58PM -0000, Bordet, Simone wrote:
> Hey,
> 
> > I found jnp-client.jar.
> 
> OK ! :)
> 
> > Still could not run.
> > I got the context when I run TestClient.
> > This is the output.
> > Got context
> > javax.naming.NameNotFoundException: interest not bound
> > 
> > 
> > 
> > why is interest not found???
> 
> Interest is not bound (not found) in JNDI, so there is some problem. Did the
> jar deploy successfully ?
> If not, post the stack trace of the server console.
> See also this mailing list's archive for information about the interest
> example.

Check your code -- based on the information you provide, you are looking for
"interest" in your client code on the lookup() call. Unless you package a
jboss.xml file in your ejb-jar file, it should be bound as 'Interest' by
default. If you DO package jboss.xml in your ejb-jar, use the the text
between the <jndi-name> elements for your bean to make it work.

Good luck,
Derek

> Simon
> 
> 
> > 
> > My classpath env variable does not have anything.  Is that OK?
> > 
> > -Aswath
> > 
> > >From: "aswath satrasala" <[EMAIL PROTECTED]>
> > >Reply-To: "jBoss" <[EMAIL PROTECTED]>
> > >To: [EMAIL PROTECTED]
> > >Subject: RE: [jBoss-User] How to run interestclient sample 
> > example. Pleas e 
> > >help!
> > >Date: Tue, 09 Jan 2001 14:41:55 -0800
> > >
> > >what is jnp-client.jar.
> > >More details please....
> > >
> > >My directory structure
> > >d:\jboss\examples\interest\com\web_tomorrow\interest
> > >
> > >where is dist/client
> > >
> > >Thanks
> > >-Aswath
> > >
> > >
> > >>From: "Bordet, Simone" <[EMAIL PROTECTED]>
> > >>Reply-To: "jBoss" <[EMAIL PROTECTED]>
> > >>To: 'jBoss' <[EMAIL PROTECTED]>
> > >>Subject: RE: [jBoss-User] How to run interestclient sample example. 
> > >>Pleas     e
> > >>help!
> > >>Date: Tue, 9 Jan 2001 21:04:09 -0000
> > >>
> > >>dist/client/jnp-client.jar
> > >>
> > >>Simon
> > >>
> > >> > -----Original Message-----
> > >> > From: aswath satrasala [mailto:[EMAIL PROTECTED]]
> > >> > Sent: martedì 9 gennaio 2001 21:31
> > >> > To: [EMAIL PROTECTED]
> > >> > Subject: [jBoss-User] How to run interestclient sample 
> > example. Please
> > >> > help!
> > >> >
> > >> >
> > >> > I am new to jboss with little experience on EJB.
> > >> >
> > >> > I am at step 6 in the sample application.  I compiled
> > >> > InterestClient, and I am able to deploy the Interest bean
> > >> > successfully.
> > >> >
> > >> > java -classpath d:\jboss\lib\ext\ejb.jar InterestClient
> > >> >
> > >> > I am not able to run the InterestClient with the
> > >> > above command.  I get the following message
> > >> >
> > >> > javax.naming.NoInitialContextException: Cannot instantiate class:
> > >> > org.jnp.interf
> > >> > aces.NamingContextFactory [Root exception is
> > >> > java.lang.ClassNotFoundException: o
> > >> > rg.jnp.interfaces.NamingContextFactory]
> > >> >
> > >> >
> > >> > How do I get bean class files on the client side??
> > >> >
> > >> > Thanks
> > >> > -Aswath
> > >> > _________________________________________________________________
> > >> > Get your FREE download of MSN Explorer at http://explorer.msn.com
> > >> >
> > >> >
> > >> >
> > >> > --
> > >> > --------------------------------------------------------------
> > >> > To subscribe:        [EMAIL PROTECTED]
> > >> > To unsubscribe:      [EMAIL PROTECTED]
> > >> > List Help?:          [EMAIL PROTECTED]
> > >> >
> > >>
> > >>
> > >>--
> > >>--------------------------------------------------------------
> > >>To subscribe:        [EMAIL PROTECTED]
> > >>To unsubscribe:      [EMAIL PROTECTED]
> > >>List Help?:          [EMAIL PROTECTED]
> > >>
> > >
> > >_________________________________________________________________
> > >Get your FREE download of MSN Explorer at http://explorer.msn.com
> > >
> > >
> > >
> > >--
> > >--------------------------------------------------------------
> > >To subscribe:        [EMAIL PROTECTED]
> > >To unsubscribe:      [EMAIL PROTECTED]
> > >List Help?:          [EMAIL PROTECTED]
> > >
> > 
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at http://explorer.msn.com
> > 
> > 
> > 
> > --
> > --------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> > List Help?:          [EMAIL PROTECTED]
> > 
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> List Help?:          [EMAIL PROTECTED]
> 
> 


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to