axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damitha Kumarage (JIRA)" <>
Subject [jira] Commented: (AXIS2C-624) module handlers are invoked for service even when module is not engaged for the serivce
Date Mon, 30 Jul 2007 05:54:53 GMT


Damitha Kumarage commented on AXIS2C-624:

The problem is that phases are shared between operations and owner of phase is phases_info.
So if I refer to the example I mentioned in my previous comment when service X is loaded if
handler H is added to the Module M specifc phase, then when service Y is loaded since the
same phase is used the the previously added H handler is also availble for this service operation
To avoid this I make the operation the owner of the phases and avoid reusing the phases.
This is done by following change

            phase = axutil_hash_get(phases_info->op_in_phases, phase_name,
                phase = axis2_phase_create(env, phase_name);
                axutil_hash_set(phases_info->op_in_phases, phase_name,
                    AXIS2_HASH_KEY_STRING, phase);
            status = axutil_array_list_add(op_in_phases, env, phase);
           phase = axis2_phase_create(env, phase_name);
            status = axutil_array_list_add(op_in_phases, env, phase);

I'll commit this code if no side effects are reported

> module handlers are invoked for service even when module is not engaged for the serivce
> ---------------------------------------------------------------------------------------
>                 Key: AXIS2C-624
>                 URL:
>             Project: Axis2-C
>          Issue Type: Bug
>            Reporter: Damitha Kumarage
>            Priority: Blocker
> I can see that even when a module is not engaged to a service(globally or service wise)
handlers of that module is invoked
> for that service. This happens both for in and out path.
> This must be due to a change done to the engine very recently. I can cleary remember
this was working correctly when I was testing sandesha2/C for release 0.90

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:
For additional commands, e-mail:

View raw message