Am 13.03.26 um 21:32 schrieb James H. H. Lampert via users:
On 3/13/26 12:32 PM, Christopher Schultz wrote:
. . .
I *am* very curious whether this priority is taking effect, as it's
looking for an OS string that begins with "OS400". If you run "uname"
at your command prompt, what does it print? IIRC, you were running
Tomcat inside of a Linux VM because "it was easier" or something like
that. If that's the case, than the OS400-related stuff won't be
running at all.
. . .
Dear Christopher:
Thanks for visiting my humble thread. Your knowledge of Tomcat is always
welcome (especially given that you've saved my E.asinus more than once).
That said, . . .
Uh, "uname" is not a native command in whatever IBM is calling OS/400
these days. If you were to type it on a native command line, you'd get
an error message, "Command UNAME in library *LIBL not found." on your
status line. (Note that the native file system is actually a DB2
database, and object names are not case-sensitive.)
If you start a QShell session, which is a *nix-like shell environment
where Java runs (but definitely not an actual Linux VM), and you type
uname, you get "OS400."
And no, a Linux VM would not be easier. Short of setting up some sort of
Linux LPAR on the box, I couldn't imagine how one would even do that.
What I did to make it easier was to create a CL program (like a shell
script for IBM Midrange boxes, except that CL programs are compiled)
that looks for the most compatible JVM, sets parameters accordingly,
then launches Tomcat. And another one that attempts to initiate a
shutdown, waits for the job to go away, and if it fails to do so, abends
it.
For the sake of completeness: the oldest commit adding runpty was in May
2003 (25 years ago!) applied to TC 4.1:
https://lists.apache.org/thread/d6flf7txlfxq8fz65fhz8jdr0hp6yqvl
The change goes back to the following mail thread starting a month earlier:
https://lists.apache.org/thread/nm6ptz8jl40wbygw6tzh4924sflwh2b9
but I couldn't find what code the OP Robert Upshall might have provided
passed along to Jean Frederic.
Best regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]