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 "Srinath Perera (JIRA)" <ji...@apache.org> on 2010/12/22 07:24:02 UTC

[jira] Resolved: (AXIS2-4776) roblem when hostname matches axis service URL path

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

Srinath Perera resolved AXIS2-4776.
-----------------------------------

    Resolution: Fixed

fixed this by checking not for service path but <servicepath>/ etc, this will fix the issue 

> roblem when hostname matches axis service URL path
> --------------------------------------------------
>
>                 Key: AXIS2-4776
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4776
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.5.1
>         Environment: Windows server 2008, axis2 1.5.1
>            Reporter: Charles Galpin
>            Assignee: Srinath Perera
>
> I changed my axis2 (1.5) service url to /data/MyService instead of
> /axis2/services/MyService by doing the following
> 1. deleted the default tomcat ROOT web service and renamed axis2 to ROOT
> 2. In web.xml I added
> <servlet-mapping>
> <servlet-name>AxisServlet</servlet-name>
> <url-pattern>/data/*</url-pattern>
> </servlet-mapping>
> 3. In axis2.xml I set the parameter
> <parameter name="servicePath">data</parameter>
> This works fine except if the hostname starts with "data". So the following
> works
> http://axis2.myservices.com/data/MyService?wsdl
> http://feeddata.myservices.com/data/MyService?wsdl
> but
> http://data.myservices.com/data/MyService?wsdl
> http://datafeed.myservices.com/data/MyService?wsdl
> fails with "Requested resource not found!" from axis and no errors in the
> logs.

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


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