You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Andrew Borley (JIRA)" <ji...@apache.org> on 2006/07/21 11:37:13 UTC

[jira] Created: (AXIS2C-209) Cannot invoke a service from within a service

Cannot invoke a service from within a service
---------------------------------------------

                 Key: AXIS2C-209
                 URL: http://issues.apache.org/jira/browse/AXIS2C-209
             Project: Axis2-C
          Issue Type: Bug
    Affects Versions: 0.92
            Reporter: Andrew Borley


Using Axis2C 0.92 and trying to call a service on another server from within a service. 

The call to the final service works correctly but then the intermediary service fails when Axis2C tries to return the response to the original client. This happens after my skeleton invoke method returns.

The problem can be fixed by commenting out the AXIS2_SVC_CLIENT_FREE call in the intermediary service, but then I have memory leaks.

It would be good to have a sample that shows this operation, as it seems a likely user-scenario to me.

-- 
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

        

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


[jira] Reopened: (AXIS2C-209) Cannot invoke a service from within a service

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-209?page=all ]

Dinesh Premalal reopened AXIS2C-209:
------------------------------------

      Assignee: Dinesh Premalal
             

> Cannot invoke a service from within a service
> ---------------------------------------------
>
>                 Key: AXIS2C-209
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-209
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: 0.92
>            Reporter: Andrew Borley
>         Assigned To: Dinesh Premalal
>            Priority: Critical
>             Fix For: 0.95
>
>         Attachments: test_service.tar.gz
>
>
> Using Axis2C 0.92 and trying to call a service on another server from within a service. 
> The call to the final service works correctly but then the intermediary service fails when Axis2C tries to return the response to the original client. This happens after my skeleton invoke method returns.
> The problem can be fixed by commenting out the AXIS2_SVC_CLIENT_FREE call in the intermediary service, but then I have memory leaks.
> It would be good to have a sample that shows this operation, as it seems a likely user-scenario to me.

-- 
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

        

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


[jira] Commented: (AXIS2C-209) Cannot invoke a service from within a service

Posted by "Andrew Borley (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2C-209?page=comments#action_12436315 ] 
            
Andrew Borley commented on AXIS2C-209:
--------------------------------------

We hit this issue in Apache Tuscany (see TUSCANY-536) and currently have to leave a memory leak in our code.

> Cannot invoke a service from within a service
> ---------------------------------------------
>
>                 Key: AXIS2C-209
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-209
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: 0.92
>            Reporter: Andrew Borley
>            Priority: Critical
>             Fix For: 0.94
>
>
> Using Axis2C 0.92 and trying to call a service on another server from within a service. 
> The call to the final service works correctly but then the intermediary service fails when Axis2C tries to return the response to the original client. This happens after my skeleton invoke method returns.
> The problem can be fixed by commenting out the AXIS2_SVC_CLIENT_FREE call in the intermediary service, but then I have memory leaks.
> It would be good to have a sample that shows this operation, as it seems a likely user-scenario to me.

-- 
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

        

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


[jira] Updated: (AXIS2C-209) Cannot invoke a service from within a service

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-209?page=all ]

Dinesh Premalal updated AXIS2C-209:
-----------------------------------

    Attachment: leak.txt

> Cannot invoke a service from within a service
> ---------------------------------------------
>
>                 Key: AXIS2C-209
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-209
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: 0.92
>            Reporter: Andrew Borley
>         Assigned To: Dinesh Premalal
>            Priority: Critical
>             Fix For: 0.96
>
>         Attachments: leak.txt, test_service.tar.gz
>
>
> Using Axis2C 0.92 and trying to call a service on another server from within a service. 
> The call to the final service works correctly but then the intermediary service fails when Axis2C tries to return the response to the original client. This happens after my skeleton invoke method returns.
> The problem can be fixed by commenting out the AXIS2_SVC_CLIENT_FREE call in the intermediary service, but then I have memory leaks.
> It would be good to have a sample that shows this operation, as it seems a likely user-scenario to me.

-- 
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

        

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


[jira] Updated: (AXIS2C-209) Cannot invoke a service from within a service

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-209?page=all ]

Dinesh Premalal updated AXIS2C-209:
-----------------------------------

    Attachment: error.txt

> Cannot invoke a service from within a service
> ---------------------------------------------
>
>                 Key: AXIS2C-209
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-209
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: 0.92
>            Reporter: Andrew Borley
>         Assigned To: Dinesh Premalal
>            Priority: Critical
>             Fix For: 0.96
>
>         Attachments: error.txt, leak.txt, test_service.tar.gz
>
>
> Using Axis2C 0.92 and trying to call a service on another server from within a service. 
> The call to the final service works correctly but then the intermediary service fails when Axis2C tries to return the response to the original client. This happens after my skeleton invoke method returns.
> The problem can be fixed by commenting out the AXIS2_SVC_CLIENT_FREE call in the intermediary service, but then I have memory leaks.
> It would be good to have a sample that shows this operation, as it seems a likely user-scenario to me.

-- 
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

        

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


[jira] Resolved: (AXIS2C-209) Cannot invoke a service from within a service

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-209?page=all ]

Dinesh Premalal resolved AXIS2C-209.
------------------------------------

    Fix Version/s: 0.95
                       (was: 0.94)
       Resolution: Fixed

Hope provided sample meet your requirement. Ill mark this jira as resolved. Please reopen if it is not meet your requirement.

> Cannot invoke a service from within a service
> ---------------------------------------------
>
>                 Key: AXIS2C-209
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-209
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: 0.92
>            Reporter: Andrew Borley
>            Priority: Critical
>             Fix For: 0.95
>
>         Attachments: test_service.tar.gz
>
>
> Using Axis2C 0.92 and trying to call a service on another server from within a service. 
> The call to the final service works correctly but then the intermediary service fails when Axis2C tries to return the response to the original client. This happens after my skeleton invoke method returns.
> The problem can be fixed by commenting out the AXIS2_SVC_CLIENT_FREE call in the intermediary service, but then I have memory leaks.
> It would be good to have a sample that shows this operation, as it seems a likely user-scenario to me.

-- 
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

        

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


[jira] Updated: (AXIS2C-209) Cannot invoke a service from within a service

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-209?page=all ]

Dinesh Premalal updated AXIS2C-209:
-----------------------------------

    Fix Version/s: 0.96
                       (was: 0.95)

> Cannot invoke a service from within a service
> ---------------------------------------------
>
>                 Key: AXIS2C-209
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-209
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: 0.92
>            Reporter: Andrew Borley
>         Assigned To: Dinesh Premalal
>            Priority: Critical
>             Fix For: 0.96
>
>         Attachments: test_service.tar.gz
>
>
> Using Axis2C 0.92 and trying to call a service on another server from within a service. 
> The call to the final service works correctly but then the intermediary service fails when Axis2C tries to return the response to the original client. This happens after my skeleton invoke method returns.
> The problem can be fixed by commenting out the AXIS2_SVC_CLIENT_FREE call in the intermediary service, but then I have memory leaks.
> It would be good to have a sample that shows this operation, as it seems a likely user-scenario to me.

-- 
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

        

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


[jira] Commented: (AXIS2C-209) Cannot invoke a service from within a service

Posted by "Andrew Borley (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2C-209?page=comments#action_12443269 ] 
            
Andrew Borley commented on AXIS2C-209:
--------------------------------------

On further investigation I've found that this is a Windows-only failure. 
The service attached runs fine on Linux 0.94 but fails on Windows 0.94 and Windows pre-0.95 trunk.

> Cannot invoke a service from within a service
> ---------------------------------------------
>
>                 Key: AXIS2C-209
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-209
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: 0.92
>            Reporter: Andrew Borley
>            Priority: Critical
>             Fix For: 0.95
>
>         Attachments: test_service.tar.gz
>
>
> Using Axis2C 0.92 and trying to call a service on another server from within a service. 
> The call to the final service works correctly but then the intermediary service fails when Axis2C tries to return the response to the original client. This happens after my skeleton invoke method returns.
> The problem can be fixed by commenting out the AXIS2_SVC_CLIENT_FREE call in the intermediary service, but then I have memory leaks.
> It would be good to have a sample that shows this operation, as it seems a likely user-scenario to me.

-- 
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

        

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


[jira] Updated: (AXIS2C-209) Cannot invoke a service from within a service

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-209?page=all ]

Dinesh Premalal updated AXIS2C-209:
-----------------------------------

    Attachment: test_service.09_12_2006.tar.gz

I woulnt' be able to fix this without the help from Samisa. I should thank Samisa for the help given

> Cannot invoke a service from within a service
> ---------------------------------------------
>
>                 Key: AXIS2C-209
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-209
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: 0.92
>            Reporter: Andrew Borley
>         Assigned To: Dinesh Premalal
>            Priority: Critical
>             Fix For: 0.96
>
>         Attachments: error.txt, leak.txt, test_service.09_12_2006.tar.gz, test_service.tar.gz
>
>
> Using Axis2C 0.92 and trying to call a service on another server from within a service. 
> The call to the final service works correctly but then the intermediary service fails when Axis2C tries to return the response to the original client. This happens after my skeleton invoke method returns.
> The problem can be fixed by commenting out the AXIS2_SVC_CLIENT_FREE call in the intermediary service, but then I have memory leaks.
> It would be good to have a sample that shows this operation, as it seems a likely user-scenario to me.

-- 
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

        

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


[jira] Resolved: (AXIS2C-209) Cannot invoke a service from within a service

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-209?page=all ]

Dinesh Premalal resolved AXIS2C-209.
------------------------------------

    Resolution: Fixed

I checked on windows machine , it works on windows well. 

> Cannot invoke a service from within a service
> ---------------------------------------------
>
>                 Key: AXIS2C-209
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-209
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: 0.92
>            Reporter: Andrew Borley
>         Assigned To: Dinesh Premalal
>            Priority: Critical
>             Fix For: 0.96
>
>         Attachments: error.txt, leak.txt, test_service.09_12_2006.tar.gz, test_service.tar.gz
>
>
> Using Axis2C 0.92 and trying to call a service on another server from within a service. 
> The call to the final service works correctly but then the intermediary service fails when Axis2C tries to return the response to the original client. This happens after my skeleton invoke method returns.
> The problem can be fixed by commenting out the AXIS2_SVC_CLIENT_FREE call in the intermediary service, but then I have memory leaks.
> It would be good to have a sample that shows this operation, as it seems a likely user-scenario to me.

-- 
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

        

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


[jira] Updated: (AXIS2C-209) Cannot invoke a service from within a service

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-209?page=all ]

Dinesh Premalal updated AXIS2C-209:
-----------------------------------

    Attachment: test_service.tar.gz

attached sample service for this scenario...
      when client invokes the service, it calls math ( which is a sample service in Axis2c) service and send that (math) response to client. AXIS2_SVC_CLIENT_FREE worked fine with me. 

 BTW there are some memory leaks in Axis2c , we are in a process of fixing them.

> Cannot invoke a service from within a service
> ---------------------------------------------
>
>                 Key: AXIS2C-209
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-209
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: 0.92
>            Reporter: Andrew Borley
>            Priority: Critical
>             Fix For: 0.94
>
>         Attachments: test_service.tar.gz
>
>
> Using Axis2C 0.92 and trying to call a service on another server from within a service. 
> The call to the final service works correctly but then the intermediary service fails when Axis2C tries to return the response to the original client. This happens after my skeleton invoke method returns.
> The problem can be fixed by commenting out the AXIS2_SVC_CLIENT_FREE call in the intermediary service, but then I have memory leaks.
> It would be good to have a sample that shows this operation, as it seems a likely user-scenario to me.

-- 
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

        

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


[jira] Commented: (AXIS2C-209) Cannot invoke a service from within a service

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2C-209?page=comments#action_12457069 ] 
            
Dinesh Premalal commented on AXIS2C-209:
----------------------------------------

Since recent memory leak fixes in the code base, this services crashed as in windows. An we were able to find serverl bugs in the code related to this scenario.

1. when we going to access intermediary service, need to say explicitly      AXIS2_OPTIONS_SET_XML_PARSER_RESET(options, env, AXIS2_FALSE);
else when we call svc_client_free in intermediary service it resets parser. 

2.When we got respose from the intermediary service need to detach the return node from the tree.
Before doing that we need to make sure tree is completely build

if (ret_node)
  {
          document = AXIOM_NODE_GET_DOCUMENT (ret_node, env);
          if (document)
                  AXIOM_DOCUMENT_BUILD_ALL (document, env);
          AXIOM_NODE_DETACH (ret_node, env);
  }

But I'm afraid I didn't test it in windows machine. Ill do so before close this jira.  Will attach new service here with


> Cannot invoke a service from within a service
> ---------------------------------------------
>
>                 Key: AXIS2C-209
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-209
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: 0.92
>            Reporter: Andrew Borley
>         Assigned To: Dinesh Premalal
>            Priority: Critical
>             Fix For: 0.96
>
>         Attachments: error.txt, leak.txt, test_service.tar.gz
>
>
> Using Axis2C 0.92 and trying to call a service on another server from within a service. 
> The call to the final service works correctly but then the intermediary service fails when Axis2C tries to return the response to the original client. This happens after my skeleton invoke method returns.
> The problem can be fixed by commenting out the AXIS2_SVC_CLIENT_FREE call in the intermediary service, but then I have memory leaks.
> It would be good to have a sample that shows this operation, as it seems a likely user-scenario to me.

-- 
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

        

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


[jira] Updated: (AXIS2C-209) Cannot invoke a service from within a service

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-209?page=all ]

Samisa Abeysinghe updated AXIS2C-209:
-------------------------------------

    Fix Version/s: 1.0.0
         Priority: Critical  (was: Major)

> Cannot invoke a service from within a service
> ---------------------------------------------
>
>                 Key: AXIS2C-209
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-209
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: 0.92
>            Reporter: Andrew Borley
>            Priority: Critical
>             Fix For: 1.0.0
>
>
> Using Axis2C 0.92 and trying to call a service on another server from within a service. 
> The call to the final service works correctly but then the intermediary service fails when Axis2C tries to return the response to the original client. This happens after my skeleton invoke method returns.
> The problem can be fixed by commenting out the AXIS2_SVC_CLIENT_FREE call in the intermediary service, but then I have memory leaks.
> It would be good to have a sample that shows this operation, as it seems a likely user-scenario to me.

-- 
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

        

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


[jira] Commented: (AXIS2C-209) Cannot invoke a service from within a service

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2C-209?page=comments#action_12440817 ] 
            
Dinesh Premalal commented on AXIS2C-209:
----------------------------------------

Could sombody please let us know the idea about provided sample? Does it meet your requirement? else please let us know.

> Cannot invoke a service from within a service
> ---------------------------------------------
>
>                 Key: AXIS2C-209
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-209
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: 0.92
>            Reporter: Andrew Borley
>            Priority: Critical
>             Fix For: 0.94
>
>         Attachments: test_service.tar.gz
>
>
> Using Axis2C 0.92 and trying to call a service on another server from within a service. 
> The call to the final service works correctly but then the intermediary service fails when Axis2C tries to return the response to the original client. This happens after my skeleton invoke method returns.
> The problem can be fixed by commenting out the AXIS2_SVC_CLIENT_FREE call in the intermediary service, but then I have memory leaks.
> It would be good to have a sample that shows this operation, as it seems a likely user-scenario to me.

-- 
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

        

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