Tomcat as a Windows Service not picking JAVA_OPTS parameter

2023-01-31 Thread Rajagopalan Hariharan
Hi, I have deployed ORDS 22.4 version in Tomcat 9 (which is installed as a Windows Service). For ORDS to work e have to set JAVA_OPTS parameter before starting Tomcat. This works perfectly fine when set in cmd and Tomcat started in cmd using startup.bat. But when you start as service, I have

Re: [solved] How to debug 404s / How to enable error log

2023-01-31 Thread Konstantin Kolinko
ср, 1 февр. 2023 г. в 00:51, Michael B Allen : > > ├───conf > │ │ server.xml > │ │ tomcat-users.xml > │ │ web.xml > > It assumes that you are familiar with java.util.logging. > > > > That's unfortunate. It would be so much nicer if it was a simple one-liner. It is configured with log

Re: [solved] How to debug 404s / How to enable error log

2023-01-31 Thread Michael B Allen
On Tue, Jan 31, 2023 at 4:33 PM Konstantin Kolinko wrote: > > INFO: No global web.xml found > > The above message is odd. > Essentially, it means that the file %CATALINA_BASE%\conf\web.xml does not > exist. > Solved. That was it. After copying over the conf/web.xml into myapp-base/conf, the app

Re: How to debug 404s / How to enable error log

2023-01-31 Thread Konstantin Kolinko
ср, 1 февр. 2023 г. в 00:04, Michael B Allen : > > This is embarrassing. I have apparently forgotten how to operate Tomcat. > Welcome! The main help file for running Tomcat is RUNNING.txt, with additional information in webapps/docs/setup.html and webapps/docs/windows-service-howto.html > I just

How to debug 404s / How to enable error log

2023-01-31 Thread Michael B Allen
This is embarrassing. I have apparently forgotten how to operate Tomcat. I just downloaded openjdk 17, Tomcat 10.1.5 to a clean Windows 10, upacked everything, created a myapp-base with a .bat like: --8<-- bin\start.bat --8<-- setlocal set "JRE_HOME=C:\tmp\java17" set "CATALINA_HOME=C:\tmp\tomc

Re: changes in Tomcat 10 break Spring Boot 3 executable JARs

2023-01-31 Thread Rémy Maucherat
On Tue, Jan 31, 2023 at 5:14 PM Garret Wilson wrote: > > I'm passing on an issue discussed on Spring Boot GitHub which may not > have been passed on to you. The main ticket is > https://github.com/spring-projects/spring-boot/issues/33633 . > > Spring Boot 3 executable JARs with Java 17 will break

changes in Tomcat 10 break Spring Boot 3 executable JARs

2023-01-31 Thread Garret Wilson
I'm passing on an issue discussed on Spring Boot GitHub which may not have been passed on to you. The main ticket is https://github.com/spring-projects/spring-boot/issues/33633 . Spring Boot 3 executable JARs with Java 17 will break with "java.lang.IllegalStateException: zip file closed" when