Finding Interesting SAS 9 Loggers

SAS 9 server log files contains lots of useful information to help you monitor, audit, and troubleshoot the usage of your SAS 9 platform deployments. However, sometimes the information you need might not be there by default. Thankfully the SAS 9 Logging Facility is flexible and allows a wide range of configuration customizations. Usually this is done by modifying the logconfig.xml file for the SAS server of interest, such as the SAS Metadata Server. This config file is normally only read when the SAS server restarts so you might not want to keep restarting a heavily used server to test out your logging config changes. This is where the SAS Management Console Server Manager plug-in shines. You can use it to connect to a SAS server, view all of the available loggers, change their logging levels, and have those changes take effect immediately without a server restart. If you find loggers and levels that give you the information you need, you can then update the config file and have the server restarted at a much more convenient time.

You can find the SAS documentation for this under Using SAS Management Console to Monitor SAS Servers. In this post I show how I use it to find interesting SAS metadata Server loggers. Continue reading “Finding Interesting SAS 9 Loggers”

Metacoda Activity Reviewer

The latest release of Metacoda Plug-ins, version 6.2, is now available and includes a new Activity Reviewer plug-in which can be used to review SAS® 9 platform log records from within SAS Management Console for the purposes of audit.

Metacoda Activity Reviewer

This blog post provides an overview of how it came to be, how it works, and what you can do with it. Continue reading “Metacoda Activity Reviewer”

Remote SAS Management Console using WSL2

SAS Management Console 9.4 for Linux running in WSL2

A recent SAS Communities post got me thinking about running SAS Management Console using WSL2. In that post, the questioner was asking about how to manage multiple SAS environments with different SAS 9.4 maintenance levels (M5 and M8) from a single client device. I posted that one of the ways to do it was to run SAS Management Console remotely, as each SAS environment will have the corresponding SAS Management Console version installed. One of the ways to do this, when the SAS server is on Linux, is to use X-Windows software for Windows (like MobaXterm). Behind the scenes an SSH session is used to connect to the server and run SAS Management Console using X11 forwarding so that the app appears locally on the Windows workstation. I regularly encounter SAS customers using MobaXterm to do this and I occasionally use it myself when on Windows (my primary desktop is Linux so I normally just use SSH with X11 Forwarding without any additional software). It also occurred to me that, with recent enhancements to the Windows Subsystem for Linux (WSL), you can now do this with native Windows features and don’t need any additional software. I set out to try it for myself. Continue reading “Remote SAS Management Console using WSL2”

SAS 9.4 M8 Java 11 and CORBA

Recently I was trying to run some custom Java code using the latest SAS 9.4 M8 libraries with Java 11 and ran into a unexpected exception:

java.lang.NoClassDefFoundError: org/omg/CORBA/Object

This was a surprise as CORBA underpins the SAS 9.4 IOM servers and their APIs (like the SAS Metadata Server and SAS Workspace Server). My code worked fine with SAS 9.4 M7 and so I assumed it must be related to the switch to Java 11 in SAS 9.4 M8 and there must be a way to get it working again.

I searched up Java 11 and CORBA, and as one often does, landed on a StackOverflow page: https://stackoverflow.com/questions/13517497/java-lang-noclassdeffounderror-org-omg-corba-interfacedef

One of the answers Continue reading “SAS 9.4 M8 Java 11 and CORBA”