PD4ML v4 Forums PD4ML v3 Archived Forums (Read Only) Deployment / Configuration issues Could not find the main class: Pd4Cmd. Program will exit.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26910

    command is called from external integrated system, output:

    execution conversion command:/usr/bin/java -Xmx512m -Djava.awt.headless=true -cp /root/pd4ml.prof.380fx9/lib/pd4ml.jar Pd4Cmd ‘file:/tmp/pdfBK9qb4.html’ 800 -encoding UTF-8 -ttf /root/fonts -pdfa -out /tmp/pdfBK9qb4.pdf

    Exception in thread “main” java.lang.NoClassDefFoundError: Pd4Cmd
    Caused by: java.lang.ClassNotFoundException: Pd4Cmd
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    Could not find the main class: Pd4Cmd. Program will exit.

    from past experience this might be related to java version and/or variables (java_home, etc)

    #29495

    I do not believe there is a problem with java_home, as the java runtime successfully starts. First I would suspect /root/pd4ml.prof.380fx9/lib/pd4ml.jar is invalid or JVM process has no permissions to read it.

    #29496

    reason was found to be missing permissions on parent folder.

    thanks.

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

The forum ‘Deployment / Configuration issues’ is closed to new topics and replies.