Author |
Message
|
just_a_kid |
Posted: Tue Jul 25, 2006 4:41 pm Post subject: MQJMS2005 MQJE001: Completion Code 2, with reason code 2009 |
|
|
Apprentice
Joined: 25 Jul 2006 Posts: 28
|
Hi Guys,
I get this exception as below in Solaris using IBM MQ
MQJMS2005: failed to create MQQueueManager for 'ils1app1-dev:ils.queue.manager'
linked exception: com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2009
I dont know why it seems all my QCF setting is correct as below
javaClassName: com.ibm.mq.jms.MQQueueConnectionFactory
javaFactory: com.ibm.mq.jms.MQQueueConnectionFactoryFactory
objectClass: javaContainer
objectClass: javaObject
objectClass: javaNamingReference
objectClass: top
cn: ilsprodQCF
javaReferenceAddress: #0#VER#1
javaReferenceAddress: #1#TRAN#1
javaReferenceAddress: #2#QMGR#ils.queue.manager
javaReferenceAddress: #3#HOST#ils1app1-dev
javaReferenceAddress: #4#PORT#1414
javaReferenceAddress: #5#CHAN#SYSTEM.DEF.SVRCONN
javaReferenceAddress: #6#CCS#819
javaReferenceAddress: #7#TM#SYSTEM.DEFAULT.MODEL.QUEUE
my entry for /etc/hosts as below
192.168.0.129 ils1app1-dev loghost
127.0.0.1 localhost
and my process running in backgroun for mq as below
mqm 11334 11330 0 Jun 29 ? 0:41 /opt/mqm/bin/amqrrmfa -t2332800 -s2592000 -p2592000 -g5184000 -c3600 -m ils.que
mqm 11336 11330 0 Jun 29 ? 0:40 /opt/mqm/bin/runmqchi -m ils.queue.manager
mqm 11335 11330 0 Jun 29 ? 0:36 /opt/mqm/bin/amqzdmaa -m ils.queue.manager
mqm 9136 1 0 Jun 28 ? 0:00 runmqsc
mqm 11338 1 0 Jun 29 ? 0:00 runmqlsr -t tcp -m ils.queue.manager -p 1414
mqm 11332 11330 0 Jun 29 ? 0:05 amqhasmx ils!queue!manager /var/mqm
mqm 11331 11330 0 Jun 29 ? 0:36 /opt/mqm/bin/amqzfuma -m ils.queue.manager
root 4900 4892 0 08:39:37 pts/4 0:00 grep mqm
mqm 11330 1 0 Jun 29 ? 1:34 amqzxma0 -m ils.queue.manager
mqm 11333 11330 0 Jun 29 ? 0:00 amqzllp0 -mils.queue.manager ?
mqm 11337 11330 0 Jun 29 ? 1:45 amqzlaa0 -mils.queue.manager -fip0
mqm 3234 1 0 16:58:12 ? 0:00 amqrmppa -m ils.queue.manager
Seems listerner is running and so on??
Any idea?
Thanks in Advance.. |
|
Back to top |
|
 |
bower5932 |
Posted: Tue Jul 25, 2006 5:47 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
A 2009 is a connection broken and happens quite a bit when you are running different levels of the JMS on the client and server. I'd suggest that you put the latest CSD on both sides and see what happens. |
|
Back to top |
|
 |
just_a_kid |
Posted: Tue Jul 25, 2006 6:10 pm Post subject: |
|
|
Apprentice
Joined: 25 Jul 2006 Posts: 28
|
bower5932 wrote: |
A 2009 is a connection broken and happens quite a bit when you are running different levels of the JMS on the client and server. I'd suggest that you put the latest CSD on both sides and see what happens. |
Hi , What do you mean by CSD?
Sorry because i am new to MQ and JMS thing
can u provide step by step if possible , thanks =)
all i did is bring the listener down and restart again but still to no avail..
Is there any network configuration i have to setup?
i also did
Export MQSERVER=SYSTEM.DEF.SVRCONN/TCP/ils1app1-dev
The confusing part this setting is works well in another environment...
i have checked and compared the entry for ps-ef in both environment and it seems the same and configuration part as well since this environment configuration is taken from another one. |
|
Back to top |
|
 |
just_a_kid |
Posted: Tue Jul 25, 2006 6:20 pm Post subject: New Finding |
|
|
Apprentice
Joined: 25 Jul 2006 Posts: 28
|
Hi
I just Found out that the setting for SYSTEM.DEF.SVRCONN as below
define channel(SYSTEM.DEF.SVRCONN) CHLTYPE(SVRCONN) CONNAME('192.168.0.128')
192.168.0.128 is my web server
192.168.0.129 is where my LDAP and MQ located
i would like to know if this could be the case because of the channel problem.
What is the CONNAME above works or purpose?? |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Jul 26, 2006 2:03 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
just_a_kid wrote: |
Hi , What do you mean by CSD?
Sorry because i am new to MQ and JMS thing
can u provide step by step if possible , thanks =)
all i did is bring the listener down and restart again but still to no avail..
Is there any network configuration i have to setup?
i also did
Export MQSERVER=SYSTEM.DEF.SVRCONN/TCP/ils1app1-dev |
CSD is corrective service. They are now called FixPacks and can be found at:
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006367
The MQSERVER environment variable doesn't have anything to do with JMS and will have no effect on your program. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jul 26, 2006 1:30 pm Post subject: Re: New Finding |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
just_a_kid wrote: |
Hi
I just Found out that the setting for SYSTEM.DEF.SVRCONN as below
define channel(SYSTEM.DEF.SVRCONN) CHLTYPE(SVRCONN) CONNAME('192.168.0.128')
192.168.0.128 is my web server
192.168.0.129 is where my LDAP and MQ located
i would like to know if this could be the case because of the channel problem.
What is the CONNAME above works or purpose?? |
You should only specify the conname on a svrconn chl if you have multiple IPs for the same box and your listener is restricted to a specific IP. Read up on the intercommunications manual.
What happens if you set the conname to (' ') ?
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
just_a_kid |
Posted: Wed Jul 26, 2006 8:23 pm Post subject: |
|
|
Apprentice
Joined: 25 Jul 2006 Posts: 28
|
Hi,
it still gives me the same error
conname speciy as 192.168.0.128 because only 192.168.0.128 which is my web server can invoke and establish connection with MQ.
Can it be because the JVM not compatible with MQ?
my JVM is in 1.5 now and i am using IBM MQ 5.3
I read a lot of article that says 2009 reason code is because of the Connection Broken but i am not sure how to check it
Thanks. |
|
Back to top |
|
 |
just_a_kid |
Posted: Thu Jul 27, 2006 12:17 am Post subject: |
|
|
Apprentice
Joined: 25 Jul 2006 Posts: 28
|
Hi Guys,
Finally i resolved it..
it due because i never execute runmqlsr using nohup
thats why the listener is hang whenever i do runmqlsr and log out the terminal. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jul 27, 2006 1:54 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I thought you knew the listener had to run in the background...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
just_a_kid |
Posted: Thu Jul 27, 2006 5:36 pm Post subject: |
|
|
Apprentice
Joined: 25 Jul 2006 Posts: 28
|
So Sorry
Because i get confused since i am new to UNIX Environment
Even i run listener not in background
what i see when i do ps-ef|grep mqm
i can see the process of listener is running
that's why i thought its up and running
little did i know this one cause the problem as when i logout,
the listener is hang
but the process still there...
Any good UNIX command to check whether the process is hang?
Thanks.. =) |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jul 27, 2006 6:22 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
There's not really a good way that any operating system can determine that a particular process is actually hung, or just busy for some unknown length of time.
It's called the "Halting Problem". Let us know if you figure something out.
Windows cheats, and tries to require every process to be multi-threaded with at least one thread available to respond to queries from the operating system. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|