Hi,
I have been prototyping EJBs with JRUN. Well, it's time to start accessing them
from other machines on our LAN. I keep getting a connection refused by server.
I specify the ip address of my machine in the properties. This snipped works
locally. The same client code does not work from a different machine. Is there some
place I have to
grant access to other machines?
Amit
Properties properties = new Properties();
properties.setProperty( Context.INITIAL_CONTEXT_FACTORY,
"allaire.ejipt.ContextFactory");
properties.setProperty( Context.PROVIDER_URL,
"ejipt://172.16.16.221:2323");
properties.setProperty(Context.SECURITY_PRINCIPAL, "spender1" );
properties.setProperty(Context.SECURITY_CREDENTIALS, "pass" );
try
{
_context = new InitialContext(properties);
...
}
Amit
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.