You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Mark Volkmann <vo...@charter.net> on 2002/11/16 03:49:54 UTC

NoSuchMethodError in HTTPSender!

RE: Interim drop of 11-13-2002I'm hitting this problem too!  I've changed the subject because I think it's being overlooked since many people are not using the interim drops. This certainly needs to be fixed before the 1.01 version comes out!
  ----- Original Message ----- 
  From: Sapozhnikov, Michael 
  To: 'axis-user@xml.apache.org' 
  Sent: Friday, November 15, 2002 1:23 PM
  Subject: RE: Interim drop of 11-13-2002


  Hi, 
  I have the same problem with 11/14 when I run my client. 
  What I could see here that HTTPSender.writeToSocket uses StringBuffer.append method which expects as a parameter StringBuffer argument and this is the new method added in JDK 1.4, JDK 1.3 does not have this method, the closest match has a String argument, not StringBuffer.

  I looked in the code, it happens on the line 
   if (null != otherHeaders) 
          header.append(otherHeaders); //Add other headers to the end 

  This code is not new, but this didn't happen before... Why? May be otherHeaders field was null before? 
  I don't want to go to the JDK 1.4 just for this one reason. 

  Any word from developers will be greatly appreciated. 

  Thanks, 
  Michael 

  -----Original Message----- 
  From: Chris Forbis [mailto:chris.forbis@veritas.com] 
  Sent: Friday, November 15, 2002 12:43 PM 
  To: 'axis-user@xml.apache.org' 
  Subject: RE: Interim drop of 11-13-2002 



  The 11/12 and 11/13 are doing this.  I have not tested any others. 

  -----Original Message----- 
  From: Zhang, Frank [mailto:frank_zhang@merck.com] 
  Sent: Wednesday, November 13, 2002 2:44 PM 
  To: 'axis-user@xml.apache.org' 
  Subject: Interim drop of 11-13-2002 

  Hi All: 
  I just picked up xml-axis.zip of 11-13-2002 and encountered the followings 
  when doing deployment of a service. Any ideas? Thanks! 
  Frank 



  - Processing file deploy.wsdd 
  Exception in thread "main" java.lang.NoSuchMethodError 
          at 
  org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.ja 
  va:402) 
          at 
  org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:122) 

          at 
  org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg 
  y.java:71) 
          at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156) 
          at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126) 
          at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182) 
          at org.apache.axis.client.Call.invokeEngine(Call.java:2376) 
          at org.apache.axis.client.Call.invoke(Call.java:2365) 
          at org.apache.axis.client.Call.invoke(Call.java:1490) 
          at org.apache.axis.client.AdminClient.process(AdminClient.java:319) 
          at org.apache.axis.client.AdminClient.process(AdminClient.java:298) 
          at org.apache.axis.client.AdminClient.process(AdminClient.java:305) 
          at org.apache.axis.client.AdminClient.process(AdminClient.java:256) 
          at org.apache.axis.client.AdminClient.main(AdminClient.java:341) 



  ---------------------------------------------------------------------------- 
  -- 
  Notice:  This e-mail message, together with any attachments, contains 
  information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that 
  may be confidential, proprietary copyrighted and/or legally privileged, and 
  is intended solely for the use of the individual or entity named in this 
  message.  If you are not the intended recipient, and have received this 
  message in error, please immediately return this by e-mail and then delete 
  it. 

  ============================================================================ 
  == 


Re: NoSuchMethodError in HTTPSender!

Posted by Steve Loughran <st...@iseran.com>.
File this as a bugrep. Gump has moved to 1.4.1 for the nightly builds, so
some of these things arent being caught any more.

----- Original Message -----
From: "Mark Volkmann" <vo...@charter.net>
To: <ax...@xml.apache.org>
Sent: Friday, November 15, 2002 18:49
Subject: NoSuchMethodError in HTTPSender!


RE: Interim drop of 11-13-2002I'm hitting this problem too!  I've changed
the subject because I think it's being overlooked since many people are not
using the interim drops. This certainly needs to be fixed before the 1.01
version comes out!
  ----- Original Message -----
  From: Sapozhnikov, Michael
  To: 'axis-user@xml.apache.org'
  Sent: Friday, November 15, 2002 1:23 PM
  Subject: RE: Interim drop of 11-13-2002


  Hi,
  I have the same problem with 11/14 when I run my client.
  What I could see here that HTTPSender.writeToSocket uses
StringBuffer.append method which expects as a parameter StringBuffer
argument and this is the new method added in JDK 1.4, JDK 1.3 does not have
this method, the closest match has a String argument, not StringBuffer.

  I looked in the code, it happens on the line
   if (null != otherHeaders)
          header.append(otherHeaders); //Add other headers to the end

  This code is not new, but this didn't happen before... Why? May be
otherHeaders field was null before?
  I don't want to go to the JDK 1.4 just for this one reason.

  Any word from developers will be greatly appreciated.

  Thanks,
  Michael