Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: Integration with Pentaho

  1. #1

    Exclamation Integration with Pentaho

    I was Trying to create a Report from Penthao report designer source i taught was Hive layer.

    when i had a quick search on this, i was ended with this

    after following the steps mention in the above URL
    in step 5
    $ sh
    when i try to execute the above command , It triggered the error like this.
    Please someone Pentaho guru shed lights on this

    java -XX:MaxPermSize=512m -cp .:/opt/hadoop/hadoop/hadoop-0.20.2-core.jar:/opt/hive/conf:/opt/hive/lib/antlr-runtime-3.0.1.jar:/opt/hive/lib/asm-3.1.jar:/opt/hive/lib/commons-cli-2.0-SNAPSHOT.jar:/opt/hive/lib/commons-codec-1.3.jar:/opt/hive/lib/commons-collections-3.2.1.jar:/opt/hive/lib/commons-lang-2.4.jar:/opt/hive/lib/commons-logging-1.0.4.jar:/opt/hive/lib/commons-logging-api-1.0.4.jar:/opt/hive/lib/datanucleus-core-1.1.2.jar:/opt/hive/lib/datanucleus-enhancer-1.1.2.jar:/opt/hive/lib/datanucleus-rdbms-1.1.2.jar:/opt/hive/lib/derby.jar:/opt/hive/lib/hive_anttasks.jar:/opt/hive/lib/hive_cli.jar:/opt/hive/lib/hive_common.jar:/opt/hive/lib/hive_contrib.jar:/opt/hive/lib/hive_exec.jar:/opt/hive/lib/hive_hwi.jar:/opt/hive/lib/hive_jdbc.jar:/opt/hive/lib/hive_metastore.jar:/opt/hive/lib/hive_serde.jar:/opt/hive/lib/hive_service.jar:/opt/hive/lib/hive_shims.jar:/opt/hive/lib/jdo2-api-2.3-SNAPSHOT.jar:/opt/hive/lib/jline-0.9.94.jar:/opt/hive/lib/json.jar:/opt/hive/lib/junit-3.8.1.jar:/opt/hive/lib/libfb303.jar:/opt/hive/lib/libthrift.jar:/opt/hive/lib/log4j-1.2.15.jar:/opt/hive/lib/stringtemplate-3.1b1.jar:/opt/hive/lib/velocity-1.5.jar:launcher.jar -jar launcher.jar
    No protocol specified
    ERROR [08-13 09:55:31,878] - UncaughtExcpetionsModel.addException
    java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(
    at sun.awt.X11.XToolkit.<clinit>(
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(
    at java.awt.Toolkit$
    at Method)
    at java.awt.Toolkit.getDefaultToolkit(
    at sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(
    at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(
    at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(
    at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(
    at javax.swing.UIManager.setLookAndFeel(
    at javax.swing.UIManager.setLookAndFeel(
    at javax.swing.UIManager.initializeDefaultLAF(
    at javax.swing.UIManager.initialize(
    at javax.swing.UIManager.maybeInitialize(
    at javax.swing.UIManager.getDefaults(
    at org.pentaho.reporting.designer.core.ReportDesigner.setLookAndFeel(
    at org.pentaho.reporting.designer.core.ReportDesigner.main(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.pentaho.commons.launcher.Launcher.main(

  2. #2
    Join Date
    Dec 2009


    The message tells you, that no X-environment was found.
    Possible reasons are:
    a) you logged on to the pentaho-server and didn't enable X-forwarding (check ssh config and start a local X-server before logging into the system)
    b) set DISPLAY environment properly
    c) use "java.awt.headless=true" as additional property (I think you need to edit to do this; refer to:



  3. #3
    Join Date
    Mar 2003


    A GUI editor like PRD cannot run in headless mode, as that mode says: I do not want a GUI. But otherwise Tom is spot on - X11 is not there or your X11 client environment is not configured correctly.
    Get the latest news and tips and tricks for Pentaho Reporting at the Pentaho Reporting Blog.

  4. #4
    Join Date
    Dec 2009


    Err... right, running the PRD in headless mode is senseless
    ... I remembered this property for using it within the Pentaho-Tomcat Server as I experienced some problems viewing reports on a linux box without X...

  5. #5


    Thanks taqua.
    pointing me in a right direction.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.