Hi, I am getting this run time error.. at my code line
//Create a ProcessTemplateDocument object
ProcessTemplateDocument processTemplateDocument = ProcessTemplateDocumentFactory.parseProcessTemplate(configuration.getDescriptor());
orchestration.setDescription(processTemplateDocument.getDescription());
orchestration.setId(processTemplateDocument.getName());
orchestration.setCategoryId(catId);
orchestration.setCategoryDescription(catDesc);
I have added these jar files
import
com.adobe.workflow.template.document.ProcessTemplateDocument;import
com.adobe.workflow.template.document.ProcessTemplateDocumentFactory;there is no compile time error..
Exception in thread "main" java.lang.NoClassDefFoundError: com.thoughtworks.xstream.io.HierarchicalStreamDriver
at java.lang.J9VMInternals.verifyImpl(
Native Method)
at java.lang.J9VMInternals.verify(
J9VMInternals.java:63)
at java.lang.J9VMInternals.initialize(
J9VMInternals.java:124)
at com.adobe.workflow.template.document.DefaultEndpointTemplate.<init>(
DefaultEndpointTemplate.java:107)
at com.adobe.workflow.template.document.DefaultSwimlaneTemplate.<init>(
DefaultSwimlaneTemplate.java:647)
at com.adobe.workflow.template.document.DefaultPoolTemplate.createPool(
DefaultPoolTemplate.java:199)
at com.adobe.workflow.template.document.DefaultPoolTemplate.<init>(
DefaultPoolTemplate.java:115)
at com.adobe.workflow.template.document.DefaultBranchTemplate.<init>(
DefaultBranchTemplate.java:128)
at com.adobe.workflow.template.document.DefaultProcessTemplateDocument.<init>(
DefaultProcessTemplateDocument.java:327)
at com.adobe.workflow.template.document.ProcessTemplateDocumentFactory.parseProcessTemplate(
ProcessTemplateDocumentFactory.java:69)
at archive.ExportLCA.main(
ExportLCA.java:116)
Solved! Go to Solution.
Views
Replies
Total Likes
In Workbench right click on your application version and choose "Create LiveCycle Archive..."
Views
Replies
Total Likes
You do realize that we have an ApplicationManager API to help you import
LCA.
You can check a sample code under C:\Adobe\Adobe LiveCycle ES2\LiveCycle_ES_SDK\misc\Foundation\ArchiveManagement\Scripted-Lca-Deployment
Jasmin
Views
Replies
Total Likes
Jasmin,
How can i export a LCA file.
Is there any script.. Please let me know.. I want to make a Java Application, which can create lca of an application on my local system.
I know how to upload or import an LCA to the server... but Not able to export a lca ...
Regards
Sunil
Views
Replies
Total Likes
In Workbench right click on your application version and choose "Create LiveCycle Archive..."
Views
Replies
Total Likes
Hodmi,
I want to create LCA file from java code. Is there any sample code which can download/archive my application to local system.
i dont want to create from work bench..i want it from java/dot net application...
Please let me knw..
thanks in advance
Views
Replies
Total Likes
We have an API to deploy LCA, but we don't have a public API to create these LCAs.
Jasmin
Views
Replies
Total Likes
Hi Jasmine,
We are also working on a project that soon need to be migrated from dev to test/prod environements and looking for some help on these topics.
Can you let us know what APIs are avaialable for deployment?
Are there Webservices avaialable? is there any standard that I can follow
Can it deploy the patches or only the complete LCA?
Can I build the LCA by zipping the files and adding the app.info? would it comply with the adobe standards if I zip it this way?
Appreciate your feedback.
Views
Replies
Total Likes
There is a quick start called 'Quick Start: Exporting an application using the Java API' found at
that suggests that there is an API to export an LCA. I've tried the code but it fails exactly where Sunil says it does.
Is there a similar code sample available for ES3.0 (or ADEP or version 10 or what ever it's called this week) ?
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies