Re: Compatibility, 32 bit ..
On 24/10/2022 20:04, John Dale (DB2DOM) wrote: Mark and Chris - do you guys have a favorite flavor of Linux that has yielded good results? I use Ubuntu for my various test environments and the servers I run at home. Stuff I know well (Tomcat, Java, etc) I tend to install manually rather than using the package manager. Mark Anyone else? John On 10/24/22, Mark Thomas wrote: On 24/10/2022 19:38, John Dale (DB2DOM) wrote: Would Tomcat 10 work with Java 8? No. Tomcat 10.1.x requires a minimum of Java 11. Details of Tomcat versions, minimum Java versions and other useful information: https://tomcat.apache.org/whichversion.html Mark Thinking I might downgrade the JDK. On 10/24/22, Mark Thomas wrote: On 24/10/2022 17:00, John Dale (DB2DOM) wrote: Hi Mark; Thanks for taking a look. Below is more information. Sincerely, John Dale, MS MIS Spearfish, SD USA - Tomcat version: 10.0.27 (unzipped, chmod 770 on catalina.sh before cli: catalina.sh run) java version: openjdk version "9-internal" uname -m: i686 Ubuntu 18.0.4 First error in logs: 24-Oct-2022 09:52:24.411 SEVERE [main] org.apache.tomcat.util.compat.Jre9Compat. Failed to create references to Java 9 classes and methods java.lang.ClassNotFoundException: java.lang.ModuleLayer You appear to have a broken JRE. That class should always be present in Java 9 onwards. Mark at java.net.URLClassLoader.findClass(java.base@9-internal/URLClassLoader.java:384) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:486) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419) at java.lang.Class.forName0(java.base@9-internal/Native Method) at java.lang.Class.forName(java.base@9-internal/Class.java:294) at org.apache.tomcat.util.compat.Jre9Compat.(Jre9Compat.java:85) at org.apache.tomcat.util.compat.JreCompat.(JreCompat.java:72) at org.apache.catalina.core.JreMemoryLeakPreventionListener.lifecycleEvent(JreMemoryLeakPreventionListener.java:282) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:135) at org.apache.catalina.startup.Catalina.load(Catalina.java:747) at org.apache.catalina.startup.Catalina.load(Catalina.java:769) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:305) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:475) On 10/24/22, Mark Thomas wrote: On 24/10/2022 02:01, John Dale (DB2DOM) wrote: Hi Everyone; I've had a few requests to refurbish some old 32 bit dell towers. So, I'm throwing ubuntu on them and bringing up a MySQL->DB2DOM->Tomcat stack. Unfortunately, Tomcat doesn't want to start with openjdk 9 that is packaged with 32 bit ubuntu. Tomcat works happily with 32-bit and 64-bit Java. Can someone give me a pointer to what works best? Perhaps if you told us what Tomcat version you were using and showed us what the error message was we'd be able to provide slightly more advice than "You are doing something wrong. Don't do that". Mark Also, any heads up about missing libs or other nuances would also be appreciated (jax mods were most painful). Sincerely, John Dale, MS MIS Spearfish, SD USA - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:
RE: Compatibility, 32 bit ..
I use AlmaLinux. I like it for servers. Thank you, Neil -- Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com We offer 30 year loans on single family houses! -Original Message- From: John Dale (DB2DOM) [mailto:jcdw...@gmail.com] Sent: Monday, October 24, 2022 2:04 PM To: Tomcat Users List Subject: Re: Compatibility, 32 bit .. Mark and Chris - do you guys have a favorite flavor of Linux that has yielded good results? Anyone else? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Compatibility, 32 bit ..
Mark and Chris - do you guys have a favorite flavor of Linux that has yielded good results? Anyone else? John On 10/24/22, Mark Thomas wrote: > On 24/10/2022 19:38, John Dale (DB2DOM) wrote: >> Would Tomcat 10 work with Java 8? > > No. Tomcat 10.1.x requires a minimum of Java 11. > > Details of Tomcat versions, minimum Java versions and other useful > information: > > https://tomcat.apache.org/whichversion.html > > Mark > > >> >> Thinking I might downgrade the JDK. >> >> >> On 10/24/22, Mark Thomas wrote: >>> >>> >>> On 24/10/2022 17:00, John Dale (DB2DOM) wrote: Hi Mark; Thanks for taking a look. Below is more information. Sincerely, John Dale, MS MIS Spearfish, SD USA - Tomcat version: 10.0.27 (unzipped, chmod 770 on catalina.sh before cli: catalina.sh run) java version: openjdk version "9-internal" uname -m: i686 Ubuntu 18.0.4 First error in logs: 24-Oct-2022 09:52:24.411 SEVERE [main] org.apache.tomcat.util.compat.Jre9Compat. Failed to create references to Java 9 classes and methods java.lang.ClassNotFoundException: java.lang.ModuleLayer >>> >>> You appear to have a broken JRE. That class should always be present in >>> Java 9 onwards. >>> >>> Mark >>> >>> at java.net.URLClassLoader.findClass(java.base@9-internal/URLClassLoader.java:384) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:486) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419) at java.lang.Class.forName0(java.base@9-internal/Native Method) at java.lang.Class.forName(java.base@9-internal/Class.java:294) at org.apache.tomcat.util.compat.Jre9Compat.(Jre9Compat.java:85) at org.apache.tomcat.util.compat.JreCompat.(JreCompat.java:72) at org.apache.catalina.core.JreMemoryLeakPreventionListener.lifecycleEvent(JreMemoryLeakPreventionListener.java:282) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:135) at org.apache.catalina.startup.Catalina.load(Catalina.java:747) at org.apache.catalina.startup.Catalina.load(Catalina.java:769) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:305) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:475) On 10/24/22, Mark Thomas wrote: > On 24/10/2022 02:01, John Dale (DB2DOM) wrote: >> Hi Everyone; >> >> I've had a few requests to refurbish some old 32 bit dell towers. >> >> So, I'm throwing ubuntu on them and bringing up a >> MySQL->DB2DOM->Tomcat >> stack. >> >> Unfortunately, Tomcat doesn't want to start with openjdk 9 that is >> packaged with 32 bit ubuntu. > > Tomcat works happily with 32-bit and 64-bit Java. > >> Can someone give me a pointer to what works best? > Perhaps if you told us what Tomcat version you were using and showed > us > what the error message was we'd be able to provide slightly more > advice > than "You are doing something wrong. Don't do that". > > Mark > > >> Also, any heads up about missing libs or other nuances would also be >> appreciated (jax mods were most painful). >> >> Sincerely, >> >> John Dale, MS MIS >> Spearfish, SD USA >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:
Re: Compatibility, 32 bit ..
Thank you. Would you agree with me that this should be an ubuntu bug report? I installed using apt-get. John On 10/24/22, Mark Thomas wrote: > On 24/10/2022 19:38, John Dale (DB2DOM) wrote: >> Would Tomcat 10 work with Java 8? > > No. Tomcat 10.1.x requires a minimum of Java 11. > > Details of Tomcat versions, minimum Java versions and other useful > information: > > https://tomcat.apache.org/whichversion.html > > Mark > > >> >> Thinking I might downgrade the JDK. >> >> >> On 10/24/22, Mark Thomas wrote: >>> >>> >>> On 24/10/2022 17:00, John Dale (DB2DOM) wrote: Hi Mark; Thanks for taking a look. Below is more information. Sincerely, John Dale, MS MIS Spearfish, SD USA - Tomcat version: 10.0.27 (unzipped, chmod 770 on catalina.sh before cli: catalina.sh run) java version: openjdk version "9-internal" uname -m: i686 Ubuntu 18.0.4 First error in logs: 24-Oct-2022 09:52:24.411 SEVERE [main] org.apache.tomcat.util.compat.Jre9Compat. Failed to create references to Java 9 classes and methods java.lang.ClassNotFoundException: java.lang.ModuleLayer >>> >>> You appear to have a broken JRE. That class should always be present in >>> Java 9 onwards. >>> >>> Mark >>> >>> at java.net.URLClassLoader.findClass(java.base@9-internal/URLClassLoader.java:384) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:486) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419) at java.lang.Class.forName0(java.base@9-internal/Native Method) at java.lang.Class.forName(java.base@9-internal/Class.java:294) at org.apache.tomcat.util.compat.Jre9Compat.(Jre9Compat.java:85) at org.apache.tomcat.util.compat.JreCompat.(JreCompat.java:72) at org.apache.catalina.core.JreMemoryLeakPreventionListener.lifecycleEvent(JreMemoryLeakPreventionListener.java:282) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:135) at org.apache.catalina.startup.Catalina.load(Catalina.java:747) at org.apache.catalina.startup.Catalina.load(Catalina.java:769) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:305) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:475) On 10/24/22, Mark Thomas wrote: > On 24/10/2022 02:01, John Dale (DB2DOM) wrote: >> Hi Everyone; >> >> I've had a few requests to refurbish some old 32 bit dell towers. >> >> So, I'm throwing ubuntu on them and bringing up a >> MySQL->DB2DOM->Tomcat >> stack. >> >> Unfortunately, Tomcat doesn't want to start with openjdk 9 that is >> packaged with 32 bit ubuntu. > > Tomcat works happily with 32-bit and 64-bit Java. > >> Can someone give me a pointer to what works best? > Perhaps if you told us what Tomcat version you were using and showed > us > what the error message was we'd be able to provide slightly more > advice > than "You are doing something wrong. Don't do that". > > Mark > > >> Also, any heads up about missing libs or other nuances would also be >> appreciated (jax mods were most painful). >> >> Sincerely, >> >> John Dale, MS MIS >> Spearfish, SD USA >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:
Re: Compatibility, 32 bit ..
On 24/10/2022 19:38, John Dale (DB2DOM) wrote: Would Tomcat 10 work with Java 8? No. Tomcat 10.1.x requires a minimum of Java 11. Details of Tomcat versions, minimum Java versions and other useful information: https://tomcat.apache.org/whichversion.html Mark Thinking I might downgrade the JDK. On 10/24/22, Mark Thomas wrote: On 24/10/2022 17:00, John Dale (DB2DOM) wrote: Hi Mark; Thanks for taking a look. Below is more information. Sincerely, John Dale, MS MIS Spearfish, SD USA - Tomcat version: 10.0.27 (unzipped, chmod 770 on catalina.sh before cli: catalina.sh run) java version: openjdk version "9-internal" uname -m: i686 Ubuntu 18.0.4 First error in logs: 24-Oct-2022 09:52:24.411 SEVERE [main] org.apache.tomcat.util.compat.Jre9Compat. Failed to create references to Java 9 classes and methods java.lang.ClassNotFoundException: java.lang.ModuleLayer You appear to have a broken JRE. That class should always be present in Java 9 onwards. Mark at java.net.URLClassLoader.findClass(java.base@9-internal/URLClassLoader.java:384) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:486) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419) at java.lang.Class.forName0(java.base@9-internal/Native Method) at java.lang.Class.forName(java.base@9-internal/Class.java:294) at org.apache.tomcat.util.compat.Jre9Compat.(Jre9Compat.java:85) at org.apache.tomcat.util.compat.JreCompat.(JreCompat.java:72) at org.apache.catalina.core.JreMemoryLeakPreventionListener.lifecycleEvent(JreMemoryLeakPreventionListener.java:282) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:135) at org.apache.catalina.startup.Catalina.load(Catalina.java:747) at org.apache.catalina.startup.Catalina.load(Catalina.java:769) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:305) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:475) On 10/24/22, Mark Thomas wrote: On 24/10/2022 02:01, John Dale (DB2DOM) wrote: Hi Everyone; I've had a few requests to refurbish some old 32 bit dell towers. So, I'm throwing ubuntu on them and bringing up a MySQL->DB2DOM->Tomcat stack. Unfortunately, Tomcat doesn't want to start with openjdk 9 that is packaged with 32 bit ubuntu. Tomcat works happily with 32-bit and 64-bit Java. Can someone give me a pointer to what works best? Perhaps if you told us what Tomcat version you were using and showed us what the error message was we'd be able to provide slightly more advice than "You are doing something wrong. Don't do that". Mark Also, any heads up about missing libs or other nuances would also be appreciated (jax mods were most painful). Sincerely, John Dale, MS MIS Spearfish, SD USA - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Compatibility, 32 bit ..
Would Tomcat 10 work with Java 8? Thinking I might downgrade the JDK. On 10/24/22, Mark Thomas wrote: > > > On 24/10/2022 17:00, John Dale (DB2DOM) wrote: >> Hi Mark; >> >> Thanks for taking a look. >> >> Below is more information. >> >> Sincerely, >> >> John Dale, MS MIS >> Spearfish, SD USA >> >> - >> >> Tomcat version: 10.0.27 (unzipped, chmod 770 on catalina.sh before >> cli: catalina.sh run) >> java version: openjdk version "9-internal" >> uname -m: i686 >> Ubuntu 18.0.4 >> >> First error in logs: >> 24-Oct-2022 09:52:24.411 SEVERE [main] >> org.apache.tomcat.util.compat.Jre9Compat. Failed to create >> references to Java 9 classes and methods >> java.lang.ClassNotFoundException: java.lang.ModuleLayer > > You appear to have a broken JRE. That class should always be present in > Java 9 onwards. > > Mark > > >> at >> java.net.URLClassLoader.findClass(java.base@9-internal/URLClassLoader.java:384) >> at >> java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:486) >> at >> java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419) >> at java.lang.Class.forName0(java.base@9-internal/Native >> Method) >> at >> java.lang.Class.forName(java.base@9-internal/Class.java:294) >> at >> org.apache.tomcat.util.compat.Jre9Compat.(Jre9Compat.java:85) >> at >> org.apache.tomcat.util.compat.JreCompat.(JreCompat.java:72) >> at >> org.apache.catalina.core.JreMemoryLeakPreventionListener.lifecycleEvent(JreMemoryLeakPreventionListener.java:282) >> at >> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) >> at >> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) >> at >> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:135) >> at >> org.apache.catalina.startup.Catalina.load(Catalina.java:747) >> at >> org.apache.catalina.startup.Catalina.load(Catalina.java:769) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native >> Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) >> at >> java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) >> at >> org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:305) >> at >> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:475) >> >> >> >> On 10/24/22, Mark Thomas wrote: >>> On 24/10/2022 02:01, John Dale (DB2DOM) wrote: Hi Everyone; I've had a few requests to refurbish some old 32 bit dell towers. So, I'm throwing ubuntu on them and bringing up a MySQL->DB2DOM->Tomcat stack. Unfortunately, Tomcat doesn't want to start with openjdk 9 that is packaged with 32 bit ubuntu. >>> >>> Tomcat works happily with 32-bit and 64-bit Java. >>> Can someone give me a pointer to what works best? >>> Perhaps if you told us what Tomcat version you were using and showed us >>> what the error message was we'd be able to provide slightly more advice >>> than "You are doing something wrong. Don't do that". >>> >>> Mark >>> >>> Also, any heads up about missing libs or other nuances would also be appreciated (jax mods were most painful). Sincerely, John Dale, MS MIS Spearfish, SD USA - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >>> For additional commands, e-mail: users-h...@tomcat.apache.org >>> >>> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Compatibility, 32 bit ..
On 24/10/2022 17:00, John Dale (DB2DOM) wrote: Hi Mark; Thanks for taking a look. Below is more information. Sincerely, John Dale, MS MIS Spearfish, SD USA - Tomcat version: 10.0.27 (unzipped, chmod 770 on catalina.sh before cli: catalina.sh run) java version: openjdk version "9-internal" uname -m: i686 Ubuntu 18.0.4 First error in logs: 24-Oct-2022 09:52:24.411 SEVERE [main] org.apache.tomcat.util.compat.Jre9Compat. Failed to create references to Java 9 classes and methods java.lang.ClassNotFoundException: java.lang.ModuleLayer You appear to have a broken JRE. That class should always be present in Java 9 onwards. Mark at java.net.URLClassLoader.findClass(java.base@9-internal/URLClassLoader.java:384) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:486) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419) at java.lang.Class.forName0(java.base@9-internal/Native Method) at java.lang.Class.forName(java.base@9-internal/Class.java:294) at org.apache.tomcat.util.compat.Jre9Compat.(Jre9Compat.java:85) at org.apache.tomcat.util.compat.JreCompat.(JreCompat.java:72) at org.apache.catalina.core.JreMemoryLeakPreventionListener.lifecycleEvent(JreMemoryLeakPreventionListener.java:282) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:135) at org.apache.catalina.startup.Catalina.load(Catalina.java:747) at org.apache.catalina.startup.Catalina.load(Catalina.java:769) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:305) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:475) On 10/24/22, Mark Thomas wrote: On 24/10/2022 02:01, John Dale (DB2DOM) wrote: Hi Everyone; I've had a few requests to refurbish some old 32 bit dell towers. So, I'm throwing ubuntu on them and bringing up a MySQL->DB2DOM->Tomcat stack. Unfortunately, Tomcat doesn't want to start with openjdk 9 that is packaged with 32 bit ubuntu. Tomcat works happily with 32-bit and 64-bit Java. Can someone give me a pointer to what works best? Perhaps if you told us what Tomcat version you were using and showed us what the error message was we'd be able to provide slightly more advice than "You are doing something wrong. Don't do that". Mark Also, any heads up about missing libs or other nuances would also be appreciated (jax mods were most painful). Sincerely, John Dale, MS MIS Spearfish, SD USA - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Compatibility, 32 bit ..
Hi Mark; Thanks for taking a look. Below is more information. Sincerely, John Dale, MS MIS Spearfish, SD USA - Tomcat version: 10.0.27 (unzipped, chmod 770 on catalina.sh before cli: catalina.sh run) java version: openjdk version "9-internal" uname -m: i686 Ubuntu 18.0.4 First error in logs: 24-Oct-2022 09:52:24.411 SEVERE [main] org.apache.tomcat.util.compat.Jre9Compat. Failed to create references to Java 9 classes and methods java.lang.ClassNotFoundException: java.lang.ModuleLayer at java.net.URLClassLoader.findClass(java.base@9-internal/URLClassLoader.java:384) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:486) at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419) at java.lang.Class.forName0(java.base@9-internal/Native Method) at java.lang.Class.forName(java.base@9-internal/Class.java:294) at org.apache.tomcat.util.compat.Jre9Compat.(Jre9Compat.java:85) at org.apache.tomcat.util.compat.JreCompat.(JreCompat.java:72) at org.apache.catalina.core.JreMemoryLeakPreventionListener.lifecycleEvent(JreMemoryLeakPreventionListener.java:282) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:135) at org.apache.catalina.startup.Catalina.load(Catalina.java:747) at org.apache.catalina.startup.Catalina.load(Catalina.java:769) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:305) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:475) On 10/24/22, Mark Thomas wrote: > On 24/10/2022 02:01, John Dale (DB2DOM) wrote: >> Hi Everyone; >> >> I've had a few requests to refurbish some old 32 bit dell towers. >> >> So, I'm throwing ubuntu on them and bringing up a MySQL->DB2DOM->Tomcat >> stack. >> >> Unfortunately, Tomcat doesn't want to start with openjdk 9 that is >> packaged with 32 bit ubuntu. > > Tomcat works happily with 32-bit and 64-bit Java. > >> Can someone give me a pointer to what works best? > Perhaps if you told us what Tomcat version you were using and showed us > what the error message was we'd be able to provide slightly more advice > than "You are doing something wrong. Don't do that". > > Mark > > >> Also, any heads up about missing libs or other nuances would also be >> appreciated (jax mods were most painful). >> >> Sincerely, >> >> John Dale, MS MIS >> Spearfish, SD USA >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Apache Tomcat started, but error 404
> On Oct 24, 2022, at 8:36 AM, Christopher Schultz > wrote: > > Darious, > > On 10/24/22 04:10, Strib wrote: >> Due to the security echelon of the network, I can not send the entire >> stacktrace. >> However, I can say that it also states the web app archives are not >> starting. (IllegalStateException: Error starting child). >> Prominent "caused by" lines state bean creation errors, or instantiating >> [org.grails.orm.hibernate.HibernateDatastore]: Constructor threw exception; >> nested exception is >> org.hibernate.tool.schema.extract.spi.SchemaExtractionException... > > This could be almost anything. > > Tomcat does not package Hibernate, so this is something your application is > trying to do. Maybe there is an error extracting a schema or something? > > If you can't share the stack trace with this community, than this community > will be unable to help you. You will have to get help from internal corporate > resources. > > -chris Two likely places to look: 1) Connectivity to the database 2)permissions within the db server. Both should write in the server’s log and the latter should report in the app’s log.
Re: Apache Tomcat started, but error 404
Darious, On 10/24/22 04:10, Strib wrote: Due to the security echelon of the network, I can not send the entire stacktrace. However, I can say that it also states the web app archives are not starting. (IllegalStateException: Error starting child). Prominent "caused by" lines state bean creation errors, or instantiating [org.grails.orm.hibernate.HibernateDatastore]: Constructor threw exception; nested exception is org.hibernate.tool.schema.extract.spi.SchemaExtractionException... This could be almost anything. Tomcat does not package Hibernate, so this is something your application is trying to do. Maybe there is an error extracting a schema or something? If you can't share the stack trace with this community, than this community will be unable to help you. You will have to get help from internal corporate resources. -chris On Mon, Oct 24, 2022 at 4:31 PM Mark Thomas wrote: On 24/10/2022 08:01, Strib wrote: Hello and thank you, The error message reads as follows: 'org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/APPWARFILE]]' And the rest of that message? What does the stack trace show? There may also be earlier errors in the logs that are relevant. Mark There are two app files trying to start, and both are getting the same error. The weird part is, these app packages were not touched since before the summer. Server patches have happened since, but this is the first month where Tomcat is doing this So, two key notes: 1: app packages have not been changed. 2: hot and warm servers have been patched, but only hot servers received this Tomcat error. This is the first month I've seen Tomcat not start properly, which makes me believe it's Tomcat. Also, just FYI, this is for Tomcat 8. Very respectfully, Darious On Mon, Oct 24, 2022 at 3:28 PM Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello, -Ursprüngliche Nachricht- Von: Strib Gesendet: Montag, 24. Oktober 2022 08:10 An: users@tomcat.apache.org Betreff: Apache Tomcat started, but error 404 Hello, trying to see if anyone else had this issue. After a reboot of hot and warm servers, my sites using Tomcat throws the error 404 only on the hot servers. I've stopped and started Tomcat services, nothing. In the logs, there were 2 errors. One was Catalina. But even though the error happened on hot and warm servers, warm sites are still working, so I'm thinking that's not it. The other error on the hot servers says startup error. Is it just luck of the draw, of starting/stopping Tomcat services? Is it something else, entirely? Frustrating that Tomcat does not have a UI to make this easier. Thanks in advance. Very respectfully, Darious Could you past the error message about startup issue? 404 sounds like your application failed to start but Tomcat is running. So it might be an issue with the application. In the log files there are usually information about the reason. Greetings, Thomas - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Apache Tomcat started, but error 404
Darious, On 10/24/22 02:50, Strib wrote: Hello and thank you, The error message reads as follows: 'org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/APPWARFILE]]' There are two app files trying to start, and both are getting the same error. The weird part is, these app packages were not touched since before the summer. Server patches have happened since, but this is the first month where Tomcat is doing this So, two key notes: 1: app packages have not been changed. 2: hot and warm servers have been patched, but only hot servers received this Tomcat error. This is the first month I've seen Tomcat not start properly, which makes me believe it's Tomcat. Also, just FYI, this is for Tomcat 8. So... "nothing" has changed except for "server patches" and now you see errors. So your immediate assumption is that Tomcat is suddenly failing? I'm sure eventually you'll provide evidence and we'll get to the bottom of the problem, but right now your report amounts to: "My stuff isn't working. Help." We can't help without any information. -chris On Mon, Oct 24, 2022 at 3:28 PM Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello, -Ursprüngliche Nachricht- Von: Strib Gesendet: Montag, 24. Oktober 2022 08:10 An: users@tomcat.apache.org Betreff: Apache Tomcat started, but error 404 Hello, trying to see if anyone else had this issue. After a reboot of hot and warm servers, my sites using Tomcat throws the error 404 only on the hot servers. I've stopped and started Tomcat services, nothing. In the logs, there were 2 errors. One was Catalina. But even though the error happened on hot and warm servers, warm sites are still working, so I'm thinking that's not it. The other error on the hot servers says startup error. Is it just luck of the draw, of starting/stopping Tomcat services? Is it something else, entirely? Frustrating that Tomcat does not have a UI to make this easier. Thanks in advance. Very respectfully, Darious Could you past the error message about startup issue? 404 sounds like your application failed to start but Tomcat is running. So it might be an issue with the application. In the log files there are usually information about the reason. Greetings, Thomas - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Apache Tomcat started, but error 404
Hi Mark, Due to the security echelon of the network, I can not send the entire stacktrace. However, I can say that it also states the web app archives are not starting. (IllegalStateException: Error starting child). Prominent "caused by" lines state bean creation errors, or instantiating [org.grails.orm.hibernate.HibernateDatastore]: Constructor threw exception; nested exception is org.hibernate.tool.schema.extract.spi.SchemaExtractionException... Very respectfully, Darious On Mon, Oct 24, 2022 at 4:31 PM Mark Thomas wrote: > On 24/10/2022 08:01, Strib wrote: > > Hello and thank you, > > > > The error message reads as follows: > > 'org.apache.catalina.LifecycleException: Failed to start component > > > [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/APPWARFILE]]' > > And the rest of that message? What does the stack trace show? > > There may also be earlier errors in the logs that are relevant. > > Mark > > > > There are two app files trying to start, and both are getting the same > > error. The weird part is, these app packages were not touched since > before > > the summer. Server patches have happened since, but this is the first > month > > where Tomcat is doing this So, two key notes: > > 1: app packages have not been changed. > > 2: hot and warm servers have been patched, but only hot servers received > > this Tomcat error. This is the first month I've seen Tomcat not start > > properly, which makes me believe it's Tomcat. > > Also, just FYI, this is for Tomcat 8. > > > > Very respectfully, > > Darious > > > > > > On Mon, Oct 24, 2022 at 3:28 PM Thomas Hoffmann (Speed4Trade GmbH) > > wrote: > > > >> Hello, > >> > >>> -Ursprüngliche Nachricht- > >>> Von: Strib > >>> Gesendet: Montag, 24. Oktober 2022 08:10 > >>> An: users@tomcat.apache.org > >>> Betreff: Apache Tomcat started, but error 404 > >>> > >>> Hello, trying to see if anyone else had this issue. After a reboot of > >> hot and > >>> warm servers, my sites using Tomcat throws the error 404 only on the > hot > >>> servers. I've stopped and started Tomcat services, nothing. In the > logs, > >> there > >>> were 2 errors. One was Catalina. But even though the error happened on > >> hot > >>> and warm servers, warm sites are still working, so I'm thinking that's > >> not it. The > >>> other error on the hot servers says startup error. Is it just luck of > >> the draw, of > >>> starting/stopping Tomcat services? > >>> Is it something else, entirely? Frustrating that Tomcat does not have a > >> UI to > >>> make this easier. Thanks in advance. > >>> > >>> Very respectfully, > >>> Darious > >> > >> Could you past the error message about startup issue? > >> 404 sounds like your application failed to start but Tomcat is running. > >> So it might be an issue with the application. > >> In the log files there are usually information about the reason. > >> > >> Greetings, Thomas > >> > > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: Apache Tomcat started, but error 404
On 24/10/2022 08:01, Strib wrote: Hello and thank you, The error message reads as follows: 'org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/APPWARFILE]]' And the rest of that message? What does the stack trace show? There may also be earlier errors in the logs that are relevant. Mark There are two app files trying to start, and both are getting the same error. The weird part is, these app packages were not touched since before the summer. Server patches have happened since, but this is the first month where Tomcat is doing this So, two key notes: 1: app packages have not been changed. 2: hot and warm servers have been patched, but only hot servers received this Tomcat error. This is the first month I've seen Tomcat not start properly, which makes me believe it's Tomcat. Also, just FYI, this is for Tomcat 8. Very respectfully, Darious On Mon, Oct 24, 2022 at 3:28 PM Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello, -Ursprüngliche Nachricht- Von: Strib Gesendet: Montag, 24. Oktober 2022 08:10 An: users@tomcat.apache.org Betreff: Apache Tomcat started, but error 404 Hello, trying to see if anyone else had this issue. After a reboot of hot and warm servers, my sites using Tomcat throws the error 404 only on the hot servers. I've stopped and started Tomcat services, nothing. In the logs, there were 2 errors. One was Catalina. But even though the error happened on hot and warm servers, warm sites are still working, so I'm thinking that's not it. The other error on the hot servers says startup error. Is it just luck of the draw, of starting/stopping Tomcat services? Is it something else, entirely? Frustrating that Tomcat does not have a UI to make this easier. Thanks in advance. Very respectfully, Darious Could you past the error message about startup issue? 404 sounds like your application failed to start but Tomcat is running. So it might be an issue with the application. In the log files there are usually information about the reason. Greetings, Thomas - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Compatibility, 32 bit ..
On 24/10/2022 02:01, John Dale (DB2DOM) wrote: Hi Everyone; I've had a few requests to refurbish some old 32 bit dell towers. So, I'm throwing ubuntu on them and bringing up a MySQL->DB2DOM->Tomcat stack. Unfortunately, Tomcat doesn't want to start with openjdk 9 that is packaged with 32 bit ubuntu. Tomcat works happily with 32-bit and 64-bit Java. Can someone give me a pointer to what works best? Perhaps if you told us what Tomcat version you were using and showed us what the error message was we'd be able to provide slightly more advice than "You are doing something wrong. Don't do that". Mark Also, any heads up about missing libs or other nuances would also be appreciated (jax mods were most painful). Sincerely, John Dale, MS MIS Spearfish, SD USA - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Apache Tomcat started, but error 404
Hello and thank you, The error message reads as follows: 'org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/APPWARFILE]]' There are two app files trying to start, and both are getting the same error. The weird part is, these app packages were not touched since before the summer. Server patches have happened since, but this is the first month where Tomcat is doing this So, two key notes: 1: app packages have not been changed. 2: hot and warm servers have been patched, but only hot servers received this Tomcat error. This is the first month I've seen Tomcat not start properly, which makes me believe it's Tomcat. Also, just FYI, this is for Tomcat 8. Very respectfully, Darious On Mon, Oct 24, 2022 at 3:28 PM Thomas Hoffmann (Speed4Trade GmbH) wrote: > Hello, > > > -Ursprüngliche Nachricht- > > Von: Strib > > Gesendet: Montag, 24. Oktober 2022 08:10 > > An: users@tomcat.apache.org > > Betreff: Apache Tomcat started, but error 404 > > > > Hello, trying to see if anyone else had this issue. After a reboot of > hot and > > warm servers, my sites using Tomcat throws the error 404 only on the hot > > servers. I've stopped and started Tomcat services, nothing. In the logs, > there > > were 2 errors. One was Catalina. But even though the error happened on > hot > > and warm servers, warm sites are still working, so I'm thinking that's > not it. The > > other error on the hot servers says startup error. Is it just luck of > the draw, of > > starting/stopping Tomcat services? > > Is it something else, entirely? Frustrating that Tomcat does not have a > UI to > > make this easier. Thanks in advance. > > > > Very respectfully, > > Darious > > Could you past the error message about startup issue? > 404 sounds like your application failed to start but Tomcat is running. > So it might be an issue with the application. > In the log files there are usually information about the reason. > > Greetings, Thomas >
Re: Apache Tomcat started, but error 404
Hello and thank you, The error message reads as follows: 'org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/APPWARFILE]]' There are two app files trying to start, and both are getting the same error. The weird part is, these app packages were not touched since before the summer. Server patches have happened since, but this is the first month where Tomcat is doing this So, two key notes: 1: app packages have not been changed. 2: hot and warm servers have been patched, but only hot servers received this Tomcat error. This is the first month I've seen Tomcat not start properly, which makes me believe it's Tomcat. Also, just FYI, this is for Tomcat 8. Very respectfully, Darious On Mon, Oct 24, 2022 at 3:28 PM Thomas Hoffmann (Speed4Trade GmbH) wrote: > Hello, > > > -Ursprüngliche Nachricht- > > Von: Strib > > Gesendet: Montag, 24. Oktober 2022 08:10 > > An: users@tomcat.apache.org > > Betreff: Apache Tomcat started, but error 404 > > > > Hello, trying to see if anyone else had this issue. After a reboot of > hot and > > warm servers, my sites using Tomcat throws the error 404 only on the hot > > servers. I've stopped and started Tomcat services, nothing. In the logs, > there > > were 2 errors. One was Catalina. But even though the error happened on > hot > > and warm servers, warm sites are still working, so I'm thinking that's > not it. The > > other error on the hot servers says startup error. Is it just luck of > the draw, of > > starting/stopping Tomcat services? > > Is it something else, entirely? Frustrating that Tomcat does not have a > UI to > > make this easier. Thanks in advance. > > > > Very respectfully, > > Darious > > Could you past the error message about startup issue? > 404 sounds like your application failed to start but Tomcat is running. > So it might be an issue with the application. > In the log files there are usually information about the reason. > > Greetings, Thomas >
AW: Apache Tomcat started, but error 404
Hello, > -Ursprüngliche Nachricht- > Von: Strib > Gesendet: Montag, 24. Oktober 2022 08:10 > An: users@tomcat.apache.org > Betreff: Apache Tomcat started, but error 404 > > Hello, trying to see if anyone else had this issue. After a reboot of hot and > warm servers, my sites using Tomcat throws the error 404 only on the hot > servers. I've stopped and started Tomcat services, nothing. In the logs, there > were 2 errors. One was Catalina. But even though the error happened on hot > and warm servers, warm sites are still working, so I'm thinking that's not > it. The > other error on the hot servers says startup error. Is it just luck of the > draw, of > starting/stopping Tomcat services? > Is it something else, entirely? Frustrating that Tomcat does not have a UI to > make this easier. Thanks in advance. > > Very respectfully, > Darious Could you past the error message about startup issue? 404 sounds like your application failed to start but Tomcat is running. So it might be an issue with the application. In the log files there are usually information about the reason. Greetings, Thomas
Apache Tomcat started, but error 404
Hello, trying to see if anyone else had this issue. After a reboot of hot and warm servers, my sites using Tomcat throws the error 404 only on the hot servers. I've stopped and started Tomcat services, nothing. In the logs, there were 2 errors. One was Catalina. But even though the error happened on hot and warm servers, warm sites are still working, so I'm thinking that's not it. The other error on the hot servers says startup error. Is it just luck of the draw, of starting/stopping Tomcat services? Is it something else, entirely? Frustrating that Tomcat does not have a UI to make this easier. Thanks in advance. Very respectfully, Darious