on 09-13-2007 4:49 AM
Hi all,
We were trying to create a new requisition request under the MSS and hit the error PDFDocumentCreationException. We have already configured the ADS and tested on the fp_test_00 and FP_TEST_IA_01 report. It's all working fine.
Please see below the log of the error that I obtained.
500 Internal Server Error
SAP NetWeaver Application Server 7.00/Java AS 7.00
Failed to process request. Please contact your system administrator.
[Hide]
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
com.sap.tc.webdynpro.services.exceptions.PDFDocumentCreationException: ../../sap.com/mssrecreq/RequisitionCreation/~wd_key4_1189652688147/Error+PDF.pdf?sap-wd-download=1&sap-wd-dl_behaviour=1&sap-wd-cltwndid=DefaultExternal1189652520453&sap-ext-sid=q2pFXLTZ0%2BQ0in0%2Ba%2BwbuQ%3D%3DVna%2FyoX7UOO2HehiiEN5xA%3D%3D%2Fpcd%3Aportal_content%2Fcom.sap.pct%2Fline_manager%2Fcom.sap.pct.erp.mss.bp_folder%2Fcom.sap.pct.erp.mss.roles%2Fcom.sap.pct.erp.mss.manager_self_service%2Fcom.sap.pct.erp.mss.manager%2Foverview%2Fcom.sap.pct.erp.mss.team%2Frecruiting%2Fcom.sap.pct.erp.mss.requisition_request%2Fsap.com%2Fmss%7Erec%7Ereq%2FRequisitionCreation%2Fbase&sap-wd-norefresh=X&sap-ep-version=7.00.200705080819
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:379)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:895)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)
... 41 more
See full exception chain for details.
Correction Hints
PDF Document Render Exception.
Please check the following:
Template file is not corrupted.
Data being passed is a vaild XML.
You have configured the web service client proxy properly.
Adobe Document Service (ADS) is configured properly (follow the configuration guide available at SAP service market place to check with all the supported configuration options).
If the problem still persists, report it to us. We need the following information to investigate the problem further:
Click here to download the error pdf that has been generated instead of the actual pdf. This is an important document to analyse the problem further.
Follow the steps below to get the system information where web dynpro is running:
Go to : http://host:port/sap/monitoring/SystemInfo
Log on as Administrator user.
Click on link all components... there. This will take you to the system information page that lists the version information of all the componenets installaed on your server.
Save this entire page (containing the version information of all the componenets installed on your server)
Follow SAP notes mentioned below to get the trace files for web dynpro and ADS. Then run your application again. Get the latest updated trace files from the server. If webdynpro and ADS are not running on the same server, then you need to turn on the tracer for the respective servers:
#742674 to turn on the web dynpro trace on the server where web dynpro is running.
#846610 to turn on the ADS trace on the server where ADS is running.
Note: the above hints are only a guess. They are automatically derived from the exception that occurred and therefore can't be guaranteed to address the original problem in all cases.
System Environment
Client
Web Dynpro Client Type HTML Client
User agent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Version null
DOM version null
Client Type msie7
Client Type Profile ie6
ActiveX enabled
Cookies enabled
Frames enabled
Java Applets enabled
JavaScript enabled
Tables enabled
VB Script enabled
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0012.20070328122954.0000 (release=645_VAL_REL, buildtime=2007-05-07:05:03:39[UTC], changelist=442613, host=pwdfm101), build date: Thu Jun 07 17:19:47 GMT+08:00 2007
J2EE Engine 7.00 patchlevel 108458.44
Java VM IBM J9 VM, version:2.3, vendor: IBM Corporation
Operating system AIX, version: 5.3, architecture: ppc64
Session & Other
Session Locale en
Time of Failure Thu Sep 13 11:04:48 GMT+08:00 2007 (Java Time: 1189652688208)
Web Dynpro Code Generation Infos
sap.com/pb
SapDictionaryGenerationCore 7.0012.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-05-05:21:52:17[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates 7.0012.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-05-05:21:52:24[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
SapGenerationFrameworkCore 7.0012.20060719095755.0000 (release=645_VAL_REL, buildtime=2007-05-05:21:24:48[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0012.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-05-05:22:07:59[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0012.20061002105432.0000 (release=645_VAL_REL, buildtime=2007-05-05:21:25:39[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0012.20061002105432.0000 (release=645_VAL_REL, buildtime=2007-05-05:21:25:28[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0012.20060719095619.0000 (release=645_VAL_REL, buildtime=2007-05-05:21:45:28[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0012.20070328122936.0000 (release=645_VAL_REL, buildtime=2007-05-05:22:02:06[UTC], changelist=442612, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0012.20070328122954.0000 (release=645_VAL_REL, buildtime=2007-04-28:14:57:34[UTC], changelist=442613, host=pwdfm101)
SapWebDynproGenerationCore 7.0012.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-05-05:22:08:09[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0012.20070328122954.0000 (release=645_VAL_REL, buildtime=2007-04-28:14:57:34[UTC], changelist=442613, host=pwdfm101)
sap.com/tcwddispwda
No information available null
sap.com/pb_api
SapDictionaryGenerationCore 7.0011.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:02:43[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates 7.0011.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:02:51[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
SapGenerationFrameworkCore 7.0011.20060719095755.0000 (release=645_VAL_REL, buildtime=2007-01-31:19:49:49[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0011.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:08:25[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0011.20061002105432.0000 (release=645_VAL_REL, buildtime=2007-01-31:19:50:48[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0011.20061002105432.0000 (release=645_VAL_REL, buildtime=2007-01-31:19:50:27[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0011.20060719095619.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:00:20[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0011.20061227101814.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:05:13[UTC], changelist=431317, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0011.20070125102926.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:21:35[UTC], changelist=434634, host=pwdfm101)
SapWebDynproGenerationCore 7.0011.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:08:35[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0011.20070125102926.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:21:35[UTC], changelist=434634, host=pwdfm101)
sap.com/tcwdcorecomp
No information available null
Detailed Error Information
Detailed Exception Chain
com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to UPDATEDATAINPDF
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException.<init>(PDFDocumentRuntimeException.java:25)
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:392)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:895)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:313)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:779)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:714)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
at com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java:77)
at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1255)
at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:325)
at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:826)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:313)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
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:175)
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(AccessController.java:215)
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.sap.tc.webdynpro.services.exceptions.PDFDocumentCreationException: ../../sap.com/mssrecreq/RequisitionCreation/~wd_key4_1189652688147/Error+PDF.pdf?sap-wd-download=1&sap-wd-dl_behaviour=1&sap-wd-cltwndid=DefaultExternal1189652520453&sap-ext-sid=q2pFXLTZ0%2BQ0in0%2Ba%2BwbuQ%3D%3DVna%2FyoX7UOO2HehiiEN5xA%3D%3D%2Fpcd%3Aportal_content%2Fcom.sap.pct%2Fline_manager%2Fcom.sap.pct.erp.mss.bp_folder%2Fcom.sap.pct.erp.mss.roles%2Fcom.sap.pct.erp.mss.manager_self_service%2Fcom.sap.pct.erp.mss.manager%2Foverview%2Fcom.sap.pct.erp.mss.team%2Frecruiting%2Fcom.sap.pct.erp.mss.requisition_request%2Fsap.com%2Fmss%7Erec%7Ereq%2FRequisitionCreation%2Fbase&sap-wd-norefresh=X&sap-ep-version=7.00.200705080819
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:379)
... 45 more
<div class="urMnu" onkeydown="return me.h_m(event,window,'sapUrMapi_PopupMenu_keyDown(SSR.window,\'zzzzAIDGLKGG.VerticalContainerView.menu_0\',SSR.event)');" onclick="return me.h_m(event,window,'ur_PopupMenu_click(SSR.window,\'zzzzAIDGLKGG.VerticalContainerView.menu_0\',SSR.event)');" oncontextmenu="return me.h_m(event,window,'ur_PopupMenu_click(SSR.window,\'zzzzAIDGLKGG.VerticalContainerView.menu_0\',SSR.event)');" onmousemove="return me.h_m(event,window,'sapUrMapi_PopupMenu_hoverItem(SSR.window,\'zzzzAIDGLKGG.VerticalContainerView.menu_0\',SSR.event)');" he><table cellpadding="0" cellspacing="0" border="0" id="zzzzAIDGLKGG.VerticalContainerView.menu_0-r" visidx="0" viscnt="0" ic="6" ct="POMN"><thead style="display:none;"><tr><td colspan="4" class="urMnuScrUp" isscroll="true"><img width="1" src="../../../resources/sap.com/tcwddispwda/global/SSR/1.gif"></td></tr><tbody><tr id="zzzzAIDGLKGG.VerticalContainerView.menu_Open in New Window_1" idx="0" td="ltr" att="" t="Open in New Window" st="" class="urMnuRowOff" ocl="return me.h_em(event,window,this,'PopupMenu','POPUPMENUITEMSELECT',{'event':'event','PopupMenuItemId':'zzzzAIDGLKGG.VerticalContainerView.menu_Open in New Window_1','window':'window','IsChecked':'false'},'',true,'sapUrMapi_PopupMenu_selectItem(SSR.window,\'menu_Open in New Window_1\',null,SSR.event)');" he><td> </td><td> </td><td class="urMnuTxt"><span style="white-space:nowrap;">Open in New Window</span></td><td class="urMnuSub"> </td></tr><tr id="zzzzAIDGLKGG.VerticalContainerView.menu_Refresh_1" idx="1" td="ltr" att="" t="Refresh" st="" class="urMnuRowOff" ocl="return me.h_em(event,window,this,'PopupMenu','POPUPMENUITEMSELECT',{'event':'event','PopupMenuItemId':'zzzzAIDGLKGG.VerticalContainerView.menu_Refresh_1','window':'window','IsChecked':'false'},'',true,'sapUrMapi_PopupMenu_selectItem(SSR.window,\'menu_Refresh_1\',null,SSR.event)');" he><td> </td><td> </td><td class="urMnuTxt"><span style="white-space:nowrap;">Refresh</span></td><td class="urMnuSub"> </td></tr><tr id="zzzzAIDGLKGG.VerticalContainerView.menu_Personalize_1" idx="2" td="ltr" att="" t="Personalize" st="" class="urMnuRowOff" ocl="return me.h_em(event,window,this,'PopupMenu','POPUPMENUITEMSELECT',{'event':'event','PopupMenuItemId':'zzzzAIDGLKGG.VerticalContainerView.menu_Personalize_1','window':'window','IsChecked':'false'},'',true,'sapUrMapi_PopupMenu_selectItem(SSR.window,\'menu_Personalize_1\',null,SSR.event)');" he><td> </td><td> </td><td class="urMnuTxt"><span style="white-space:nowrap;">Personalize</span></td><td class="urMnuSub"> </td></tr><tr id="zzzzAIDGLKGG.VerticalContainerView.menu_Remove from Page_1" idx="3" td="ltr" att="" t="Remove from Page" st="" class="urMnuRowOff" ocl="return me.h_em(event,window,this,'PopupMenu','POPUPMENUITEMSELECT',{'event':'event','PopupMenuItemId':'zzzzAIDGLKGG.VerticalContainerView.menu_Remove from Page_1','window':'window','IsChecked':'false'},'',true,'sapUrMapi_PopupMenu_selectItem(SSR.window,\'menu_Remove from Page_1\',null,SSR.event)');" he><td> </td><td> </td><td class="urMnuTxt"><span style="white-space:nowrap;">Remove from Page</span></td><td class="urMnuSub"> </td></tr><tr id="zzzzAIDGLKGG.VerticalContainerView.menu_Details_1" idx="4" td="ltr" att="" t="Details" st="" class="urMnuRowOff" ocl="return me.h_em(event,window,this,'PopupMenu','POPUPMENUITEMSELECT',{'event':'event','PopupMenuItemId':'zzzzAIDGLKGG.VerticalContainerView.menu_Details_1','window':'window','IsChecked':'false'},'',true,'sapUrMapi_PopupMenu_selectItem(SSR.window,\'menu_Details_1\',null,SSR.event)');" he><td> </td><td> </td><td class="urMnuTxt"><span style="white-space:nowrap;">Details</span></td><td class="urMnuSub"> </td></tr><tr id="zzzzAIDGLKGG.VerticalContainerView.menu_Print_1" idx="5" td="ltr" att="" t="Print" st="" class="urMnuRowOff" ocl="return me.h_em(event,window,this,'PopupMenu','POPUPMENUITEMSELECT',{'event':'event','PopupMenuItemId':'zzzzAIDGLKGG.VerticalContainerView.menu_Print_1','window':'window','IsChecked':'false'},'',true,'sapUrMapi_PopupMenu_selectItem(SSR.window,\'menu_Print_1\',null,SSR.event)');" he><td> </td><td> </td><td class="urMnuTxt"><span style="white-space:nowrap;">Print</span></td><td class="urMnuSub"> </td></tr><tfoot style="display:none;"><tr><td colspan="4" class="urMnuScrDwn" isscroll="true"><img width="1" src="../../../resources/sap.com/tcwddispwda/global/SSR/1.gif"></td></tr></table></div>
I followed this note 846610 and found the error in default trace. There are two reasons ADS_AGENT user created as non dialog and I changed it to dialog user. Also the ReaderRights credentials were not installed properly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am having same problem If you have any suggestins u r welcome.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
nobody?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
Who has figured this one out and is willing to share the good news?
Thx
Mathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Can you please advise how you fixed this problem as I'm getting the same error. ADS configuration on the Portal is all configured with no errors including tests.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello San,
Did you fix this issue ..I am also facing the same problem..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.