I already have that and can use EJBs residing on machineA from a client on machineB.
The problem is in using JMS. The client on machineB wants to subscribe to a message
queue. Since Orion server is running on machineA, the JMS server is also running
there. How does the client reference it?
Vidur
"Luong, Tony S322" wrote:
> try setting the hostname in jndi.properties on machine B.
> e.g.
> java.naming.provider.url=ormi://machineA
>
> > -----Original Message-----
> > From: Vidur Dhanda [SMTP:[EMAIL PROTECTED]]
> > Sent: Thursday, December 07, 2000 9:42 AM
> > To: Orion-Interest
> > Subject: RP/Please Help: Connecting to JMS from client application
> >
> > Please help! Somebody must be using JMS from a client application
> > running on a machine different than the server. How do I configure a
> > client to use JMS. Say, the EJB Server runs on machine A. The client
> > runs on machine B. How does the client on machine B know the location
> > of JMS (which should be machine A)? The client always tries to connect
> > to a JMS server on localhost. The only place where, I think, a hostname
> > can be provided is in jms.xml. But that's a part of Orion configuration
> > files. How do I configure the client? I tried copying jms.xml (in a
> > desperate attempt) into the same location as
> > orion-application-client.xml but that didn't work.
> >
> > Please, if anyone knows the answer, help me! This is a big problem for
> > me right now.
> >
> > Thanks,
> > Vidur
> >
> > PS. If possible, please also cc me directly. It sometimes takes a
> > while for the list to distribute the postings and I'm really stuck!
> >
> >
>
> ------------------------------------------------------------------------------
> CONFIDENTIALITY NOTICE: If you have received this e-mail in error, please
>immediately notify the sender by e-mail at the address shown. This e-mail
>transmission may contain confidential information. This information is intended only
>for the use of the individual(s) or entity to whom it is intended even if addressed
>incorrectly. Please delete it from your files if you are not the intended recipient.
> Thank you for your compliance.
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++