|
Atul -
According to the J2EE user's guide, when you are running your client on a different host from the server, you have to set the org.omg.CORBA.ORBInitialHost property in the client as a reference to the server host. You do this with the -Dorg.omg.CORBA.ORBInitialHost=<hostname> arg to your client VM. John Collins
Atul Singh Chauhan wrote: Hi all,I have written a simple Stateless session EJB and Deployed it in J2EE RI.I'm trying to connect to the EJB using a Standalone Application (RMI-IIOP Stubs).When my client is on the same machine where the J2EE is running the client gives the expected result, but when I run the client from a different machine it gives the following exception :javax.naming.NamingException: Error accessing repository: Cannot connect=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". |
- How to Specify JNDI URL in J2EE RI Atul Singh Chauhan
- Re: How to Specify JNDI URL in J2EE RI Hermann Schmitt
- Re: How to Specify JNDI URL in J2EE RI John Collins
- Re: How to Specify JNDI URL in J2EE RI Thibault Cuvillier
