CSDT Import Fails On Template With "Error Deserializing Asset" Caused By: FileNotFoundException (Doc ID 2019413.1)

Last updated on JULY 07, 2017

Applies to:

Oracle WebCenter Sites - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

Importing a CSDT export fails with exception:

[2015-06-08 19:17:04,098 CDT] [INFO ] [.kernel.Default (self-tuning)'] [com.fatwire.csdt] Importing DSKEY Template-a12bc3d4-e5fa-6789-0b12-345c678d9012 (batch 1433808382092)
[2015-06-08 19:17:04,104 CDT] [INFO ] [.kernel.Default (self-tuning)'] [com.fatwire.csdt] IdMapping explicitly disabled.
[2015-06-08 19:17:04,121 CDT] [ERROR] [.kernel.Default (self-tuning)'] [com.fatwire.csdt] Error while importing: Import Error: Error deserializing asset
com.fatwire.cs.core.realtime.DataException: Error deserializing asset
at com.fatwire.rest.util.AssetJAXBDeserializer.execute(AssetJAXBDeserializer.java:69)
at com.fatwire.realtime.DefaultDeserializerImpl.execute(DefaultDeserializerImpl.java:163)
at com.fatwire.realtime.packager.CSDTUtil._import(CSDTUtil.java:474)
at com.fatwire.realtime.packager.CSDTUtil.Import(CSDTUtil.java:360)
at com.fatwire.csdt.service.impl.ImportService.importData(ImportService.java:227)
at com.fatwire.csdt.service.impl.ImportService.execute(ImportService.java:88)
at jsp_servlet._jsp._cs_deployed._openmarket._xcelerate._prologactions._publish._csdt.__csdtservice._jspService(__csdtservice.java:223)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)
at COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1411)
at COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1428)
...
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: {install dir}/export/envision/{data store}/src/jsp/cs_deployed/Page/Site1/MyDirectory/Detail.jsp (No such file or directory)
at com.fatwire.realtime.packager.FSDataStore$FileStorableImpl.getInputStream(FSDataStore.java:816)
at com.fatwire.rest.util.AssetJAXBDeserializer._storable2blob(AssetJAXBDeserializer.java:133)
at com.fatwire.rest.util.AssetJAXBDeserializer._addBlobs(AssetJAXBDeserializer.java:90)
at com.fatwire.rest.util.AssetJAXBDeserializer.execute(AssetJAXBDeserializer.java:62)
... 50 more
Caused by: java.io.FileNotFoundException: {install dir}/export/envision/{data store}/src/jsp/cs_deployed/Page/Site1/MyDirectory/Detail.jsp (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:120)
at com.fatwire.realtime.packager.FSDataStore$FileStorableImpl.getInputStream(FSDataStore.java:812)
... 53 more


Changes

The file {install dir}/export/envision/{data store}/src/jsp/cs_deployed/Page/Site1/MyDirectory/Detail.jsp does not exist, but {install dir}/export/envision/{data store}/src/jsp/cs_deployed/Page/Site1/Mydirectory/Detail.jsp does.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms