[ https://issues.apache.org/jira/browse/MTOMCAT-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17625074#comment-17625074 ]
Mark Thomas edited comment on MTOMCAT-332 at 10/27/22 12:27 PM: ---------------------------------------------------------------- [https://tomcat.apache.org/bugreport.html] However, this looks like a configuration question for the user mailing list, not a bug report for Bugziila. https://tomcat.apache.org/lists.html#tomcat-users was (Author: markt): https://tomcat.apache.org/bugreport.html > Tomcat run as a windows service doesn't set the stack size accordingly > ---------------------------------------------------------------------- > > Key: MTOMCAT-332 > URL: https://issues.apache.org/jira/browse/MTOMCAT-332 > Project: Apache Tomcat Maven Plugin > Issue Type: Bug > Reporter: Dragos Negoita > Priority: Major > Attachments: TestStack-1.0-SNAPSHOT-1.war, TestStack.zip, > TomcatService_1.jpg, TomcatService_2.jpg, TomcatService_3.jpg > > > Hello, > We developed a webapp which has been running in Tomcat for some time. > Recently, this application added a requirement of stack size increase which > is well handled by editing catalina.bat with a new line: > set "JAVA_OPTS=%JAVA_OPTS% -Xss3M" > for the case of debugging and implementation. > When the application is delivered and needs to be started as a windows > service it will encounter an issue regarding the stack size. The application > will crash with stack overflow exception, even if the stack size value is > modified. I have attached the screenshots of the service. > Tomcat used: is 9.0.65. > JDK used: openlogic-openjdk-8u342-b07 (this one is for the latest test, some > other versions were used during the investigation) > Java Options: > -Dcatalina.home=C:\tools\apache-tomcat-9.0.65 > -Dcatalina.base=C:\tools\apache-tomcat-9.0.65 > -Dignore.endorsed.dirs=C:\tools\apache-tomcat-9.0.65\endorsed > -Djava.io.tmpdir=C:\tools\apache-tomcat-9.0.65\temp > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager > -Djava.util.logging.config.file=C:\tools\apache-tomcat-9.0.65\conf\logging.properties > > I have attached also a sample application to be put in the webapp folder. > It should list the numbers to 25000, through recursive calls. > > Can you, please, help with this situation? > Regards, > Dragos. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org