Hi Peter,

  Setting the following system props should get you going.

-Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
 -Djava.naming.provider.url=localhost:1099

regards,

-Rob



----- Original Message -----
From: Peter Shillan <[EMAIL PROTECTED]>
To: jBoss <[EMAIL PROTECTED]>
Sent: Wednesday, July 19, 2000 11:10 PM
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]

Reply via email to