HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › pdf generated empty
- This topic has 7 replies, 3 voices, and was last updated Nov 25, 2014
18:18:02 byPD4ML.
-
AuthorPosts
-
November 12, 2014 at 07:43#26966
Hi,
We are trying to convert an .xhtml page with dynamically loaded values into pdf.
I am using Pd4ml api, and my application is developed in Websphere Portal Server 6.1 .
When i trying giving, the url as an input , pdf is generated with no content in it.
Url: http://IPaddress:10039/wps/myportal/Rationalportlets. For instance , if i replace this url with https://pd4ml.com/index.htm its working fine.
Greatly appreciate your help.
November 12, 2014 at 16:39#295981. Make sure there is routing from WebSphere server to http://IPaddress and port 10039 is not blocked.
2. Enable debug info and inspect STDOUT/server’s log for error messages
3. Try to save Rationalportlets output as a local HTML document and try to convert it locally. Does it produce a non-blank PDF?
November 15, 2014 at 15:05#29599I have similar problem: Lotus Domino server, if I try to convert http://www.mydomain.com/database.nsf/viewname/document I get an empty PDF. If I set url to http://www.google.com it works.
I tried adding authentication, just in case, but it still does not work.November 17, 2014 at 16:25#29600Are there any error messages or warnings (printed to STDOUT/log)?
November 19, 2014 at 13:07#29601I cannot find stdout or equivalent for Domino, I am looking at the Domino console, i.e., log.nsf.
If I create an error like change http://…. to htxx://… in the URL I get error information saying the protocol is wrong.what I get is:
19/11/2014 12:58:57 HTTP JVM: f:dataEW0008.pdf 19/11/2014 12:58:57 HTTP JVM: http://www.domain.com/v4/CTR0101.nsf/lookupParent/EW0008?OpenDocument 19/11/2014 12:58:57 HTTP JVM: version: PD4ML 380fx6 Pro (eval) 19/11/2014 12:58:57 HTTP JVM: done in 140ms.
But, the PDF is blank
November 22, 2014 at 14:58#29602Is there an equivalent in Domino to Port 10039 in Websphere or are ports 80 and 443 enough?
November 25, 2014 at 18:06#29603“You can review output from a Java agent that is running locally in the Java Debug Console. To activate the console, choose Tools – Show Java Debug Console.”
November 25, 2014 at 18:18#29604Also, inspect an exported DXL file content. If there are
<rawitemdata type='1'>elements – it is a bad sign.The rawitem data type corresponds to TYPE_COMPOSITE, which is raw binary object, exported from Notes database “as is” (not represented as DXL’s
<richtext>element). A parsing of such objects is not a trivial task and it is out of PD4ML scope.The only solution in the case is to force DXLExporter not to output
<rawitemdata type='1'>objects.There are DXLExporter options to control that, but they not always work. See
http://www-01.ibm.com/support/knowledgecenter/#!/SSVRGU_9.0.1/com.ibm.designer.domino.main.doc/H_RICHTEXTOPTION_PROPERTY_EXPORTER.html -
AuthorPosts
The forum ‘General questions / FAQ’ is closed to new topics and replies.
