You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Matthias Gaiser (JIRA)" <ji...@apache.org> on 2008/03/10 15:47:46 UTC

[jira] Created: (AXIS2-3588) Handler is not being invoked

Handler is not being invoked
----------------------------

                 Key: AXIS2-3588
                 URL: https://issues.apache.org/jira/browse/AXIS2-3588
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: modules
    Affects Versions: 1.3
         Environment: Win XP (SP2), Tomcat 5.5.23
            Reporter: Matthias Gaiser


The attached module is an implementation of a LoggingModule which was done orientating on the Axis User guide (http://ws.apache.org/axis2/1_3/modules.html).

It was declared as a global module in the axis2.xml with a <module ref="..."/>. The module class of it was invoked, but when a service has been called, the Handler was not executed.
I also tried the SOAPmonitor module the same way, which was working.
I tried the module with the axis2 version service.

Is this a bug? Or am I configuring something wrong?

I am attaching the module to test for and the axis2.xml.

Please see also the mailing list for this topic: http://markmail.org/search/list:org.apache.ws.axis-user%20%22Problem%20with%20handler%20and%20services.xml%22?page=1

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


[jira] Updated: (AXIS2-3588) Handler is not being invoked

Posted by "Matthias Gaiser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Gaiser updated AXIS2-3588:
-----------------------------------

    Attachment: axis2.xml
                testLogging.mar

The module with the problematic handler and the corresponding axis2.xml

> Handler is not being invoked
> ----------------------------
>
>                 Key: AXIS2-3588
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3588
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: modules
>    Affects Versions: 1.3
>         Environment: Win XP (SP2), Tomcat 5.5.23
>            Reporter: Matthias Gaiser
>         Attachments: axis2.xml, testLogging.mar
>
>
> The attached module is an implementation of a LoggingModule which was done orientating on the Axis User guide (http://ws.apache.org/axis2/1_3/modules.html).
> It was declared as a global module in the axis2.xml with a <module ref="..."/>. The module class of it was invoked, but when a service has been called, the Handler was not executed.
> I also tried the SOAPmonitor module the same way, which was working.
> I tried the module with the axis2 version service.
> Is this a bug? Or am I configuring something wrong?
> I am attaching the module to test for and the axis2.xml.
> Please see also the mailing list for this topic: http://markmail.org/search/list:org.apache.ws.axis-user%20%22Problem%20with%20handler%20and%20services.xml%22?page=1

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


[jira] Commented: (AXIS2-3588) Handler is not being invoked

Posted by "Matthias Gaiser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577408#action_12577408 ] 

Matthias Gaiser commented on AXIS2-3588:
----------------------------------------

Thanks a lot, Michele.

That was it. I also know where the error comes from. I followed the axis2 module guide for the version 1.2 which is superseded by the 1.3 guide. The xml in these two guides is different from each other.
It would be very helpful if Axis could produce a warning if the module.xml (or other configs) are malformed.

> Handler is not being invoked
> ----------------------------
>
>                 Key: AXIS2-3588
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3588
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: modules
>    Affects Versions: 1.3
>         Environment: Win XP (SP2), Tomcat 5.5.23
>            Reporter: Matthias Gaiser
>         Attachments: axis2.xml, LogHandler.java, LogModule.java, module.xml, testLogging.mar
>
>
> The attached module is an implementation of a LoggingModule which was done orientating on the Axis User guide (http://ws.apache.org/axis2/1_3/modules.html).
> It was declared as a global module in the axis2.xml with a <module ref="..."/>. The module class of it was invoked, but when a service has been called, the Handler was not executed.
> I also tried the SOAPmonitor module the same way, which was working.
> I tried the module with the axis2 version service.
> Is this a bug? Or am I configuring something wrong?
> I am attaching the module to test for and the axis2.xml.
> Please see also the mailing list for this topic: http://markmail.org/search/list:org.apache.ws.axis-user%20%22Problem%20with%20handler%20and%20services.xml%22?page=1

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


[jira] Closed: (AXIS2-3588) Handler is not being invoked

Posted by "Matthias Gaiser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Gaiser closed AXIS2-3588.
----------------------------------

    Resolution: Fixed

The tag names in the module.xml did not match the expected tag names due to case sensitivity (e.g. specified "Inflow" instead of "InFlow").

> Handler is not being invoked
> ----------------------------
>
>                 Key: AXIS2-3588
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3588
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: modules
>    Affects Versions: 1.3
>         Environment: Win XP (SP2), Tomcat 5.5.23
>            Reporter: Matthias Gaiser
>         Attachments: axis2.xml, LogHandler.java, LogModule.java, module.xml, testLogging.mar
>
>
> The attached module is an implementation of a LoggingModule which was done orientating on the Axis User guide (http://ws.apache.org/axis2/1_3/modules.html).
> It was declared as a global module in the axis2.xml with a <module ref="..."/>. The module class of it was invoked, but when a service has been called, the Handler was not executed.
> I also tried the SOAPmonitor module the same way, which was working.
> I tried the module with the axis2 version service.
> Is this a bug? Or am I configuring something wrong?
> I am attaching the module to test for and the axis2.xml.
> Please see also the mailing list for this topic: http://markmail.org/search/list:org.apache.ws.axis-user%20%22Problem%20with%20handler%20and%20services.xml%22?page=1

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


[jira] Updated: (AXIS2-3588) Handler is not being invoked

Posted by "Matthias Gaiser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Gaiser updated AXIS2-3588:
-----------------------------------

    Attachment: LogHandler.java
                LogModule.java
                module.xml

1 - The attached files contain the source code of the Module (LogModule.java) and the Handler (LogHandler.java), which both contain logging/print-statements to see whether the method is called or not. The module.xml contains the handler settings.

2 - I defined in the axis2.xml a custom phase in each flow (loggingPhase) and mapped a handler to this phase via the attached module.xml.

> Handler is not being invoked
> ----------------------------
>
>                 Key: AXIS2-3588
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3588
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: modules
>    Affects Versions: 1.3
>         Environment: Win XP (SP2), Tomcat 5.5.23
>            Reporter: Matthias Gaiser
>         Attachments: axis2.xml, LogHandler.java, LogModule.java, module.xml, testLogging.mar
>
>
> The attached module is an implementation of a LoggingModule which was done orientating on the Axis User guide (http://ws.apache.org/axis2/1_3/modules.html).
> It was declared as a global module in the axis2.xml with a <module ref="..."/>. The module class of it was invoked, but when a service has been called, the Handler was not executed.
> I also tried the SOAPmonitor module the same way, which was working.
> I tried the module with the axis2 version service.
> Is this a bug? Or am I configuring something wrong?
> I am attaching the module to test for and the axis2.xml.
> Please see also the mailing list for this topic: http://markmail.org/search/list:org.apache.ws.axis-user%20%22Problem%20with%20handler%20and%20services.xml%22?page=1

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


[jira] Updated: (AXIS2-3588) Handler is not being invoked

Posted by "Matthias Gaiser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Gaiser updated AXIS2-3588:
-----------------------------------

    Attachment: module.xml

I am sorry, I uploaded an old module.xml, I moved my example to another package, but did not upload the new module.xml.

I attached now a module.xml with the right package path to the Handler, but it is still not invoked.

> Handler is not being invoked
> ----------------------------
>
>                 Key: AXIS2-3588
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3588
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: modules
>    Affects Versions: 1.3
>         Environment: Win XP (SP2), Tomcat 5.5.23
>            Reporter: Matthias Gaiser
>         Attachments: axis2.xml, LogHandler.java, LogModule.java, module.xml, testLogging.mar
>
>
> The attached module is an implementation of a LoggingModule which was done orientating on the Axis User guide (http://ws.apache.org/axis2/1_3/modules.html).
> It was declared as a global module in the axis2.xml with a <module ref="..."/>. The module class of it was invoked, but when a service has been called, the Handler was not executed.
> I also tried the SOAPmonitor module the same way, which was working.
> I tried the module with the axis2 version service.
> Is this a bug? Or am I configuring something wrong?
> I am attaching the module to test for and the axis2.xml.
> Please see also the mailing list for this topic: http://markmail.org/search/list:org.apache.ws.axis-user%20%22Problem%20with%20handler%20and%20services.xml%22?page=1

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


[jira] Updated: (AXIS2-3588) Handler is not being invoked

Posted by "Matthias Gaiser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Gaiser updated AXIS2-3588:
-----------------------------------

    Attachment:     (was: module.xml)

> Handler is not being invoked
> ----------------------------
>
>                 Key: AXIS2-3588
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3588
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: modules
>    Affects Versions: 1.3
>         Environment: Win XP (SP2), Tomcat 5.5.23
>            Reporter: Matthias Gaiser
>         Attachments: axis2.xml, LogHandler.java, LogModule.java, testLogging.mar
>
>
> The attached module is an implementation of a LoggingModule which was done orientating on the Axis User guide (http://ws.apache.org/axis2/1_3/modules.html).
> It was declared as a global module in the axis2.xml with a <module ref="..."/>. The module class of it was invoked, but when a service has been called, the Handler was not executed.
> I also tried the SOAPmonitor module the same way, which was working.
> I tried the module with the axis2 version service.
> Is this a bug? Or am I configuring something wrong?
> I am attaching the module to test for and the axis2.xml.
> Please see also the mailing list for this topic: http://markmail.org/search/list:org.apache.ws.axis-user%20%22Problem%20with%20handler%20and%20services.xml%22?page=1

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