The VM needs this because it contains the classes used in looking up information
in the JNDI database.  If your client is an HTML browser, you might want to
consider using a servlet or JSP to serve up the HTML pages to the browser.
Otherwise, an applet might get a little heavy when having to include classes for
doing JNDI lookups and for dealing with Home and Remote interfaces.

Monday I plan on porting a simple session bean/JSP from Enhydra to jBoss.  If
you are interested I can send you a copy of it when I'm done.

Scot.

Pedro wrote:

> Thanks Scot and Rickard !
> the problem was solved !
> but i need anoder way to make this, (why the VM need this in run time?)
> my system will run on the browser
> the client (Ex :InterestClient ) will can't set the classpath in your
> browser right ?
> you can send me one example (how-to) of that ?
>
> i have other exeption
>
> Got context
> javax.naming.NameNotFoundException: interest not bound
>
> ----- Original Message -----
> From: Scot Bellamy <[EMAIL PROTECTED]>
> To: jBoss <[EMAIL PROTECTED]>
> Sent: Friday, October 27, 2000 4:35 PM
> Subject: Re: [jBoss-User] javax.naming.NoInitialContextException
>
> > Pedro wrote:
> >
> > > Hi
> > >
> > > when i run the InterestClient in remote machine
> > >
> > > javax.naming.NoInitialContextException: Cannot instantiate class:
> > > org.jnp.interfaces.NamingContextFactory [Root exception is
> > > java.lang.ClassNotFoundException:
> org.jnp.interfaces.NamingContextFactory]
> > >
> > > What's happening ?
> > >
> > > --
> > > --------------------------------------------------------------
> > > To subscribe:        [EMAIL PROTECTED]
> > > To unsubscribe:      [EMAIL PROTECTED]
> > > Problems?:           [EMAIL PROTECTED]
> >
> > Yep, this is a familiar one.
> >
> > you need to make sure that the jnp-client.jar is in your classpath when
> > running your client.  This jar file is found in the client subdirectory of
> > your jBoss installation
> >
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to