Search found 661 matches

by Scott Klement
Tue Feb 20, 2024 7:58 pm
Forum: HTTPAPI
Topic: Using Oauth2 with HTTPAPI
Replies: 8
Views: 1511

Re: Using Oauth2 with HTTPAPI

It is backward compatible, if you replace the library everything will keep working.

If you want, you can test this by installing it into a different library, and just using the library list to control which copy you're using.
by Scott Klement
Tue Feb 20, 2024 10:01 am
Forum: HTTPAPI
Topic: REST API connection issue
Replies: 6
Views: 1271

Re: REST API connection issue

Is there any difference between TLS_AES_256_GCM_SHA384 and AES_256_GCM_SHA384? No difference. They are the same thing. There is no standard naming for cipher suites, so different vendors make the names slightly different -- in this case, one has "TLS_" at the start and the other does not....
by Scott Klement
Tue Feb 20, 2024 12:09 am
Forum: HTTPAPI
Topic: REST API connection issue
Replies: 6
Views: 1271

Re: REST API connection issue

Is there anything I can try prior to installing further PTFs? Our hardware is managed by our corporate business and its a long formal process to get them to do this across our multiple servers. Connection Reset normally means something has violated a protocol. When one side detects that the other i...
by Scott Klement
Mon Feb 19, 2024 8:03 am
Forum: HTTPAPI
Topic: REST API connection issue
Replies: 6
Views: 1271

Re: REST API connection issue

It is attempting to perform a TLS ("SSL") handshake and is getting an error saying the connection was reset. How is it supposed to print the server side certificate if it can't complete a handshake without the connection being reset? Think of it this way: Imagine you call to order a pizza,...
by Scott Klement
Mon Feb 19, 2024 7:53 am
Forum: RPG IV
Topic: Converting EXTFLD in a External Ds to Free Format?
Replies: 1
Views: 1126

Re: Converting EXTFLD in a External Ds to Free Format?

Code: Select all

Dcl-DS CRSSTL EXTNAME('CRSSTL') INZ;
   TTYPEXX    EXTFLD('TTYPE@@');
End-Ds;
by Scott Klement
Sat Feb 17, 2024 3:44 am
Forum: RPG IV
Topic: QDCXLATE Not converting the brackets in JSON String
Replies: 2
Views: 1161

Re: QDCXLATE Not converting the brackets in JSON String

You shouldn't be converting ASCII to EBCDIC. Most computers no longer use ASCII. It is an outdated standard... they are using Unicode, not ASCII. But even if you were... "ASCII" isn't specific. It's a whole family of different character encodings! There are many, many, many different thing...
by Scott Klement
Thu Feb 15, 2024 11:15 pm
Forum: JDBCR4
Topic: QRNXUTIL _QRNI_getJNIEnv Pointer not set for location referenced
Replies: 5
Views: 2814

Re: QRNXUTIL _QRNI_getJNIEnv Pointer not set for location referenced

I've mostly run into problems with 65535 when working with "regular" embedded SQL rather than JDBC. (And yes, having QCCSID set to 65535 and the calculated 'default' CCSID set to 37 is the exact circumstance under which you will run into them.) Note that this doesn't have to be fixed syste...
by Scott Klement
Thu Feb 15, 2024 6:12 am
Forum: JDBCR4
Topic: QRNXUTIL _QRNI_getJNIEnv Pointer not set for location referenced
Replies: 5
Views: 2814

Re: QRNXUTIL _QRNI_getJNIEnv Pointer not set for location referenced

Could you have it set in a QIBM_RPG_JAVA_PROPERTIES environment variable, maybe?
by Scott Klement
Thu Feb 15, 2024 5:24 am
Forum: JDBCR4
Topic: QRNXUTIL _QRNI_getJNIEnv Pointer not set for location referenced
Replies: 5
Views: 2814

Re: QRNXUTIL _QRNI_getJNIEnv Pointer not set for location referenced

As far as I can tell from your message, the error is "JVMJ9VM007E Command-line option unrecognised: -Djava.compiler=NONE
Unable to create Java Virtual Machine"

JDBCR4 doesn't set that option. You'll need to figure out what is setting it, and change it so that it's not being set.
by Scott Klement
Thu Feb 15, 2024 5:18 am
Forum: HSSFR4
Topic: ss_open_object_group
Replies: 1
Views: 912

Re: ss_open_object_group

I'm not familiar with ss_open_object_group or ss_close. Can you explain what they do? Are they similar to ss_begin_object_group and ss_end_object_group? Perhaps you created your own similar tool? ss_begin_object_group and ss_end_object_group merely tell Java that your program is done with the refere...