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 Asen <as...@gmail.com> on 2010/03/03 18:08:59 UTC

PhaseLast already has been set, cannot have two PhaseLast Handler for same phase Security

Hello folks,

I am using axis 1.5 with rampart 1.4.
I have been using them for few mounts already and have never seen this
exception before.
This exception was thrown when a client through wsdl2java generated stub
invoked a .NET service with security policy.

Rampart module is engaged from the client as
stub._getServiceClient().engageModule("rampart");

Any insight on who to resolve this will be very appreciated.


Caused by: org.apache.axis2.phaseresolver.PhaseException: PhaseLast already
has been set, cannot have two PhaseLast Handler for same phase Security
    at org.apache.axis2.engine.Phase.setPhaseLast(Phase.java:432)
    at org.apache.axis2.engine.Phase.addHandler(Phase.java:148)
    at
org.apache.axis2.phaseresolver.PhaseHolder.addHandler(PhaseHolder.java:73)
    at
org.apache.axis2.phaseresolver.PhaseResolver.engageModuleToFlow(PhaseResolver.java:68)
    at
org.apache.axis2.phaseresolver.PhaseResolver.engageModuleToOperation(PhaseResolver.java:104)
    at
org.apache.axis2.phaseresolver.PhaseResolver.engageModuleToMessage(PhaseResolver.java:223)
    at
org.apache.axis2.description.AxisMessage.onEngage(AxisMessage.java:212)
    at
org.apache.axis2.description.AxisDescription.engageModule(AxisDescription.java:470)
    at
org.apache.axis2.description.AxisDescription.engageModule(AxisDescription.java:433)
    at
org.apache.axis2.description.AxisDescription.engageModulesToAxisDescription(AxisDescription.java:403)
    at
org.apache.axis2.description.AxisDescription.engageModulesForPolicy(AxisDescription.java:386)
    at
org.apache.axis2.description.AxisDescription.applyPolicy(AxisDescription.java:316)
    at
org.apache.axis2.description.AxisDescription.applyPolicy(AxisDescription.java:321)
    at
org.apache.axis2.description.AxisDescription.applyPolicy(AxisDescription.java:321)