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 <ma...@apache.org> 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 <ma...@apache.org> 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.<clinit> 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.<clinit>(Jre9Compat.java:85)
>>>>                   at
>>>> org.apache.tomcat.util.compat.JreCompat.<clinit>(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 <ma...@apache.org> 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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to