axis-java-user mailing list archives

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


Hi Keith,

We cannot upgrade to axis2 as it is not supported by our consumer
application.


Keithgchapman wrote:
> 
> Have you considered upgrading to Axis2? It performs 4 to 5 times faster
> than
> Axis.
> 
> Thanks,
> Keith.
> 
> On Fri, Mar 20, 2009 at 11:39 AM, venksrir <venksrir@yahoo.com> wrote:
> 
>>
>> 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.
>>
>>
> 
> 
> -- 
> Keith Chapman
> Senior Software Engineer
> WSO2 Inc.
> Oxygenating the Web Service Platform.
> http://wso2.org/
> 
> blog: http://www.keith-chapman.org
> 
> 

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


Mime
View raw message