Archive for the Category: Java

JMS/MQRFH2 Message Properties in “other” Folder

On StackOverflow, someone asked about having an “other” folder (not “usr”) with an MQRFH2 (aka JMS) message. That day, I played around with a MQ/Java program that created various folders in an MQRFH2 message. i.e. When I ran a MQ/JMS program to retrieve the messages, the MQ/JMS programs simply ignore all folders outside of ‘mcd’, […]

Also posted in C, IBM i (OS/400), IBM MQ, JMS, Linux, macOS (Mac OS X), Programming, Unix, Windows, z/OS Comments Off on JMS/MQRFH2 Message Properties in “other” Folder

MQ Internals Explained (a little bit)

IBM likes to market IBM MQ (aka WebSphere MQ, MQSeries) as a simple and complete solution for business’s messaging needs. Going with the KISS approach is wise (very wise in some cases). IBM talks about the 2 different messaging models that IBM MQ supports: Point-to-Point (P2P) and Publish/Subscribe (Pub/Sub). IBM will: show you how to […]

Also posted in .NET, Assembler, C, C#, C++, HPE NonStop, IBM i (OS/400), IBM MQ, JMS, Linux, macOS (Mac OS X), MQ Auditor, MQ Message Encryption, Programming, Unix, Windows, z/OS 2 Comments

Java on Windows 10 Issue: “Could not open/create prefs root node”

I was getting the following error message when I would run a Java application on my new Windows 10 Pro PC: I searched the internet regarding the error message, people say it is a known bug and you need to manually create the following Windows registry key: When I opened the RegEdit, I found that […]

Also posted in Programming, Windows Comments Off on Java on Windows 10 Issue: “Could not open/create prefs root node”

Windows and UHD 4K Resolution

Another interesting problem/issue that I’ve come across while installing software on my new ASUS ZenBook Pro laptop was that some older 32-bit applications don’t show the images, toolbar icons, etc. correctly. The applications are not “DPI Aware” but for Windows 10, it defaults to applications being “DPI Aware”. Hence, if you can upgrade to a […]

Also posted in JMS, Windows Comments Off on Windows and UHD 4K Resolution

2 New IBM MQ RFEs related to com.ibm.mq.jmqi.defaultMaxMsgSize

Please review and vote for these RFEs if you think they are a good idea. The links below will take you directly to the RFE. RFE #1: Document com.ibm.mq.jmqi.defaultMaxMsgSize JVM environment variable URL to review the RFE and Vote for it if you like: http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=136680 RFE #2: Add & Document com.ibm.mq.jmqi.defaultMaxMsgSize for .NET Framework URL […]

Also posted in .NET, IBM i (OS/400), IBM MQ, JMS, Linux, macOS (Mac OS X), Programming, Unix, Windows Comments Off on 2 New IBM MQ RFEs related to com.ibm.mq.jmqi.defaultMaxMsgSize

JMS and Java Client Mode Performance Issues for MQ Get API Calls

I’ve wasted far, far too much of my time inspecting what is going on with the auto-resizing of the get buffer for the internal JMQI and MQI components for MQ classes for JMS, MQ classes for Java and MQ classes for .NET. A strange entry in one of the MQ Auditor audit files got my […]

Also posted in IBM i (OS/400), IBM MQ, JMS, Linux, macOS (Mac OS X), Programming, Unix, Windows, z/OS Comments Off on JMS and Java Client Mode Performance Issues for MQ Get API Calls

Pub/Sub Java/JMS MQ MQGet API Issue

Not surprisingly, when I tested: Subscribing to a topic with JMS Subscribing to a topic with Java (non-JMS) They both showed that the internal JMQI routine was starting with a MQGet buffer size of 4KB and auto-adjusting the size of the buffer as needed (all behind the scenes). Hence, when I used MQ Auditor, I […]

Also posted in IBM i (OS/400), IBM MQ, JMS, Linux, macOS (Mac OS X), Programming, Unix, Windows, z/OS Comments Off on Pub/Sub Java/JMS MQ MQGet API Issue

How to Improve Your Java/JMS MQ Tuning Cred.

Here’s my version of a cheap Info-Commercial: Do you want to impress your colleagues? Do you want to impress your boss, so that you can receive a big fat bonus? Call today and we’ll show you how to impress the MQAdmins in your company! And if you call within the next 5 minutes, we’ll even […]

Also posted in IBM i (OS/400), IBM MQ, JMS, Linux, macOS (Mac OS X), Programming, Unix, Windows, z/OS Comments Off on How to Improve Your Java/JMS MQ Tuning Cred.

Tuning Java Programs for Optimum MQ Get API Calls Performance

You should really read this blog posting first. The results of some of the test scenarios below, simply do not make any sense. I would like to think there is some sort of logic behind it but it is probably lack of testing by IBM that introduced some bugs in the code or should I […]

Also posted in IBM i (OS/400), IBM MQ, Linux, macOS (Mac OS X), Programming, Unix, Windows, z/OS Comments Off on Tuning Java Programs for Optimum MQ Get API Calls Performance

Tuning JMS Programs for Optimum MQ Get API Calls Performance

On Wednesday, I decided to do some testing of some simple (1) MQ for JMS, (2) MQ for Java and (3) procedure language (i.e. amqsbcg) programs to show that using the JVM environment variable of com.ibm.mq.jmqi.defaultMaxMsgSize with an appropriate size could make a JMS application 10 to 15% faster because there would not be any […]

Also posted in IBM i (OS/400), IBM MQ, JMS, Linux, macOS (Mac OS X), Programming, Unix, Windows, z/OS Comments Off on Tuning JMS Programs for Optimum MQ Get API Calls Performance