Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 03 Jan 2012 @ 22:22:24 GMT


     
  <Prev Next>  
<<First
<Prev
Next> Last>>  


Subj:   Serialize CLOB
 
From:   Anomy Anom

<-- Anonymously Posted: Tuesday, January 03, 2012 17:04 -->

Hi,

Do you know how to serialize Teradata CLOB object in javaBean

I am writing custom type handler for CLOB which implements org.apache.ibatis.type.TypeHandler. I provided my deploy.wsdd with the following code:

     

And here is my error:

     2012-01-03 22:10:26 org.apache.axis.encoding.ser.BeanSerializer serialize SEVERE: Exception:
     java.io.IOException: No serializer found for class com.teradata.jdbc.Clob in
     registry org.apache.axis.encoding.TypeMappingDelegate@18fc9ba
        at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1507)
        at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
        at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:734)
        at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:230)
        at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1504)
        at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
        at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:734)
        at org.apache.axis.encoding.ser.ArraySerializer.serialize(ArraySerializer.java:414)
        at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1504)
        at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
        at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:801)
        at org.apache.axis.message.RPCParam.serialize(RPCParam.java:208)
        at org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433)
        at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
        at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139)
        at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478)
        at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
        at org.apache.axis.Message.writeTo(Message.java:539)
        at org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.java:902)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:777)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at repository.service.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:100)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(UnknownSource)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

Best Regards



     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016