Skip to Content
author's profile photo Former Member
Former Member

PDF print version is not generating in portal

'

Hello,

We have installed BW and EP. My portal developer created customizing worksheet. Under customizing workshet we have some roles which will be connected with BW as backend and generate the BW report. Now we are able to see the report and when i click "print version" it is not working it shows the below error.

Error : Error while generating pdf

when i click this i got the follwing error message

Log ID: 005056B8490B00640000003F0000120000046E9D05782E76

Initial cause

Message: Service call exception; nested exception is:

java.net.ConnectException: Connection refused: connect

Stack trace: java.rmi.RemoteException: Service call exception; nested exception is:

java.net.ConnectException: Connection refused: connect

at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:89)

at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:99)

at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:385)

at com.sap.tc.webdynpro.pdfobject.core.PDFObject.createPDF(PDFObject.java:337)

at com.sap.ip.bi.export.xfa.impl.Document.writeWidthsAsXmlToStream(Document.java:333)

at com.sap.ip.bi.export.xfa.widthcalc.WidthCalculator.<init>(WidthCalculator.java:55)

at com.sap.ip.bi.export.xfa.impl.SizeCalculator.calc(SizeCalculator.java:96)

at com.sap.ip.bi.export.impl.ExportController.calculateAndSetSizes(ExportController.java:626)

at com.sap.ip.bi.export.impl.ExportController.doExportPrep(ExportController.java:405)

at com.sap.ip.bi.export.impl.ExportController.convert(ExportController.java:325)

at com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:71)

at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.createPDF(PageExportRenderingRootNode.java:593)

at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.doExport(PageExportRenderingRootNode.java:132)

at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.processRendering(PageExportRenderingRootNode.java:349)

at com.sap.ip.bi.webapplications.runtime.impl.Page.buildRenderingTree(Page.java:4577)

at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:4651)

at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:4283)

at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:4227)

at com.sap.ip.bi.webapplications.runtime.impl.Page._processRequest(Page.java:3021)

at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2864)

at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:994)

at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller._processRequest(Controller.java:883)

at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:860)

at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService._handleRequest(BIRuntimeService.java:362)

at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:279)

at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:24)

at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)

at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)

at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)

at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)

at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)

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

at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)

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

at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)

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:386)

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

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

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

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(Native Method)

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

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

Caused by: java.net.ConnectException: Connection refused: connect

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)

at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)

at java.net.Socket.connect(Socket.java:464)

at java.net.Socket.connect(Socket.java:414)

at java.net.Socket.<init>(Socket.java:310)

at java.net.Socket.<init>(Socket.java:125)

at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initStreamsFromSocket(HTTPSocket.java:682)

at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initializeStreams(HTTPSocket.java:504)

at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getOutputStream(HTTPSocket.java:461)

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.getRequestStream(HTTPTransport.java:408)

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.outputMessage(MimeHttpBinding.java:550)

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1433)

at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:82)

... 57 more

-


Message: Unknown Error

Stack trace: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Unknown Error

at com.sap.ip.bi.export.xfa.impl.Document.writeWidthsAsXmlToStream(Document.java:339)

at com.sap.ip.bi.export.xfa.widthcalc.WidthCalculator.<init>(WidthCalculator.java:55)

at com.sap.ip.bi.export.xfa.impl.SizeCalculator.calc(SizeCalculator.java:96)

at com.sap.ip.bi.export.impl.ExportController.calculateAndSetSizes(ExportController.java:626)

at com.sap.ip.bi.export.impl.ExportController.doExportPrep(ExportController.java:405)

at com.sap.ip.bi.export.impl.ExportController.convert(ExportController.java:325)

at com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:71)

at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.createPDF(PageExportRenderingRootNode.java:593)

at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.doExport(PageExportRenderingRootNode.java:132)

at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.processRendering(PageExportRenderingRootNode.java:349)

at com.sap.ip.bi.webapplications.runtime.impl.Page.buildRenderingTree(Page.java:4577)

at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:4651)

at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:4283)

at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:4227)

at com.sap.ip.bi.webapplications.runtime.impl.Page._processRequest(Page.java:3021)

at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2864)

at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:994)

at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller._processRequest(Controller.java:883)

at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:860)

at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService._handleRequest(BIRuntimeService.java:362)

at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:279)

at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:24)

at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)

at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)

at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)

at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)

at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)

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

at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)

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

at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)

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:386)

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

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

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

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(Native Method)

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

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:

java.net.ConnectException: Connection refused: connect

at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:408)

at com.sap.tc.webdynpro.pdfobject.core.PDFObject.createPDF(PDFObject.java:337)

at com.sap.ip.bi.export.xfa.impl.Document.writeWidthsAsXmlToStream(Document.java:333)

webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:82)

can some one help me to fix this issue

Regards,

Sankar,Basis Consultant

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jul 14, 2009 at 02:01 AM

    Hi,

    Let me try to explain the error a bit first: When you are trying to print the code is trying to create a PDF document. You can see in the code that it is trying to make a Web Services call to the Adobe Document Services (ADS), however it is failing with an error that says "Connection Refused".

    OK... so now we know what the problem is.. then how can we solve it...

    Suggestions:

    1. Ensure that you have Adobe Document Services configured correctly on that system. It requires a certain basic setup.

    2. Check out [this guide |https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/other-topics/how%20to%20check%20if%20the%20adobe%20document%20service%20is%20running%20correctly.pdf]on checking ADS is running properly.

    Hope this helps you.

    BRgds,

    Simon

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2010 at 04:18 AM

    Done

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.