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 » Search

 Search found 19 matches
Author Message
  Topic: create and populate message with MQRFH2 header from java
speediii

Replies: 2
Views: 4355

PostForum: IBM MQ Java / JMS   Posted: Fri Apr 13, 2007 6:08 am   Subject: Solution!
Hi,

You found the same bug as I did later with my code after I had posted it

There's a mistake on this line:

rfhStrucLength += rfhDataBytes.length;

Comment this line out - I found out ...
  Topic: MQRFH2 and Java base classes
speediii

Replies: 10
Views: 37445

PostForum: IBM MQ Java / JMS   Posted: Fri Mar 23, 2007 4:40 am   Subject: MQRFH2 and Java base classes
For anyone who's interested I got the reading & writing of RFH2 to work using Java base classes. I think the below code is more complete than any other code examples on this forum:

For reading ...
  Topic: MQRFH2 and Java base classes
speediii

Replies: 10
Views: 37445

PostForum: IBM MQ Java / JMS   Posted: Tue Mar 06, 2007 12:26 am   Subject: MQRFH2 and Java base classes
But the sending application isn't JMS. It's a C/C++ but it's using MQRFH2 in the message structure for sending files over MQ.

It seems strange that I have to write a JMS adaptor just because of RF ...
  Topic: MQRFH2 and Java base classes
speediii

Replies: 10
Views: 37445

PostForum: IBM MQ Java / JMS   Posted: Mon Mar 05, 2007 12:23 am   Subject: MQRFH2 and Java base classes
Hi

I need some advice please! We have a new system sending MQ messages in a RFH2 format. The MQ messages contain a file, and properties in the RFH2 header contain fields such as the desired filen ...
  Topic: EBCDIC/ASCII Conversion
speediii

Replies: 16
Views: 26466

PostForum: IBM MQ API Support   Posted: Thu Aug 17, 2006 2:48 am   Subject: EBCDIC/ASCII Conversion
If I had a good understanding of this then I wouldn't need to ask these questions on an MQ Forum

Maybe I didn't explain this very well but what I was trying to understand is: How is it that my ...
  Topic: EBCDIC/ASCII Conversion
speediii

Replies: 16
Views: 26466

PostForum: IBM MQ API Support   Posted: Tue Aug 15, 2006 1:53 am   Subject: EBCDIC/ASCII Conversion
Unfortunately the receiver apps in question require the data to be in a specific format (EBCDIC) and this is something we can't change. Therefore, if we want to put applications inbetween in the midd ...
  Topic: EBCDIC/ASCII Conversion
speediii

Replies: 16
Views: 26466

PostForum: IBM MQ API Support   Posted: Tue Aug 15, 2006 12:40 am   Subject: EBCDIC/ASCII Conversion
We have a number of MQ Lines sending SWIFT messages that are in both ASCII & EBCIDIC format. I recently wrote a Java broker for routing messages and this works fine, it reads messages and moves t ...
  Topic: EBCDIC/ASCII Question
speediii

Replies: 3
Views: 6688

PostForum: IBM MQ Java / JMS   Posted: Mon May 08, 2006 6:26 am   Subject: EBCDIC/ASCII Question
>Why are you even using readString in the first place?

Actually, I route the original message but I'm also creating a copy to another queue with a slightly different content, so I am modifying t ...
  Topic: EBCDIC/ASCII Question
speediii

Replies: 3
Views: 6688

PostForum: IBM MQ Java / JMS   Posted: Mon May 08, 2006 1:21 am   Subject: EBCDIC/ASCII Question
I have a small component routing messages between many back office applications to a Solaris application (QM on Solaris machine). Some messages are in Ascii and others in EBCDIC and I need to maintai ...
  Topic: MQ QueueManager fails to restart properly
speediii

Replies: 10
Views: 19015

PostForum: IBM MQ Java / JMS   Posted: Wed Apr 26, 2006 6:10 am   Subject: Problem SOLVED!
I noticed that the CSD was different from that of my dev machine & test environment.

I installed CSD07 on both. Problem solved.

Obviously this connection issue is a bug fixed by IBM. Thank ...
  Topic: MQ QueueManager fails to restart properly
speediii

Replies: 10
Views: 19015

PostForum: IBM MQ Java / JMS   Posted: Wed Apr 26, 2006 2:29 am   Subject: MQ QueueManager fails to restart properly
It was a good idea about the open options but it didn't help. I reduced my code so it just:


while (true) {
try {
m_QMgr = new MQQueueManager(m_QMgrName) ...
  Topic: MQ QueueManager fails to restart properly
speediii

Replies: 10
Views: 19015

PostForum: IBM MQ Java / JMS   Posted: Tue Apr 25, 2006 6:57 am   Subject: MQ QueueManager fails to restart properly
I don't want to have to stop the JVM if some restarts the Queue manager. I want to be able to detect, release and poll for a reconnect.

Any idea how I can force this to be released?
  Topic: MQ QueueManager fails to restart properly
speediii

Replies: 10
Views: 19015

PostForum: IBM MQ Java / JMS   Posted: Tue Apr 25, 2006 6:50 am   Subject: MQ QueueManager fails to restart properly
When I stop the Queue Manager my application does a .disconnect() on the Queue Manager object, But there's one mq process left called amqxssvn.exe

Shouldn't this process be released? The QM will ...
  Topic: MQ QueueManager fails to restart properly
speediii

Replies: 10
Views: 19015

PostForum: IBM MQ Java / JMS   Posted: Tue Apr 25, 2006 1:11 am   Subject: Still having trouble!
I extracted all the code to a simple test program, and I get the same error (ie A stop of the QM does not start again as the program does not release connected processes). Here's the code sample. If ...
  Topic: MQ QueueManager fails to restart properly
speediii

Replies: 10
Views: 19015

PostForum: IBM MQ Java / JMS   Posted: Tue Apr 25, 2006 12:15 am   Subject: Some more info: AMQ8041
The AMQ8041 error means:

"AMQ8041 The queue manager cannot be restarted or deleted because processes, that were previously connected, are still running.

Explanation: Processes, that were connect ...
Goto page 1, 2  Next Page 1 of 2

Jump to:  
Protected by Anti-Spam ACP
 
 


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

Copyright © MQSeries.net. All rights reserved.