Posts in Category "ReaderExtensions"

LiveCycle ES2: ALC-RES-001-008 Unable to apply the requested usage rights to the given document

Issue

If you are trying to apply usage rights to a document you may encounter the following error in the server logs:

servlet       I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I:
[LiveCycleES2] [/ReaderExtensions] [ApplyRightsServlet]: Initialization successful.

PKIException  W com.adobe.livecycle.signatures.common.CommonBaseException logException
ALC-DSS-310-048 Could not sign PKCS7 data (in the operation : sign)
    Caused By: com.rsa.jsafe.provider.JSA_RSAPrivateKey incompatible with com.rsa.jsafe.provider.JS_PrivateKey(null-1)

PKIException  W com.adobe.livecycle.signatures.common.CommonBaseException logException
ALC-DSS-310-048 Could not sign PKCS7 data (in the operation : sign)
    Caused By: ALC-DSS-310-048 Could not sign PKCS7 data (in the operation : sign)
        Caused By: com.rsa.jsafe.provider.JSA_RSAPrivateKey incompatible with com.rsa.jsafe.provider.JS_PrivateKey(null-1)

CryptoProvide E com.adobe.livecycle.signatures.common.CommonBaseException logException
ALC-CRP-302-002 There was an error computing the PKCS7 signature. (in the operation : sign)
    Caused By: ALC-DSS-310-048 Could not sign PKCS7 data (in the operation : sign)
        Caused By: ALC-DSS-310-048 Could not sign PKCS7 data (in the operation : sign)
            Caused By: com.rsa.jsafe.provider.JSA_RSAPrivateKey incompatible with com.rsa.jsafe.provider.JS_PrivateKey(null-1)

ReaderExtensi E com.adobe.livecycle.readerextensions.ReaderExtensionsImplementation applyUsageRights
ALC-RES-001-008: Unable to apply the requested usage rights to the given document.

Reason

This error can be caused after you have installed some updates (i.e. patches) to the LiveCycle components and have completed running LiveCycle Configuration Manager (LCM).

Solution

The solution in this case is to simply restart the application server (JBoss, WebSphere or Weblogic).  Then the ReaderExtensions service will be working again.

reference: (182819171)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 10.0/10 (4 votes cast)

Acrobat/Reader: “There was a problem reading this document (131)”

Issue

When you try to view a document in Adobe Reader or Acrobat, you receive the error, “There was a problem reading this document (131).“.  This error will occur when you used LiveCycle ReaderExtensions to apply usage rights to PDF documents with the Full Save option activated.

Sometimes, the following message precedes the error above:

An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem.

Solution

Disable the Full Save option in the ReaderExtensions tool, and apply the rights again. Disabling this option enables the incremental save feature in the PDF. The incremental save feature will increase the file size and allows Acrobat or Reader perform the save operation faster, without the file becoming corrupted. If you aren’t using the web interface, but use the API to apply rights, you can activate the incremental save using the PDFUtilitySaveMode object. For more information, see

http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?content=001005.html

Additional information

Adobe plans to resolve the problem with the Full Save in ReaderExtensions in a future release.  There is a patch available for LiveCycle ES2 SP2, so if you require this patch, contact Enterprise Support.

reference: (181996532/2785898)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 5.5/10 (8 votes cast)

LiveCycle ReaderExtensions: Error 400 trying to apply usage rights to a PDF

Issue

 If you are trying to apply rights to a PDF document with ReaderExtensions 7.0, you may receive the following error in the web browser:

Error 400: Applying User Rights to the document ‘SAE_V0.9Static.pdf’ failed:
‘com.adobe.document.pdf.PDFOperationFailure: com/adobe/document/pdf/PDFOperationFailure:1.0′.

and the following exception in the log file:

[26.08.05 09:21:03:361 CEST] 500fe7b1 Logger
E com.adobe.document.PDFManipulation document does not have certifying signature
[26.08.05 09:21:19:622 CEST] 50e8a7b1 Logger
E com.adobe.document.PDFManipulation an unknown exception caused the call

This error can occur on all application servers.

Reasons

1. This is due to an incompatibility when using Designer 6 to design documents to be processed with ARES 7.  This issue has also been seen using some language versions of Designer.

2. This issue could also occur if you are trying to apply rights to a password-protected PDF document, and you dont supply the password when applying the rights.

Solutions

1. If you use Designer 7 or greater then the documents can be correctly extended with LCRE 7.

2. If you supply the password for the PDF when applying the rights, the error will not occur.

reference: (1-15848413)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)

LiveCycle ReaderExtensions: “Error 473: Credential permissions are invalid”

Issue

 If you are trying to ReaderExtend a PDF in LCRE 7 either in the web interface, or using the API, you may receive the following error:

Error 473: Credential permissions are invalid...

Reason

 This error is related to the credential permissions provided with LCRE.  There is a .pfx credential file which must be configured with LCRE to allow you to ReaderExtend documents.  This credential is essentially used to certify the PDF when applying the rights, to prevent unauthorized changes to the PDF once distributed.  You need to provide an alias/password for this credential file when installing LCRE.

Often the wrong alias/password combination is used for this credential when installing LCRE.

Solution

 Make sure you use the alias/password provided with the credential file.

Other possible causes:

1) using the wrong JDK or using JDK 1.4.2_10 which is not supported

2) ares-roles.properties, ares-users.properties not correctly mapping users in

C:\Program Files\Adobe\LiveCycle\ReaderExtensions\jboss-3.2.5\server\all\conf

 reference: (1-16246910)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)

LiveCycle ReaderExtensions7: ClassCastException trying to deploy the sample application

Issue

 When trying to deploy the sample ReaderExtensions application to the application server you may receive the following exception:

java.lang.ClassCastException
 at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(Unknown Source)

Reason

 This is caused by the DocumentServicesLibrary.jar which appears in too many places in the ear files. It should not have been included in LiveCycle-security.ear file.

Solution

Workaround 1:

If you already have LiveCycle 7.2 installed, then all you need to do is edit customAssembly.xml in the components\pdfagent and delete the line with DocumentServicesLibrary.jar in it. Run LCM and redeploy.

Workaround 2:

Include AdobeCSAUtils.jar in your project and use:

connectionfactory = Utilities.serviceLookup("DataManagerService"); 
DataManager dataManager = DataManagerHelper.narrow((org.omg.CORBA.Object)connectionfactory.getConnection()); 
connectionfactory = Utilities.serviceLookup("PDFManipulation"); 
PDFFactory pdfFactory = PDFFactoryHelper.narrow((org.omg.CORBA.Object)connectionfactory.getConnection());

________________________________________
reference: (1-32712143)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)