cancel
Showing results for 
Search instead for 
Did you mean: 

PDF Runtime Exception

Former Member
0 Kudos

Dear All,

i got a runtime exception while running the Application which have the PDF. i set the PDF Properites . I set the Data Source and PDF Source of that Intaractive Form. i got the following exception. in server side also Adobe installed properly and it is working in another application. can any one please help me.

com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Processing exception during a "UsageRights" operation. Request start time: Mon Aug 18 15:44:45 GMT+05:30 2008 com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights: java.lang.Exception: Could not retrieve a password for credential: ReaderRights Exception Stack Trace: com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights: java.lang.Exception: Could not retrieve a password for credential: ReaderRights 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: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)

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Firstly check weather ur ads configuration of the server is done properly. i

see weather ur ads settings are as per the following document

Tutorial on Installing Credentials and Configuring ADS

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f03414f8-d4ce-2a10-d4b6-ab201b32...

f yes ur ADSUser password

must have expired follow the steps to reset the password

SAP NetWeaver '04 / 2004s

1. Log on to the Visual Administrator.

2. Follow the path:

Server -> services -> Security Provider -> User Management tab

3. Display the user ADSUser.

4. Change the ADSUser password. (You can use the same password.) Check the checkbox

'No password change is required'.

Note: The below mentioned technical user role is available for the ADSuser as of

NetWeaver 2004s SPS 7.

5. Log on to 'User Management' of your AS Java:

http://<AS Java server>:<http port> -> User Management

6. Display the user ADSUser.

7. In the 'Security policy' field, change the setting from 'Default' to 'Technical

Users' and save.

(For more information on the 'Security Policy' option, see the Release Notes in

the SAP Help Portal at

http://help.sap.com/saphelp_erp2005vp/he

lpdata/en/44/04265816343fdbe10000000a11466f/frameset.htm.)

After changing this option, the ADSUser password will not expire.

Note that this feature is not available for SAP NetWeaver '04.

regards,

Nikhil Tapkir.

Edited by: Nikhil Tapkir on Aug 18, 2008 1:17 PM

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Bhargava,

check once wether the configuartion of adobe document service at server side is done properly or not.Becoz this error is related to configauration of the user you are using for adobe services.

If the configuration is done properly then try to reset the password for ADS user which you are using and then try.

Regards,

Saleem

Former Member
0 Kudos

Hi Bhargava,

Have a look at this help note

http://help.sap.com/saphelp_nw04s/helpdata/en/37/504b8cbc2848a494facfdc09a359b1/frameset.htm

In this help note check the link

Configuring Credential Attributes

Regards,

Saleem.

Former Member
0 Kudos

Hi Saleem,

in server side configuartion of adobe document service is done properly. and in another application it is working fine. and please let me know where i can reset the Password of ADS user.

Thank u,

Bhargava Kumar

Former Member
0 Kudos

Hi Bharagava,

u can login into http://<hostname>:50000/irj/portal with administrator user go to user adminstartion tab after loggging in search for ADSUser and click on Modify button there u can reset the password and in security policy dropdown select as Technical User.

Technical Users

Used for system to system communication. Users with this policy have the following characteristics:

● Can be used to log in to the J2EE Engine.

● Password does not expire.

● Some created automatically (SAPJSF), some by the user administrator.

● UME maps (B) System users from the AS for ABAP data source to this policy.

Well known users with this policy include: SAPJSF, ADSuser.

Hope this might resolve ur problem.

Regards,

Saleem

Edited by: saleem mohammed on Aug 18, 2008 1:48 PM

Former Member
0 Kudos

Hi Saleem,

i reset the password but in security policy dropdown is in readonly mode and it is pointing to Defult. how can cahnge the state of that security policy dropdown to editable mode. can u please help me.

Former Member
0 Kudos

Hi Bhargava,

If u r looged in with administrator user and searched for for ADSUser in UserAdministration tab..and if u click on Modify button the security policy will show both default user,techincal user..

I dont know how it is showing only default for u..and in read only mode.

r u using SAP Netweaver 2004s with support pack 07 and i want to know which version of application server u r using.

Regards,

Saleem