Discussion:
JToolkit communication with EMS
(too old to reply)
wilso...@gmail.com
2021-05-07 19:03:20 UTC
Permalink
Hi All -

I took a look at the most recent JToolkit documentation, and there does not seem to be a reference to using the EMS.

Has anyone done any work with Java on the HP NonStop that writes out to the EMS log?

I am thinking that the only method may be to use a JNI and make the call from C/C++ code, but I thought I would ask in case I am missing something.

Thanks,
John Wilson
Bill Honaker
2021-05-07 22:33:28 UTC
Permalink
Post by ***@gmail.com
Hi All -
I took a look at the most recent JToolkit documentation, and there does not seem to be a reference to using the EMS.
Has anyone done any work with Java on the HP NonStop that writes out to the EMS log?
I am thinking that the only method may be to use a JNI and make the call from C/C++ code, but I thought I would ask in case I am missing something.
Thanks,
John Wilson
John,

There use to be a log4j EMS appender included with NSJSP. It came with a JNI-based class library.
Logging then was managed the same wa that other log4j appenders work, but the messages go to $0.

As I recall it was a text-only event... so no tokenization.

Bill
Randall
2021-05-08 18:52:53 UTC
Permalink
Post by ***@gmail.com
Hi All -
I took a look at the most recent JToolkit documentation, and there does not seem to be a reference to using the EMS.
Has anyone done any work with Java on the HP NonStop that writes out to the EMS log?
I am thinking that the only method may be to use a JNI and make the call from C/C++ code, but I thought I would ask in case I am missing something.
Thanks,
John Wilson
John,
There use to be a log4j EMS appender included with NSJSP. It came with a JNI-based class library.
Logging then was managed the same wa that other log4j appenders work, but the messages go to $0.
As I recall it was a text-only event... so no tokenization.
Bill
My company has had a product that does tokenization in Java (it is a complete EMS/SPI library actually). It's been a while since there was interest but I'm happy to make it happen.

Regards,
Randall
wilso...@gmail.com
2021-05-10 15:33:24 UTC
Permalink
Post by Randall
Post by ***@gmail.com
Hi All -
I took a look at the most recent JToolkit documentation, and there does not seem to be a reference to using the EMS.
Has anyone done any work with Java on the HP NonStop that writes out to the EMS log?
I am thinking that the only method may be to use a JNI and make the call from C/C++ code, but I thought I would ask in case I am missing something.
Thanks,
John Wilson
John,
There use to be a log4j EMS appender included with NSJSP. It came with a JNI-based class library.
Logging then was managed the same wa that other log4j appenders work, but the messages go to $0.
As I recall it was a text-only event... so no tokenization.
Bill
My company has had a product that does tokenization in Java (it is a complete EMS/SPI library actually). It's been a while since there was interest but I'm happy to make it happen.
Regards,
Randall
Thanks for the responses! We will do some additional research on our side to see what options we might be able to find.
Loading...