| Author | 
		  Message | 
  		
  		
		     Topic: Cannot open QMgr connection on AIX ... code included | 
  		
  		
		  pal
  
	  	  Replies: 4 Views: 6074
  | 
		   Forum: IBM MQ Java / JMS   Posted: Fri Oct 25, 2002 8:32 am   Subject: Cannot open QMgr connection on AIX ... code included | 
  		
  		
		  Awesome ... you reminded me of a fix I had done a while back:
 
 export LDR_CNTRL=MAXDATA=0x40000000
 
 This made the above program work!
 
 Thanks. | 
  		
  		
		     Topic: Cannot open QMgr connection on AIX ... code included | 
  		
  		
		  pal
  
	  	  Replies: 4 Views: 6074
  | 
		   Forum: IBM MQ Java / JMS   Posted: Fri Oct 25, 2002 7:16 am   Subject: Cannot open QMgr connection on AIX ... code included | 
  		
  		
		  Here is the command line I am using:
 
 java -classpath .:/usr/mqm/java/lib:/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/connector.jar:/usr/mqm/java/lib/jta.jar:/usr/mqm/java ... | 
  		
  		
		     Topic: Cannot connect QM in Client mode using a channel | 
  		
  		
		  pal
  
	  	  Replies: 4 Views: 8013
  | 
		   Forum: IBM MQ Java / JMS   Posted: Thu Sep 19, 2002 5:10 am   Subject: Cannot connect QM in Client mode using a channel | 
  		
  		
		  I use the properties method to populate the MQEnvironment and below are the values:
 
 MQEnvironment.properties.put( MQC.HOST_NAME_PROPERTY, "machine name" );
 MQEnvironment.properti ... | 
  		
  		
		     Topic: Cannot connect QM in Client mode using a channel | 
  		
  		
		  pal
  
	  	  Replies: 4 Views: 8013
  | 
		   Forum: IBM MQ Java / JMS   Posted: Wed Sep 18, 2002 1:25 pm   Subject: Cannot connect QM in Client mode using a channel | 
  		
  		
		  Fixed the case, but now I am getting a not authorized to perform action exception, even though the used id is part of the mqm group
 
 com.ibm.mq.MQException: Completion Code 2, Reason 2035
         a ... | 
  		
  		
		     Topic: Cannot connect QM in Client mode using a channel | 
  		
  		
		  pal
  
	  	  Replies: 4 Views: 8013
  | 
		   Forum: IBM MQ Java / JMS   Posted: Mon Sep 16, 2002 12:10 pm   Subject: Cannot connect QM in Client mode using a channel | 
  		
  		
		  These are the steps I followed on HP-UX 11.11 and MQ 5.2
 
 1. crtmqm testqm
 
 2. strmqm testqm
 
 3. define channel (mychannel) chltype(svrconn) mcauser(userid)
 
 4. runmqlsr -t tcp -p 1414 -m test ... | 
  		
  		
		     Topic: Unable to load message catalog - mqji | 
  		
  		
		  pal
  
	  	  Replies: 1 Views: 3434
  | 
		   Forum: IBM MQ Java / JMS   Posted: Mon Aug 19, 2002 1:47 pm   Subject: Unable to load message catalog - mqji | 
  		
  		
		  | Try putting /opt/mqm/lib before /opt/mqm/java/lib in the library path ... that worked for me on HP-UX and AIX. | 
  		
  		
		     Topic: AIX: 2059 with Message catalog not found exception ... | 
  		
  		
		  pal
  
	  	  Replies: 14 Views: 21680
  | 
		   Forum: IBM MQ Java / JMS   Posted: Tue Aug 13, 2002 4:27 am   Subject: AIX: 2059 with Message catalog not found exception ... | 
  		
  		
		  Thanks Charlie and the rest of ya!   
 
 Pal | 
  		
  		
		     Topic: AIX: 2059 with Message catalog not found exception ... | 
  		
  		
		  pal
  
	  	  Replies: 14 Views: 21680
  | 
		   Forum: IBM MQ Java / JMS   Posted: Mon Aug 12, 2002 1:28 pm   Subject: AIX: 2059 with Message catalog not found exception ... | 
  		
  		
		  export LDR_CNTRL=MAXDATA=0x30000000
 and
 export LDR_CNTRL=MAXDATA=0x40000000
 
 both solved the problem ... larger values dont work though. Is this a good permanent fix or will it fail with large pro ... | 
  		
  		
		     Topic: AIX: 2059 with Message catalog not found exception ... | 
  		
  		
		  pal
  
	  	  Replies: 14 Views: 21680
  | 
		   Forum: IBM MQ Java / JMS   Posted: Mon Aug 12, 2002 10:42 am   Subject: AIX: 2059 with Message catalog not found exception ... | 
  		
  		
		  I stopped all the queue managers and then cleared all the remaining semaphores using the ipcrm command.
 
 Then started up the one queue manager that I want and ran the test program with the same exce ... | 
  		
  		
		     Topic: AIX: 2059 with Message catalog not found exception ... | 
  		
  		
		  pal
  
	  	  Replies: 14 Views: 21680
  | 
		   Forum: IBM MQ Java / JMS   Posted: Mon Aug 12, 2002 4:44 am   Subject: AIX: 2059 with Message catalog not found exception ... | 
  		
  		
		  Have the LD_LIBRARY_PATH and the SHLIB_PATH set to point to /opt/mqm/lib and /opt/mqm/java/lib.
 
 This removed the catalog error as I mentioned earlier but I still get the 2059 exception that it cann ... | 
  		
  		
		     Topic: AIX: 2059 with Message catalog not found exception ... | 
  		
  		
		  pal
  
	  	  Replies: 14 Views: 21680
  | 
		   Forum: IBM MQ Java / JMS   Posted: Fri Aug 09, 2002 1:23 pm   Subject: AIX: 2059 with Message catalog not found exception ... | 
  		
  		
		  I've tried all the possible values for IPCCBaseAddress- 4, 5, 8, 9, 10, 11, 12 with no luck. And we dont use DB2.
 
 Extract of the mqs.ini file
 
 QueueManager:
    Name=xyz
    Prefix=/var/mqm
    I ... | 
  		
  		
		     Topic: AIX: 2059 with Message catalog not found exception ... | 
  		
  		
		  pal
  
	  	  Replies: 14 Views: 21680
  | 
		   Forum: IBM MQ Java / JMS   Posted: Fri Aug 09, 2002 12:42 pm   Subject: AIX: 2059 with Message catalog not found exception ... | 
  		
  		
		  I added /usr/mqm/java/lib and /usr/mqm/lib to the classpath and that took care of the message catalog ... I still get the following exception
 
 MQJE001: Completion Code 2, Reason 2059
 com.ibm.mq.MQE ... | 
  		
  		
		     Topic: AIX: 2059 with Message catalog not found exception ... | 
  		
  		
		  pal
  
	  	  Replies: 14 Views: 21680
  | 
		   Forum: IBM MQ Java / JMS   Posted: Fri Aug 09, 2002 12:28 pm   Subject: AIX: 2059 with Message catalog not found exception ... | 
  		
  		
		  On using a bindings connection to a QM, I get the 2059 reason code with the following exception:
 
 com.ibm.mq.MQException:  Message catalog not found
         at com.ibm.mq.MQManagedConnectionJ11.< ... | 
  		
  		
		     Topic: HP-UX 11: Unexpected error on crtmqm ... | 
  		
  		
		  pal
  
	  	  Replies: 6 Views: 7402
  | 
		   Forum: General IBM MQ Support   Posted: Mon Aug 05, 2002 2:57 pm   Subject: HP-UX 11: Unexpected error on crtmqm ... | 
  		
  		
		  Even tried the command as root ... still the same error!
 
 We discovered some errors in the HP-UX kernel params and the Sys Admins are going to fix that and do a reboot. I am hoping it'll fix the pro ... | 
  		
  		
		     Topic: HP-UX 11: Unexpected error on crtmqm ... | 
  		
  		
		  pal
  
	  	  Replies: 6 Views: 7402
  | 
		   Forum: General IBM MQ Support   Posted: Mon Aug 05, 2002 12:34 pm   Subject: HP-UX 11: Unexpected error on crtmqm ... | 
  		
  		
		  ran the following command
 
 chown root:mqm crtmqm_nd
 
 but still getting the same error ... any other ideas would be greatly appreciated. |