Author |
Message
|
naylak |
Posted: Tue Sep 07, 2004 11:05 pm Post subject: Connecting to a Server |
|
|
Apprentice
Joined: 08 Feb 2003 Posts: 47
|
Will I be able to connect to a MQServer from a machine other than MQServer machine even without having a MQClient and using only MQClasses for Java by setting MQEnvironment properties, as I am able to connect an oracle server using a proper oracle driver from other machine.
Thanks and regards
naylak |
|
Back to top |
|
 |
kirani |
Posted: Tue Sep 07, 2004 11:09 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Please save us (moderators) some time by posting your questions in correct forum. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
kirani |
Posted: Tue Sep 07, 2004 11:11 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
To answer your question. No, you cannot run your application without installing MQ Client . _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
RogerLacroix |
Posted: Wed Sep 08, 2004 7:45 am Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
That would be a 'No' with a 'but'. The 'but' comes from the fact that Java's MQ requirements are very light.
What I mean is that for Java ONLY, if you don't install the MQ client, you can copying the Java MQ jar files ( <MQ_INSTALL_PATH>\Java\Lib\*.jar ) from one machine to another machine and your code will work.
Of course, you will need to manually setup the CLASSPATH.
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
Michael Dag |
Posted: Thu Sep 16, 2004 9:11 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
csmith28 |
Posted: Thu Sep 16, 2004 9:26 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
The answer is yes.
You do not actually need to install the MQSeries Client.
You can connect using the MQ Java Client. They are two different filesets.
My app servers are running WebSphere connecting via JMS/JNDI with only the following filesets installed:
mqm.base.runtime
mqm.base.samples
mqm.base.sdk
mqm.java.rte _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
|