on 07-10-2007 11:45 AM
Hi,
I am running a PDF sample application from Webdynpro Java.I have made the necessary connections(ADSCallers group and ADS User) and have installed the credentials also. While testing the ADS I am getting the ADS version number also.
Now while running my application I am getting ADS Render Exception whose details I am pasting below.
<b>com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: ADS Render Exception occured. Append "sap-wd-errorPdf=true" to the URL and access the application once again. This time you will get an error PDF. Save the error PDF on the file system. This is a helpful attachment in case of an OSS message. com.adobe.ProcessingError: Not allowed by credential error while applying usage rights to PDF: C:\WINDOWS\Temp\adobewa_J2E_16390850\DM-4222775756593195106.dir\DM8407235031966216051.tmp Specific error information: $$$/PDF/PDFCredentialDoesNotSpecifiedUsageRights=credential does not allow setting of specified UB rights General error information: IDL:com/adobe/document/pdf/NotAllowedByCredential:1.0 Exception Stack Trace: com.adobe.ProcessingError: Not allowed by credential error while applying usage rights to PDF: C:\WINDOWS\Temp\adobewa_J2E_16390850\DM-4222775756593195106.dir\DM8407235031966216051.tmp Specific error information: $$$/PDF/PDFCredentialDoesNotSpecifiedUsageRights=credential does not allow setting of specified UB rights General error information: IDL:com/adobe/document/pdf/NotAllowedByCredential:1.0 at com.adobe.ads.request.UsageRights.execute(UsageRights.java:227) at com.adobe.BaseADSRequest.doWork(BaseADSRequest.java:111) at com.adobe.AdobeDocumentServicesWorker.execute(AdobeDocumentServicesWorker.java:758) at com.adobe.AdobeDocumentServicesEJB.processRequest(AdobeDocumentServicesEJB.java:130) at com.adobe.AdobeDocumentServicesEJB.rpData(AdobeDocumentServicesEJB.java:108) 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:390) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148) 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.NotAllowedByCredential: IDL:com/adobe/document/pdf/NotAllowedByCredential:1.0 at com.adobe.document.pdf.NotAllowedByCredentialHelper.read(NotAllowedByCredentialHelper.java:67) at com.adobe.document.pdf._PDFDocumentStub.setUsageRights(_PDFDocumentStub.java:286) at com.adobe.EJB_PDFAgent.setUsageRights(EJB_PDFAgent.java:303) at com.adobe.ads.request.UsageRights.execute(UsageRights.java:213) ... 30 more</b> .
Can any body please let me know how to solve the issue as it is urgent related to my project.
Looking forward to the reply.
Regards,
Pawan
Hi pawan,
The PKCS file is expired ,means ur usage rights are expired.
"ProcessingError: Not allowed by credential error while applying usage rights to PDF: C:\WINDOWS\Temp\adobewa_J2E_16390850\DM-" .
Check the settings in Visual Administrator .
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pawan,
1. Log on to the Visual Administrator. (See How to Start the Visual Administrator.)
2. On the Cluster tab, choose Server ® Services ® Document Services Configuration.
3. On the Runtime tab, select Credentials.
4. In the Credential Expiry Check area of the dialog, enter a number in the Begin Logging Warnings box. (This number represents the number of days before the credential expires that warning messages will begin being logged on a daily basis.)
5. In the Calculate Credential Expiry Status At box, enter the time (using 24 hour notation) at which the server scans the credentials to calculate their expiry dates.
6. Click Set to save the settings.
7.To perform an immediate calculation of credential expiry dates, click Now.
If its expired,u have to open a ticket to SAP for that.Some sample files are available on sdn but its better to go for authenticated one.
regards
Sumit
Hi Pawan,
Check these threads:
https://forums.sdn.sap.com/click.jspa?searchID=3757527&messageID=2682080
http://help.sap.com/saphelp_nw04s/helpdata/en/fe/e8cc48abee49f082dfbd5b45d98dd4/frameset.htm
Regards,
Shyam.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pawan,
Which browser are you using?
Regards,
Vaibhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.