You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by "Dan Jemiolo (JIRA)" <ji...@apache.org> on 2006/11/03 16:12:17 UTC

[jira] Updated: (MUSE-138) AxisIsolationLayer is not initalised with operation context for Axis 1.1RC2

     [ http://issues.apache.org/jira/browse/MUSE-138?page=all ]

Dan Jemiolo updated MUSE-138:
-----------------------------

      Component/s: Deployment - Axis2
    Fix Version/s: 2.1.0

Thanks for reporting this with Axis2, and for your support in trying to get them to fix this. I don't understand why they're breaking this behavior in a minor release - setOperationContext( ) was the documented way to achieve startup tasks (at least according to the mailing list  ;-)  ). I think we will just change setOperationContext( ) to init( ) in the current AxisIsolationLayer class. If they're going to break compatibility there's not much we can do.

For this issue I will update to Axis 1.1 RC 2 and modify setOperationContext( ) to init( ).

> AxisIsolationLayer is not initalised with operation context for Axis 1.1RC2
> ---------------------------------------------------------------------------
>
>                 Key: MUSE-138
>                 URL: http://issues.apache.org/jira/browse/MUSE-138
>             Project: Muse
>          Issue Type: Bug
>          Components: Deployment - Axis2
>    Affects Versions: 2.0.0
>         Environment: WLS 9.2, Windows XPSP2, Axis 1.1RC2
>            Reporter: James Shiell
>         Assigned To: Dan Jemiolo
>             Fix For: 2.1.0
>
>
> The AxisIsolationLayer does not have the setOperationContext(OperationContext):void method called, and hence throws a NullPointer exception when the handlerRequest method is invoked.
> This appears to be because Axis 2 1.1RC2 onwards no longer invoke the setOperationContext method, instead relying purely on the init(OperationContext) method. This is done via the org.apache.axis2.engine.DependencyManager class. 
> As a workaround, the AxisIsolationLayer class can be subclassed and init(..) implemented, and this subclass used in the Axis 2 services.xml.

-- 
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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org