I was having the same problem and found a solution :)
I went into the jndi.properties file in the bin directory and replaced
localhost with the IP address of the machine that is servicing the request.
Otherwise somehow the remote machine tries to look at 'localhost'. Bizarre!
I think someones optimizations went awry :)
-----Original Message-----
From: Tobias Frech [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 18, 2000 1:37 PM
To: 'jBoss'
Subject: RE: [jBoss-User] client doesnt run on remote machine
Thanks. OK, i'll check that. How does your jndi.properties on a remote
machine look like ?
Tobias
> -----Original Message-----
> From: Rickard �berg [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 18, 2000 1:41 AM
> To: jBoss
> Subject: Re: [jBoss-User] client doesnt run on remote machine
>
>
> Tobias wrote:
> > I checked all the the .properties files on the remote
> machine. There was
> > one called orb.properties in j2ee.jar . I changed the name
> of the file
> > but got still the same error with my client. The client
> still seems to
> > be trying to connect to localhost. Any other ideas what
> might be wrong ?
>
> Somewhere there is a jndi.properties file. Do this:
> System.out.println(getClass().getResource("/jndi.properties"));
> and see if you get a result or not.
>
> > Hey, all you guys out there. How does your code look like
> for jBoss for
> > getting the initial context and looking up an EJB ? Please post some
> > exmaples ...
>
> Code? Simple:
>
> MyBeanHome beanHome = (MyBeanHome)new
> InitialContext().lookup("mybean");
>
> providing that you have a proper jndi.properties file in classpath.
>
> /Rickard
>
> --
> Rickard �berg
>
> 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]