Amit,

I need more information to help you.   Could you please send any exception
data that you might have collected from this test case.

Adam



                                                                                       
                       
                    Amit Likhyani                                                      
                       
                    <amit@greathi        To:     JRun-Talk 
<[EMAIL PROTECTED]>                      
                    lls.com>             cc:                                           
                       
                                         Subject:     Can't get initial context from a 
different machine      
                    11/14/00                                                           
                       
                    01:10 AM                                                           
                       
                    Please                                                             
                       
                    respond to                                                         
                       
                    jrun-talk                                                          
                       
                                                                                       
                       
                                                                                       
                       




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.



------------------------------------------------------------------------------
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.

Reply via email to