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

Reply via email to