Author |
Message
|
talh |
Posted: Wed Jun 23, 2010 5:30 am Post subject: MQ_ENVIRONMENT_ERROR when running multiple instances in c# |
|
|
Newbie
Joined: 23 Jun 2010 Posts: 3
|
Hello, i have 2 c# applications that connect to different queues on
the same server and the same queue manager.
when they are running together at the same time,
the second application throws an "MQ_ENVIRONMENT_ERROR" when
trying to construct the queue manager.
anyone has an idea what am I doing wrong? |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Jun 23, 2010 5:59 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Give us a clue, please.
What was the exact error?
What did you discover in the error logs?
Is it always the same application that gets the error? Or does just whichever is started 2nd that gets the error?
Platform? Version of WMQ? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
talh |
Posted: Wed Jun 23, 2010 6:12 am Post subject: re:MQ_ENVIRONMENT_ERROR when running multiple instances in c |
|
|
Newbie
Joined: 23 Jun 2010 Posts: 3
|
Hello,
the error code is 2012, and the exception is "MQRC_ENVIRONMENT_ERROR"
the error logs doesn't show anything
it is the applicaiton that started 2nd, no matter which one.
platform - windows 7, visual studio 2008
mq version 6 |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jun 23, 2010 6:17 am Post subject: Re: re:MQ_ENVIRONMENT_ERROR when running multiple instances |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
talh wrote: |
the error code is 2012, and the exception is "MQRC_ENVIRONMENT_ERROR"
|
And did you look up that error?
If you did, why did you discount this saying that your application is linked with the wrong libraries? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
shashikanth_in |
Posted: Wed Jun 23, 2010 10:26 am Post subject: Re: re:MQ_ENVIRONMENT_ERROR when running multiple instances |
|
|
Centurion
Joined: 26 Feb 2009 Posts: 123
|
talh wrote: |
Hello,
the error code is 2012, and the exception is "MQRC_ENVIRONMENT_ERROR"
the error logs doesn't show anything
it is the applicaiton that started 2nd, no matter which one.
platform - windows 7, visual studio 2008
mq version 6 |
Do you you SSL? 2012 appear to be related to secure connections. |
|
Back to top |
|
 |
shashikanth_in |
Posted: Wed Jun 23, 2010 10:28 am Post subject: |
|
|
Centurion
Joined: 26 Feb 2009 Posts: 123
|
Small correction:
Do you use Secure connection to queue manager i.e SSL? 2012 appear to be related to secure connections. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jun 23, 2010 10:32 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
shashikanth_in wrote: |
2012 appear to be related to secure connections. |
How? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
talh |
Posted: Thu Jun 24, 2010 12:53 am Post subject: |
|
|
Newbie
Joined: 23 Jun 2010 Posts: 3
|
|
Back to top |
|
 |
Vitor |
Posted: Thu Jun 24, 2010 5:26 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
So you're not using syncpoint and your application is completely thread safe?
Then you've found a bug in the WMQ software & should raise a PMR.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|