Hi all,
I'm getting a NPE in AxisServlet and I don't know the reason.
Please find attached the tomcat output (axis2 is set to debug) and the
custom handler.
The handler has always worked fine when the invoke method signature was
"void": should I change anyting (apart from the return type)?
Any clue?
Michele
/*
* QoSP Project org.ncl.ac.uk.qosp.modules.manager.RouterDispatcher.java Created
* on 02-Jun-2006, 12:02:14
*/
package ncl.qosp.modules.manager;
import java.util.Iterator;
import javax.xml.namespace.QName;
import ncl.qosp.core.MessageType;
import ncl.qosp.core.RoutingConstants;
import ncl.qosp.core.SOAPConstants;
import ncl.qosp.core.SOAPHeaderConstants;
import ncl.qosp.utils.FileUtils;
import org.apache.axiom.om.OMException;
import org.apache.axiom.soap.SOAPHeader;
import org.apache.axiom.soap.SOAPHeaderBlock;
import org.apache.axis2.AxisFault;
import org.apache.axis2.addressing.AddressingConstants;
import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.context.MessageContext;
import org.apache.axis2.description.AxisOperation;
import org.apache.axis2.description.AxisService;
import org.apache.axis2.description.HandlerDescription;
import org.apache.axis2.engine.AbstractDispatcher;
import org.apache.axis2.engine.AxisConfiguration;
import org.apache.axis2.util.Utils;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
/**
* Dispatches the client request to the manager service. All the core
* informations, that is target service and target method, are saved into the
* [EMAIL PROTECTED] org.apache.axis2.context.MessageContext} options.
* <p>
* This handler replaces the
* [EMAIL PROTECTED] org.apache.axis2.engine.RequestURIBasedDispatcher} handler
in the
* incoming chain (transport phase).
* <p>
* To get the target WS addressing action mapping the SOAP header is parsed.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Michele Mazzucco</a>
* @version 0.2
* @since 0.1
* @see "$AXIS2_HOME/webapps/axis2/WEB-INF/conf/axis2.xml"
*/
public class RouterDispatcher extends AbstractDispatcher {
// ///////////////////////////////////////////////////////////////////
// Constants
// ///////////////////////////////////////////////////////////////////
/**
* The dispatcher's name.
*
* @see #initDispatcher()
*/
private static final String DISPATCHER_NAME = "RouterDispatcher";
/**
*
*/
private static final QName WSA_ACTION = new QName(
AddressingConstants.WSA_ACTION);
// ///////////////////////////////////////////////////////////////////
// Logger
// ///////////////////////////////////////////////////////////////////
/** Logger. */
private static Logger log;
static {
log = Logger.getLogger(RouterDispatcher.class);
}
// ///////////////////////////////////////////////////////////////////
// Fields
// ///////////////////////////////////////////////////////////////////
/** The target operation. */
private String targetOperationName;
/** The target service. */
private String targetServiceName;
/** Message arrival time. */
private long arrivalTime;
// ///////////////////////////////////////////////////////////////////
// Methods from AbstractDispatcher
// ///////////////////////////////////////////////////////////////////
// The findOperation and findService are very similar to the ones
// implemented
// in RequestURIBasedDispatcher
/*
* @see
org.apache.axis2.engine.AbstractDispatcher#findOperation(org.apache.axis2.description.AxisService,
* org.apache.axis2.context.MessageContext)
*/
@Override
public AxisOperation findOperation(AxisService service,
MessageContext messageContext) {
/*
* if (log.isDebugEnabled()) { log.debug("Trying to find the required
* operation"); }
*/
AxisOperation result = null;
EndpointReference toEPR = messageContext.getTo();
if ((toEPR != null) && (targetOperationName == null)) {
String filePart = toEPR.getAddress();
String[] values = Utils.parseRequestURLForServiceAndOperation(
filePart, messageContext.getConfigurationContext()
.getServicePath());
// The previous call returns an array of lenght 2, where values[1]
// holds the operation name
if ((values[1] != null) && (values[1].length() > 0)) {
targetOperationName = values[1];
}
}
result = service.getOperation(RoutingConstants.FORWARD_OPERATION_NAME);
return result;
} // -- findOperation()
/*
* @see
org.apache.axis2.engine.AbstractDispatcher#findService(org.apache.axis2.context.MessageContext)
*/
@Override
public AxisService findService(MessageContext messageContext)
throws AxisFault {
AxisService result = null;
EndpointReference toEPR = messageContext.getTo();
if (toEPR != null) {
String address = toEPR.getAddress();
// Returns a 2 values array
String[] values = Utils.parseRequestURLForServiceAndOperation(
address, messageContext.getConfigurationContext()
.getServicePath());
if ((values[1] != null) && (values[1].length() > 0)) {
targetOperationName = values[1];
}
if ((values[0] != null) && (values[0].length() > 0)) {
targetServiceName = values[0];
/*
* if (log.isDebugEnabled()) { log.debug("Target service is [" +
* targetServiceName + "]"); }
*/
AxisConfiguration registry = messageContext
.getConfigurationContext().getAxisConfiguration();
/*
* If the target service is 'version', allow the request to pass
* through
*/
if (targetServiceName.equalsIgnoreCase("version")) {
result = registry.getService(targetServiceName);
} else {
// Forwards the request to the 'RoutingService' service
result = registry
.getService(RoutingConstants.FORWARD_SERVICE_NAME);
}
}
}
return result;
} // -- findService()
/*
* @see org.apache.axis2.engine.AbstractDispatcher#initDispatcher()
*/
@Override
public void initDispatcher() {
init(new HandlerDescription(DISPATCHER_NAME));
}
/*
* @see
org.apache.axis2.engine.AbstractDispatcher#invoke(org.apache.axis2.context.MessageContext)
*/
@Override
public InvocationResponse invoke(MessageContext messageContext)
throws AxisFault {
log.info("Handler invoked");
try {
SOAPHeader header = messageContext.getEnvelope().getHeader();
String messageType = SOAPHeaderConstants.getQospMessage(header);
if (messageType != null) {
if (log.isDebugEnabled()) {
log.debug("Internal message [" + messageType + "]");
}
if (messageType.equalsIgnoreCase(MessageType.RESULT.value())) {
removeRelatesTo(messageContext.getEnvelope().getHeader());
if (log.isDebugEnabled()) {
log
.debug("Response message (removed the RelatesTo
header)");
}
}
} else {
if (log.isDebugEnabled()) {
log.debug("Received client request");
}
clientRequest(messageContext);
}
} catch (OMException e) {
if (log.isEnabledFor(Level.ERROR)) {
log.error(FileUtils.getNow()
+ ": unable to get the SOAP header: "
+ e.getLocalizedMessage());
}
throw new AxisFault(e);
}
return InvocationResponse.CONTINUE;
} // -- invoke()
// ///////////////////////////////////////////////////////////////////
// Private methods
// ///////////////////////////////////////////////////////////////////
/**
* Removes the [EMAIL PROTECTED] AddressingConstants#WSA_RELATES_TO}
element from the
* SOAP header. This is needed because the result receiver is different from
* the requestor.
*
* @param header The SOAP header message without the 'RelatesTo' element.
*/
@SuppressWarnings("unchecked")
private final void removeRelatesTo(SOAPHeader header) {
for (Iterator<SOAPHeaderBlock> i = header.examineAllHeaderBlocks(); i
.hasNext();) {
SOAPHeaderBlock tmp = i.next();
if (tmp.getLocalName().equalsIgnoreCase(
AddressingConstants.WSA_RELATES_TO)) {
tmp.detach();
if (log.isDebugEnabled()) {
log.debug("Removed 'RelatesTo'");
}
break;
}
}
} // -- removeRelatesTo()
/**
* Handler client requests.
*
* @param messageContext The message context.
* @throws AxisFault If an error occurs.
*/
private final void clientRequest(MessageContext messageContext)
throws AxisFault {
// Gets the arrival timestamp
this.arrivalTime = System.currentTimeMillis();
AxisService axisService = messageContext.getAxisService();
if (axisService == null) {
axisService = findService(messageContext);
if (axisService != null) {
if (log.isInfoEnabled()) {
log.info("Target service: " + axisService.getName());
}
messageContext.setAxisService(axisService);
if (log.isInfoEnabled()) {
log.info("Message to: " +
axisService.getEndpoint().toString());
}
}
}
if ((messageContext.getAxisService() != null)
&& (messageContext.getAxisOperation() == null)) {
AxisOperation axisOperation = null;
axisOperation = findOperation(axisService, messageContext);
if (axisOperation != null) {/*
* if (log.isInfoEnabled()) {
* log.info("Operation set to [" +
*
axisOperation.getName().getLocalPart() +
* "]"); }
*/
messageContext.setAxisOperation(axisOperation);
}
}
saveTargetService(messageContext);
saveTargetOperation(messageContext);
// saveTargetAction(messageContext);
// Gets the action mapping
String soapAction = messageContext.getSoapAction();
if ((soapAction == null) || (soapAction.length() == 0)) {
try {
/*
* If the message context does not contain the soap action try
* to get it from the SOAP header
*/
SOAPHeader header = messageContext.getEnvelope().getHeader();
soapAction = header.getFirstChildWithName(WSA_ACTION).getText();
// extractWSASoapAction(header.toString());
} catch (OMException e) {
if (log.isEnabledFor(Level.ERROR)) {
log.error(FileUtils.getNow()
+ ": unable to get the SOAP header: "
+ e.getLocalizedMessage());
}
throw new AxisFault(e);
}
}
messageContext.getOptions().setProperty(
RoutingConstants.TARGET_ACTION_MAPPING, soapAction);
// Saves the arrival time stamp
saveArrivalTime(messageContext);
} // -- clientRequest()
/**
* Saves the arrival time stamp.
*
* @param messageContext The message context.
*/
private final void saveArrivalTime(MessageContext messageContext) {
messageContext.getOptions().setProperty(SOAPConstants.REQ_ARRIVAL_TIME,
this.arrivalTime);
} // -- saveArrivalTime()
/**
* Saves the target service as [EMAIL PROTECTED]
RoutingConstants#TARGET_SERVICE}
* message property.
*
* @param messageContext The message context.
*/
private final void saveTargetService(final MessageContext messageContext) {
messageContext.getOptions().setProperty(
RoutingConstants.TARGET_SERVICE, targetServiceName);
} // -- saveTargetService()
/**
* Saves the target operation as [EMAIL PROTECTED]
RoutingConstants#TARGET_OPERATION}
* message property.
*
* @param messageContext The message context.
*/
private final void saveTargetOperation(final MessageContext messageContext)
{
if ((targetOperationName != null) && (targetOperationName.length() >
0)) {
messageContext.getOptions().setProperty(
RoutingConstants.TARGET_OPERATION, targetOperationName);
}
} // -- saveTargetOperation()
} // END RouterDispatcher
2006-11-08 15:08:54,044 [org.apache.axis2.deployment.DeploymentEngine] -
Deploying Web service RoutingService.aar
2006-11-08 15:08:54,090 [org.apache.axis2.deployment.DeploymentEngine] -
Deploying Web service version.aar
2006-11-08 15:12:10,471 [org.apache.axis2.transport.http.AxisServlet] -
java.lang.NullPointerException
2006-11-08 15:17:59,644 [org.apache.axis2.engine.Phase] - Handler
AddressingFinalInHandler added to Phase PreDispatch
2006-11-08 15:17:59,644 [org.apache.axis2.engine.Phase] - Handler
AddressingSubmissionInHandler added to Phase PreDispatch
2006-11-08 15:17:59,644 [org.apache.axis2.engine.Phase] - Handler
AddressingOutHandler added to Phase MessageOut
2006-11-08 15:17:59,644 [org.apache.axis2.engine.Phase] - Handler
AddressingFinalInHandler added to Phase PreDispatch
2006-11-08 15:17:59,644 [org.apache.axis2.engine.Phase] - Handler
AddressingSubmissionInHandler added to Phase PreDispatch
2006-11-08 15:17:59,644 [org.apache.axis2.engine.Phase] - Handler
AddressingOutHandler added to Phase MessageOut
2006-11-08 15:17:59,644 [org.apache.axis2.engine.Phase] - Handler
InFlowManagerHandler added to Phase ManagerInterceptorPhase
2006-11-08 15:17:59,691 [org.apache.axis2.i18n.ProjectResourceBundle] -
org.apache.axis2.i18n.resource::handleGetObject(deployingws)
2006-11-08 15:17:59,691 [org.apache.axis2.deployment.DeploymentEngine] -
Deploying Web service RoutingService.aar
2006-11-08 15:17:59,753 [org.apache.axis2.i18n.ProjectResourceBundle] -
org.apache.axis2.i18n.resource::handleGetObject(deployingws)
2006-11-08 15:17:59,753 [org.apache.axis2.deployment.DeploymentEngine] -
Deploying Web service version.aar
2006-11-08 15:17:59,753 [org.apache.axis2.deployment.WarBasedAxisConfigurator]
- loaded services from webapp
2006-11-08 15:18:10,189 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "ManagerInterceptorPhase"
2006-11-08 15:18:10,189 [org.apache.axis2.engine.Phase] - Invoking phase
"ManagerInterceptorPhase"
2006-11-08 15:18:10,189 [org.apache.axis2.engine.Phase] - Invoking Handler
'InFlowManagerHandler' in Phase 'ManagerInterceptorPhase'
2006-11-08 15:18:10,205 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "ManagerInterceptorPhase"
2006-11-08 15:18:10,205 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "Transport"
2006-11-08 15:18:10,205 [org.apache.axis2.engine.Phase] - Invoking phase
"Transport"
2006-11-08 15:18:10,205 [org.apache.axis2.engine.Phase] - Invoking Handler
'SOAPActionBasedDispatcher' in Phase 'Transport'
2006-11-08 15:18:10,205 [org.apache.axis2.engine.SOAPActionBasedDispatcher] -
Checking for Service using SOAPAction is a TODO item
2006-11-08 15:18:10,205 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "Transport"
2006-11-08 15:18:10,221 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "Security"
2006-11-08 15:18:10,221 [org.apache.axis2.engine.Phase] - Invoking phase
"Security"
2006-11-08 15:18:10,221 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "Security"
2006-11-08 15:18:10,221 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "PreDispatch"
2006-11-08 15:18:10,221 [org.apache.axis2.engine.Phase] - Invoking phase
"PreDispatch"
2006-11-08 15:18:10,221 [org.apache.axis2.engine.Phase] - Invoking Handler
'AddressingFinalInHandler' in Phase 'PreDispatch'
2006-11-08 15:18:10,221
[org.apache.axis2.handlers.addressing.AddressingInHandler] - Starting
WS-Addressing Final IN handler ...
2006-11-08 15:18:10,221
[org.apache.axis2.handlers.addressing.AddressingInHandler] - No Headers present
corresponding to WS-Addressing Final
2006-11-08 15:18:10,221 [org.apache.axis2.engine.Phase] - Invoking Handler
'AddressingSubmissionInHandler' in Phase 'PreDispatch'
2006-11-08 15:18:10,221
[org.apache.axis2.handlers.addressing.AddressingInHandler] - Starting
WS-Addressing Submission IN handler ...
2006-11-08 15:18:10,221
[org.apache.axis2.handlers.addressing.AddressingInHandler] - No Headers present
corresponding to WS-Addressing Submission
2006-11-08 15:18:10,221 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "PreDispatch"
2006-11-08 15:18:10,221 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "Dispatch"
2006-11-08 15:18:10,236 [org.apache.axis2.engine.Phase] - Invoking phase
"Dispatch"
2006-11-08 15:18:10,236 [org.apache.axis2.engine.Phase] - Invoking Handler
'AddressingBasedDispatcher' in Phase 'Dispatch'
2006-11-08 15:18:10,236 [org.apache.axis2.i18n.ProjectResourceBundle] -
org.apache.axis2.i18n.resource::handleGetObject(checkingserviceforepr)
2006-11-08 15:18:10,236 [org.apache.axis2.engine.AddressingBasedDispatcher] -
Checking for Service using toEPRs address : {0}
2006-11-08 15:18:10,236 [org.apache.axis2.i18n.ProjectResourceBundle] -
org.apache.axis2.i18n.resource::handleGetObject(checkingserviceforepr)
2006-11-08 15:18:10,236 [org.apache.axis2.engine.AddressingBasedDispatcher] -
Checking for Service using toEPRs address : {0}
2006-11-08 15:18:10,236 [org.apache.axis2.i18n.ProjectResourceBundle] -
org.apache.axis2.i18n.resource::handleGetObject(servicefound)
2006-11-08 15:18:10,236 [org.apache.axis2.engine.AbstractDispatcher] - Found
AxisService : RoutingService
2006-11-08 15:18:10,236 [org.apache.axis2.i18n.ProjectResourceBundle] -
org.apache.axis2.i18n.resource::handleGetObject(checkingoperation)
2006-11-08 15:18:10,236 [org.apache.axis2.engine.AddressingBasedDispatcher] -
Checking for Operation using WSAAction : urn:addNode
2006-11-08 15:18:10,236 [org.apache.axis2.i18n.ProjectResourceBundle] -
org.apache.axis2.i18n.resource::handleGetObject(operationfound)
2006-11-08 15:18:10,236 [org.apache.axis2.engine.AbstractDispatcher] - Found
AxisOperation : addNode
2006-11-08 15:18:10,252 [org.apache.axis2.engine.Phase] - Invoking Handler
'SOAPMessageBodyBasedDispatcher' in Phase 'Dispatch'
2006-11-08 15:18:10,252 [org.apache.axis2.engine.Phase] - Invoking Handler
'InstanceDispatcher' in Phase 'Dispatch'
2006-11-08 15:18:10,252 [org.apache.axis2.engine.Phase] - Invoking Handler
'AddressingWSDLValidationHandler' in Phase 'Dispatch'
2006-11-08 15:18:10,252 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "Dispatch"
2006-11-08 15:18:10,252 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "OperationInPhase"
2006-11-08 15:18:10,252 [org.apache.axis2.engine.Phase] - Invoking phase
"OperationInPhase"
2006-11-08 15:18:10,252 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "OperationInPhase"
2006-11-08 15:18:10,252 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "soapmonitorPhase"
2006-11-08 15:18:10,252 [org.apache.axis2.engine.Phase] - Invoking phase
"soapmonitorPhase"
2006-11-08 15:18:10,252 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "soapmonitorPhase"
2006-11-08 15:18:10,283 [org.apache.axis2.i18n.ProjectResourceBundle] -
org.apache.axis2.i18n.resource::handleGetObject(methodDoesNotExistInOut)
2006-11-08 15:18:10,283 [org.apache.axis2.transport.http.AxisServlet] -
org.apache.axis2.AxisFault: ServiceClass does not implement required method of
the form OMElement addNode(OMElement e)
2006-11-08 15:18:10,283 [org.apache.axis2.addressing.AddressingHelper] -
isReplyRedirected: FaultTo is null. Returning isReplyRedirected
2006-11-08 15:18:10,283 [org.apache.axis2.addressing.AddressingHelper] -
isReplyRedirected: ReplyTo is null. Returning false
2006-11-08 15:18:10,299 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "soapmonitorPhase"
2006-11-08 15:18:10,314 [org.apache.axis2.engine.Phase] - Invoking phase
"soapmonitorPhase"
2006-11-08 15:18:10,314 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "soapmonitorPhase"
2006-11-08 15:18:10,314 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "OperationOutFaultPhase"
2006-11-08 15:18:10,314 [org.apache.axis2.engine.Phase] - Invoking phase
"OperationOutFaultPhase"
2006-11-08 15:18:10,314 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "OperationOutFaultPhase"
2006-11-08 15:18:10,314 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "PolicyDetermination"
2006-11-08 15:18:10,314 [org.apache.axis2.engine.Phase] - Invoking phase
"PolicyDetermination"
2006-11-08 15:18:10,314 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "PolicyDetermination"
2006-11-08 15:18:10,314 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "MessageOut"
2006-11-08 15:18:10,314 [org.apache.axis2.engine.Phase] - Invoking phase
"MessageOut"
2006-11-08 15:18:10,314 [org.apache.axis2.engine.Phase] - Invoking Handler
'AddressingOutHandler' in Phase 'MessageOut'
2006-11-08 15:18:10,314
[org.apache.axis2.handlers.addressing.AddressingHandler] - Addressing is
disabled .....
2006-11-08 15:18:10,314 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "MessageOut"
2006-11-08 15:18:20,891 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "ManagerInterceptorPhase"
2006-11-08 15:18:20,891 [org.apache.axis2.engine.Phase] - Invoking phase
"ManagerInterceptorPhase"
2006-11-08 15:18:20,891 [org.apache.axis2.engine.Phase] - Invoking Handler
'InFlowManagerHandler' in Phase 'ManagerInterceptorPhase'
2006-11-08 15:18:20,891 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "ManagerInterceptorPhase"
2006-11-08 15:18:20,891 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "Transport"
2006-11-08 15:18:20,907 [org.apache.axis2.engine.Phase] - Invoking phase
"Transport"
2006-11-08 15:18:20,907 [org.apache.axis2.engine.Phase] - Invoking Handler
'SOAPActionBasedDispatcher' in Phase 'Transport'
2006-11-08 15:18:20,907 [org.apache.axis2.engine.SOAPActionBasedDispatcher] -
Checking for Service using SOAPAction is a TODO item
2006-11-08 15:18:20,907 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "Transport"
2006-11-08 15:18:20,907 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "Security"
2006-11-08 15:18:20,907 [org.apache.axis2.engine.Phase] - Invoking phase
"Security"
2006-11-08 15:18:20,907 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "Security"
2006-11-08 15:18:20,907 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "PreDispatch"
2006-11-08 15:18:20,907 [org.apache.axis2.engine.Phase] - Invoking phase
"PreDispatch"
2006-11-08 15:18:20,907 [org.apache.axis2.engine.Phase] - Invoking Handler
'AddressingFinalInHandler' in Phase 'PreDispatch'
2006-11-08 15:18:20,907
[org.apache.axis2.handlers.addressing.AddressingInHandler] - Starting
WS-Addressing Final IN handler ...
2006-11-08 15:18:20,907
[org.apache.axis2.handlers.addressing.AddressingInHandler] - No Headers present
corresponding to WS-Addressing Final
2006-11-08 15:18:20,907 [org.apache.axis2.engine.Phase] - Invoking Handler
'AddressingSubmissionInHandler' in Phase 'PreDispatch'
2006-11-08 15:18:20,907
[org.apache.axis2.handlers.addressing.AddressingInHandler] - Starting
WS-Addressing Submission IN handler ...
2006-11-08 15:18:20,907
[org.apache.axis2.handlers.addressing.AddressingInHandler] - No Headers present
corresponding to WS-Addressing Submission
2006-11-08 15:18:20,922 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "PreDispatch"
2006-11-08 15:18:20,922 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "Dispatch"
2006-11-08 15:18:20,922 [org.apache.axis2.engine.Phase] - Invoking phase
"Dispatch"
2006-11-08 15:18:20,922 [org.apache.axis2.engine.Phase] - Invoking Handler
'AddressingBasedDispatcher' in Phase 'Dispatch'
2006-11-08 15:18:20,922 [org.apache.axis2.i18n.ProjectResourceBundle] -
org.apache.axis2.i18n.resource::handleGetObject(checkingserviceforepr)
2006-11-08 15:18:20,922 [org.apache.axis2.engine.AddressingBasedDispatcher] -
Checking for Service using toEPRs address : {0}
2006-11-08 15:18:20,922 [org.apache.axis2.i18n.ProjectResourceBundle] -
org.apache.axis2.i18n.resource::handleGetObject(checkingserviceforepr)
2006-11-08 15:18:20,922 [org.apache.axis2.engine.AddressingBasedDispatcher] -
Checking for Service using toEPRs address : {0}
2006-11-08 15:18:20,922 [org.apache.axis2.i18n.ProjectResourceBundle] -
org.apache.axis2.i18n.resource::handleGetObject(servicefound)
2006-11-08 15:18:20,922 [org.apache.axis2.engine.AbstractDispatcher] - Found
AxisService : RoutingService
2006-11-08 15:18:20,922 [org.apache.axis2.i18n.ProjectResourceBundle] -
org.apache.axis2.i18n.resource::handleGetObject(checkingoperation)
2006-11-08 15:18:20,922 [org.apache.axis2.engine.AddressingBasedDispatcher] -
Checking for Operation using WSAAction : urn:addService
2006-11-08 15:18:20,922 [org.apache.axis2.i18n.ProjectResourceBundle] -
org.apache.axis2.i18n.resource::handleGetObject(operationfound)
2006-11-08 15:18:20,938 [org.apache.axis2.engine.AbstractDispatcher] - Found
AxisOperation : addService
2006-11-08 15:18:20,938 [org.apache.axis2.engine.Phase] - Invoking Handler
'SOAPMessageBodyBasedDispatcher' in Phase 'Dispatch'
2006-11-08 15:18:20,938 [org.apache.axis2.engine.Phase] - Invoking Handler
'InstanceDispatcher' in Phase 'Dispatch'
2006-11-08 15:18:20,938 [org.apache.axis2.engine.Phase] - Invoking Handler
'AddressingWSDLValidationHandler' in Phase 'Dispatch'
2006-11-08 15:18:20,938 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "Dispatch"
2006-11-08 15:18:20,938 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "OperationInPhase"
2006-11-08 15:18:20,938 [org.apache.axis2.engine.Phase] - Invoking phase
"OperationInPhase"
2006-11-08 15:18:20,938 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "OperationInPhase"
2006-11-08 15:18:20,938 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "soapmonitorPhase"
2006-11-08 15:18:20,938 [org.apache.axis2.engine.Phase] - Invoking phase
"soapmonitorPhase"
2006-11-08 15:18:20,938 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "soapmonitorPhase"
2006-11-08 15:18:20,938 [org.apache.axis2.i18n.ProjectResourceBundle] -
org.apache.axis2.i18n.resource::handleGetObject(methodDoesNotExistInOut)
2006-11-08 15:18:20,954 [org.apache.axis2.transport.http.AxisServlet] -
org.apache.axis2.AxisFault: ServiceClass does not implement required method of
the form OMElement addService(OMElement e)
2006-11-08 15:18:20,954 [org.apache.axis2.addressing.AddressingHelper] -
isReplyRedirected: FaultTo is null. Returning isReplyRedirected
2006-11-08 15:18:20,954 [org.apache.axis2.addressing.AddressingHelper] -
isReplyRedirected: ReplyTo is null. Returning false
2006-11-08 15:18:20,954 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "soapmonitorPhase"
2006-11-08 15:18:20,954 [org.apache.axis2.engine.Phase] - Invoking phase
"soapmonitorPhase"
2006-11-08 15:18:20,954 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "soapmonitorPhase"
2006-11-08 15:18:20,954 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "OperationOutFaultPhase"
2006-11-08 15:18:20,954 [org.apache.axis2.engine.Phase] - Invoking phase
"OperationOutFaultPhase"
2006-11-08 15:18:20,954 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "OperationOutFaultPhase"
2006-11-08 15:18:20,954 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "PolicyDetermination"
2006-11-08 15:18:20,954 [org.apache.axis2.engine.Phase] - Invoking phase
"PolicyDetermination"
2006-11-08 15:18:20,954 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "PolicyDetermination"
2006-11-08 15:18:20,969 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "MessageOut"
2006-11-08 15:18:20,969 [org.apache.axis2.engine.Phase] - Invoking phase
"MessageOut"
2006-11-08 15:18:20,969 [org.apache.axis2.engine.Phase] - Invoking Handler
'AddressingOutHandler' in Phase 'MessageOut'
2006-11-08 15:18:20,969
[org.apache.axis2.handlers.addressing.AddressingHandler] - Addressing is
disabled .....
2006-11-08 15:18:20,969 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "MessageOut"
2006-11-08 15:18:38,404 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "ManagerInterceptorPhase"
2006-11-08 15:18:38,404 [org.apache.axis2.engine.Phase] - Invoking phase
"ManagerInterceptorPhase"
2006-11-08 15:18:38,404 [org.apache.axis2.engine.Phase] - Invoking Handler
'InFlowManagerHandler' in Phase 'ManagerInterceptorPhase'
2006-11-08 15:18:38,420 [org.apache.axis2.transport.http.AxisServlet] -
java.lang.NullPointerException
2006-11-08 15:18:38,420 [org.apache.axis2.addressing.AddressingHelper] -
isReplyRedirected: FaultTo is null. Returning isReplyRedirected
2006-11-08 15:18:38,420 [org.apache.axis2.addressing.AddressingHelper] -
isReplyRedirected: ReplyTo is null. Returning false
2006-11-08 15:18:38,420 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "MessageOut"
2006-11-08 15:18:38,420 [org.apache.axis2.engine.Phase] - Invoking phase
"MessageOut"
2006-11-08 15:18:38,420 [org.apache.axis2.engine.Phase] - Invoking Handler
'AddressingOutHandler' in Phase 'MessageOut'
2006-11-08 15:18:38,420 [org.apache.axis2.addressing.EndpointReferenceHelper] -
toOM: Factory, [EMAIL PROTECTED]
2006-11-08 15:18:38,420 [org.apache.axis2.addressing.EndpointReferenceHelper] -
toOM: Endpoint reference, Address: http://www.w3.org/2005/08/addressing/none
2006-11-08 15:18:38,420 [org.apache.axis2.addressing.EndpointReferenceHelper] -
toOM: Element qname, {http://www.w3.org/2005/08/addressing}ReplyTo
2006-11-08 15:18:38,436 [org.apache.axis2.addressing.EndpointReferenceHelper] -
toOM: Addressing namespace, http://www.w3.org/2005/08/addressing
2006-11-08 15:18:38,436 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "MessageOut"
2006-11-08 15:24:31,935 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "ManagerInterceptorPhase"
2006-11-08 15:24:31,935 [org.apache.axis2.engine.Phase] - Invoking phase
"ManagerInterceptorPhase"
2006-11-08 15:24:31,935 [org.apache.axis2.engine.Phase] - Invoking Handler
'InFlowManagerHandler' in Phase 'ManagerInterceptorPhase'
2006-11-08 15:24:31,935 [org.apache.axis2.transport.http.AxisServlet] -
java.lang.NullPointerException
2006-11-08 15:24:31,935 [org.apache.axis2.addressing.AddressingHelper] -
isReplyRedirected: FaultTo is null. Returning isReplyRedirected
2006-11-08 15:24:31,935 [org.apache.axis2.addressing.AddressingHelper] -
isReplyRedirected: ReplyTo is null. Returning false
2006-11-08 15:24:31,935 [org.apache.axis2.engine.Phase] - Checking
pre-condition for Phase "MessageOut"
2006-11-08 15:24:31,935 [org.apache.axis2.engine.Phase] - Invoking phase
"MessageOut"
2006-11-08 15:24:31,951 [org.apache.axis2.engine.Phase] - Invoking Handler
'AddressingOutHandler' in Phase 'MessageOut'
2006-11-08 15:24:31,951 [org.apache.axis2.addressing.EndpointReferenceHelper] -
toOM: Factory, [EMAIL PROTECTED]
2006-11-08 15:24:31,951 [org.apache.axis2.addressing.EndpointReferenceHelper] -
toOM: Endpoint reference, Address: http://www.w3.org/2005/08/addressing/none
2006-11-08 15:24:31,951 [org.apache.axis2.addressing.EndpointReferenceHelper] -
toOM: Element qname, {http://www.w3.org/2005/08/addressing}ReplyTo
2006-11-08 15:24:31,951 [org.apache.axis2.addressing.EndpointReferenceHelper] -
toOM: Addressing namespace, http://www.w3.org/2005/08/addressing
2006-11-08 15:24:31,951 [org.apache.axis2.engine.Phase] - Checking
post-conditions for phase "MessageOut"
2006-11-08 15:08:53,731 [ncl.qosp.controller.RoutingService] - Startup time is:
Wed Nov 08 15:08:53 GMT 2006
2006-11-08 15:08:54,106 [ncl.qosp.controller.RoutingService] - -- Constructor
2006-11-08 15:08:54,184 [ncl.qosp.controller.RoutingService] - Scheduler created
2006-11-08 15:08:54,184
[ncl.qosp.controller.scheduler.weighted.queue.QueueSizeScheduler] - Scheduler
component started
2006-11-08 15:09:08,198 [ncl.qosp.controller.LifecycleSupport] - Qosp is
shutting down...
2006-11-08 15:09:08,198
[ncl.qosp.controller.scheduler.weighted.queue.QueueSizeScheduler] - The timer
was not running
2006-11-08 15:09:08,198
[ncl.qosp.controller.scheduler.weighted.queue.QueueSizeScheduler] - Scheduler
component stopped
2006-11-08 15:09:08,198 [ncl.qosp.controller.LifecycleSupport] - Scheduler
stopped
2006-11-08 15:09:08,198 [ncl.qosp.controller.LifecycleSupport] - Scheduler
unregistered from the mbean server
2006-11-08 15:09:08,198 [ncl.qosp.controller.LifecycleSupport] - Connector
server stopped
2006-11-08 15:10:13,518 [ncl.qosp.controller.RoutingService] - Startup time is:
Wed Nov 08 15:10:13 GMT 2006
2006-11-08 15:10:13,908 [ncl.qosp.controller.RoutingService] - -- Constructor
2006-11-08 15:10:13,971 [ncl.qosp.controller.RoutingService] - Scheduler created
2006-11-08 15:10:13,971
[ncl.qosp.controller.scheduler.weighted.queue.QueueSizeScheduler] - Scheduler
component started
2006-11-08 15:10:41,014 [ncl.qosp.modules.manager.RouterDispatcher] - Handler
invoked
2006-11-08 15:10:41,030 [ncl.qosp.modules.manager.RouterDispatcher] - Internal
message [New node]
2006-11-08 15:11:01,183 [ncl.qosp.modules.manager.RouterDispatcher] - Handler
invoked
2006-11-08 15:11:01,183 [ncl.qosp.modules.manager.RouterDispatcher] - Internal
message [New service]
2006-11-08 15:11:31,836
[ncl.qosp.controller.scheduler.weighted.queue.QueueSizeScheduler] - Received
listener request
2006-11-08 15:11:31,836
[ncl.qosp.controller.scheduler.weighted.queue.QueueSizeScheduler] - Added
notification listener
2006-11-08 15:12:10,471 [ncl.qosp.modules.manager.RouterDispatcher] - Handler
invoked
2006-11-08 15:12:10,471 [ncl.qosp.modules.manager.RouterDispatcher] - Received
client request
2006-11-08 15:12:10,471 [ncl.qosp.modules.manager.RouterDispatcher] - Target
service: RoutingService
2006-11-08 15:13:50,271 [ncl.qosp.controller.LifecycleSupport] - Qosp is
shutting down...
2006-11-08 15:13:50,271
[ncl.qosp.controller.scheduler.weighted.queue.QueueSizeScheduler] - The timer
was not running
2006-11-08 15:13:50,271
[ncl.qosp.controller.scheduler.weighted.queue.QueueSizeScheduler] - Scheduler
component stopped
2006-11-08 15:13:50,271 [ncl.qosp.controller.LifecycleSupport] - Scheduler
stopped
2006-11-08 15:13:50,271 [ncl.qosp.controller.LifecycleSupport] - Scheduler
unregistered from the mbean server
2006-11-08 15:13:50,302 [ncl.qosp.controller.LifecycleSupport] - Connector
server stopped
2006-11-08 15:17:59,363 [ncl.qosp.controller.RoutingService] - Startup time is:
Wed Nov 08 15:17:59 GMT 2006
2006-11-08 15:17:59,769 [ncl.qosp.controller.RoutingService] - -- Constructor
2006-11-08 15:17:59,831 [ncl.qosp.controller.RoutingService] - Scheduler created
2006-11-08 15:17:59,847
[ncl.qosp.controller.scheduler.weighted.queue.QueueSizeScheduler] - Scheduler
component started
2006-11-08 15:18:10,205 [ncl.qosp.modules.manager.RouterDispatcher] - Handler
invoked
2006-11-08 15:18:10,205 [ncl.qosp.modules.manager.RouterDispatcher] - Internal
message [New node]
2006-11-08 15:18:20,891 [ncl.qosp.modules.manager.RouterDispatcher] - Handler
invoked
2006-11-08 15:18:20,891 [ncl.qosp.modules.manager.RouterDispatcher] - Internal
message [New service]
2006-11-08 15:18:38,404 [ncl.qosp.modules.manager.RouterDispatcher] - Handler
invoked
2006-11-08 15:18:38,404 [ncl.qosp.modules.manager.RouterDispatcher] - Received
client request
2006-11-08 15:18:38,404 [ncl.qosp.modules.manager.RouterDispatcher] - Target
service: RoutingService
2006-11-08 15:24:31,935 [ncl.qosp.modules.manager.RouterDispatcher] - Handler
invoked
2006-11-08 15:24:31,935 [ncl.qosp.modules.manager.RouterDispatcher] - Received
client request
2006-11-08 15:24:31,935 [ncl.qosp.modules.manager.RouterDispatcher] - Target
service: RoutingService
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]