Re: tomcat 9.0.119 + jsvc

Mark Thomas <[email protected]> Tue, 30 Jun 2026 10:18:42 +0100
Newsgroups gmane.comp.jakarta.tomcat.user
Message-ID <[email protected]>
On 30/06/2026 10:10, Rémy Maucherat wrote:
> On Tue, Jun 30, 2026 at 10:41 AM <[email protected]> wrote:
>>
>> Hi there,
>>
>> I am upgrading from tomcat 9.0.118 to 9.0.119 and I ran into a strange
>> problem. The DeamonLoader no longer finds the Bootstrap constructor:
>>
>> Daemon loading...
>> java.lang.NoSuchMethodException: org.apache.catalina.startup.Bootstrap.<init>()
>>          at java.base/java.lang.Class.getConstructor0(Class.java:3763)
>>          at java.base/java.lang.Class.getConstructor(Class.java:2444)
>>          at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:210)
>> Cannot load daemon
>> java_load failed
>>
>> My upgrade basically consists of copying over server.xml, web.xml,
>> tomcat-users.xml, setenv.sh, webapps and logs. I used jsvc 1.6.1
>> (the one from 9.0.119 core).
>> Starting without jsvc (albeit not on port 80) works just fine.
>>
>> What could be the problem here?
> 
> This is https://bz.apache.org/bugzilla/show_bug.cgi?id=70127
> So unfortunately, it is a regression in that release.

It is an ugly work-around but you should be able to copy bootstrap.jar 
from 9.0.118 to 9.0.119 to fix this.

Mark