axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-4516) AxisServlet error - <TRANSPORT> (e.g., http) is forbidden
Date Mon, 05 Oct 2009 18:30:31 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-4516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Veithen resolved AXIS2-4516.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6

This has been fixed by Amila a couple of hours ago (see r821686).

> AxisServlet error - <TRANSPORT> (e.g., http) is forbidden
> ---------------------------------------------------------
>
>                 Key: AXIS2-4516
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4516
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: nightly
>            Reporter: Denis
>             Fix For: 1.6
>
>
> 2009-10-05 20:16:32,828 [http-80-Processor23] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/axis2-test].[AxisServlet]
 - Servlet.service() for servlet AxisServlet threw exception
> javax.servlet.ServletException: http is forbidden
> 	at org.apache.axis2.transport.http.AxisServlet.preprocessRequest(AxisServlet.java:628)
> 	at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:246)
>                      ...
> The code:
>         TransportInDescription transportInDescription =
>                 req.isSecure()? this.axisConfiguration.getTransportIn(Constants.TRANSPORT_HTTP)
:
>                         this.axisConfiguration.getTransportIn(Constants.TRANSPORT_HTTPS);
> in method "AxisServlet#private void preprocessRequest(HttpServletRequest req) throws
ServletException {...}" should be replaced by code:
>         TransportInDescription transportInDescription =
>                 req.isSecure() ? this.axisConfiguration.getTransportIn(Constants.TRANSPORT_HTTPS)
:
>                         this.axisConfiguration.getTransportIn(Constants.TRANSPORT_HTTP);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message