Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • #26189

    PD4ML is written 100% in Java and intended to be OS-independent. It is compatible with JDK 1.3 and above.

    Before being released every version of PD4ML is extensively tested on Solaris, Linux, Win32 with JDK 1.3-1.6 and under the following servlet engines / application servers:

    • Tomcat 4.1
    • Tomcat 5.5
    • Resin 2.1.17
    • JBoss 3.2.8

    Our customers successfully use PD4ML with Bea WebLogic, IBM WebSphere, Oracle Application Server. Supported hardware platforms include also MacOSX, HP/UX, AS/400, iSystem, mainframes (zOS) and many more.


    Hi, we are getting trouble trying to generate the pdf on AS400.

    We already tryed on two differentes environments and we are getting the same trouble.

    We have java version 1.4.2. When we try to execute, pd4ml create the file with 0kb and an exception is giving to us(executing in the prompt). See the attached file.


    PD4ML runs under any JDK, starting from v1.3. However Pd4Php from PHP wrapper sample is complited with JDK 1.5. You may always recompile Pd4Php with JDK 1.4 (its source code is part of the wrapper package), or wait some time untill we updated it on our site (it will take 2-3 days).


    Hi, we updated the java of one of the machines and now we can create the PDF executing in SSH, see the command:
    /QOpenSys/QIBM/ProdData/OS400/PASE/bin/java -Xmx512m -Djava.awt.headless=true -cp .:pd4ml.jar Pd4Php 800 LETTER -orientation PORTRAIT -permissions 2076 > /www/zendcore/htdocs/scriptcase/tmp/test.pdf

    but when executing this same command in PHP (exec, system, shell, passthru and all others functions) we always are getting a 0kb pdf.

    what can we do?


    Try to add


    to the command line. It should output error messages, if any, to error.txt


    Apparently its a permission problem. But we cant figure it out how to solve this.

    We try to execute the java -version to see the output from PHP, but we got nothing.
    In command line all the outputs are Ok.

    Do you know how to solve this? Do you have any client running under OS400??


    I tested the permission with other file with the same permission, owner and group and the php executed successfully.

    I tested with zendid from Zend and PHP get the outputs.

    We honestly dont know how to execute on OS400.


    Can you give us an attention?

    Try to contact Zend or all your customers using Zend Core on I5 will have the same problem 🙁


    Sorry for the delay with the reply.

    Did you check the installed programs list and the PTF group level as the Zend forum recommends?

    Did it help to resolve the issue?

Viewing 9 posts - 1 through 9 (of 9 total)

The forum ‘General questions / FAQ’ is closed to new topics and replies.