Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Assembler
Viewing all 10743 articles
Browse latest View live

Assembler Service is failing

$
0
0

Hi,

 

I am new to ADEP LIVECYCLE. I have used a DDX script for merging comments on a PDF.

 

DDX used:

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">

  <PDF result="Result_DOC">

    <PDF source="PDF_Source"/>

    <Comments source="XFDF_Document"/>

  </PDF>

</DDX>

 

I have tried with the Preview Result option in the DDX.

 

I am getting a Error message as follows:

Preview of DDX failed:

 

com.adobe.idp.DocumentError: com.adobe.internal.pdftoolkit.core.exceptions.PDFCosParseException: Number in document is either greater than 2,147,483,647 OR less than -2,147,483,648

 

Please suggest me.

 

Thanks in advance........



Evaluating PDF Assembler and getting the following errors - Help needed

$
0
0

I am having following three issues when merging document using PDF Assembler Service:-


Error # 1 (JobID: 20369)

  1. System.ServiceModel.FaultException: Caused by: com.adobe.livecycle.assembler.client.ProcessingException: ALC-ASM-S00-002: Failed to execute the DDX - error messages provided. Caused by: com.adobe.internal.pdfm.assembly.AssemblyException: PDFM_S02013: The "insertDocument" operation failed on "137.pdf".; nested exception is:

com.adobe.livecycle.assembler.client.ProcessingException: ALC-ASM-S00-002: Failed to execute the DDX - error messages provided.

 

Error # 2 (JobID: 19966)

  1. System.ServiceModel.FaultException: Caused by: com.adobe.livecycle.assembler.client.ProcessingException: ALC-ASM-S00-002: Failed to execute the DDX - error messages provided. Caused by: com.adobe.internal.pdfm.assembly.AssemblyException: PDFM_S02013: The "insertDocument" operation failed on "1033.pdf".; nested exception is:

com.adobe.livecycle.assembler.client.ProcessingException: ALC-ASM-S00-002: Failed to execute the DDX - error messages provided.

 

Error # 3 (JobID: 19419)

The request channel timed out while waiting for a reply after 00:09:59.9920000. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.



XML Attachment

$
0
0

Hi All,

 

I'm trying to create a process that attaches an XML file to a PDF.  I tried using the ddx command but apparently it requires a PDF file as the attachment or it will convert the attachment to PDF.

 

I looked at the renderPDFForm service but it looks like in LCES2.5 the attachment is no longer there.

 

Should I be using the Assembler service or Forms service or something else?

 

Thanks.

s_stuff

Assembler Service Issue Formatter Exception

$
0
0

Hello,

 

I'm currently using the assembler service in  solution that stores the forms and fragments xdp's inside a database as varchar(max).

After reading the text from the database I pass it to a blob.MTOM object using Encoding.UTF8.GetBytes(myTemplateInString).

After filling the inputMap and send it with the blob assembly object, I get the following exception:

 

 

Thanks for your help.

 

The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://adobe.com/idp/services:invokeResponse. The InnerException message was 'Error in line 1 position 1733. Element 'http://xml.apache.org/xml-soap:value' contains data from a type that maps to the name 'http://adobe.com/idp/services:ProcessingException'. The deserializer has no knowledge of any type that maps to this name. Consider using a DataContractResolver or add the type corresponding to 'ProcessingException' to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding it to the list of known types passed to DataContractSerializer.'.  Please see InnerException for more details.

 

 

Server stack trace:

   at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.DeserializeParame terPart(XmlDictionaryReader reader, PartInfo part, Boolean isRequest)

   at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.DeserializeParame ter(XmlDictionaryReader reader, PartInfo part, Boolean isRequest)

   at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.DeserializeParame ters(XmlDictionaryReader reader, PartInfo[] parts, Object[] parameters, Boolean isRequest)

   at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.DeserializeBody(X mlDictionaryReader reader, MessageVersion version, String action, MessageDescription messageDescription, Object[] parameters, Boolean isRequest)

   at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeBodyContents(Message message, Object[] parameters, Boolean isRequest)

   at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeReply(Message message, Object[] parameters)

   at System.ServiceModel.Dispatcher.ProxyOperationRuntime.AfterReply(ProxyRpc& rpc)

   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)

   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)

   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)

   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)

   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

 

Exception rethrown at [0]:

   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

   at FormDesigner.AssemblerSvc.AssemblerService.invoke(invokeRequest request)

   at FormDesigner.AssemblerSvc.AssemblerServiceClient.FormDesigner.AssemblerSvc.AssemblerServi ce.invoke(invokeRequest request) in C:\Users\jrecio\Documents\Visual Studio 2010\Projects\FormDesigner\PDFAssembler\Service References\AssemblerSvc\Reference.cs:line 3793

   at FormDesigner.AssemblerSvc.AssemblerServiceClient.invoke(BLOB inDDXDoc, MyMapOf_xsd_string_To_xsd_anyType inputs, AssemblerOptionSpec environment) in C:\Users\jrecio\Documents\Visual Studio 2010\Projects\FormDesigner\PDFAssembler\Service References\AssemblerSvc\Reference.cs:line 3802

   at FormDesigner.PDFFormGenerator.byteArrayOfPrintedPDF(String assemblyName) in C:\Users\jrecio\Documents\Visual Studio 2010\Projects\FormDesigner\PDFAssembler\PDFDesigner\PDFFormGenerator.cs:line 374

Assembler and PDF/A ??

$
0
0

We have Adobe LC ES2 SP2 and froms Server service license.

 

Well, we need to convert PDF to PDF / A, we are trying to use the Assembler service.

 

In the documentation "in Acrobat 9 and PDF/A-1 LiveCycle ES" (http://www.adobe.com/content/dam/Adobe/en/devnet/livecycle/pdfs/readercomp_pdfa.pdf), page 2, "Available tools ", there is a table where it says:

 

Source / Tool / ---- Function ----- Usage --- 1a -1b

LC ES / Assembler / conversion / automated / no / yes

LC ES / Assembler / validated -/ automated / no / yes

 

From this we can deduce that using the Assembler service can convert and validate PDF/A-1b.

 

However, the tests we have made ??in this regard, by IVS utility not seem to work, and server-side errors are generated.

 

We are trying to validate (using the Assembler service) a very simple PDF, which also meets PDF/A-1b know that, which we found through:

 

DDX: [<DDX xmlns="http://ns.adobe.com/DDX/1.0/">

<DocumentInformation result="info" source="doc1" />

</DDX>]

 

Response: [<?xml version="1.0" encoding="UTF-8"?>

<DocInfo xmlns="http://ns.adobe.com/DDX/DocInfo/1.0/">

  <Title/>

  <Author>Javier Padrn Mrida</Author>

  <CreatedDate>2012-01-23T15:05:31Z</CreatedDate>

  <ModifiedDate>2012-01-23T15:06:21Z</ModifiedDate>

  <Creator>Acrobat PDFMaker 8.1 para Word</Creator>

  <Producer>Acrobat Distiller 8.1.0 (Windows)</Producer>

  <Version>1.4</Version>

  <NumPages>1</NumPages>

  <PDFAConformance isCompliant="notValidated" compliance="PDF/A-1b"/>

  <FormType>NotAForm</FormType>

  <PageSizes>

    <PageSize pages="1-1" width="595.22pt" height="842.0pt"/>

  </PageSizes>

  <PageRotations>

    <PageRotation pages="1-1" rotate90="0"/>

  </PageRotations>

  <PageLabels>

    <PageLabel pages="1-1" start="1" format="Decimal"/>

  </PageLabels>

</DocInfo>]

 

As expected PDFAConformance is PDF/A-1b ... But if we modify the DDX for detailed validation:

 

DDX: [<DDX xmlns="http://ns.adobe.com/DDX/1.0/">

<DocumentInformation result="info" source="doc1">

<PDFAValidation

ignoreUnusedResources="true"

resultLevel="Detailed"/>

</DocumentInformation>

</DDX>]

 

Response: [[object Object]

null]

 

 

We tested with different types of PDF and in any case the Assembler service seems to be able to process the labels "PDFAValidation" or "PDFAProfile", the server side we get:

 

[com.adobe.livecycle.assembler.client.OperationException: ALC-ASM-S00-002: Failed to execute the DDX - error messages provided. Caused by: com.adobe.internal.ddxm.ValidationException: DDXM_S00003: The DDX did not pass validation against the specification. Check the job log for details.; nested exception is:

com.adobe.livecycle.assembler.client.OperationException: ALC-ASM-S00-002: Failed to execute the DDX - error messages provided.

at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)

...

 

 

faultDetail: com.adobe.internal.ddxm.ddx.DDX.logInvalidMessage DDXM_S23001: Element PDFAValidation is invalid since document conversion is not enabled.]

 

 

So finally the question is: Is it possible to generate any type of PDF / A using only the Assembler service?

filling form fields using .xml

$
0
0

Hi all,

 

We got a new requirement from our client to fill the form using .xml file.

 

Input for this process is:

1. PDF form with empty field

2. XML file to fill the form

 

I am using LiveCycle ES 8.2.

 

If anyone have this process, please advice us.

 

Thanks.

Shaji

Need Base64 instead of remoteURL as the result for Assembler Service Merging

$
0
0

I am hitting Assembler Service to Merge 3 Documents through SOAPUI and I am getting the base64 encoded merged document as the result.

 

But when I hit the same Assembler Service through IHS with a hostname instead of IP, I am getting a remoteURL as the result from Assembler Service which has an address to the DocumentManager,

 

Any settings that I am missing? I have enabled the FIPS in the AdminUI.

 

PS: The Adobe LiveCycle is in a SSL environment. Any special settings that I need to do for such a request to the Assembler Service?

Assembler DDX Service returns XML file with corrupted text

$
0
0

PDF documents received in Jan and Feb are no longer processed correctly by an existing DDX application. It seems the output XML file contains text corrupted with extra spacing between characters. Is this a recent know issue?

 

AFC


How to get the number of pages when assemble pdf with DDX

$
0
0

Hi,

     I have tried to add two bookmarks to one pdf with DDX(in java code),

     the first bookmark I shall add to the first page,and the second I shall add to the second page....

    the question is:

     If the pdf has only one page, I will not add bookmarks to the pdf. so I need to get the pages of pdf before my processing.

    but I did not found any APIs in the SDK about it .

     Can anyone help me.

     thanks.

Rotated Text not staying home

$
0
0

Greetings All,

I hope you can help me.

 

I need to apply PageLabel text to PDFs passed through assembler.

As long as the test is not rotated, I am able to set the margins as I desire to get the labels pinned to the lower left or lower right corners.

If I rotate the text 90 degrees, it seems to pivot on its center point, and not honor the margins anymore.

 

For example, if I have a piece of text that for the PageLabel that is 2 inches long:

"CNTL: 1234567_ABCDEFG"

I can get this to print 17 points up and in from the lower left corner by setting margins at 17 points for left and bottom.

Then set horizontalAnchor="Left" and verticalAnchor="Bottom"

If I add the parameter rotation="90" to the instruction, then the text moves about an inch to the right, and rotates on the "7' character.

The characters after the "C" are lost off the bottom of the page.

 

It appears to rotate the text after placement, spinning on it's relative center.

 

Is there any way to place rotated text on the edges or corners without having to estimate the length and try to combine Anchor and Offset parameters?

I would like the text to be stacked up off the bottom margin, hugging the left margin.

 

Any help is Greatly appreciated!

 

Thank You

Mark

How to handle keywords in TOC bookmarks?

$
0
0

Hi all,  

       How to handle keywords in Table of contents bookmarks?   When I use any keyword as part of bookmark in my Table of Contents, it is completely ignored by assembler service?

 

For ex: If Bookmark Title of my document is "Person_Authorised"  then when the final document is assembled and the Table of Contents is generated then the Bookmark title is displayed in Table of Contents is "Person ised".  Here Assembler service treats "_Author" as a keyword and ignores it. I don't understand why in the first place it is checking bookmark title for Keywords. Anyway, If anyone has any solution for this issue, please let me know it will help me a lot.

 

Thanks,

Vik

CollateralNotFoundException from the DDX

$
0
0

Hi,

 

Sorry, my question is a bit of naive.

 

I was trying to create a sample portfolio using Assembler.

 

The DDX file which I was using looks like below -

 

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">

  <PDF result="final.pdf">

    <PDF source="/Applications/SampleApplication/1.0/form1.pdf"/>

    <PDF source="/Applications/SampleApplication/1.0/form2.pdf"/>

  </PDF>

  <?ddx-source-hint name="/Applications/SampleApplication/1.0/form1.pdf"?>

  <?ddx-source-hint name="/Applications/SampleApplication/1.0/form2.pdf"?>

</DDX>

 

 

form1.pdf and form2.pdf are at the paths mentioned in the application. I am passing this DDX as an input to the process, but it is giving me the exception -

 

Caused by: com.adobe.internal.pdfm.CollateralNotFoundException: DDXM_S14017: A <PDF> source document is required, but no documents were found for {PDF source="/Applications/TestApplication/1.0/form1.pdf"}.

 

The process properties which I set are below -

process.JPG

 

Can somebody help me in resolving this exception ?

 

Thanks

FileAttachments in Execute Script

$
0
0

How to add attachments to generated PDF document (i.e. MainForm) and send it to a mail in a ALC process?

 

Here, my script below

 

import java.util.Map;

import java.util.HashMap;

import java.lang.String;

import java.lang.StringBuilder;

import java.util.List;

import com.adobe.idp.Document;

 

 

String QUOTE = "\"";

 

 

quote( String s ) {

  return  QUOTE + s + QUOTE;

}

 

 

generateDDX() {

 

 

List attachList = patExecContext.getProcessDataListValue("/process_data/attachments1");

 

Document parentDocument = patExecContext.getProcessDataDocumentValue("/process_data/formDoc");

String documentName = parentDocument.getAttribute("basename");

 

 

final StringBuilder ddx = new StringBuilder();

final String newLine = "\n";

 

 

ddx.append( "<?xml version=" ).append( quote("1.0" ) ).append( " encoding=" ) .append( quote( "UTF-8") ).append(  "?>"  ).append( newLine );

ddx.append( "<DDX xmlns=" ).append( this.quote( "http://ns.adobe.com/DDX/1.0/" ) ).append( ">" ).append( newLine );

ddx.append( "<PDF result=" ).append( this.quote( "out.pdf" )).append( ">" ).append( newLine );

ddx.append( "<PDF source=" ).append( this.quote( "in.pdf" )  ).append(">").append( newLine );

ddx.append( "<NoForms/>" ).append( newLine );

ddx.append( "<NoXFA/>" ).append( newLine );

 

Map documents = new HashMap();

for (int i=0; i<attachList.size(); i++) {

 

Document document = (Document)attachList.get(i);

String currentFileName = document.getAttribute("basename");

 

ddx.append( "<FileAttachments source=" ).append( this.quote( currentFileName ) ).append(  ">" ).append( newLine );

ddx.append( "<File filename=" ).append( this.quote( currentFileName )  ).append(  "/>" ).append( newLine );

ddx.append( "<FilenameEncoding encoding=" ) .append( this.quote( "UTF-8" )  ).append(  "/>" ).append( newLine );

ddx.append( "</FileAttachments>").append( newLine );

 

documents.put(currentFileName, document);

}

 

patExecContext.setProcessDataMapValue("/process_data/documents", documents);

ddx.append( "</PDF>\n</PDF>\n</DDX>\n" );

patExecContext.setProcessDataStringValue( "/process_data/@AssemblerDDX", ddx.toString() );

}

 

this.generateDDX();

 

Error Message:

Capture.JPG

Problem in merging two documents using Assembler service???

$
0
0

Hi,

 

I'm trying to merge two documents using Assembler service. In the first document, I have three form fields (One textbox and two buttons). There are separate onclick events written for each button. We have to fill the text box with enduser's input. The second document is a simple pdf image document. If I convert form (First document) to pdf to merge with second document, the buttons in the document are not working. If not, when trying to merge actual form with pdf using assembler service, it is throwing following errors:

 

Caused by: com.adobe.internal.pdfm.assembly.AssemblyException: PDFM_S02012: Document "srij_test1.pdf" cannot be assembled because it has an AcroForm and the base document "coverpage" has XFA.

          at com.adobe.internal.pdfm.assembly.DocAssembler.insertDocument(DocAssembler.java:930)

 

 

Please suggest how to resolve this....

 

Thanks in advance.......

Disassemble portfolio, how to?

$
0
0

hi,

i have problem with disassembling PDF portfolio.

I have process in cycle, which is assemble few forms with XFA data into a pdf's. At the end of this process, after loop, it makes a portfolio like this :
  <PDF result="Acrobat 9 Portfolio">
    <Portfolio>
      <Navigator source="AdobeRevolve.nav"/>
      <Schema>
        <Field name="Character" type="Filename"/>
        <Field name="Location" type="Text"/>
      </Schema>
    </Portfolio>
    <PackageFiles>
      <PDF source="Swami.pdf"/>
      <PDF source="Sherlock.pdf"/>
      <FieldData name="Location">London</FieldData>
    </PackageFiles>
  </PDF>

This portfolio i will send to user and he should fill it up and send it back to me. For disassemble portfolio i tried
  <PDFsFromBookmarks prefix="Animal">
    <PDF source="doc1"/>
  </PDFsFromBookmarks>

but in Assembler result i got no documents like in attachement can see.

I need help with this? Thanks a lot.


How to set Bookmark element to expand

$
0
0

Hi All,

 

First I'll explain the solution so that you understand what I'm trying to accomplish.

 

The solution involves several PDF files and each one is linked by the bookmark using the following DDX:

 

<Bookmark>    
    <Action>    
          <Launch NewWindow="true">     
               <File Name="MyFile.pdf"/>    
          </Launch>   
     </Action>   
     <Title>Contents</Title>  
</Bookmark>

 

Each PDF file will contains the same bookmark hierarchy data which consist of several levels, therefore they contain the links to the other PDF files.  Each time one of the bookmark element is clicked the bookmark resets back to it's orginal state of collapsed since it is opening a new pdf file.

 

I'm trying to dynamically assemble a bookmark.xml file with a pdf document.  There are two things I want to accomplish through the bookmark.xml:

 

1.  Set one specific bookmark element to expanded when it's rendered

2.  Set the focus (or highlight) a specific bookmark element when it's rendered.

 

Basically each time a bookmark item is clicked I want to maintain the user's last selected bookmark item to be expanded when the new pdf file is displayed.

 

I've attached a sample pdf file in which I can manipulate the expanding and collapsing of the bookmark via javascript, I need to figure out how to do this via the xml file that defines the bookmark hierarchy and functions, since the bookmark is merged with the PDF via the Assembler DSC service.

 

Is this possible?  If yes what xml tag would accomplish this?  Please provide any suggestion or alternative solution.  Currently I have two alternative solution (html or flex UI) but this involves additional depencies outside of LiveCycle, I'd like to create a solution that is completely Adobe LiveCycle.

 

Thanks,

s_stuff

What is the best practice to configure Watchedfolder process to assemble multiple file types to single PDF file

$
0
0

I have a requirement to assemble multiple files from client app to a single PDF file. Please let me know the best practice to achieve it through watchedfolder configuration. We have to use watched folder sue to several reasons. I have noted down some design considerations please let me know if there is a better method. Also any reference to process input.xml file will also be very helpful.

 

Client App:

The client app will

    -> Generate a input.xml file and prepare few input files with multiple extensions like .doc, .html, .xls, .pdf etc.

    -> All these files along with input.xml will be copied inside a directory (input-dir) with unique name and input-dir will be copied to the 'input' directory of ALC ES4 watched folder.

    -> The app will wait for the result file to appear in the 'result' directory of ALC watched folder.

    -> The result file will be named same as name of input-dir.pdf as it is a unique name and it will help to troubleshoot the environment in case of any error.

 

The input.xml will contain below information.

   -> Header

   -> Footer

   -> List of file names

  

ALC ES4:

A process watching the folder will copy the input-dir along with all files and process it and write the output to result directory.

 

Flow of the process needs to be as below.

Option 1  

   -> Store the input-dir name to use in result PDf name

   -> Read input.xml file and store header and footer values to a variable

   -> Read the file list info from input.xml and convert files one by one to PDF in the same order (the order is important)

   -> Prepare a variable with generated file names

   -> Assemble all generated PDF files and apply header, footer information

   -> Write the result PDF to 'result' directory of watched folder

 

Option 2

   -> Store the input-dir name to use in result PDf name

   -> Read input.xml file and store header and footer values to a variable

   -> Read the file list info from input.xml and store it in a variable

   -> Assemble all input files as package and apply header, footer information

   -> All non PDF files will be automatically converted to PDF (is this available?)

   -> Write the result PDF to 'result' directory of watched folder

Merging annotations in PDF using Assembler Service

$
0
0

Hi all,

 

I want to merge Annotations in pdf. For that, I am using Assembler service. DDx is as below:

 

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">

  <PDF result="resultDoc">

    <PDF source="originalPDF"/>

    <Comments source="commentsXFDF"/>

  </PDF>

  <?ddx-source-hint name="originalPDF"?>

  <?ddx-source-hint name="commentsXFDF"?>

</DDX>

 

Above DDX is not working for pdfs, which are not created by Adobe(related products).  Sample Input pdf producer is "Dalim Software Applications"

 

Error logs are as below:

 

2013-10-01 00:14:21,675 WARN  [com.adobe.internal.ddxm.ddx.pdf.PDFResult] (http-0.0.0.0-8080-4) DDXM_W10001: Could not update metadata on resultDoc.pdf.

com.adobe.internal.pdfm.metadata.MetadataException: PDFM_S10004: Metadata operation "releaseMetadata/commit" failed for document "resultDoc.pdf" due to an int

ernal error ....

 

 

Caused by: com.adobe.internal.pdftoolkit.core.exceptions.PDFInvalidDocumentException: CosName expected, found class com.adobe.internal.pdftoolkit.core.cos.CosString , invalid obj number: 0, dict key: /Trapped

.....

 

2013-10-01 00:14:21,681 ERROR [com.adobe.internal.ddxm.Executive] (http-0.0.0.0-8080-4) DDXM_S00001: Failed to assemble result named resultDoc

com.adobe.internal.pdfm.DocumentException: ALC-ASM-S01-004: Failed to convert content for originalPDF.

 

Caused by: com.adobe.internal.pdftoolkit.core.exceptions.PDFUnableToCompleteOperationException: Error during commit of XMP data to PDF document.

 

Caused by: com.adobe.internal.pdftoolkit.core.exceptions.PDFInvalidDocumentException: CosName expected, found class com.adobe.internal.pdftoolkit.core.cos.CosString , invalid obj number: 0, dict key: /Trapped

 

 

 

I tried to validate metadata of the input pdf using http://www.pdflib.com/knowledge-base/xmp-metadata/free-xmp-validator/and the result is as follows:

 

XMP data is  invalid

Reason: XMP metadata: Description of extended property 'xmpMM:OriginalDocumentID' missing in embedded extension schema 'xmpMM' description

 

 

Now, if actual cause of the issue is invalid xmp data, then How can I deal this types of pdfs.

 

Is there any tool to repair xmp data or any thrid party library to merge all types of annotations (like text comments, stamps, file attachments , ..)  in pdf.

 

Please suggest

Assemble Documents with READ_ONLY permissions set

$
0
0

Greetings,

 

We receive a boatload of documents from different sources, and have to package them together.  Adobe Assembler service seemed the obvious choice, but we've run into one problem in particular.


Many of the documents we receive have Read Only security that is password protected.  When I try to run those through Assembler, it fails and I receive the error message further below in the logs.

 

Notice, it says Package operation failed due to permissions for PDF document "0"

 

We don't have access to these passwords and never will, so what can I do??  Do I have to use a third-party tool to package documents that have read-only permissions?  Because previously we were able to package these just fine with a third party PDF Creator.  We don't plan to modify anything in the document... just need to package a bunch of them together.  Any suggestions??

 

Any suggestions or advice is much appreciated,

Thanks!!

 

GS

 

2009-12-11 11:15:29,308 ERROR [com.adobe.livecycle.assembler.AssemblerServiceImpl] ALC-ASM-S00-002: Failed to execute the DDX - error messages provided.
com.adobe.livecycle.assembler.client.ProcessingException: ALC-ASM-S00-002: Failed to execute the DDX - error messages provided.
at com.adobe.livecycle.assembler.AssemblerServiceImpl.makeResult(AssemblerServiceI mpl.java:828)
at com.adobe.livecycle.assembler.AssemblerServiceImpl.execute(AssemblerServiceImpl .java:467)
at com.adobe.livecycle.assembler.AssemblerServiceImpl.invoke(AssemblerServiceImpl. java:408)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvok erImpl.java:118)
at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationIn terceptor.java:140)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestI nterceptorChainImpl.java:60)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransact ion(TransactionInterceptor.java:74)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.exe cute(EjbTransactionCMTAdapterBean.java:342)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doS upports(EjbTransactionCMTAdapterBean.java:212)
at sun.reflect.GeneratedMethodAccessor298.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSe ssionContainer.java:214)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedC onnectionInterceptor.java:149)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessi onInstanceInterceptor.java:154)
at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointIn terceptor.java:54)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationIntercepto r.java:48)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.ja va:106)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.jav a:363)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderIn terceptor.java:122)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
at org.jboss.ejb.Container.invoke(Container.java:873)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory. java:415)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy. java:88)
at $Proxy165.doSupports(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransa ctionProvider.java:104)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(Tran sactionInterceptor.java:72)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestI nterceptorChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(Invo cationStrategyInterceptor.java:55)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestI nterceptorChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidSta teInterceptor.java:37)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestI nterceptorChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(Authoriza tionInterceptor.java:102)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestI nterceptorChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java :48)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestI nterceptorChainImpl.java:60)
at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:1 15)
at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:118)
at com.adobe.idp.dsc.provider.impl.soap.axis.AdobeAxisServiceProvider.invokeMethod (AdobeAxisServiceProvider.java:222)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327 )
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil terChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain .java:173)
at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationF ilter.java:43)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil terChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain .java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java: 81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil terChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain .java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve. java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociati onValve.java:159)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:10 7)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnecti on(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:5 27)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread. java:112)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.adobe.internal.pdfm.assembly.AssemblyException: PDFM_S02013: The "appendDocument" operation failed on "1".
at com.adobe.internal.pdfm.assembly.DocAssembler.appendDocument(DocAssembler.java: 769)
at com.adobe.internal.pdfm.assembly.DocAssembler.assemble(DocAssembler.java:185)
at com.adobe.internal.ddxm.task.pdf.AssemblePDF.execute(AssemblePDF.java:130)
at com.adobe.internal.ddxm.blueprint.BluePrint.execute(BluePrint.java:275)
at com.adobe.internal.ddxm.ddx.Node.execute(Node.java:373)
at com.adobe.internal.ddxm.Executive.execute(Executive.java:270)
at com.adobe.internal.ddxm.Executive.execute(Executive.java:221)
at com.adobe.livecycle.assembler.AssemblerServiceImpl.execute(AssemblerServiceImpl .java:465)
... 78 more
Caused by: com.adobe.internal.pdfm.packagefiles.PackageFilesException: PDFM_S22004: Package operation failed due to permissions for PDF document "0"
at com.adobe.internal.pdfm.packages.PackageService.checkPackageFilesPermissions(Pa ckageService.java:2777)
at com.adobe.internal.pdfm.packages.PackageService.aggregatePackageSchemaAndDispla yOrder(PackageService.java:1973)
at com.adobe.internal.pdfm.packages.PackageService.aggregatePackage(PackageService .java:1629)
at com.adobe.internal.pdfm.assembly.DocAssembler.appendDocument(DocAssembler.java: 667)
... 85 more
Caused by: com.adobe.internal.pdfm.util.PDFMPermissionException: PDFM_S00014: DOC_MODIFY permission is required for this operation.
at com.adobe.internal.pdfm.util.PDFMPermissionsManager.assertPermitted(PDFMPermiss ionsManager.java:100)
at com.adobe.internal.pdfm.packages.PackageService.checkPackageFilesPermissions(Pa ckageService.java:2775)
... 88 more

XDP Assembly Issue

$
0
0

Hi All,

 

I am getting following error while assembling the XDPs containg fragment references:-

 

Assembler cannot stitch fragment. Unable to resovle reference:

 

If the first document input to the assembler do not contain any fragment reference then the assembly happens, but if first document contains fragment reference then the error comes.

 

 

Viewing all 10743 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>