https://bz.apache.org/bugzilla/show_bug.cgi?id=68911
Remy Maucherat <r...@apache.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |INVALID --- Comment #11 from Remy Maucherat <r...@apache.org> --- Please do not reopen the BZ. Please use the user mailing list to discuss this further instead. If a problem is found, then it will be addressed just the same. The shell scripts will pass the CATALINA_BASE environment variable as the catalina.base Java system property, which will then be used to setup the paths that are used by CatalinaBaseConfigurationSource. I fail to see a behavior change there. Note: 8.5 to 9.0 is a major version update, so some change of behavior is acceptable, and some configuration updates could be required. [remm@feather build]$ export CATALINA_BASE=/tmp [remm@feather build]$ ./bin/catalina.sh run Using CATALINA_BASE: /tmp Using CATALINA_HOME: /home/remm/Work/tomcat/apache-tomcat-trunk/output/build Using CATALINA_TMPDIR: /tmp/temp Using JRE_HOME: /usr/lib/jvm/java-22 Using CLASSPATH: /home/remm/Work/tomcat/apache-tomcat-trunk/output/build/bin/bootstrap.jar:/home/remm/Work/tomcat/apache-tomcat-trunk/output/build/bin/tomcat-juli.jar Using CATALINA_OPTS: WARNING: java.io.tmpdir directory does not exist Apr 23, 2024 10:18:24 AM org.apache.catalina.startup.Catalina parseServerXml WARNING: Unable to load server configuration from [/tmp/conf/server.xml] java.io.FileNotFoundException: /tmp/conf/server.xml (No such file or directory) at java.base/java.io.FileInputStream.open0(Native Method) at java.base/java.io.FileInputStream.open(FileInputStream.java:213) at java.base/java.io.FileInputStream.<init>(FileInputStream.java:152) at java.base/java.io.FileInputStream.<init>(FileInputStream.java:106) at java.base/sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:84) at java.base/sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:186) at org.apache.catalina.startup.CatalinaBaseConfigurationSource.getResource(CatalinaBaseConfigurationSource.java:120) at org.apache.tomcat.util.file.ConfigurationSource.getConfResource(ConfigurationSource.java:150) at org.apache.tomcat.util.file.ConfigurationSource.getServerXml(ConfigurationSource.java:127) at org.apache.catalina.startup.CatalinaBaseConfigurationSource.getServerXml(CatalinaBaseConfigurationSource.java:54) at org.apache.catalina.startup.Catalina.parseServerXml(Catalina.java:590) at org.apache.catalina.startup.Catalina.load(Catalina.java:691) at org.apache.catalina.startup.Catalina.load(Catalina.java:729) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:299) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:469) -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org