ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Error creating MQQueueManager object

Post new topic  Reply to topic
 Error creating MQQueueManager object « View previous topic :: View next topic » 
Author Message
laddha
PostPosted: Thu Mar 20, 2003 8:39 pm    Post subject: Error creating MQQueueManager object Reply with quote

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
View user's profile Send private message
mqonnet
PostPosted: Mon Mar 24, 2003 11:12 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Mon Mar 24, 2003 2:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Error creating MQQueueManager object
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.