Sometimes importing a Full Server Backup (FSB) from one TDV server to another fails with the below error. This article explains the reason and the steps to follow to help with the error.
----------------------
Example of the import command and the error:
[TDV_Server_Install_Dir]\bin>backup_import.bat -server localhost -port 9400 -user admin -password password -encryptionPassword 1234567890 -pkgfile "C:\temp\FSB_9800.car"
com.compositesw.cdms.webapi.WebapiException: The attribute "/server/webservices/odata/enableOData4Service" may not be modified. [Log ID: e57cd810-636a-4661-ad6a-7b4eb2d305f4]
at com.compositesw.cdms.webapi.WebapiException_SOAPSerializer.doDeserialize(WebapiException_SOAPSerializer.java:58)
at com.sun.xml.rpc.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:209)
at com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:172)
at com.compositesw.cdms.webapi.service.WMetaDataSvc_archive_performImport_Fault_SOAPSerializer.deserializeDetail(WMetaDataSvc_archive_performImport_Fault_SOAPSerializer.java:54)
at com.sun.xml.rpc.encoding.SOAPFaultInfoSerializer.doDeserialize(SOAPFaultInfoSerializer.java:151)
at com.sun.xml.rpc.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:209)
at com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:172)
at com.compositesw.cdms.webapi.service.WMetaDataSvc_Stub._readBodyFaultElement(WMetaDataSvc_Stub.java:25271)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:238)
at com.compositesw.cdms.webapi.service.WMetaDataSvc_Stub.archive_performImport(WMetaDataSvc_Stub.java:5373)
at com.compositesw.cdms.webapi.WArchive.performImport(WArchive.java:163)
at com.compositesw.cmdline.archive.RestoreCommand.uploadArchive(RestoreCommand.java:478)
at com.compositesw.cmdline.archive.RestoreCommand.startCommand(RestoreCommand.java:130)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.compositesw.base.boot.ArchiveBoot.main(ArchiveBoot.java:63)
----------------------
This error is seen when the value for the below configuration is set differently between the source TDV server (from where the FSB is exported) and the target TDV server (to where the FSB is imported).
Path: TDV Studio > Administration > Configuration > Server > Web Services Interface > ODATA >
Enable ODATA 4.0 Services (On Server Restart)The default value of this configuration is
TRUE.