3 Replies Latest reply on Mar 26, 2019 8:31 PM by Gianni Ceresa

    PGX will not start, embeddedAPI error

    3634868

      I just installed PGX for the first time. When I try to start it, I get this error:

       

      tput: unknown terminfo capability 'setafsd'

      [WARNING] neither HADOOP_HOME nor HADOOP_CONF_DIR is set. If loading/storing from/to HDFS, Hadoop default configuration values will be used.

      java.lang.ExceptionInInitializerError

              at oracle.pgx.api.Pgx.getProviderFor(Pgx.java:88)

              at oracle.pgx.api.ServerInstance.<init>(ServerInstance.java:59)

              at oracle.pgx.api.Pgx.getInstance(Pgx.java:266)

              at oracle.pgx.shell.Console.initInstance(Console.java:287)

              at oracle.pgx.shell.Console.<init>(Console.java:152)

              at oracle.pgx.shell.Console.main(Console.java:324)

      Caused by: java.lang.IllegalStateException: cannot load embeddedAPI provider class. Please make sure you have all the required JARs for PGX embedded on the classpath.

              at oracle.pgx.api.Pgx$ApiProviderModule.<init>(Pgx.java:61)

              at oracle.pgx.api.Pgx$EmbeddedApiInjector.<clinit>(Pgx.java:75)

              ... 6 more

      Caused by: java.lang.ClassNotFoundException: oracle.pgx.api.EmbeddedApiProvider

              at java.net.URLClassLoader.findClass(URLClassLoader.java:382)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

              at java.lang.Class.forName0(Native Method)

              at java.lang.Class.forName(Class.java:264)

              at oracle.pgx.api.Pgx$ApiProviderModule.<init>(Pgx.java:59)

              ... 7 more

       

      I have no idea what to set on the CLASSPATH... neither if I need to set the HADOOP_HOME, we don't have HADOOP installed.