ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » .NET - COM+ problem

Post new topic  Reply to topic
 .NET - COM+ problem « View previous topic :: View next topic » 
Author Message
milesdavis
PostPosted: Sun Jul 21, 2002 6:13 pm    Post subject: .NET - COM+ problem Reply with quote

Newbie

Joined: 09 Jul 2002
Posts: 2
Location: Columbus

All,

I am passing Structs back and forth from managed C# to unmanaged raw MCIC32.dll. This code is running concurrently with completely independant COM+ application which is also using the MQIC32.dll via CMQB.bas. The CMQB.bas file is working all the time and is able to retrieve mesages which match the MSGID and CORRELID.

The C# application has worked all the time in a similar development environment but in production environment is not able to find the matching message and returns 2033 ( Timeouts ).

Could this be a problem with differences in the MQ Server ?

Is it possible that CharSet=CharSet.Ansi may not be correct on the Client?

The CLient is Win 2k Advanced server .
The Server is AIX. MQSI is also used in the production env.
Destination system is OS/390.

Anyone have any thoughts.
I have been a single user and found that placing a message on the queue does have the correct Correl ID when I do not use this to retrieve the message.

Thanks,
MD
Back to top
View user's profile Send private message Visit poster's website
kolban
PostPosted: Mon Jul 22, 2002 3:37 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

I would suggest using an MQSeries client based trace. This will debug the actual API calls made by MQ and you will be able to see the msgid and/or correlid used. From this, you may be able to eye-ball some data conversion issues ....
Back to top
View user's profile Send private message
milesdavis
PostPosted: Mon Jul 22, 2002 5:49 am    Post subject: .NET - COM+ problem Reply with quote

Newbie

Joined: 09 Jul 2002
Posts: 2
Location: Columbus

I can validate that the API's are correct because I am getting a 75% success rate. 25% failure rate on messages which are in the queue. Point being this same code works sometimes and does not work others. Is it possible the wrapper which is creating in VB.NET is doing some type of Unicode ( String ) conversion on the C# Wrapper which is entirly in Byte arrays ? This way the 2 byte storage of unicode might cause the some messages to work and other to fail.

Do you know what the MQ Client tool is and where I would find instructions on how it works ?
Back to top
View user's profile Send private message Visit poster's website
mrlinux
PostPosted: Mon Jul 22, 2002 9:01 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

I would look at your application a little closer, by looking at the messages
that are retrieved VS those not retrieved, and see what clues come from that.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » .NET - COM+ problem
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.