Wednesday, February 27, 2013

"Data transfer error in MDS.: (Wrapped) UTF binary length"

Problem:

I was using Ant to import a large number of files to the MDS.

Here is the output and the error received:
importMDSArtifact:   [delete] Deleting directory /u01/deploy/tmp/AIAMetaData    [mkdir] Created dir: /u01/deploy/tmp/AIAMetaData      [zip] Building zip: /u01/deploy/tmp/AIAMetaData/AIAMetaData_mds.jar      [zip] Building zip: /u01/deploy/tmp/AIAMetaData/AIAMetaData_mds.zip     [echo] SAR File: /u01/deploy/tmp/AIAMetaData/AIAMetaData_mds.zip     [echo] oracle.home = /u01/app/oracle/middleware/Oracle_SOA1
deploy:    [input] skipping input as property serverURL has already been set.    [input] skipping input as property sarLocation has already been set.[deployComposite] setting user/password..., user=weblogic[deployComposite] Processing sar=/u01/deploy/tmp/AIAMetaData/AIAMetaData_mds.zip[deployComposite] created temp dir =/tmp/deploy_client_1361656759642[deployComposite] Adding shared data file - /tmp/deploy_client_1361656759642/AIAMetaData_mds.jar[deployComposite] INFO: Creating HTTP connection to host:soadev, port:8001[deployComposite] INFO: Received HTTP response from the server, response code=500[deployComposite] ---->response code=500, error:There was an error deploying the composite on soa_server1: Data transfer error in MDS.: (Wrapped) UTF binary length=510738, max=65535.[deployComposite]     [echo]

Solution:

This is the second time in the last 12 months that I encountered this error. I can't remember how I resolved it the first time. However, the solutions this time was:

1. Bounce all SOA managed servers and try again (e.g., soa_server1, soa_server2, etc.)



Application versions:
  • Oracle SOA Suite 11g (11.1.1.5+)

No comments: