All versions of Glassfish ship with the version of J2EE appropriate to the level of JDK it was designed to run on.
So glassfish 4 required J2EE7/JDK7 but runs on J2EE8/JDK8 Glassfish 5 requires J2EE8/JDK8 Glassfish 6 requires Jakarta 9.1/JDK11 The notion that you would have a JDK11 or later application paired with a much earlier J2EE version is alien and baffling to me. M On Tue, 18 Apr 2023 at 14:59, Jody Garnett <jody.garn...@gmail.com> wrote: > You are the first to run glass fish and tell us about it :) we have all be > running with tomcat … > > What version of J2EE does it support? > > If it only supports Jakarta we are not migrated to that yet. We tried > with tomcat 10 (where it changes javax to Jakarta packages in the fly) but > it did not work out so well. > > Jody > > On Tue, Apr 18, 2023 at 2:53 AM Ian Turton <ijtur...@gmail.com> wrote: > >> I was looking at this section - >> https://docs.geoserver.org/latest/en/user/production/java.html#running-on-java-11 >> >> > *GlassFish* does not currently [support] Java 11, although the >> upcoming 5.0.1 release is expected to include support for it. >> >> To be honest, I don't know of anyone running on glassfish so I can really >> comment. May be that page needs updating >> >> Ian >> >> On Tue, 18 Apr 2023 at 10:21, Mark Hammond <mark.hamm...@bto.org> wrote: >> >>> Colour me even more confused - this is the release notes for 2.23.0 on >>> geoserver.org >>> >>> [image: image.png] >>> >>> Or, if you can't view images: >>> >>> >>> https://geoserver.org/announcements/2023/04/05/geoserver-2-23-0-released.html >>> >>> *"Java 11 Minimum* >>> >>> *With this release GeoServer no longer supports Java 8, and it is time >>> to upgrade to Java 11 at a minimum. Our build system tests GeoServer in >>> with Java 11 and Java 17 which are both long-term-support OpenJDK >>> releases."* >>> >>> >>> My existing servers are 2.15 running on JDK8 and Glassfish 4.x. >>> >>> Quite happy to upgrade to 2.23 running on JDK11 and Glassfish 6.x, or >>> even JDK17 and Glassfish 7.x >>> >>> Can someone advise? Because what I'm being told from the documentation, >>> and what I'm experiencing on the ground don't seem to marry up... >>> >>> >>> Best wishes >>> >>> Mark >>> >>> >>> >>> On Mon, 17 Apr 2023 at 19:58, Jody Garnett <jody.garn...@gmail.com> >>> wrote: >>> >>>> Mark may have been testing a newer glassfish based on Jakarta? >>>> https://glassfish.org - it looks like version 6 does support Java 11 >>>> and Jakarta. >>>> >>>> We have not migrated from J2EE to jakarta yet; although that is a good >>>> task to do. If you are interested in working on that mark it would be a >>>> welcome improvement. >>>> -- >>>> Jody Garnett >>>> >>>> >>>> On Mon, Apr 17, 2023 at 11:45 AM Ian Turton <ijtur...@gmail.com> wrote: >>>> >>>>> According to our manual glassfish doesn't support java 11 while >>>>> GeoServer doesn't support java 8 any longer. So you may need to work with >>>>> a >>>>> n older version, which do have the fixes applied. >>>>> >>>>> Ian >>>>> >>>>> On Mon, 17 Apr 2023, 18:39 Mark Hammond, <mark.hamm...@bto.org> wrote: >>>>> >>>>>> Hi folks, >>>>>> >>>>>> >>>>>> I've been asked to upgrade our deployments of Geoserver due to the >>>>>> recently discovered vulnerabilities. I would have been most content to >>>>>> enact the workarounds wildly offered, but people above me in the pecking >>>>>> order insisted. >>>>>> >>>>>> I've set up a vanilla test box with JDK11 and Glassfish 6.2.5 and >>>>>> downloaded the ready-to-eat .WAR file for Geoserver 2.23 >>>>>> >>>>>> However, upon attempting to deploy, this is the message got: >>>>>> >>>>>> remote failure: Error occurred during deployment: Exception while >>>>>> loading the app : java.lang.IllegalStateException: >>>>>> ContainerBase.addChild: >>>>>> start: org.apache.catalina.LifecycleException: >>>>>> java.lang.IllegalArgumentException: java.lang.NoClassDefFoundError: >>>>>> javax/servlet/ServletContextListener. Please see server.log for more >>>>>> details. >>>>>> Command deploy failed. >>>>>> >>>>>> Please could someone offer idiot-proof instructions for a lay-person >>>>>> to get this deployment to work? >>>>>> >>>>>> Kindest regards, >>>>>> Mark >>>>>> _______________________________________________ >>>>>> Geoserver-users mailing list >>>>>> >>>>>> Please make sure you read the following two resources before posting >>>>>> to this list: >>>>>> - Earning your support instead of buying it, but Ian Turton: >>>>>> http://www.ianturton.com/talks/foss4g.html#/ >>>>>> - The GeoServer user list posting guidelines: >>>>>> http://geoserver.org/comm/userlist-guidelines.html >>>>>> >>>>>> If you want to request a feature or an improvement, also see this: >>>>>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer >>>>>> >>>>>> >>>>>> Geoserver-users@lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users >>>>>> >>>>> _______________________________________________ >>>>> Geoserver-users mailing list >>>>> >>>>> Please make sure you read the following two resources before posting >>>>> to this list: >>>>> - Earning your support instead of buying it, but Ian Turton: >>>>> http://www.ianturton.com/talks/foss4g.html#/ >>>>> - The GeoServer user list posting guidelines: >>>>> http://geoserver.org/comm/userlist-guidelines.html >>>>> >>>>> If you want to request a feature or an improvement, also see this: >>>>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer >>>>> >>>>> >>>>> Geoserver-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users >>>>> >>>> _______________________________________________ >>> Geoserver-users mailing list >>> >>> Please make sure you read the following two resources before posting to >>> this list: >>> - Earning your support instead of buying it, but Ian Turton: >>> http://www.ianturton.com/talks/foss4g.html#/ >>> - The GeoServer user list posting guidelines: >>> http://geoserver.org/comm/userlist-guidelines.html >>> >>> If you want to request a feature or an improvement, also see this: >>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer >>> >>> >>> Geoserver-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/geoserver-users >>> >> >> >> -- >> Ian Turton >> _______________________________________________ >> Geoserver-users mailing list >> >> Please make sure you read the following two resources before posting to >> this list: >> - Earning your support instead of buying it, but Ian Turton: >> http://www.ianturton.com/talks/foss4g.html#/ >> - The GeoServer user list posting guidelines: >> http://geoserver.org/comm/userlist-guidelines.html >> >> If you want to request a feature or an improvement, also see this: >> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer >> >> >> Geoserver-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/geoserver-users >> > -- > -- > Jody Garnett >
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users