I think that your problem, as Rickard pointed out, is that the file
jndi.properties of Sun is, in your classpath, before the one of jBoss, so
the naming started is not the jBoss' but the Sun's.
Check your classpath (beware that inside j2ee.jar there is a
jndi.properties, the Sun's).
You can also start the naming in the client using a Properties, go in the
Archive of the mailing list on the jBoss web site and search for
"Properties".
HTH
Simon
> -----Original Message-----
> From: Peter Shillan [mailto:[EMAIL PROTECTED]]
> Sent: mercoled� 19 luglio 2000 15:11
> To: jBoss
> Subject: Re: [jBoss-User] TestBeanClient Error
>
>
> Hi,
>
> I can't see how to do this in any documentation, but having a
> look around in
> the jndi.properties and the jnp.properties, the jndi conf is
>
> java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
> java.naming.provider.url=localhost
> java.naming.factory.url.pkgs=org.jboss.naming
>
> and the jnp is
>
> jnp.port=1099
>
> which is the same port number that jboss starts the naming
> service under. Do
> you mean that the client is at fault? I don't have the source
> for that so I
> don't know if I can change it.
>
> Thanks for you continuing help,
>
> Peter.
>
> ----- Original Message -----
> From: "Rickard �berg" <[EMAIL PROTECTED]>
> To: "jBoss" <[EMAIL PROTECTED]>
> Sent: Wednesday, July 19, 2000 1:58 PM
> Subject: Re: [jBoss-User] TestBeanClient Error
>
>
> Hi!
>
> Peter Shillan wrote:
> > Having started jBoss with no exceptions and a success message that
> > TestBeans.jar has been deployed, I started the
> > org.jboss.zol.testbean.client.EjbossClient class. I
> received the following
> > output, failing with an exception because the client could
> not connect to
> > the ORB:
>
> You seem to be using the JNDI settings for the J2EE RI. If so, change
> that to the jBoss settings instead.
>
> /Rickard
>
> --
> Rickard �berg
>
> @home: +46 13 177937
> Email: [EMAIL PROTECTED]
> http://www.telkel.com
> http://www.jboss.org
> http://www.dreambean.com
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
>
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]