tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfcl...@gmail.com>
Subject Re: svn commit: r1715414 - in /tomcat/trunk: java/org/apache/catalina/ java/org/apache/catalina/core/ java/org/apache/catalina/mapper/ java/org/apache/catalina/mbeans/ java/org/apache/catalina/storeconfig/ webapps/docs/
Date Sun, 22 Nov 2015 15:37:15 GMT
On 11/22/2015 01:25 PM, Mark Thomas wrote:
> On 22 November 2015 10:40:07 GMT+00:00, jean-frederic clere <jfclere@gmail.com>
wrote:
>> On 11/20/2015 09:28 PM, markt@apache.org wrote:
>>> -    public void setContainer(Container container) {
>>> -        setContainer((Engine) container);
>>
>>
>> Hm does that explains why I get:
>> +++
>> 22-Nov-2015 10:34:43.641 SEVERE [main]
>> org.apache.tomcat.util.digester.Digester.endElement End event threw
>> exception
>> java.lang.NoSuchMethodException:
>> org.apache.catalina.core.StandardService setContainer
>>        at
>> org.apache.tomcat.util.IntrospectionUtils.callMethod1(IntrospectionUtils.java:360)
>>        at
>> org.apache.tomcat.util.digester.SetNextRule.end(SetNextRule.java:145)
>> +++
>>
>> Cheers
>>
>> Jean-Frederic
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: dev-help@tomcat.apache.org
> 
> Almost certainly. How are you triggering that? Just a normal start?

Yes just a normal start. I have hacked it out by:
+++
[jfclere@jfcpc tc_trunk]$ svn diff .
Index: java/org/apache/catalina/core/StandardService.java
===================================================================
--- java/org/apache/catalina/core/StandardService.java	(revision 1715613)
+++ java/org/apache/catalina/core/StandardService.java	(working copy)
@@ -119,6 +119,10 @@
     }


+    public void setContainer(Container container) {
+        setContainer((Engine) container);
+    }
+
     @Override
     public void setContainer(Engine engine) {
         Engine oldEngine = this.engine;
+++

Cheers

Jean-Frederic

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message