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 "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2006/12/15 07:36:21 UTC

[jira] Updated: (AXIS2-1541) When engaging a module with a service, the module is engaged with each operation twice

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

Deepal Jayasinghe updated AXIS2-1541:
-------------------------------------

    Priority: Blocker  (was: Critical)

Need to fix for this release.

> When engaging a module with a service, the module is engaged with each operation twice
> --------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1541
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1541
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: Axis2 1.1 Snapshot of 29 Oct
>            Reporter: Thilo Frotscher
>         Assigned To: Deepal Jayasinghe
>            Priority: Blocker
>
> Not sure about the priority of this bug, but I think it might be critical...
> I created a module that contains a module class. For testing purposes, method engageNotify log a message every time it is invoked. The logging message provides information about the kind of engagement. When I use the admin frontend to engage the module with a service, the logging messages indicate that the module is engaged twice with every service operation (engageNotify invoked twice per operation):
> LogModule was engaged with service: MyService
> LogModule was engaged with operation: Op1
> LogModule was engaged with operation: Op1
> LogModule was engaged with operation: Op2
> LogModule was engaged with operation: Op2
> LogModule was engaged with operation: Op3
> LogModule was engaged with operation: Op3
> LogModule was engaged with operation: Op4
> LogModule was engaged with operation: Op4
> Here's the implementation of engageNotify:
> 	public void engageNotify(AxisDescription axisDescription) throws AxisFault {
> 		StringBuilder msg = new StringBuilder();
> 		msg.append("LogModule was engaged with");
> 		if (axisDescription instanceof AxisServiceGroup) {
> 			msg.append(" service group: ");
> 			msg.append(((AxisServiceGroup)axisDescription).getServiceGroupName());
> 		} else if (axisDescription instanceof AxisService) {
> 			msg.append(" service: ");
> 			msg.append(((AxisService)axisDescription).getName());
> 		} else if (axisDescription instanceof AxisOperation) {
> 			msg.append(" operation: ");
> 			msg.append(((AxisOperation)axisDescription).getName());
> 		}
> 		System.out.println(msg);
> 	}

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