Open kdaek21 opened 2 weeks ago
Going to need more information, such as the stack trace, etc.
The net472 version only shows the message 'Process is terminated due to StackOverflowException.', so I attached the Stacktrace from running it on the net8.0 version.
Thank you for creating a JVM that runs on .NET.
When I tried to run WAS (Web Application Server) on IKVM and set Tomcat to run on IKVM, it crashed with a StackOverflowException. So I tested it by removing the option parts created in the batch file used when running Tomcat one by one, and confirmed that it crashed with the exception when the '-Djava.protocol.handler.pkgs=org.apache.catalina.webresources' option was entered. The comment for the option part is as follows.
rem Register custom URL handlers rem Do this here so custom URL handles (specifically 'war:...') can be used in the security policy
It seems that a class inside the 'org.apache.catalina.webresources' package inside Tomcat is doing some work and causing a StackOverflowException. In the net472 version, it only displays the message 'Process is terminated due to StackOverflowException.' and dies, but in the net8.0 version, it shows a detailed call stack, so you can check where the exception occurs. The original Java made in C or C++ does not cause this exception. Is there a possibility that this issue will be resolved in a future version?
Also, when the WAS (Tomcat) starts and the first connection is made, it takes a long time to compile the JSP. Is there a possibility that this issue will be resolved?