CRA Phone Scam from (613) 927-9687

Three weeks ago, I received the first phone call and I just received the second phone call from (613) 927-9687. It is an automated phone call (woman’s voice), stating it is the CRA (Canada Revenue Agency) and threatening a lawsuit for unpaid taxes.

The first time it happened, I figured it was a scam but I went to CRA’s web site, looked up the phone number and called them. The CRA confirmed it was a scam, took the information and said they would post an alert.

I have no idea if the RCMP is looking into this but they SHOULD BE.

Anyway, for any Canadian that receives a phone call from CRA threatening a lawsuit, do NOT call the number they give you in the phone call, i.e. (613) 927-9687, but rather go to CRA’s web site, look up phone number for your region and then give them a quick call to double check with them.

The bottom-line is that a call from (613) 927-9687 or a call that wants you to call (613) 927-9687 IS A SCAM.

Regards,
Roger Lacroix
Capitalware Inc.

Scam / Fraud, Security 1 Comment

IBM Introduces Two Open-Source-Only Mainframes

IBM is introducing two mainframe servers that run only on the open-source Linux operating system. Here are some articles on it:

http://www.bloomberg.com/news/articles/2015-08-17/ibm-introduces-two-open-source-only-mainframes-in-hardware-push
http://techcrunch.com/2015/08/16/linux-foundation-launches-open-mainframe-project/
http://techcrunch.com/2015/08/16/ibm-teams-with-canonical-on-linux-mainframe/

Regards,
Roger Lacroix
Capitalware Inc.

Linux, Open Source, Operating Systems Comments Off on IBM Introduces Two Open-Source-Only Mainframes

FreeBSD v10.2 Released

The FreeBSD Release Engineering Team has just released FreeBSD v10.2.
http://www.freebsd.org/releases/10.2R/announce.html

FreeBSD is an advanced operating system for modern server, desktop, and embedded computer platforms. FreeBSD’s code base has undergone over thirty years of continuous development, improvement, and optimization. It is developed and maintained by a large team of individuals. FreeBSD provides advanced networking, impressive security features, and world class performance and is used by some of the world’s busiest web sites and most pervasive embedded networking and storage devices.

Regards,
Roger Lacroix
Capitalware Inc.

Open Source, Operating Systems Comments Off on FreeBSD v10.2 Released

A Better MD Class than IBM’s MQMD Class

This is a follow up to my blog posting last week titled: Java MQMD class Weirdness. After beating my head against the wall, I gave up on the ‘com.ibm.mq.headers.MQMD’ class and went back to my own MD (Message Descriptor) class. At least I know it works. 🙂

The reason I originally created my MD class was to keep the JVM memory use to a minimum in MQ Visual Edit (MQVE). MQVE passes my MD object between threads rather than the whole MQMessage object. The MQMessage class is very heavy to begin with and then add 100KB or 1MB of message data and the JVM memory usage starts to really go up when dealing with many messages. Everything MQVE does is thread based (to stay off the event thread), hence, it keeps MQVE very responsive to the user. There are many cases when MQVE only needs the MD and not the whole message.

My MD class is called MDOnly. It has the standard constructors and all the necessary getter and setter methods plus I added the copyTo and copyFrom methods. You can download the MDOnly and the JavaDocs for it from this link.

Enjoy.

Regards,
Roger Lacroix
Capitalware Inc.

Capitalware, IBM i (OS/400), IBM MQ, Java, Linux, macOS (Mac OS X), Programming, Unix, Windows Comments Off on A Better MD Class than IBM’s MQMD Class

WebSphere MQ Fix Pack 7.0.1.13 Released

IBM has just released FixPack 7.0.1.13 for WebSphere MQ.
http://www.ibm.com/support/docview.wss?uid=swg21960691

Regards,
Roger Lacroix
Capitalware Inc.

Fix Packs for MQ, IBM i (OS/400), IBM MQ, Linux, Unix, Windows Comments Off on WebSphere MQ Fix Pack 7.0.1.13 Released

Microsoft Releases Windows 10 IoT Core for Raspberry Pi

Today, Microsoft announced the public release of Windows 10 IoT Core for the Raspberry Pi 2 and the MinnowBoard Max.

Microsoft also announced a “build a home automation solution that leverages the power of Windows 10 IoT Core running on Raspberry Pi 2” contest. For more information, go here.

Regards,
Roger Lacroix
Capitalware Inc.

Education, Operating Systems, Programming, Raspberry Pi, Windows Comments Off on Microsoft Releases Windows 10 IoT Core for Raspberry Pi

Oracle CSO Rant to ‘Sinner’ Customers

Yesterday, Oracle’s chief security officer Mary Ann Davidson posted a rant about customers who reverse engineer Oracle products then send Oracle information on security vulnerabilities in Oracle products.

She wants customers to “stop sending vulnerability reports already” because she wants “to go back to writing murder mysteries”. I’m not kidding, the Oracle CSO wrote that.

Here’s a writeup about it at Ars Technica and another at ZDNet

Customers are doing FREE work for Oracle and she is annoyed by it. How in the world did she get the CSO job? Well, I guess she truly reflects the Peter Principle.

From Wikipedia’s Peter Principle page:

The Peter Principle is a concept in management theory formulated by Laurence J. Peter in which the selection of a candidate for a position is based on the candidate’s performance in their current role, rather than on abilities relevant to the intended role. Thus, employees only stop being promoted once they can no longer perform effectively, and “managers rise to the level of their incompetence.”

Regards,
Roger Lacroix
Capitalware Inc.

General, Programming, Security Comments Off on Oracle CSO Rant to ‘Sinner’ Customers

Mozilla Firefox 40.0 Released

Mozilla Firefox has just released Mozilla Firefox v40.0.
http://www.mozilla.com/firefox/

Mozilla Firefox is a free and open source web browser descended from the Mozilla Application Suite and managed by Mozilla Corporation. To display web pages, Firefox uses the Gecko layout engine, which implements most current web standards in addition to several features that are intended to anticipate likely additions to the standards

Regards,
Roger Lacroix
Capitalware Inc.

Linux, macOS (Mac OS X), Open Source, Windows Comments Off on Mozilla Firefox 40.0 Released

Richard Nikula will be Speaking at MQTC v2.0.1.5

Richard Nikula of Nastel will be presenting the following sessions at MQ Technical Conference v2.0.1.5 (MQTC):

    Richard Nikula’s Technical Session:

  • Monitoring and Tracking for Remote MQ Environments
    Richard Nikula’s Vendor Sessions:

  • 3 Things That Nobody Tells You About MQ Monitoring
  • When Good Flows Go Bad…

For more information about MQTC, please go to:
http://www.mqtechconference.com

Regards,
Roger Lacroix
Capitalware Inc.

Education, IBM MQ, MQ Technical Conference Comments Off on Richard Nikula will be Speaking at MQTC v2.0.1.5

Java MQMD class Weirdness

I’m trying to use the MQMD class in a Java application and I’m getting weird results. I tested it with both MQ JAR files from v7.5.0.2 and v8.0.0.2 with JVM of v1.7.0. Note: All of my testing was done in ‘client mode’ (not bindings mode).

The first odd thing is that MQMD class is in 2 different packages: ‘com.ibm.mq’ and ‘com.ibm.mq.headers’. Both of these classes are documented in the MQ Knowledge Center. Eclipse showed me that there is a 3rd MQMD class in ‘com.ibm.mq.jmqi’ package. It appears to be very similar to the MQMD class in ‘com.ibm.mq’ package but I cannot find any documentation on it.

The MQMD class in the ‘com.ibm.mq.headers’ package has 2 methods (that are not in the other 2 MQMD classes): ‘copyFrom’ and ‘copyTo’. These methods look useful (at least I thought so).

Note: The MQMessage class in the ‘com.ibm.mq’ package is derived from the ‘com.ibm.mq.MQMD’ class. Hence, the copyFrom and copyTo methods are not available when using the MQMessage class.

This code appears to work:

MQMessage getMsg = new MQMessage();
inQ.get(getMsg, gmo);
MQMD mqmd = new MQMD();
mqmd.copyFrom(getMsg);

But if I do the following, the MQMD class throws CC=2 and RC=6114 (MQRC_INSUFFICIENT_DATA):

MQMessage getMsg = new MQMessage();
inQ.get(getMsg, gmo);
MQMD mqmd = new MQMD(getMsg);

The RC of 6114 makes absolutely no sense.

From the Knowledge Center:

6114 (17E2) (RC6114): MQRC_INSUFFICIENT_DATA
Explanation
There is insufficient data after the data pointer to accommodate the request.

This reason code occurs in the WebSphere® MQ C++ environment.

Weird. As I said at the top, it is a Java application and I am using JVM v1.7.0.

Now to the part that really twists my noodle, if I do the following:

MQMessage getMsg = new MQMessage();
inQ.get(getMsg, gmo);
MQMD mqmd = new MQMD();
mqmd.copyFrom(getMsg);
MQMessage sendmsg = new MQMessage();
mqmd.copyTo(sendmsg);

The copyTo method throws some weird error/exception. I had to add an catch Exception clause (not MQException) of:

catch (Exception e)
{
   System.err.println("Exception: "+e.getLocalizedMessage());
   e.printStackTrace();
}

And this is what it outputs:

Exception: null
java.lang.NullPointerException
   at com.ibm.mq.headers.MQMD1.copyTo(MQMD1.java:790)
   at com.ibm.mq.headers.MQMD.copyTo(MQMD.java:321)
   at MQBrowse.testReceive(MQBrowse.java:161)
   at MQBrowse.main(MQBrowse.java:254)

So, the MQ internal code is crashing. The parameter (‘sendmsg’) was instantiated right before the copyTo method call, so, it is valid. Doesn’t this stuff get tested at IBM? Where are the ‘Use’ cases? Note: I get the same results whether I use MQ JAR files from v7.5.0.2 and v8.0.0.2 with JVM of v1.7.0.

This is really basic stuff that I am writing. How can IBM expect people to use the new classes in MQ if nothing works?

Has anyone used the ‘copyFrom’ and ‘copyTo’ from the ‘com.ibm.mq.headers.MQMD’ class?

Regards,
Roger Lacroix
Capitalware Inc.

IBM i (OS/400), IBM MQ, Java, Linux, macOS (Mac OS X), Programming, Unix, Windows Comments Off on Java MQMD class Weirdness