cancel
Showing results for 
Search instead for 
Did you mean: 

Credential login error while applying usage rights to PDF

Former Member
0 Kudos

hi,

We are running 04s SP11 with ADS installed and configured. We even applied Reader Rights credentials. When We try to run a simple PDF application [with just print no interactive elements], I am getting the following error

[code]

com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Processing exception during a "UsageRights" operation.

Request start time: Mon Mar 26 08:25:18 PDT 2007 com.adobe.ProcessingError: Credential login error

while applying usage rights to PDF: C:\WINDOWS\Temp\adobewa_AD5_5341750\DM2660985253967064225.dir\DM911152213348551593.tmp

Specific error information: $$$/PDF/PDFCredentialLoginFailure3=alias ^0 was not found ReaderRights

General error information: IDL:com/adobe/document/pdf/CredentialLoginFailure:1.0

Exception Stack Trace: com.adobe.ProcessingError:

Credential login error while applying usage rights to PDF: C:\WINDOWS\Temp\adobewa_AD5_5341750\DM2660985253967064225.dir\DM911152213348551593.tmp

Specific error information: $$$/PDF/PDFCredentialLoginFailure3=alias ^0 was not found ReaderRights

General error information: IDL:com/adobe/document/pdf/CredentialLoginFailure:1.0

at com.adobe.ads.request.UsageRights.execute(Unknown Source)

at com.adobe.BaseADSRequest.doWork(Unknown Source)

at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source)

at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)

at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)

at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)

at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)

at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)

at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)

at SoapServlet.doPost(SoapServlet.java:51)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Caused by: com.adobe.document.pdf.CredentialLoginFailure: IDL:com/adobe/document/pdf/CredentialLoginFailure:1.0

at com.adobe.document.pdf.CredentialLoginFailureHelper.read(CredentialLoginFailureHelper.java:67)

at com.adobe.document.pdf._PDFDocumentStub.setUsageRights(_PDFDocumentStub.java:284)

at com.adobe.EJB_PDFAgent.setUsageRights(Unknown Source) ... 31 more

[/code]

Can somebody help us out here. Are we missing any configuration settings? Any help is appreciated.

Thanks,

Sanketh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Sanketh,

Your logs show : PDFCredentialLoginFailure3=alias ^0 was not found ReaderRights

Did you install and configure the Reader Rights credentials as given in the Configuration Guide - especially did you perform the steps under section "6.2 Credentials for Document Certification and Digital Signatures" in the ADS Configuration Guide (http://service.sap.com/adobe > Media Library > Documentation)?

If yes, then did you restart the PDF Manipulation Module service as well?

Reward points if this is helps!

Thanks and Regards,

Preetha Rethinam

Answers (4)

Answers (4)

Former Member
0 Kudos

Credentials files are time-sensitive, meaning that they expire. When that happens you'll see errors...

You'll find a trial set of credentials for Adobe Document Services here on SDN at this link:

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70aa75cc-6ac3-2910-c78c-ade192ec861e">ADS Credentials - good through Oct 2007</a>

eli_gomez
Explorer
0 Kudos

View SAP Note # 736902 - Adobe Credentials & Note # 967432

Former Member
0 Kudos

Thanks everybody, the problem was with the credentials. We re-applied the Reader Rights credential file and restarted server and the application started working.

I have rewarded points for all the helpful answers.

Former Member
0 Kudos

Hi,

Did you buy the additional licence required for custom interactive forms, other than the adobe credential available from service market place.

Thanks and Regards,

Anto.

Former Member
0 Kudos

Have you restarted the J2ee instance after Configuring Credential Attributes ?

Regards

Former Member
0 Kudos

Hi Sanketh,

Have you solved this error? I am also getting the same error. Kindly help me in solving this.

Regards,

Purushothaman.

Former Member
0 Kudos

Hi,

Did you perform the configuration test described in the configuration guide (http://service.sap.com/adobe > Media Library > Documentation) ?

Also, check your credential is correctly installed and configured.

Regards,

Francois

Former Member
0 Kudos

Hi,

Thanks for ur quick reply. This is the output I get when I test the ADS Webservice,

Request

rpData

parameters (test.types.p1.RpData)

rpStrings (test.types.RpString[])

(test.types.RpString)

name (String)

value (String)

rpStreams (test.types.RpStream[])

(test.types.RpStream)

name (String)

value (byte[])

(Byte)

POST /AdobeDocumentServices/Config?style=document HTTP/1.1

Host: localhost:50100

Content-Type: text/xml; charset=UTF-8

Connection: close

Authorization: <value is hidden>

Content-Length: 848

SOAPAction: ""

<?xml version="1.0" encoding="UTF-8" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Header><sapsess:Session xmlns:sapsess="http://www.sap.com/webas/630/soap/features/session/"><enableSession>true</enableSession></sapsess:Session></SOAP-ENV:Header><SOAP-ENV:Body><pns:rpData xmlns:pns='urn:AdobeDocumentServicesVi'><ns1:rpStrings xmlns:ns1='urn:AdobeDocumentServicesVi' xmlns:pns='urn:com.adobe'><pns:RpString><pns:name></pns:name><pns:value></pns:value></pns:RpString></ns1:rpStrings><ns2:rpStreams xmlns:ns2='urn:AdobeDocumentServicesVi' xmlns:pns='urn:com.adobe'><pns:RpStream><pns:name></pns:name><pns:value>AA==</pns:value></pns:RpStream></ns2:rpStreams></pns:rpData></SOAP-ENV:Body></SOAP-ENV:Envelope>

Response

rpData

response (test.types.p1.RpDataResponse)

Response (test.types.RpReturn)

rpStrings (test.types.RpString[])

(test.types.RpString)

name (String)

value (String)

(test.types.RpString)

name (String)

value (String)

(test.types.RpString)

name (String)

value (String)

HTTP/1.1 200 OK

Connection: close

Set-Cookie: <value is hidden>

Set-Cookie: <value is hidden>

Server: SAP J2EE Engine/7.00

Content-Type: text/xml; charset=UTF-8

Date: Tue, 01 Feb 2011 11:42:28 GMT

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ><SOAP-ENV:Body><rpl:rpDataResponse xmlns:rpl='urn:AdobeDocumentServicesVi'><rpl:Response xmlns:pns='urn:com.adobe'><pns:rpStrings><pns:RpString><pns:name>Error_Level</pns:name><pns:value>0</pns:value></pns:RpString><pns:RpString><pns:name>Results</pns:name><pns:value>

Required stream: "PDFDocument" not found or it is empty.</pns:value></pns:RpString><pns:RpString><pns:name>VersionInfo</pns:name><pns:value>705.20060620101936.310918</pns:value></pns:RpString></pns:rpStrings></rpl:Response></rpl:rpDataResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

Below are the steps that I followed,

1. Setting up basic authentication for ADS.

2. Installing credentials for ADS.

3.Publishing ADS to SLD.

Since I am configuring it on NW04s SP 09, the user ADSUSER and the corresponding role are already there.

Also kindly clarify me whethet ACF can be more than SP09. Also while selecting .pfx file in VA I got error saying Credentials Expired. Is it a problem?

Also in one client machine I am getting the above said exception but in other machine I get

"com.sap.tc.webdynpro.services.exceptions.PDFDocumentCreationException: ../../local/Test_Ads/TestAds/~wd_key20_1296535563712/Error+PDF.pdf?sap-wd-download=1&sap-wd-dl_behaviour=1&sap-wd-cltwndid=2b1f42a02dbe11e0aac0001125bf58ed&sap-wd-appwndid=2b1f42a12dbe11e09dbe001125bf58ed&sap-wd-norefresh=X "

Kindly give me some inputs in solving this.

Regards,

Purushothaman.

Former Member
0 Kudos

Hi,

any pointers to this.

Have you resolved the issue?

Kindly update.

Thanks and Regards,

Anto.