You are viewing a plain text version of this content. The canonical link for it is here.
Posted to savan-dev@ws.apache.org by "Charles Galpin (JIRA)" <ji...@apache.org> on 2010/07/13 16:28:51 UTC

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

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


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

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889689#action_12889689 ] 

Deepal Jayasinghe commented on AXIS2-4776:
------------------------------------------

As I remember correct this is due to the way we process the URL, we get the URL string and try to find the index of data (in your case), and based on that we find the service name and operation name. So, I agree with you that it gives rise to some issues, but you have a workaround until we properly fix it.

Deepal

> 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


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

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889689#action_12889689 ] 

Deepal Jayasinghe commented on AXIS2-4776:
------------------------------------------

As I remember correct this is due to the way we process the URL, we get the URL string and try to find the index of data (in your case), and based on that we find the service name and operation name. So, I agree with you that it gives rise to some issues, but you have a workaround until we properly fix it.

Deepal

> 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


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

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889689#action_12889689 ] 

Deepal Jayasinghe commented on AXIS2-4776:
------------------------------------------

As I remember correct this is due to the way we process the URL, we get the URL string and try to find the index of data (in your case), and based on that we find the service name and operation name. So, I agree with you that it gives rise to some issues, but you have a workaround until we properly fix it.

Deepal

> 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


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

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889689#action_12889689 ] 

Deepal Jayasinghe commented on AXIS2-4776:
------------------------------------------

As I remember correct this is due to the way we process the URL, we get the URL string and try to find the index of data (in your case), and based on that we find the service name and operation name. So, I agree with you that it gives rise to some issues, but you have a workaround until we properly fix it.

Deepal

> 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


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

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889689#action_12889689 ] 

Deepal Jayasinghe commented on AXIS2-4776:
------------------------------------------

As I remember correct this is due to the way we process the URL, we get the URL string and try to find the index of data (in your case), and based on that we find the service name and operation name. So, I agree with you that it gives rise to some issues, but you have a workaround until we properly fix it.

Deepal

> 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