You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Johan Andersson (JIRA)" <ji...@apache.org> on 2005/10/12 13:24:04 UTC

[jira] Created: (AXIS2-277) Axis2 broken in servlet 2.3 engines

Axis2 broken in servlet 2.3 engines
-----------------------------------

         Key: AXIS2-277
         URL: http://issues.apache.org/jira/browse/AXIS2-277
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug
    Versions: 0.92    
 Environment: Windows XP, Tomcat 4
    Reporter: Johan Andersson


Released version 0.92 of Axis2 does not run on servlet 2.3 engines.
Verified that 0.91 did not have this problem.

java.lang.NoSuchMethodError is thrown due to a call to javax.servlet.http.HttpServletResponse.setCharacterEncoding().

This error seems to occur when trying to execute any webservice request through the axis servlet which means no response is ever returned from the web services, thus breaking the entire engine (for calls throught the servlet).

Stacktrace:

java.lang.NoSuchMethodError: javax.servlet.http.HttpServletResponse.setCharacterEncoding(Ljava/lang/String;)V
	at org.apache.axis2.transport.http.ServletBasedOutTransportInfo.setCharacterEncoding(ServletBasedOutTransportInfo.java:33)
	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:134)
	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:182)
	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:210)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)







-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXIS2-277) Axis2 broken in servlet 2.3 engines

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-277?page=all ]
     
Davanum Srinivas resolved AXIS2-277:
------------------------------------

    Resolution: Fixed

Fixed by steve (http://marc.theaimsgroup.com/?l=axis-dev&m=113041922702991&w=2)

> Axis2 broken in servlet 2.3 engines
> -----------------------------------
>
>          Key: AXIS2-277
>          URL: http://issues.apache.org/jira/browse/AXIS2-277
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>     Versions: 0.92
>  Environment: Windows XP, Tomcat 4
>     Reporter: Johan Andersson

>
> Released version 0.92 of Axis2 does not run on servlet 2.3 engines.
> Verified that 0.91 did not have this problem.
> java.lang.NoSuchMethodError is thrown due to a call to javax.servlet.http.HttpServletResponse.setCharacterEncoding().
> This error seems to occur when trying to execute any webservice request through the axis servlet which means no response is ever returned from the web services, thus breaking the entire engine (for calls throught the servlet).
> Stacktrace:
> java.lang.NoSuchMethodError: javax.servlet.http.HttpServletResponse.setCharacterEncoding(Ljava/lang/String;)V
> 	at org.apache.axis2.transport.http.ServletBasedOutTransportInfo.setCharacterEncoding(ServletBasedOutTransportInfo.java:33)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:134)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:182)
> 	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:210)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira