Forum Replies Created

Viewing 15 posts - 136 through 150 (of 1,410 total)
  • Author
    Posts
  • in reply to: Watermark image doesn’t accept java protocol
    #29938

    We’ve reproduced the issue and already fixed in the dev build.

    A new maintenance version will be published next days (after QA is finally passed)

    in reply to: ClassCastException with endless loop in PDF page generation
    #29931

    Just finished a testing. The issue has been fixed in the DEV build. If everything goes fine with QA, we’ll publish a maintenance version on Friday.

    in reply to: Cannot find log messages and how to enable them
    #29865

    It can be done with Java API:

    public void redirectDebugInfo(PrintStream debugOutput) {
    System.setOut(debugOutput);
    System.setErr(debugOutput);
    }

    in reply to: Java Out Of Memory Error
    #29927

    Have you overridden the default “tiny” JVM heap size with something like -Xmx512m ?

    in reply to: ClassCastException with endless loop in PDF page generation
    #29929

    Reproduced. The issue processing scheduled to the next week.

    in reply to: How can I force PD4ML to not resolve links in the html?
    #29935

    pd4ml.disableHyperlinks() method is what you looking for.

    But… Some PDF viewers (like Acroread) parse PDF document content and turn URL-like strings into hyperlinks. The behavior can be disabled in PDF viewer properties by the end-user, but it cannot be done automatic way from a PDF document.

    See in Acroread:
    Edit->Preferences->General->Generate links from URLs

    in reply to: NullPointerException in a table/disp:none/float combination
    #29936

    The issue is reproduced. We’ll begin to work on it next week.

    in reply to: Memory leak
    #29924

    HTML rendering (the first phase of HTML-to-PDF conversion) is a resource consuming task – you know that from your everyday browsing experience: a bulky web page rendering can “eat” all available RAM and block even a native web browser and slow down the system. HTML renderer instantiates a set of objects even for any standalone whitespace. Almost all allocated RAM is released after PD4ML object is garbage collected.

    There is only exception (I guess, you see it as a “memory leak”) is a resource caching. The cache (static Map object) holds soft references to loaded resource byte arrays (images, stylesheets etc), which are to be auto-deleted when JVM is short of RAM. You may force the resource releasing by pd4ml.clearCache() API call.

    in reply to: can not load image error when converting from html to pdf
    #29907

    You can configure your application to use proxy Java-generic way with the following code:

    String host="your.proxy.br";
    String port="80"; // change it to your proxy port number
    
    // older JDK approach
    System.getProperties().setProperty("proxySet", "true");
    System.getProperties().setProperty("proxyHost", host);
    System.getProperties().setProperty("proxyPort", port);
    
    // newer JDK approach
    System.getProperties().setProperty("http.proxySet", "true");
    System.getProperties().setProperty("http.proxyHost", host);
    System.getProperties().setProperty("http.proxyPort", port);

    The similar can be achieved with a JVM command line parameters:

    -Dhttp.proxySet=true -Dhttp.proxyPort=<PORT> -Dhttp.proxyHost=<IP_ADDR>

    in reply to: can not load image error when converting from html to pdf
    #29905

    The diag line explicitly says there are network (firewall or routing) issues:

    errno: 111 (Connection refused), error: Connection refused (local port 50735 to address 0:0:0:0:0:0:0:0, remote port 80 to address 74.208.20.166): http://www.daycomsolutions.com/Support/ ... 050w50.JPG

    The server or workstation where PD4ML runs cannot access HTTP resources of 74.208.20.166. Your network admin should check it and resolve it. If it is not possible by any security reason etc, you need to configure PD4ML to go via your company proxy.

    in reply to: Local converter 398 fx4/fx5 crash with a NPE
    #29889

    Try https://pd4ml.com/i/pd4ml_debug.jar – it should give an exact line number of the exception.

    in reply to: Header style not matching between HTML page and exported PDF
    #29911

    You may pack all relevant resources and send to support pd4ml com

    in reply to: Local converter 398 fx4/fx5 crash with a NPE
    #29887

    After a successful run of 380fx3 it should create pd4browser.properties. Copy it to a location of the problematic version.

    in reply to: border is not working
    #29916

    Try to use SVG instead

    (and update PD4ML to newer version if needed)

    in reply to: Header style not matching between HTML page and exported PDF
    #29909

    A sample of source HTML and resulting PDF would help a lot to analyze the issue.

Viewing 15 posts - 136 through 150 (of 1,410 total)