axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From venksrir <venks...@yahoo.com>
Subject Help to understand when would this situation arise?
Date Fri, 20 Mar 2009 06:09:07 GMT

Hello All,

We are using Axis 1.4 for Webservice. Our application is showing a huge
performance degradation and the logs indicate the following exception

	java.util.HashMap.get(HashMap.java:346)

org.apache.axis.encoding.TypeMappingImpl.getSerializer(TypeMappingImpl.java:324)

org.apache.axis.encoding.TypeMappingDelegate.getSerializer(TypeMappingDelegate.java:80)

org.apache.axis.encoding.SerializationContext.getSerializer(SerializationContext.java:1615)

org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1465)

org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)

org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:734)

org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:230)

org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1504)

org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)

org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:801)
	org.apache.axis.message.RPCParam.serialize(RPCParam.java:208)
	org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433)
	org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
	org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139)
	org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478)
	org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
	org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
	org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
	org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)

org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(AttachmentsImpl.java:554)
	org.apache.axis.Message.getContentType(Message.java:486)

org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:394)
	org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:181)

org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
	org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
	org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
	org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
	org.apache.axis.client.Call.invokeEngine(Call.java:2784)
	org.apache.axis.client.Call.invoke(Call.java:2767)
	org.apache.axis.client.Call.invoke(Call.java:2443)
	org.apache.axis.client.Call.invoke(Call.java:2366)
	org.apache.axis.client.Call.invoke(Call.java:1812)

Could someone throw light on when this error could possibly occur? The
exception trace indicates that HTTPSender is trying to get the ContentType
from the Message Object but not clear why RPC come in to picture even before
a Socket connection is established with the Remote producer.

The code snippet in HTTPSender

  Message reqMessage = msgContext.getRequestMessage();
...
...
contentType = reqMessage.getContentType(msgContext.getSOAPConstants());
Where contentType is String.


Thanks.
-- 
View this message in context: http://www.nabble.com/Help-to-understand-when-would-this-situation-arise--tp22614807p22614807.html
Sent from the Axis - User mailing list archive at Nabble.com.


Mime
View raw message