java - FatWire Content Server CSDT import/export failure -
i trying import , export workspace from/to fatwire contentserver using csdt.
i first wanted try "simple" export of provided "firstsiteii" site following command :
java -classpath $csdtjar_folder/csdt-client-1.0.4.jar:$csdtjar_folder/lib/* com.fatwire.csdt.client.main.csdt $cs_url username=fwadmin password=mypassword cmd=export datastore=test fromsites=firstsiteii 'resources=@all_assets:*'
but, got error :
*** exporting batch 1398411569399 exporting assetdata document_cd:1112649867903 (batch 1398411569399) java.lang.classnotfoundexception: com.fatwire.rest.util.assetjaxbserializer @ org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1680) @ org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1526) @ java.lang.class.forname0(native method) @ java.lang.class.forname(class.java:190) @ com.fatwire.realtime.packager.csdtutil._getserializer(y:930) @ com.fatwire.realtime.packager.csdtutil._export(y:158) @ com.fatwire.realtime.packager.csdtutil.export(y:575) @ com.fatwire.csdt.service.impl.exportservice._export(y:3405) @ com.fatwire.csdt.service.impl.exportservice.execute(y:2237) @ org.apache.jsp.jsp.cs_005fdeployed.openmarket.xcelerate.prologactions.publish.csdt.csdtservice_jsp._jspservice(csdtservice_jsp.java:170) @ org.apache.jasper.runtime.httpjspbase.service(httpjspbase.java:70) @ javax.servlet.http.httpservlet.service(httpservlet.java:723) @ org.apache.jasper.servlet.jspservletwrapper.service(jspservletwrapper.java:388) @ org.apache.jasper.servlet.jspservlet.servicejspfile(jspservlet.java:313) @ org.apache.jasper.servlet.jspservlet.service(jspservlet.java:260) @ javax.servlet.http.httpservlet.service(httpservlet.java:723) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:290) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ org.apache.catalina.core.applicationdispatcher.invoke(applicationdispatcher.java:646) @ org.apache.catalina.core.applicationdispatcher.doinclude(applicationdispatcher.java:551) @ org.apache.catalina.core.applicationdispatcher.include(applicationdispatcher.java:488) @ com.futuretense.servlet.servletrequest.include(y:3531) @ com.futuretense.servlet.k.h(y:2027) @ com.futuretense.servlet.h.a(y:2278) @ com.futuretense.platform.none.d.a(y:2409) @ com.futuretense.servlet.h.a(y:1535) @ com.futuretense.platform.none.d$_d.run(y:338) @ com.futuretense.common.j.jspexecute(y:2452) @ com.futuretense.common.j.evaltemplate(y:218) @ com.futuretense.common.j.a(y:3467) @ com.futuretense.common.j.evalpage(y:3048) @ com.futuretense.common.j.execute(y:2757) @ com.futuretense.servlet.ftservlet.execute(y:1088) @ com.futuretense.servlet.ftservlet.dopost(y:3299) @ javax.servlet.http.httpservlet.service(httpservlet.java:643) @ javax.servlet.http.httpservlet.service(httpservlet.java:723) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:290) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ com.fatwire.cs.core.logging.context.filter.contextheaderfilter.dofilterwork(y:526) @ com.fatwire.cs.core.logging.context.filter.runonceperrequestfilter.dofilter(y:2152) @ com.fatwire.cs.core.logging.context.filter.httpfilter.dofilter(y:1020) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:235) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:233) @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:191) @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:127) @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:103) @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:109) @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:293) @ org.apache.coyote.http11.http11processor.process(http11processor.java:861) @ org.apache.coyote.http11.http11protocol$http11connectionhandler.process(http11protocol.java:606) @ org.apache.tomcat.util.net.jioendpoint$worker.run(jioendpoint.java:489) @ java.lang.thread.run(thread.java:744) error while exporting: export error: java.lang.classnotfoundexception: com.fatwire.rest.util.assetjaxbserializer java.lang.runtimeexception: java.lang.classnotfoundexception: com.fatwire.rest.util.assetjaxbserializer @ com.fatwire.realtime.packager.csdtutil._export(y:3146) @ com.fatwire.realtime.packager.csdtutil.export(y:575) @ com.fatwire.csdt.service.impl.exportservice._export(y:3405) @ com.fatwire.csdt.service.impl.exportservice.execute(y:2237) @ org.apache.jsp.jsp.cs_005fdeployed.openmarket.xcelerate.prologactions.publish.csdt.csdtservice_jsp._jspservice(csdtservice_jsp.java:170) @ org.apache.jasper.runtime.httpjspbase.service(httpjspbase.java:70) @ javax.servlet.http.httpservlet.service(httpservlet.java:723) @ org.apache.jasper.servlet.jspservletwrapper.service(jspservletwrapper.java:388) @ org.apache.jasper.servlet.jspservlet.servicejspfile(jspservlet.java:313) @ org.apache.jasper.servlet.jspservlet.service(jspservlet.java:260) @ javax.servlet.http.httpservlet.service(httpservlet.java:723) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:290) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ org.apache.catalina.core.applicationdispatcher.invoke(applicationdispatcher.java:646) @ org.apache.catalina.core.applicationdispatcher.doinclude(applicationdispatcher.java:551) @ org.apache.catalina.core.applicationdispatcher.include(applicationdispatcher.java:488) @ com.futuretense.servlet.servletrequest.include(y:3531) @ com.futuretense.servlet.k.h(y:2027) @ com.futuretense.servlet.h.a(y:2278) @ com.futuretense.platform.none.d.a(y:2409) @ com.futuretense.servlet.h.a(y:1535) @ com.futuretense.platform.none.d$_d.run(y:338) @ com.futuretense.common.j.jspexecute(y:2452) @ com.futuretense.common.j.evaltemplate(y:218) @ com.futuretense.common.j.a(y:3467) @ com.futuretense.common.j.evalpage(y:3048) @ com.futuretense.common.j.execute(y:2757) @ com.futuretense.servlet.ftservlet.execute(y:1088) @ com.futuretense.servlet.ftservlet.dopost(y:3299) @ javax.servlet.http.httpservlet.service(httpservlet.java:643) @ javax.servlet.http.httpservlet.service(httpservlet.java:723) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:290) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ com.fatwire.cs.core.logging.context.filter.contextheaderfilter.dofilterwork(y:526) @ com.fatwire.cs.core.logging.context.filter.runonceperrequestfilter.dofilter(y:2152) @ com.fatwire.cs.core.logging.context.filter.httpfilter.dofilter(y:1020) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:235) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:233) @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:191) @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:127) @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:103) @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:109) @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:293) @ org.apache.coyote.http11.http11processor.process(http11processor.java:861) @ org.apache.coyote.http11.http11protocol$http11connectionhandler.process(http11protocol.java:606) @ org.apache.tomcat.util.net.jioendpoint$worker.run(jioendpoint.java:489) @ java.lang.thread.run(thread.java:744) caused by: java.lang.classnotfoundexception: com.fatwire.rest.util.assetjaxbserializer @ org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1680) @ org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1526) @ java.lang.class.forname0(native method) @ java.lang.class.forname(class.java:190) @ com.fatwire.realtime.packager.csdtutil._getserializer(y:930) @ com.fatwire.realtime.packager.csdtutil._export(y:158) ... 47 more export error: java.lang.classnotfoundexception: com.fatwire.rest.util.assetjaxbserializeroutput saved /usr/share/tomcat6/fatwire/export/envision/test
meanwhile, cmd=listcs
works expected...
any ideas can find com.fatwire.rest.util.assetjaxbserializeroutput
, because, indeed, none of jar in classpth contains class ?
i using fatwire contentserver 7.6.2 patch 15.
the com.fatwire.rest.util.assetjaxbserializer
class in rest-api-local-impl-1.1.4.jar
, should in tomcat webapps/cs/web-inf/lib
folder. shouldn't need specify in classpath when running csdt, though - fatwire using generate xml asset exports.
Comments
Post a Comment