You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/10/15 22:49:22 UTC

DO NOT REPLY [Bug 31737] New: - method call setSource does not match the actual signature in MsgContext.setSource()

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31737>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31737

method call setSource does not match the actual signature in MsgContext.setSource()

           Summary: method call setSource does not match the actual
                    signature in MsgContext.setSource()
           Product: Tomcat 5
           Version: 5.0.27
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Connector:AJP
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: suhtim@aol.com


ChannelSocket.java has

Public class ChannelSocket extends JkHandler
....
    MsgContext ep = new MsgContext()
    ep.setSource(this);

this is fine when

MsgContext.java (5.0.19)

   public final void setSource(JkHandler ch)

however you get NoSuchMethod error when

MsgContext.java (5.0.27)

   public final void setSource(JkChannel ch) 


---- error output ----

Oct 15, 2004 4:43:46 PM
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run
SEVERE: Caught exception (java.lang.NoSuchMethodError:
org.apache.jk.core.MsgContext.setSource(Lorg/apache/jk/core/JkHandler;)V)
executing org.apache.jk.common.SocketAcceptor@1c8ef56, terminating thread

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