Author |
Message
|
adamocean |
Posted: Tue Sep 07, 2004 7:19 am Post subject: Random error code 2058 |
|
|
Newbie
Joined: 07 Sep 2004 Posts: 9
|
Hi,
I have a program that sends to a queue. The problem is, it doesn't work all the time? I get an error trying to open the queue sometimes.
mqseries 5.2.1 win2k
Thanks! |
|
Back to top |
|
 |
vennela |
Posted: Tue Sep 07, 2004 7:23 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
During that error is the QMGR running?
MQ 5.2 is out of support so you should upgrade |
|
Back to top |
|
 |
adamocean |
Posted: Tue Sep 07, 2004 7:33 am Post subject: |
|
|
Newbie
Joined: 07 Sep 2004 Posts: 9
|
I'm honestly not sure, but it's very possible, could that have caused it? |
|
Back to top |
|
 |
vennela |
Posted: Tue Sep 07, 2004 7:38 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Quote: |
could that have caused it? |
YES |
|
Back to top |
|
 |
adamocean |
Posted: Tue Sep 07, 2004 7:43 am Post subject: |
|
|
Newbie
Joined: 07 Sep 2004 Posts: 9
|
I'm sorry for the hundred questions... But why would this cause an error? |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Sep 07, 2004 7:45 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If the queue manager is down, you will get return code 2058.
You can't connect to a queue manager that is not running.
Why wouldn't this cause an error? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
adamocean |
Posted: Tue Sep 07, 2004 7:48 am Post subject: |
|
|
Newbie
Joined: 07 Sep 2004 Posts: 9
|
adamocean wrote: |
I'm sorry for the hundred questions... But why would this cause an error? |
Sorry, Yes the QMNGR was running... |
|
Back to top |
|
 |
rammer |
Posted: Tue Sep 07, 2004 7:48 am Post subject: |
|
|
Partisan
Joined: 02 May 2002 Posts: 359 Location: England
|
[quote="jefflowrey"]If the queue manager is down, you will get return code 2058.
If Queue Manager was down would he not get 2059? 2058 indicates a naming error? |
|
Back to top |
|
 |
JasonE |
Posted: Wed Sep 08, 2004 2:37 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
Does it definitely come from an MQOPEN call, or an MQCONN call?
Is your program in VB by any chance... |
|
Back to top |
|
 |
adamocean |
Posted: Wed Sep 08, 2004 4:57 am Post subject: |
|
|
Newbie
Joined: 07 Sep 2004 Posts: 9
|
JasonE wrote: |
Does it definitely come from an MQOPEN call, or an MQCONN call?
Is your program in VB by any chance... |
It looks like a MQCONN call and yes it is VB. <Insert embarrassed smiley here.> I'm not a big VB guy in fact I despise it. We have no time to redo it in C# though, so I'm stuck with this for a while.
Thanks in advance! |
|
Back to top |
|
 |
adamocean |
Posted: Wed Sep 08, 2004 5:18 am Post subject: |
|
|
Newbie
Joined: 07 Sep 2004 Posts: 9
|
This is the error message.... In fact, in the log file, it looks like this message is happening all the time?
-------------------------------------------------------------------------------
09/07/2004 10:51:44
AMQ6125: An internal MQSeries error has occurred.
EXPLANATION:
An internal error has occurred with identifier 0. This message is issued in
association with other messages.
ACTION:
Use the standard facilities supplied with your system to record the problem
identifier, and to save the generated output files. Contact your IBM support
center. Do not discard these files until the problem has been resolved.
-------------------------------------------------------------------------------
09/07/2004 10:51:44
AMQ6183: An internal MQSeries error has occurred.
EXPLANATION:
An error has been detected, and the MQSeries error recording routine has been
called. The failing process is process 1808.
ACTION:
Use the standard facilities supplied with your system to record the problem
identifier, and to save the generated output files. Contact your IBM support
center. Do not discard these files until the problem has been resolved.
------------------------------------------------------------------------------- |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Sep 08, 2004 5:53 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Is there an *.FDC file to go with the error message in the log? If so, post the top part of it here. |
|
Back to top |
|
 |
adamocean |
Posted: Wed Sep 08, 2004 5:57 am Post subject: Is this ok? |
|
|
Newbie
Joined: 07 Sep 2004 Posts: 9
|
+-----------------------------------------------------------------------------+
| |
| MQSeries First Failure Symptom Report |
| ===================================== |
| |
| Date/Time :- Tue September 07 10:51:44 Eastern Daylight Time 2004 |
| Host Name :- P1GIPRS1 (NT Version 5.0 Build 2195: Service Pack 3) |
| PIDS :- 5639B43 |
| LVLS :- 521 |
| Product Long Name :- MQSeries for Windows NT and Windows 2000 |
| Vendor :- IBM |
| Probe Id :- XY205010 |
| Application Name :- MQM |
| Component :- xstConnectionRequest |
| Build Date :- May 8 2001 |
| CMVC level :- p521-L010508 |
| Build Type :- IKAP - (Production) |
| UserID :- MUSR_MQADMIN |
| Process Name :- C:\Program Files\IBM\MQSeries\bin\amqxssvn.exe |
| Process :- 00001808 |
| Thread :- 00001632 |
| Major Errorcode :- OK |
| Minor Errorcode :- OK |
| Probe Type :- INCORROUT |
| Probe Severity :- 4 |
| Probe Description :- AMQ6125: An internal MQSeries error has occurred. |
| |
+-----------------------------------------------------------------------------+ |
|
Back to top |
|
 |
adamocean |
Posted: Thu Sep 09, 2004 6:04 am Post subject: |
|
|
Newbie
Joined: 07 Sep 2004 Posts: 9
|
Is there a known bug with VB and Mqseries 5.2? |
|
Back to top |
|
 |
JasonE |
Posted: Thu Sep 09, 2004 7:01 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
No, but intermittent 2058's or occasional traps have been known if you have coded something like
Dim x as String
x = "QMGR"
MQCONN(X, ...)
make sure it is Dim x as String * 48
As to the fdc - do you get that every time you see the 2058, if so its a different problem. Whats the call stack (the first section below the header block, NOT the trace bit) |
|
Back to top |
|
 |
|