CSDT Import Fails for Page Assets without Subtype (PageDefinition) Due to "Unknown subtype FW_DEFAULT" (Doc ID 1519486.1)

Last updated on JUNE 29, 2017

Applies to:

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

Symptoms

When using CSDT to import Page assets with no subtype into a target environment with no sample sites/assets installed, the following errors are thrown:


[ERROR] [http-8080-3] [logging.cs.xcelerate.asset] Invalid Flex subtype specified: FW_DEFAULT
[ERROR] [http-8080-3] [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:70)
    at com.fatwire.realtime.DefaultDeserializerImpl.execute(DefaultDeserializerImpl.java:163)
    at com.fatwire.realtime.packager.CSDTUtil._import(CSDTUtil.java:439)
    at com.fatwire.realtime.packager.CSDTUtil._import(CSDTUtil.java:420)
    at com.fatwire.realtime.packager.CSDTUtil._import(CSDTUtil.java:420)
    at com.fatwire.realtime.packager.CSDTUtil.Import(CSDTUtil.java:331)
    at com.fatwire.csdt.service.impl.ImportService.importData(ImportService.java:185)
    at com.fatwire.csdt.service.impl.ImportService.execute(ImportService.java:73)
    at org.apache.jsp.jsp.cs_005fdeployed.OpenMarket.Xcelerate.PrologActions.Publish.csdt.CSDTService_jsp._jspService(CSDTService_jsp.java:177)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
    at COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1411)
    at COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1428)
    at COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:102)
    at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:463)
    at COM.FutureTense.Servlet.JSPServices.runJSPObject(JSPServices.java:50)
    at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager$JSPDataFile.run(FILESYSTEMJSPManager.java:190)
    at COM.FutureTense.Common.ContentServer.jspExecute(ContentServer.java:2923)
    at COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2517)
    at COM.FutureTense.Common.ContentServer.generatePage(ContentServer.java:1536)
    at COM.FutureTense.Common.ContentServer.evalPage(ContentServer.java:1247)
    at COM.FutureTense.Common.ContentServer.execute(ContentServer.java:453)
    at COM.FutureTense.Servlet.FTServlet.execute(FTServlet.java:129)
    at COM.FutureTense.Servlet.FTServlet.doPost(FTServlet.java:61)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:557)
    at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.fatwire.cs.ui.framework.UIFilter.doFilter(UIFilter.java:108)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Unknown Source)
Caused by: com.fatwire.assetapi.common.AssetAccessException: com.openmarket.basic.interfaces.AssetException: Unknown subtype FW_DEFAULT
    at com.fatwire.assetapi.def.AssetTypeDefManagerImpl.findByName(AssetTypeDefManagerImpl.java:102)
    at com.fatwire.rest.util.AssetHandler.getAssetData(AssetHandler.java:634)
    at com.fatwire.rest.util.AssetHandler.getAssetData(AssetHandler.java:601)
    at com.fatwire.rest.util.AssetJAXBDeserializer.execute(AssetJAXBDeserializer.java:65)
    ... 53 more
Caused by: com.openmarket.basic.interfaces.AssetException: Unknown subtype FW_DEFAULT
    at com.openmarket.gator.page.PageManager.getAttributesDefinitions(PageManager.java:198)
    at com.openmarket.assetframework.complexasset.AssetManager.getAttributeDefs(AssetManager.java:1983)
    at com.fatwire.assetapi.def.AssetTypeDefManagerImpl.findByName(AssetTypeDefManagerImpl.java:94)
    ... 56 more


The Page assets in question do not have a subtype value in their main.xml file, but they do have a valid flextemplateid (PageDefinition) referenced. For example:  

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