JAVA SOCKET TIMEOUT WHEN GENERATING PDF TO ADS SERVER
We are currently getting the error when attempting to generate the PDF from the thin portal BI Reports and recieved the JAVA SOCKET READ TIME OUT error and
applied adjustments to the notes
934725 and 826419 by changing the timeout sessions to 300, but still get the same timeout errors:
Note: We changed ADUSER user type and password, passed rpcData test, RFC HTTP external connections to ADS server...so we've came a long ways and here we are now with the timeout errors...
Any ideals???
Hi
when you reset password please select checkbox for password never expires.
see the following notes :
1.Note 944221 - Troubleshooting if problems occur in forms processing
2.Note 811342 - Time Out exception when rendering to Adobe document service
thanks
Gopal
Similar Messages
-
Transparency issue when generating PDF from InDesign Server
Hi there
Has anyone experienced any issues with transparency appearing solid white when generating a PDF from the InDesign server? There is no issue when exporting from the InDesign application, only when using the Server.
Any pointers / suggestions would be much appreciated
Thanks
DaveyDavey, please send me an InDesign Server document that I could use to reproduce this problem. My e-mail address is [email protected] Thank you. --DougR
-
Error when Generate PDF File on SAP BW 7.3
Hello friends i have a problem.
I have a report that was built using the web designer deployed on Production Environment. This report has the option for print a PDF file but this process fail. I ran the SAP Support Desktop tool over SAP BW and i find the following error:
I followed this note and the notes internally but i don't find the solution (Parameters of timeout, checking the web service, etc...)
Aditionally i check the "fatal erros" on the NWA and i get 3 types of errors just when i generate the PDF:
The first:
Failed to allocate a connection due to an exception (the
full stack trace is logged below): org.omg.CORBA.COMM_FAILURE: vmcid: SUN
minor code: 2 completed: No
The second:
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 2
completed: No
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 2 completed: No
at
com.sap.engine.services.iiop.server.portable.Delegate.invoke(Delegate.java:179)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
at
com.adobe.service._ControlAgentStub.setLogLevel(_ControlAgentStub.java:22)
at
com.adobe.service.ProcessResource.allocateConnection(ProcessResource.java:572)
at
com.adobe.service.ConnectionResource.getConnection(ConnectionResource.java:39)
at
com.adobe.service.J2EEConnectionFactoryManagerPeerImpl.getConnection(J2EEConnectionFactoryManagerPeerImpl.java:117)
at com.adobe.ads.remote.ConnectionFactoryHandler.getConnection(Unknown
Source)
at com.adobe.ads.remote.EJB_XMLFormAgent.getConnection(Unknown
Source)
at com.adobe.ads.remote.EJB_XMLFormAgent.renderAll(Unknown Source)
at com.adobe.ads.operation.support.RemoteRenderer.renderAllRemote(Unknown
Source)
at com.adobe.ads.operation.support.RemoteRenderer.renderAll(Unknown
Source)
at com.adobe.ads.operation.support.RemoteRenderer.renderAll(Unknown
Source)
at com.adobe.ads.operation.Render.renderWithoutCache(Unknown Source)
at com.adobe.ads.operation.Render.execute(Unknown Source)
at
com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)
at
com.adobe.ads.request.ADSRequest.processOperations(Unknown Source)
at
com.adobe.ads.request.ADSRequest.process(Unknown Source)
at
com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
at
com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
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:597)
at
com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:50)
at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)
at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_MethodRetry.invoke(Interceptors_MethodRetry.java:46)
at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:23)
at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
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:597)
at
com.sap.engine.services.ejb3.util.BeanMethods.executeReflectMethod(BeanMethods.java:314)
at
com.sap.engine.services.ejb3.jacc.ExecuteMethodPrivilegedAction.run(ExecuteMethodPrivilegedAction.java:38)
at java.security.AccessController.doPrivileged(Native Method)
at
javax.security.auth.Subject.doAs(Subject.java:396)
at
com.sap.engine.services.ejb3.jacc.ContainerJ2EESecurityProviderBaseImpl.doAs(ContainerJ2EESecurityProviderBaseImpl.java:262)
at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_RunAs.invoke(Interceptors_RunAs.java:24)
at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
at
com.sap.engine.services.ejb3.webservice.impl.DefaultImplementationContainer.invokeMethod(DefaultImplementationContainer.java:204)
at
com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:710)
at
com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:662)
at
com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:322)
at
com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:199)
at
com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:65)
at
com.sap.engine.services.webservices.servlet.SoapServlet.doPost(SoapServlet.java:61)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at
com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
at
com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)
at
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:457)
at
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
at
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
at
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
at
com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:276)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
at
com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at
com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
at
com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
at
com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at
com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
The Third and the last
Exception thrown:
com.sap.ip.bi.base.exception.BIBaseRuntimeException: EXPORT XFA exception when
calling the PDF object after 8882
msec
com.sap.ip.bi.base.exception.BIBaseRuntimeException: EXPORT XFA
exception when calling the PDF object after 8882 msec
at
com.sap.ip.bi.export.xfa.impl.Document.provideContentStream(Document.java:279)
at
com.sap.ip.bi.export.xfa.impl.Document.writeDocumentToByte(Document.java:527)
at
com.sap.ip.bi.export.xfa.impl.PDFConverter.getBinaryResultContainer(PDFConverter.java:183)
at
com.sap.ip.bi.export.impl.ExportController.getBinaryResultContainer(ExportController.java:537)
at
com.sap.ip.bi.export.controller.ExportResult.getExportResult(ExportResult.java:83)
at
com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:70)
at
com.sap.ip.bi.webapplications.pageexport.impl.PageExportRenderingRootNode.createPDF(PageExportRenderingRootNode.java:556)
at
com.sap.ip.bi.webapplications.pageexport.impl.PageExportRenderingRootNode.doExport(PageExportRenderingRootNode.java:142)
at
com.sap.ip.bi.webapplications.pageexport.impl.PageExportRenderingRootNode.processRendering(PageExportRenderingRootNode.java:389)
at
com.sap.ip.bi.webapplications.pageexport.impl.PageExportRenderingRootNode.processSnippetRendering(PageExportRenderingRootNode.java:274)
at
com.sap.ip.bi.webapplications.runtime.impl.page.Page.buildRenderingTree(Page.java:1299)
at
com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRenderingRootNode(Page.java:4780)
at
com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRendering(Page.java:4746)
at
com.sap.ip.bi.webapplications.runtime.impl.page.Page.doProcessRequest(Page.java:2750)
at
com.sap.ip.bi.webapplications.runtime.impl.page.Page._processRequest(Page.java:714)
at
com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRequest(Page.java:4802)
at
com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRequest(Page.java:4795)
at
com.sap.ip.bi.webapplications.runtime.impl.controller.Controller.doProcessRequest(Controller.java:1191)
at
com.sap.ip.bi.webapplications.runtime.impl.controller.Controller._processRequest(Controller.java:1047)
at
com.sap.ip.bi.webapplications.runtime.impl.controller.Controller.processRequest(Controller.java:1015)
at
com.sap.ip.bi.webapplications.runtime.impl.controller.Controller.processRequest(Controller.java:72)
at
com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService._handleRequest(BIRuntimeService.java:446)
at
com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:362)
at
com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:26)
at
com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:213)
at
com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:129)
at
com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$5.service(RequestDispatcherFactory.java:308)
at
com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:270)
at
com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.service(RequestDispatcherFactory.java:298)
at
com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:229)
at
com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:107)
at
com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:141)
at
com.sap.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:206)
at com.sap.portal.prt.pom.PortalNode.service(PortalNode.java:588)
at
com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:233)
at
com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:107)
at
com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:141)
at
com.sap.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:520)
at
com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:201)
at
com.sap.portal.prt.dispatcher.DispatcherServlet.service(DispatcherServlet.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at
com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)
at
com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)
at
com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)
at
com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at
com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)
at
com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:432)
at
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
at
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
at
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
at
com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:276)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
at
com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at
com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at
com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
at
com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
at
com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at
com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
Caused by:
com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: PDFDocument
Processor failed to process RenderRequest Due to the following Reason
Server
Exception: javax.ejb.EJBException: nested exception is:
javax.transaction.RollbackException: Transaction:with ID 43783 will be
rolledback because resource manager RM com.adobe.service.ResourcePeerImpl was
not able to prepare its transaction branch. Returned result from prepare is
TMFAIL.; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.SOAPFaultException:
javax.ejb.EJBException: nested exception is:
javax.transaction.RollbackException: Transaction:with ID 43783 will be
rolledback because resource manager RM com.adobe.service.ResourcePeerImpl was
not able to prepare its transaction branch. Returned result from prepare is
TMFAIL.
at
com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:55)
at
com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentCreationContext.execute(PDFDocumentCreationContext.java:183)
at
com.sap.tc.adobe.pdfdocument.impl.PDFCreationContextImpl.execute(PDFCreationContextImpl.java:103)
at
com.sap.ip.bi.export.xfa.impl.Document.provideContentStream(Document.java:225)
... 83 more
Caused by:
com.sap.tc.adobe.pdfobject.base.core.PDFObjectRuntimeException: Server
Exception: javax.ejb.EJBException: nested exception is:
javax.transaction.RollbackException: Transaction:with ID 43783 will be
rolledback because resource manager RM com.adobe.service.ResourcePeerImpl was
not able to prepare its transaction branch. Returned result from prepare is
TMFAIL.; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.SOAPFaultException:
javax.ejb.EJBException: nested exception is:
javax.transaction.RollbackException: Transaction:with ID 43783 will be
rolledback because resource manager RM com.adobe.service.ResourcePeerImpl was
not able to prepare its transaction branch. Returned result from prepare is
TMFAIL.
at
com.sap.tc.adobe.pdfobject.base.core.PDFObjectDII.invoke(PDFObjectDII.java:381)
at
com.sap.tc.adobe.pdfobject.base.core.PDFObjectDII.doSoapCall(PDFObjectDII.java:91)
at
com.sap.tc.adobe.pdfobject.base.core.PDFObject.execute(PDFObject.java:111)
at
com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentRenderHandler.handle(PDFDocumentRenderHandler.java:176)
at
com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)
... 86 more
Caused by: java.rmi.ServerException: Server Exception:
javax.ejb.EJBException: nested exception is:
javax.transaction.RollbackException: Transaction:with ID 43783 will be
rolledback because resource manager RM com.adobe.service.ResourcePeerImpl was
not able to prepare its transaction branch. Returned result from prepare is
TMFAIL.; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.SOAPFaultException:
javax.ejb.EJBException: nested exception is:
javax.transaction.RollbackException: Transaction:with ID 43783 will be
rolledback because resource manager RM com.adobe.service.ResourcePeerImpl was
not able to prepare its transaction branch. Returned result from prepare is
TMFAIL.
at
com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.processFault(SOAPTransportBinding.java:2075)
at
com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1416)
at
com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:991)
at
com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:945)
at
com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceInvokerImpl.invokeOperation(DInterfaceInvokerImpl.java:76)
at
com.sap.tc.adobe.pdfobject.base.core.PDFObjectDII.invoke(PDFObjectDII.java:328)
... 90 more
Caused by:
com.sap.engine.services.webservices.jaxrpc.exceptions.SOAPFaultException:
javax.ejb.EJBException: nested exception is:
javax.transaction.RollbackException: Transaction:with ID 43783 will be
rolledback because resource manager RM com.adobe.service.ResourcePeerImpl was
not able to prepare its transaction branch. Returned result from prepare is
TMFAIL.
at
com.sap.engine.services.webservices.espbase.client.bindings.impl.FaultUtil.buildFaultException_SOAP11(FaultUtil.java:225)
at
com.sap.engine.services.webservices.espbase.client.bindings.impl.FaultUtil.buildFaultException(FaultUtil.java:65)
at
com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.processFault(SOAPTransportBinding.java:2031)
... 95 more
Finally i compare the environments (Production, Dev and QAS) and in DEV and QAS this report works perfectly (generate PDF file correctly). I compare configurations of them and they have the same parameters and values.
The Support Desktop tools set on green all (DEV and QAS)
I found an article about the ADS rfc that use the adobe document service, so i check in the environment production and this doesn't exists (using SM59). I check in the environments DEV and QAS and this doesn't exists, but in both evironments appears just "ADS is enabled" and works perfectly.
I tried to execute the program test of PDF's (FP_TEST_IA_01 and FP_TEST_00) on the three environments and not working on all.
Please help me with this, i am crazy with this!!!
Thanks and greetings.
AlexHi Alex,
follow up as per Note:
1052659
See defaultTrace.trc and create SAP customer message if needed.
cheers
m./ -
Java Script Warning when creating PDF form in LiveCycle ES (8.2)
When generating a PDF form in LiveCycle ES version (8.2) I keep getting a java script error (yellow bar warning) in Adobe Acrobat Reader 9.3. This PDF doesn't need java-script ... however I can not find where you turn this off in LiveCycle ES. Any help would be appreciated.
Tools > Options > Wizards and Tips. You can show or disable in-place warnings.
Steve -
Generating pdf using ADS on another Server failed
Hi there,
I am trying to generate a pdf-document using Adobe Document Services installed on another server.
It's a Visual Composer app, which opens a Web Dynpro component to generate the pdf. Everything works fine when I run the app on a server, which has Adobe Document Services installed.
But when I try to run the app on a server without ADS installed and want to use ADS on another server (both NW 7.3 SPS4) it fails with and FileNotFoundException.
The log of the ADS-Server says, that it cannot found the file located in <PATH TO THE XDP-FILE ON THE APP-SERVER>. It's sure, that the server cannot find the file, because it's not deployed there!
It seems that the Application calls the Adobe-System which trys to find the template on its own file-system.
Does anybody know the mistake here?
Any help would be greatly appreciated
Edited by: Bernd Speckmann on Oct 17, 2011 10:31 AMThe problem was, that I was passing xdp template source as url .
Instead I should send it as a stream using the appropriate pdfdocument api. -
Bookmarks not created when generating pdf
Hello
I am using 'robohelp for html' and generate pdf files as user guide from existing word format user guide.
I import than and create bookmarks for the TOC of the word user guide.
Now I generate pdf. But the generated pdf file, do not show bookmarks, I also checked in View-Navigation Panels- > but no bookmark icon is there.
I want bookmarks when I create pdf for my documentaion,Actually my concern is that the elements, I would like to add like bookmarks in the PDF files are in some files of the book, but not all.
I feel that the problem is there.
But why i see some of elements, and not all ?
You do not have to physically use the elements in each file of the book; however, all the files in the book should use the same set of elements. My guess is that FrameMaker does not search through all the files in the book when it generates the list of available elements. It probably creates these things from the first file in the book.
Do all the files in the book use the same set of elements? If not, make sure the first file in the book uses the set that includes all the elements you want to be in the bookmarks.
In my opinion, all the files in the book should use the same set of elements. So, I suggest opening a copy of your template, select all the files in the book, and import the element definitions from the template to the files. -
Error Message when generating PDF in RH8
Can someone help. I am using RH 8 and I have created a project in HTML. When generating a PDF document, it throws up an error message and does not create a PDF. However I am able to create a Word file.
Do I need to have an extra license for RoboPDF? Or does it generate automatically. I am getting the message that I do not have permission to access RoboPDF as I need a license. Doesnt it come with RH8?
regards
LinaI have moved this thread to the Printed Documentation category where it belongs. This will be of more help to anyone else with this problem.
It might have helped to have details or an image of the error message. (If you do add images, use the camera icon above)
If you are using RH8, why are you using RoboPDF? That came with earlier versions. RH8 ships with a lite version of Acrobat or a full version if you have the Tech Comm Suite.
In RH7, that had a problem that could be fixed as described in Item 33 at http://www.grainge.org/pages/authoring/rh7/using_rh7.htm I guess you could try reregistering that DLL.
Without the error message it is difficult to tell but I am more inclined to think you have not installed the version of Acrobat that ships with RH8. In Word, if you go to File > Print, do you see RoboPDF and do you see a version of Acrobat? An image of what you see when you go to File > Print in Word might help.
See www.grainge.org for RoboHelp and Authoring tips -
Cfdocument running slow when generating PDF
I have two servers configured the same way. They're running CF 8 Enterprise (exact version is 8,0,1,195765), Java version is 1.6.0_04. Servers are Windows 2008 Server Standard. On one of them, generating PDFs using CFDOCUMENT is very fast. On the other it's painfully slow, can take minutes for a simple PDF. I've checked everything I can think of on the two servers and they seem pretty much the same. I checked the iText jars, they appear to be the same as well. I've seen other people post with slowness issues, but many posts relate to dynamic images, which are not an issue here because I have a PDF with no images in it. I'm totally out of ideas as to what could be causing the difference in performance. Anybody else run into this and find a solution?
Actually, I have emailed the support and they have done it for me.
But, I believe that they went into Policies --> Desktop Protection Policy
Then, if you go to “Browser Protection & Web Filtering” go to the “Exception” tab and add in there the URL of your excluded coldfusion server.
Also, in Virus & Spyware protection, exclude the extension “.cfm” from the “Excluded Files and Folders” and it should work.
If it doesn’t, just email the support and ask them to do it for you
Stéphane Péharpré
IT Manager
Description: cid:[email protected] -
Table Header not Recurring - when Generate PDF from HTML with tables
Hello, It is not working as expected...and I'm not sure if the functionality is supported. Want to create PDF from html document. The html document contains a html table that typically contains a large number of rows. To make reading easier the html table used thead and tbody elements, and their children, so that when the table extends across pages when printed the header element recurs on each page. However, the header element is not recurring in the generated PDF document (it only occurs in the first row of the table). Just wondering if you have tried or used this functionality (created PDF from html with table with headers and the PDF included the table with recurring table header. And if so, did you do anything special to make it work. Thanks for any insight.
If there's a problem with that package, I suggest you speak to the developer of that package and ask them to investigate. It's not an Oracle supplied package so you are wrong to look for help here.
-
ZMEDRUCK PO how generate pdf on the server
Good morning experts,
i need to generate a PDF when the PO it's printed and save it on a server.
In the tr. NACE i have already defined ZMEDRUCK: SAPFM06P ENTRY_NEU ZMEDRUCK
The question is, i need also to copy the program SAPFM06P and SAPLMEDRUCK to manage the creation of the PDF via function or it's possible get the spool number outside the program to generate it anda save the PDF on the server.
If it's possible to get the spool id outside the program SAPFM06P i avoid to modify thew standard program creating a Z program.
help please
thanksHi,
Can you take the below code as a reference. this will guide you how to fix your problem.
REPORT zxx_viewer_zoom.
* T A B L E S D E C L A R A T I O N
*---Tables Used.
TABLES: afpo,
mara,
marc,
aufk,
afko,
itcoo,
nast, "Messages
*nast, "Messages
tnapr, "Programs & Forms
addr_key,
arc_params, "Archive parameters
toa_dara. "Archive parameters
* I N T E R N A L T A B L E S D E C L A R A T I O N
*--Internal Tables Used.
* D A T A D E C L A R A T I O N
*--Global Variables Used.
DATA: ws_matnr LIKE afpo-matnr,
ws_werks LIKE aufk-werks,
ws_mtart LIKE mara-mtart,
ws_wrkst LIKE mara-wrkst,
ws_fname TYPE rs38l_fnam,
ws_ctrlp TYPE ssfctrlop,
ws_optns TYPE ssfcompop,
w_padest LIKE tsp03l-padest. "BMC01+
DATA: da_message_printed(1) TYPE c,
da_preview_processed(1) TYPE c,
repeat(1) TYPE c,
da_subrc LIKE sy-subrc.
DATA: w_otfdata TYPE ssfcrescl.
DATA: BEGIN OF it_itcoo OCCURS 0.
INCLUDE STRUCTURE itcoo.
DATA: END OF it_itcoo.
DATA: w_otf TYPE itcoo.
*--Data Declaration for Printing Layout
DATA: ls_itcpo TYPE itcpo.
DATA: lf_repid TYPE sy-repid.
DATA: lf_device TYPE tddevice.
DATA: cf_retcode TYPE sy-subrc.
DATA: ls_recipient TYPE swotobjid.
DATA: ls_sender TYPE swotobjid.
DATA: ls_control_param TYPE ssfctrlop.
DATA: ls_composer_param TYPE ssfcompop.
DATA: ls_addr_key LIKE addr_key.
DATA: w_screen(1) TYPE c.
DATA: xscreen(1) TYPE c.
DATA: da_mess LIKE vbfs OCCURS 0 WITH HEADER LINE.
* C O N S T A N T S
CONSTANTS: c_fas1(8) TYPE c VALUE 'PRINTFAS',
c_fas2(15) TYPE c VALUE 'PRINTFASDRAWING',
c_wip1(8) TYPE c VALUE 'PRINTWIP',
c_wip2(15) TYPE c VALUE 'PRINTWIPDRAWING'.
* S E L E C T I O N - S C R E E N.
SELECTION-SCREEN BEGIN OF BLOCK bl1 WITH FRAME TITLE text-bl1.
* Production order
PARAMETERS: p_aufnr LIKE afpo-aufnr OBLIGATORY.
SELECTION-SCREEN END OF BLOCK bl1.
START-OF-SELECTION.
*--Get Partially processed orders
MOVE: sy-mandt TO nast-mandt,
'V1' TO nast-kappl,
p_aufnr TO nast-objky,
p_aufnr TO nast-parnr,
sy-langu TO nast-spras,
sy-datum TO nast-erdat,
'1' TO nast-nacha,
'3' TO nast-vsztp,
'X' TO nast-manue,
sy-uname TO nast-usnam,
'DFLT' TO nast-ldest,
sy-langu TO nast-tdspras,
'Shop Floor Papers' TO nast-tdcovtitle,
'1' TO nast-tdarmod,
'BUS2032' TO nast-objtype.
*--Printer settings
CALL FUNCTION 'WFMC_PREPARE_SMART_FORM'
EXPORTING
pi_nast = nast
pi_repid = sy-repid
IMPORTING
pe_returncode = cf_retcode
pe_itcpo = ls_itcpo
pe_device = lf_device
pe_recipient = ls_recipient
pe_sender = ls_sender.
MOVE-CORRESPONDING ls_itcpo TO ls_composer_param.
ls_control_param-device = 'PRINTER'.
ls_control_param-no_dialog = 'X'.
ls_control_param-preview = 'X'.
ls_control_param-getotf = ls_itcpo-tdgetotf.
ls_control_param-langu = sy-langu.
CLEAR: ws_werks.
SELECT SINGLE werks
INTO ws_werks
FROM aufk
WHERE aufnr = p_aufnr.
CLEAR: ws_matnr.
SELECT SINGLE plnbez
INTO ws_matnr
FROM afko
WHERE aufnr = p_aufnr.
CLEAR: marc.
SELECT SINGLE matgr
INTO marc-matgr
FROM marc
WHERE matnr = ws_matnr
AND werks = ws_werks.
* CHECK NOT ws_matnr IS INITIAL.
IF NOT ws_matnr IS INITIAL.
SELECT SINGLE matgr
INTO marc-matgr
FROM marc
WHERE matnr = ws_matnr
AND werks = ws_werks.
ELSE.
marc-matgr = c_wip1.
ENDIF.
END-OF-SELECTION.
PERFORM call_smartform.
* F O R M R O U T I N E S
*& Form call_smartform
* text
FORM call_smartform.
CLEAR: ws_ctrlp, ws_optns, ws_fname.
TRANSLATE marc-matgr TO UPPER CASE.
IF marc-matgr = c_fas1 OR
marc-matgr = c_fas2.
PERFORM call_paper_a.
ELSEIF marc-matgr = c_wip1 OR
marc-matgr = c_wip2.
PERFORM call_paper_b.
ENDIF.
ENDFORM. "call_smartform
*& Form call_paper_a
* text
FORM call_paper_a.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZPPSF_SHOP_FLOOR_PAPER_C'
IMPORTING
fm_name = ws_fname
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
CHECK NOT ws_fname IS INITIAL.
CLEAR w_otfdata.
ls_control_param-getotf = 'X'.
CALL FUNCTION ws_fname
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
user_settings = ' '
is_nast = nast
aufnr = p_aufnr
flag_orig = 'X'
IMPORTING
job_output_info = w_otfdata
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
LOOP AT w_otfdata-otfdata INTO w_otf.
APPEND w_otf TO it_itcoo.
ENDLOOP.
CALL FUNCTION 'HR_IT_DISPLAY_WITH_PDF'
TABLES
otf_table = it_itcoo.
ENDFORM. "call_paper_a
*& Form call_paper_b
* text
FORM call_paper_b.
DATA: ws_doknr TYPE draw-doknr,
ws_dokvr TYPE draw-dokvr.
CLEAR: ws_doknr, ws_dokvr.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZPPSF_SHOP_FLOOR_PAPER_B'
IMPORTING
fm_name = ws_fname
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
CHECK NOT ws_fname IS INITIAL.
CLEAR w_otfdata.
ls_control_param-getotf = 'X'.
CALL FUNCTION ws_fname
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
user_settings = ' '
is_nast = nast
aufnr = p_aufnr
doknr = ws_doknr
dokvr = ws_dokvr
flag_orig = 'X'
IMPORTING
job_output_info = w_otfdata
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
LOOP AT w_otfdata-otfdata INTO w_otf.
APPEND w_otf TO it_itcoo.
ENDLOOP.
CALL FUNCTION 'HR_IT_DISPLAY_WITH_PDF'
TABLES
otf_table = it_itcoo.
ENDFORM. "call_paper_b
Thanks,
Chidanand -
Timeout when retrieving document from Content Server
Dear experts,
after the migration of an R/3 Enterprise system with a file-based Content Server (CS without database) we experience significant delays when a document shall be retrieved from the Content Server and displayed.
The repository, from which documents are retrieved, has the following properties:
Document Area = ArchiveLink
Storage Type = HTTP content server
Obviously the delay is caused by time-outs when R/3 tries to access the content sever.
The RFC trace recorded during the document retrieval contains the following entries:
Trace file opened at 20100825 104048 CEST SAP-REL 640,0,304 RFC-VER 3
Trace file opened at 20100825 104115 CEST SAP-REL 640,0,304 RFC-VER 3
End of trace *****
======> CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456
Timeout beim Verbindungsaufbau (Partner vorhanden ?)
ABAP Programm: SAPLSCMS_CLTFC (Transaction: )
Called function module: RFC_PING
User: TSI0403 (Client: 007)
Destination: SAPCMS (handle: 4, , {4C74C1A6-BD3B-3B59-E100-00001A5F0A18})
SERVER> RFC Server Session (handle: 1, 41571399, {4C74D031-BD2C-3B58-E100-00001A5F0A18})
SERVER> Caller host: cimpd38_MPD_38
SERVER> Caller transaction code: MIR4 (Caller Program: CL_GOS_TOOLBOX_VIEW===========CP)
SERVER> Called function module: GOS_EXECUTE_SERVICE
Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 3268
CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456
Timeout beim Verbindungsaufbau (Partner vorhanden ?)
Error RFCIO_ERROR_MESSAGE in abrfcio.c : 1660
======> CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456
Timeout beim Verbindungsaufbau (Partner vorhanden ?)
ABAP Programm: SAPLSCMS_FE_RFC (Transaction: )
Called function module: RFC_PING
User: TSI0403 (Client: 007)
Destination: SAPHTTP (handle: 6, , {4C74C1B4-BD3B-3B59-E100-00001A5F0A18})
SERVER> RFC Server Session (handle: 1, 41571399, {4C74D031-BD2C-3B58-E100-00001A5F0A18})
SERVER> Caller host: cimpd38_MPD_38
SERVER> Caller transaction code: MIR4 (Caller Program: CL_GOS_TOOLBOX_VIEW===========CP)
SERVER> Called function module: GOS_EXECUTE_SERVICE
Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 3268
CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456
Timeout beim Verbindungsaufbau (Partner vorhanden ?)
Error RFCIO_ERROR_MESSAGE in abrfcio.c : 1660
I wonder why R/3 first attempts to contact the Content Server via the SAPCMS RFC destination rather than using HTTP (SAPHTTP)? - The connection tests for both RFC connections are successful.
Is there a way to instruct R/3 to go via the SAPHTTP RFC destination as the first choice and NOT via SAPCMS when documents shall be retrieved and displayed?
Thank you,
Rainer Walter
Edited by: Rainer Walter on Sep 3, 2010 3:07 PMHi Ravindra,
thank you for looking into this problem. The Content Server is not based on SAP DB/MaxDB. The repositories are represented as plain directory structures in a file system.
My issue is that R/3 is not using the SAPHTTP RFC connection as first choice although the repository is flagged as "HTTP Content Server" but uses another RFC destination instead. When this attempt is timed out, R/3 eventually picks the appropriate RFC destination. So it takes a considerable amount of time until a requested document is finally retrieved from the repository in the Content Server.
I am confused because the system where I experience this behaviour has been built from a system copy of a production system, and the Content Server for this new system has been built from scratch. In the original production system, no timeout is found when users are retrieving documents, and obviously the original R/3 system is using SAPHTTP right away. The original production system and the new system built from a system copy are accessing different Content Servers.
I am looking for a way to instruct the new R/3 system to immediately use the SAPHTTP connection when talking to the Content Server, and I would be grateful for a hint where I can configure this to get rid of these timeouts.
Best regards,
Rainer -
Socket Timeout when reading from post stream
I get the following error when a servlet tries to read an object from the post stream.
Is there a way to set any timeout values on, say a socket, or static variable on
any weblogic SocketImpl..?
Appreciate any help.
Thanks-
Rama
java.io.InterruptedIOException: Read timed out
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:86)
at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:124)
at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:97)
at java.io.ObjectInputStream.read(ObjectInputStream.java:1835)Was successful in setting the duration parameter in the HTTP tab of the server.
However, when accessing the app (servlet) via iPlanet proxy, it still fails. I have
to check on similar settings on that side.
Do you have hints for me ?
Thanks for your posting, Dave.
Rama
"Dave Martin" <[email protected]> wrote:
>
Rama:
Try changing the Post Timeout Secs option under the HTTP tab for your server
in the
WebLogic Admin console. You could bump out the Duration on the HTTP connection
while
you're at it. Not sure if these will have a side effect on what you want
to change,
but worth a shot.
"Rama Raghavan" <[email protected]> wrote:
I get the following error when a servlet tries to read an object from the
post stream.
Is there a way to set any timeout values on, say a socket, or static variable
on
any weblogic SocketImpl..?
Appreciate any help.
Thanks-
Rama
java.io.InterruptedIOException: Read timed out
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:86)
at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:124)
at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:97)
at java.io.ObjectInputStream.read(ObjectInputStream.java:1835) -
ColdFusion 8 drops Arabic characters when generating PDF doc
Hello All,
Please let me know what I'm doing wrong here! I have trouble with generating a PDF document from ColdFusion.
The cfm document contains mixed English and Arabic text and it seems that the ColdFusion's embedded PDF Generator drops Arabic characters when creating the PDF file.
I attached a bare bone cfm document (see print_test.cfm) that I used as an example to the stated problem.
The document:
displays fine in FireFox 3.0.10 (see attached print_test_screenshot.jpg) Used link:
http://localhost:8500/Print_test.cfm?display=yes
This image file also shows the characters that get dropped by the ColdFusion's embedded PDF Generator.
is converted fine in PDF by the FireFox 3.0.10 using print command line (see attached print_test_firefox.pdf) Used command:
“C:\Program Files\Mozilla Firefox\firefox.exe" -print "http://localhost:8500/Print_test.cfm?display=yes" -printmode pdf -printfile "c:\pdf\print_test_firefox.pdf" -printdelay 150
is NOT converted to PDF properly by the ColdFusion using the embedded PDF generator (see attached print_test_cf.pdf) Used command: http://localhost:8500/Print_test.cfm
The print_test.cfm file, which I had to remove since this forum allows me to post only 3 attachments, has the following content:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<cfsavecontent variable="MyPage">
<head>
<title>PRINT TEST</title>
</head>
<body>
<table width="810" border="0">
<tr>
<td width="225" ><div align="center"><strong>ARABIC TEXT PRINT TEST</strong></div></td>
<td width="225" ><div align="center"><strong><span dir="rtl">نظام بصمة الوجه في دولة</span></strong></div></td>
</tr>
</table>
</body>
</html>
</cfsavecontent>
<cfif not(isdefined("url.DISPLAY"))>
<cfdocument format="pdf" filename="c:\pdf\print_test_cf.pdf" overwrite="yes">
<cfoutput>#mypage#</cfoutput>
</cfdocument>
<cfelse>
<cfoutput>#mypage#</cfoutput>
</cfif>
Thank you all for your help,
Adrian"I suppose you did it through the cfdocument tag in a cfm document". nope i used
the iText library (the one that ships w/cf) directly in cf to see where the
problem actually was. i don't think this is something you want to do?
i reported this as a bug to adobe, you can help get something done by adding
your own bug report here:
https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&product=12&6213=6
================ the cf file i used ================
// file
thisPDFFile="c:\Inetpub\wwwroot\iText\arabicLigatureTest.PDF";
// get objects
pdfFile = createObject("java", "java.io.FileOutputStream").init(thisPDFFile);
pageSize = createObject("java", "com.lowagie.text.PageSize").init();
bidiTable = createObject("java", "com.lowagie.text.pdf.PdfPTable").init(1);
//one column table
phrase = createObject("java", "com.lowagie.text.Phrase");
baseFont = createObject("java", "com.lowagie.text.pdf.BaseFont");
Font = createObject("java", "com.lowagie.text.Font");
Phrase=createObject("java", "com.lowagie.text.Phrase");
// landscape to fit this map image, the rotate() bit
//pdfDocument = createObject("java",
"com.lowagie.text.Document").init(PageSize.A4.rotate(), 0, 0, 0, 0);
// portrait
pdfDocument = createObject("java",
"com.lowagie.text.Document").init(PageSize.A4, 0, 0, 0, 0);
tableCell = createObject("java", "com.lowagie.text.pdf.PdfPCell");
PdfWriter = createObject("java", "com.lowagie.text.pdf.PdfWriter");
PdfWriter.getInstance(pdfDocument, pdfFile);
// add metadata BEFORE opening pdf doc
pdfDocument.addTitle("This is a quick and dirty arabic ligature test");
pdfDocument.addSubject("arabic ligature PDF test");
pdfDocument.addAuthor("PaulH");
pdfDocument.addCreator("arabicItext testbed");
pdfDocument.addKeywords("CFMX and iText are a great combination by golly!");
// lets setup unicode font
msUnicode=baseFont.createFont("c:
windows
fonts
ARIALUNI.ttf",
BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
thisFont=Font.init(msUnicode,12);
// open doc to add stuff to then close, duh
pdfDocument.open();
bidiTable.setWidthPercentage(100);
bidiTable.setRunDirection(PdfWriter.RUN_DIRECTION_RTL);
// leading, text, font
arabicPhrase=phrase.init(2,"نظام بصمة الوجه في دولة",thisFont);
c=tableCell.init(arabicPhrase);
c.setArabicOptions(8); //
c.setBorder(0);
c.setGrayFill(5.00);
bidiTable.addCell(c);
for (i=1; i LTE getU.recordCount;i=i+1) {
arabicPhrase=phrase.init(22,getU.uniText+,thisFont);
c=tableCell.init(arabicPhrase);
c.setArabicOptions(8);
c.setBorder(0);
c.setGrayFill(5.00);
bidiTable.addCell(c);
pdfDocument.add(bidiTable);
pdfDocument.close();
</cfscript -
The XmlFormService process gives following warning when generating pdf output.
I get the following warning i my server.log when "converting" xml to pdf(generatePDFOutput). Running lc es4 sp1, jboss 5.2.0, java 1.7.0_25, suse linux 11 sp2.
2014-05-19 08:38:05,649 WARN [com.adobe.service.J2EEConnectionFactoryManagerPeerImpl] (WorkerThread#0[172.20.138.175:65414]) Service: XMLFormService resource: ProcessResource@59a6bbcd(name=XMLForm.exe,pid=25053) could not schedule an interrupt for transaction: TransactionImple < ac, BasicAction: -53eba403:c6dc:5379a4b8:1a30 status: ActionStatus.RUNNING > because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
Any idea why i get this warning?This log entry is not any error/issue with the LiveCycle(XMLForm.exe) . There is a feature which kill XMLForm.exe after a specified timeout. This feature is not used in LC, this log message just says that it did not schedule an interrupt to kill XMLForm.exe which is also expected.So, this warning log entry can be safely ignored.
-Wasil -
Bridge CS6 freezes when generating PDF output (windows 8)
I am using Adobe Bridge CS6 (64bit) on a Windows 8 machine. I have photos that I want to output to PDF. Bridge will freeze in the process of generating the PDF file. I have to go to the Task Manager to quit. Sometimes the PDF file has been made successfully when I look for it. Other times not.
I have photos that I want to output to PDF. Bridge will freeze in the process of generating the PDF file.
How many files and how big are these files?
What filetype do you use?
Output (as Bridge itself) can be very processor demanding on a big task and enough RAM and free space left on start up disk.
How much RAM and free space do you have?
Maybe you are looking for
-
Need drive or firmware for Matshita DVD-R UJ-867 ATAPI
"A required CD/DVD drive is missing. If you have a driver floppy disk, CD, DVD or USB Flash drive, please insert it now". I try the Mac OS X original installation CD, but it didn't have the drive. So, where can I get this drive for the CD/DVD Matshit
-
How to split the page in 2, 3 or 4?
I want to put a specific split right in the middle of the page, so when I'm writing at the left corner and I reach the middle it automaticly goes down. And so on I could use the other half.
-
When i try to open itunes its telling me to redownload it and the entry point can not be located
i try downloading the new softwear and once i did it told me ("the procedure entry point AVCPlayerItemDurationChangedNotification could not be located in the dynamic link libary AVFoundationCF.dl"l ()"ITunes was not installed correctlly. Please rein
-
When adding attachments to a task,there is an option to choose the access rights. By default the value is "Read Only". But when I attach a document, all rights are applied (Read, Edit, Delete) irrespective of the permission selected. What could be th
-
Badi screen is overwriting the the existing tabstrip screen
Hi experts, I am facing the problem, I was created one new tab in header data of MIGO Transaction. After implementing that tab , the last tab 'excise invoice' is not coming But if i am deactivating my badi code, then it is coming So Plz lead me