On 30.11.2021 12:35, Rony G. Flatscher wrote:
>
> O.K. did setup the Tomcat server differently (without systemctl which 
> intercepted the crash and
> restarted Tomcat), then started Tomcat manually with the same setup (Java 
> 17LTS, debug version of
> ooRexx r12330) and got the following hs_error*.log file:
>
... cut ...

While checking out the Ubuntu machine being used as a Tomcat server, I found 
out that even if Tomcat
runs under systemd there are hs_err_pid*.log files created, but not in the Java 
program's bin or
home directory as usual, but in the /tmp directory.

Still, running the Tomcat server manually may have benefits at it will allow 
the option to have
dumps created, however, one needs to define "ulimit -r unlimited" and start 
Java with a special flag
(Windows only Java 8: "-XX:+CreateMinidumpOnCrash"; Java 9 and up on all 
platforms:
"-XX:+CreateCoredumpOnCrash"), cf. 
<https://inside.java/2021/04/30/failed-writing-core-dump/>) in
that process.

So if a dump would be needed I should be able to provide one with the used 
ooRexx installation
package for debugging-

---rony




_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to