|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Error creating MQQueueManager object |
« View previous topic :: View next topic » |
Author |
Message
|
laddha |
Posted: Thu Mar 20, 2003 8:39 pm Post subject: Error creating MQQueueManager object |
|
|
 Apprentice
Joined: 20 Mar 2003 Posts: 27
|
Hi,
I am getting following Exception while running a small MQSeries-Java connection checking program.
java.lang.reflect.InvocationTargetException: com/ibm/mq/iiop/MQSESSION
What is the reason?
Also,
-Can I re-start Queue Manager from Java Application?
Let me know ASAP.
Thanks,
Laddha |
|
Back to top |
|
 |
mqonnet |
Posted: Mon Mar 24, 2003 11:12 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
No idea why you are getting the exception. Post your code, that might help. Also how you are compiling.
As for starting a qm using java app. This is not possible. Rather it is not possible using any language. Reason. Any api calls that originate go and execute directly(ex:mqi) on a running QM or are processed by the command server(ex:pcf). For both these cases, you got to have your qm in a running state. Hence starting a qm using app is not an option at all.
Cheers
Kumar _________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Mar 24, 2003 2:39 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can invoke the same program you use to start your queue manager now from a java application running on the same machine, in the same way you can use java to start any other program.
Or you could write a program that runs on your queue manager machine that accepts a network event and then starts the queue manager in the same way.
Both of these are security risks if not handled properly. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|