Hi Murray! Tomcat 10 onwards support the jakarta namespace instead of javax (the one that JSPWiki compiles to), so JSPWiki cannot run on it without modifications. There's https://issues.apache.org/jira/projects/JSPWIKI/issues/JSPWIKI-1170 to track that, but so far we haven't done anything in that direction.
IIRC, Tomcat offers a migration tool, to seamlessly migrate from one namespace to the other, but I haven't tried it. Also, IIRC, you can place your javax war application on some special $TOMCAT folder (webapp-something) and it also translates it to a jakarta-based application, but I haven't tried it. We should document that at jspwiki-wiki.a.org, as of today tomcat 9 or equivalent is a hard requirement to run JSPWiki. HTH, juan pablo El dom, 21 may 2023, 14:14, Murray Altheim <murra...@altheim.com> escribió: > Here's the relevant log file: > > 21-May-2023 19:25:34.754 INFO [main] > org.apache.catalina.core.ApplicationContext.log ContextListener: > contextInitialized() > 21-May-2023 19:25:34.754 INFO [main] > org.apache.catalina.core.ApplicationContext.log SessionListener: > contextInitialized() > 21-May-2023 19:25:34.755 INFO [main] > org.apache.catalina.core.ApplicationContext.log ContextListener: > attributeAdded('StockTicker', 'async.Stockticker@2baa48e3') > 21-May-2023 19:26:45.627 SEVERE [Catalina-utility-2] > org.apache.catalina.core.StandardContext.listenerStart Error > configuring application listener of class > [org.apache.wiki.auth.SessionMonitor] > java.lang.NoClassDefFoundError: javax/servlet/http/HttpSessionListener > at java.base/java.lang.ClassLoader.defineClass1(Native Method) > at > java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016) > at > java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) > at > org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2487) > > > On 5/21/23 19:36, Murray Altheim wrote: > > Hi, > > > > Sorry for the late reply, but here's my report (no 'yes' vote, sorry, > see below). > > > > I'm running Ubuntu 23.04 on a Dell XPS 9315. I was able to successfully > build > > JSPWiki 2.12.0 with no issues, using: > > > > Picked up JAVA_TOOL_OPTIONS: -Xms512m -Xmx8192m > > java version "11.0.11" 2021-04-20 LTS > > Java(TM) SE Runtime Environment 18.9 (build 11.0.11+9-LTS-194) > > Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.11+9-LTS-194, > mixed mode) > > > > I deployed the war file to Apache Tomcat/10.1.8 and it failed to run, > > > > FAIL - Application at context path [/JSPWiki] could not be started > > > > with very little helpful in the logs: > > > > 21-May-2023 19:26:04.308 INFO [http-nio-7070-exec-9] > org.apache.catalina.startup.HostConfig.undeploy Undeploying context > > [/ws] > > 21-May-2023 19:26:44.802 INFO [Catalina-utility-2] > org.apache.catalina.startup.HostConfig.deployWAR Deploying web > > application archive [/opt/apache-tomcat-10.1.8/webapps/JSPW > > 21-May-2023 19:26:45.625 INFO [Catalina-utility-2] > org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was > > scanned for TLDs yet contained no TLDs. Enable debug lo > > 21-May-2023 19:26:45.628 SEVERE [Catalina-utility-2] > org.apache.catalina.core.StandardContext.startInternal One or more > > listeners failed to start. Full details will be found21-May-2023 > 19:26:45.629 SEVERE [Catalina-utility-2] > > org.apache.catalina.core.StandardContext.startInternal Context > [/JSPWiki] startup failed due to previous errors > > 21-May-2023 19:26:45.633 INFO [Catalina-utility-2] > org.apache.catalina.startup.HostConfig.deployWAR Deployment of web > > application archive [/opt/apache-tomcat-10.1.8/webapps/ > > > > If I'm running the wrong version of Java or Tomcat or there's something > obvious, > > I'm happy to fix that within the next 12 hours, but for now I can't vote > yes. > > > > Cheers, > > > > Murray > > > > On 5/21/23 15:27, Juan Pablo Santos Rodríguez wrote: > >> Hi, > >> > >> This is a gently reminder for our PMC members: we still need one binding > >> vote to be able to proceed with the release. > >> > >> > >> Thanks in advance! > >> > >> El jue, 18 may 2023, 22:01, Arturo Bernal <arturobern...@yahoo.com > .invalid> > >> escribió: > >> > >>> > >>> [x] +1 Release these artifacts > >>> > >>> Build passed with no issues, running `mvn clean test install site` > >>> Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)Maven > home: > >>> /opt/apache-maven-3.8.1Java version: 17.0.2, vendor: Oracle > Corporation, > >>> runtime: > >>> /Library/Java/JavaVirtualMachines/jdk-17.0.2.jdk/Contents/HomeDefault > >>> locale: en_US, platform encoding: UTF-8OS name: "mac os x", version: > >>> "13.3.1", arch: "x86_64", family: "mac" > >>> > >>> > >>> Checked signatures of dist area files, found no issues. > >>> Additionally, the default goal of Maven is functioning as expected. > >>> > >>> > >>> > >>> On Tuesday, May 16, 2023 at 11:07:29 AM GMT+2, Harry Metske < > >>> harry.met...@gmail.com> wrote: > >>> > >>> +1 > >>> > >>> Looking good! > >>> > >>> cheers, > >>> Harry > >>> > >>> > >>> On Mon, 15 May 2023 at 12:13, Juan Pablo Santos Rodríguez < > >>> juanpa...@apache.org> wrote: > >>> > >>>> This is a release vote for Apache JSPWiki, version 2.12.0. The vote > will > >>> be > >>>> open for at least 72 hours from now. > >>>> > >>>> You can see a curated changelog at > >>>> https://jspwiki-wiki.apache.org/Wiki.jsp?page=NewIn2.12 > >>>> > >>>> Note that we are voting upon the source (tag), binaries are provided > for > >>>> convenience. > >>>> > >>>> Everybody is encouraged to vote. > >>>> > >>>> Source and binary files: > >>>> https://dist.apache.org/repos/dist/dev/jspwiki/2.12.0-RC2 > >>>> > >>>> Nexus staging repo: https://repository.apache.org/ > >>>> < > >>> > https://repository.apache.org/content/repositories/orgapachejspwiki-1030> > >>>> content/repositories/ > >>>> < > >>> > https://repository.apache.org/content/repositories/orgapachejspwiki-1030> > >>>> orgapachejspwiki-1030 > >>>> < > >>> > https://repository.apache.org/content/repositories/orgapachejspwiki-1030> > >>>> > >>>> The tag to be voted upon: > >>>> https://github.com/apache/jspwiki/tree/2.12.0-RC2 > >>>> > >>>> JSPWiki's KEYS file containing PGP keys we use to sign the release: > >>>> https://www.apache.org/dist/jspwiki/KEYS > >>>> > >>>> *** Please download, test and vote: > >>>> > >>>> [ ] +1 Approve the release > >>>> [ ] 0 Don't mind > >>>> [ ] -1 Disapprove the release (please provide specific comments) > >>>> > >>> > >> > > > > -- > > ........................................................................... > Murray Altheim <murray18 at altheim dot com> = = === > http://www.altheim.com/murray/ === > === > = = > === > In the evening > The rice leaves in the garden > Rustle in the autumn wind > That blows through my reed hut. > -- Minamoto no Tsunenobu > >