Error while deploying to Message Broker

2012-09-14 Thread radm
I have an ant build script that will build and deploy the bar file to a 
broker. When I execute the ant file from cmd promp both actions are 
successful. But when I try to invoke that ant script from Jenkins I am 
seeing below exeption. Can anybody please help. I am stuck , no clue where 
to look for the exact error. I checked the QMGR logs , broker logs. Could 
not find any exceptions. DO I need to do any special settings to connect to 
broker?

-
MQSI 7.0.0.0
C:\Program Files (x86)\IBM\MQSI\7.0

BIP1044I: Connecting to the queue manager...
BIP1046E: Unable to connect with the queue manager 
(*com.ibm.mq*http://com.ibm.mq.mq/.MQQueueManager). 


The utility encountered a problem while attempting to connect to the queue 
manager to put a message to the broker's request queue. 

Ensure that the correct connection parameters have been supplied to the 
utility. Also ensure that the queue manager is running and that the current 
user is able to access the queues beginning SYSTEM.BROKER. If this error 
text includes an MQ reason code, look up the meaning behind the error in 
the Application Programming Reference guide and proceed as appropriate.
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE 

Re: Error while deploying to Message Broker

2012-09-14 Thread radm
Somehow now it is geting connected to QMgr ,  broker. I installed ENVInject 
plugin. After that I am able to connect to Queue manager and deployed to 
broker successfully. May be it is just a coincident or that plugin has done 
something. Good thing is it is working now. 

On Friday, September 14, 2012 3:05:06 PM UTC-7, radm wrote:

 I have an ant build script that will build and deploy the bar file to a 
 broker. When I execute the ant file from cmd promp both actions are 
 successful. But when I try to invoke that ant script from Jenkins I am 
 seeing below exeption. Can anybody please help. I am stuck , no clue where 
 to look for the exact error. I checked the QMGR logs , broker logs. Could 
 not find any exceptions. DO I need to do any special settings to connect to 
 broker?

 -
 MQSI 7.0.0.0
 C:\Program Files (x86)\IBM\MQSI\7.0

 BIP1044I: Connecting to the queue manager...
 BIP1046E: Unable to connect with the queue manager 
 (*com.ibm.mq*http://com.ibm.mq.mq/.MQQueueManager). 


 The utility encountered a problem while attempting to connect to the queue 
 manager to put a message to the broker's request queue. 

 Ensure that the correct connection parameters have been supplied to the 
 utility. Also ensure that the queue manager is running and that the current 
 user is able to access the queues beginning SYSTEM.BROKER. If this error 
 text includes an MQ reason code, look up the meaning behind the error in 
 the Application Programming Reference guide and proceed as appropriate.
 Build step 'Execute Windows batch command' marked build as failure
 Finished: FAILURE