You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Phillip Rhodes <mo...@gmail.com> on 2025/04/27 18:16:53 UTC

Roller on Tomcat 10 question

Team:

I am setting up a new Roller installation and had grabbed Tomcat 10,
"just because" thinking it was "new enough" while not being too
cutting edge. Unfortunately my Roller fails to start due to a
"NoClassDefFoundError: javax/servlet/ServletContextListener" error.

That stands to reason, as IIRC, Tomcat 10 was when the change to the
jakarta.* packages happened. My question then is, is there any plan to
add support for Tomcat 10+ in Roller? If not currently, I'd probably
be willing to volunteer to help make that happen, but there's an
interesting question around whether or not to try and continue to
support "prior to 10" versions of Tomcat AND Tomcat 10+, or if it
would be a clean break.


Phil
~~~
This message optimized for indexing by NSA PRISM

Re: Roller on Tomcat 10 question

Posted by Michael Bien <mb...@gmail.com>.
Hi Phil,

struts likely would have to be updated first before attempting the namespace switch.

https://github.com/apache/roller/blob/395cfa30a7b274f8540424d11404c3e7433243f8/app/pom.xml#L61

The next point release (.30) has some breaking changes, so it would be good to stabilize roller on latest struts 2.5.x first.

https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=199539301#VersionNotes2.5.30-InternalChanges


Contributions are always welcome of course - would be great to keep roller up to date!

best regards,
michael


On 4/27/25 20:16, Phillip Rhodes wrote:
> Team:
>
> I am setting up a new Roller installation and had grabbed Tomcat 10,
> "just because" thinking it was "new enough" while not being too
> cutting edge. Unfortunately my Roller fails to start due to a
> "NoClassDefFoundError: javax/servlet/ServletContextListener" error.
>
> That stands to reason, as IIRC, Tomcat 10 was when the change to the
> jakarta.* packages happened. My question then is, is there any plan to
> add support for Tomcat 10+ in Roller? If not currently, I'd probably
> be willing to volunteer to help make that happen, but there's an
> interesting question around whether or not to try and continue to
> support "prior to 10" versions of Tomcat AND Tomcat 10+, or if it
> would be a clean break.
>
>
> Phil
> ~~~
> This message optimized for indexing by NSA PRISM



Re: Roller on Tomcat 10 question

Posted by Phillip Rhodes <mo...@gmail.com>.
OK. I went ahead and switched to Tomcat 9 for now so I could get my
site up and running (https://www.philliprhodes.name/roller if anybody
wants to follow along). I'll see if I can find some time to start
poking at what it would take to make things work on Tomcat 10+. No
promises, but if I can come up with the cycles I may at least be able
to take a stab at it.


Phil


On Tue, Apr 29, 2025 at 12:13 PM Dave <sn...@gmail.com> wrote:
>
> Hi Phil,
>
> It's been a while!
>
> We have no plans to do this work at this time, but I like the idea and
> would support it and act as release manager to make it happen.
>
> I think the best approach would be to call it Roller 7 since it's a major
> change.
>
> Thanks,
> Dave
>
>
> On Sun, Apr 27, 2025 at 2:17 PM Phillip Rhodes <mo...@gmail.com>
> wrote:
>
> > Team:
> >
> > I am setting up a new Roller installation and had grabbed Tomcat 10,
> > "just because" thinking it was "new enough" while not being too
> > cutting edge. Unfortunately my Roller fails to start due to a
> > "NoClassDefFoundError: javax/servlet/ServletContextListener" error.
> >
> > That stands to reason, as IIRC, Tomcat 10 was when the change to the
> > jakarta.* packages happened. My question then is, is there any plan to
> > add support for Tomcat 10+ in Roller? If not currently, I'd probably
> > be willing to volunteer to help make that happen, but there's an
> > interesting question around whether or not to try and continue to
> > support "prior to 10" versions of Tomcat AND Tomcat 10+, or if it
> > would be a clean break.
> >
> >
> > Phil
> > ~~~
> > This message optimized for indexing by NSA PRISM
> >

Re: Roller on Tomcat 10 question

Posted by Dave <sn...@gmail.com>.
Hi Phil,

It's been a while!

We have no plans to do this work at this time, but I like the idea and
would support it and act as release manager to make it happen.

I think the best approach would be to call it Roller 7 since it's a major
change.

Thanks,
Dave


On Sun, Apr 27, 2025 at 2:17 PM Phillip Rhodes <mo...@gmail.com>
wrote:

> Team:
>
> I am setting up a new Roller installation and had grabbed Tomcat 10,
> "just because" thinking it was "new enough" while not being too
> cutting edge. Unfortunately my Roller fails to start due to a
> "NoClassDefFoundError: javax/servlet/ServletContextListener" error.
>
> That stands to reason, as IIRC, Tomcat 10 was when the change to the
> jakarta.* packages happened. My question then is, is there any plan to
> add support for Tomcat 10+ in Roller? If not currently, I'd probably
> be willing to volunteer to help make that happen, but there's an
> interesting question around whether or not to try and continue to
> support "prior to 10" versions of Tomcat AND Tomcat 10+, or if it
> would be a clean break.
>
>
> Phil
> ~~~
> This message optimized for indexing by NSA PRISM
>