Thanks. I committed your patches, because there's no halting progress :-)
But  does it work for you? It doesn't for me... When I try

$ scripts/build image=tomcat
$ scripts/run

I get:

java.so: Starting JVM app using: io/osv/nonisolated/RunNonIsolatedJvmApp
java.so: Setting Java system classloader to NonIsolatingOsvSystemClassLoader
io.osv.AppThreadTerminatedWithUncaughtException:
java.lang.UnsupportedClassVersionError:
org/apache/catalina/startup/Bootstrap : Unsupported major.minor version 52.0
    at io.osv.nonisolated.NonIsolatedJvm.runSync(NonIsolatedJvm.java:81)
    at io.osv.RunJvmAppHelper.runSync(RunJvmAppHelper.java:40)
    at
io.osv.nonisolated.RunNonIsolatedJvmApp.main(RunNonIsolatedJvmApp.java:34)
Caused by: java.lang.UnsupportedClassVersionError:
org/apache/catalina/startup/Bootstrap : Unsupported major.minor version 52.0

Is it possible that we compile Tomcat in a way it can't run on the antique
Java (version 7) we supply by default?
Is this a new Tomcat requirement, that it only runs on Java 8? If it is, we
need to have tomcat "require" Java 8, not just any java (which today is
Java 7).

Anyway, I wonder how it worked for you?

--
Nadav Har'El
[email protected]


On Sat, Mar 9, 2019 at 3:02 AM geraldo netto <[email protected]> wrote:

> geraldo netto (9):
>   tomcat: upgrade from 8.0.15 to 9.0.16
>   update 0001-configure-web-admin-user.patch
>   add admin-gui permission
>   add manager-script permission
>   rename: 0003-assign-admin-gui-role-to-tomcat-user ->
>     0002-assign-admin-gui-role-to-tomcat-user
>   renamed: 0002-change-http-port-to-8081.patch ->
>     0003-change-http-port-to-8081.patch
>   renamed: 0006-Add-script-managment-role-to-tomcat-user.patch ->
>     0003-Add-script-managment-role-to-tomcat-user.patch
>   renamed: 0003-change-http-port-to-8081.patch ->
>     0006-change-http-port-to-8081.patch
>   update bio connector to nio
>
>  tomcat/GET                                    | 20 ++++++++++---------
>  .../perf/0001-configure-web-admin-user.patch  | 15 ++++----------
>  ...ssign-admin-gui-role-to-tomcat-user.patch} | 10 +++++-----
>  ...cript-managment-role-to-tomcat-user.patch} | 10 +++++-----
>  ...ch => 0006-change-http-port-to-8081.patch} |  0
>  ...> 0007-Use-nio-connector-explicitly.patch} |  4 ++--
>  6 files changed, 27 insertions(+), 32 deletions(-)
>  rename
> tomcat/patches/perf/{0003-assign-admin-gui-role-to-tomcat-user.patch =>
> 0002-assign-admin-gui-role-to-tomcat-user.patch} (64%)
>  rename
> tomcat/patches/perf/{0006-Add-script-managment-role-to-tomcat-user.patch =>
> 0003-Add-script-managment-role-to-tomcat-user.patch} (70%)
>  rename tomcat/patches/perf/{0002-change-http-port-to-8081.patch =>
> 0006-change-http-port-to-8081.patch} (100%)
>  rename tomcat/patches/perf/{0007-Use-bio-connector-explicitly.patch =>
> 0007-Use-nio-connector-explicitly.patch} (91%)
>
> --
> 2.17.1
>
> --
> You received this message because you are subscribed to the Google Groups
> "OSv Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to