You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Mehar <me...@gmail.com> on 2007/07/25 18:15:42 UTC

Problem with module deployment

Hai All,

I am trying to move to axis2-1.1 to axis2-1.2

I have a secuity module deployed in axis2-1.1 which is working fine

Now after moving to 1.2 i did the following things
1. Added security.mar to module.list
modules.list
            addressing-1.2.mar
            soapmonitor-1.2.mar
            security.mar

2. Modified axis2.xml to engage module globally
axis2.xml
<!-- ================================================= -->
    <!-- Global Modules  -->
    <!-- ================================================= -->
    <!-- Comment this to disable Addressing -->
    <!--  <module ref="addressing"/>  -->
    <module ref="security" />
    <!--Configuring module , providing parameters for modules whether they
refer or not-->
    <!--<moduleConfig name="addressing">-->
    <!--<parameter name="addressingPara">N/A</parameter>-->
    <!--</moduleConfig>-->

this module is not getting called when any of my services invoked, what can
be the problem

No exceptions while loading the module by ModuleDeployer.

Tried with adding <module ref="security" /> to sevices.xml also

Here is the module.xml also
module.xml

<module name="security">
   <inflow>
        <handler name="securityHandler" class="
com.test.security.SecurityHandler">
            <order phase="Security" />
        </handler>
   </inflow>
</module>

Thanks in advance

-- 
Rgds
Mehar

Re: Problem with module deployment

Posted by Michele Mazzucco <Mi...@ncl.ac.uk>.
Mehar,

I think I had the same problem. Please see here [1]


Michele

[1] https://issues.apache.org/jira/browse/AXIS2-2998

On Wed, 2007-07-25 at 21:45 +0530, Mehar wrote:
> Hai All,
> 
> I am trying to move to axis2-1.1 to axis2-1.2
> 
> I have a secuity module deployed in axis2-1.1 which is working fine
> 
> Now after moving to 1.2 i did the following things
> 1. Added security.mar to module.list
> modules.list
>             addressing-1.2.mar
>             soapmonitor-1.2.mar
>             security.mar
> 
> 2. Modified axis2.xml to engage module globally 
> axis2.xml
> <!-- ================================================= -->
>     <!-- Global Modules  -->
>     <!-- ================================================= --> 
>     <!-- Comment this to disable Addressing -->
>     <!--  <module ref="addressing"/>  -->
>     <module ref="security" />
>     <!--Configuring module , providing parameters for modules whether
> they refer or not--> 
>     <!--<moduleConfig name="addressing">-->
>     <!--<parameter name="addressingPara">N/A</parameter>-->
>     <!--</moduleConfig>-->
> 
> this module is not getting called when any of my services invoked,
> what can be the problem
> 
> No exceptions while loading the module by ModuleDeployer.
> 
> Tried with adding <module ref="security" /> to sevices.xml also
> 
> Here is the module.xml also
> module.xml
> 
> <module name="security">
>    <inflow>
>         <handler name="securityHandler" class="
> com.test.security.SecurityHandler">
>             <order phase="Security" />
>         </handler>
>    </inflow>
> </module>
> 
> Thanks in advance
> 
> -- 
> Rgds
> Mehar


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