axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Galpin (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-4776) roblem when hostname matches axis service URL path
Date Tue, 13 Jul 2010 14:28:51 GMT
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


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


Mime
View raw message