Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2007
    Posts
    66

    Unanswered: db2eva not working

    db2eva (db2event analyser) is not working when i invoke it on the server.It gives me the following message:

    sh: line 1: /opt/IBMJava2-s390x-141/jre/bin/java: No such file or directory
    DB2JAVIT : RC = 127

    Any ideas as to how to get this working?? Also please let me know if that is the same case with memory visualiser


    Thanks

  2. #2
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    What OS are you working on? It sounds like Linux since it is looking in /opt for the java code. If that is the case, then why is it trying to find s/390 (mainframe) java?
    M. A. Feldman
    IBM Certified DBA on DB2 for Linux, UNIX, and Windows
    IBM Certified DBA on DB2 for z/OS and OS/390

  3. #3
    Join Date
    Jun 2007
    Posts
    66
    It is Zlinux environment..I changed the JDK_PATH dbm parameter in the dbm cfg.Now I am getting the following error..Please help

    Exception in thread "main" java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment
    at java.lang.Class.forName1(Native Method)
    at java.lang.Class.forName(Class.java:180)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvir onment(GraphicsEnvironment.java:91)
    at java.awt.Font.initializeFont(Font.java:333)
    at java.awt.Font.<init>(Font.java:368)
    at javax.swing.plaf.FontUIResource.<init>(FontUIResou rce.java:65)
    at com.sun.java.swing.plaf.motif.MotifLookAndFeel.ini tComponentDefaults(MotifLookAndFeel.java:227)
    at com.ibm.db2.tools.common.plaf.motif.DB2MotifLookAn dFeel.initComponentDefaults(Unknown Source)
    at javax.swing.plaf.basic.BasicLookAndFeel.getDefault s(BasicLookAndFeel.java:119)
    at com.ibm.db2.tools.common.plaf.motif.DB2MotifLookAn dFeel.getDefaults(Unknown Source)
    at javax.swing.UIManager.setLookAndFeel(UIManager.jav a:425)
    at com.ibm.db2.tools.common.CommonUIManager.setLookAn dFeel(Unknown Source)
    at com.ibm.db2.tools.common.CommonUIManager.setLookAn dFeel(Unknown Source)
    at com.ibm.db2.tools.common.CommonUIManager.initializ e(Unknown Source)
    at CC.setLookAndFeel(Unknown Source)
    at CC.<init>(Unknown Source)
    at CC.main(Unknown Source)
    DB2JAVIT : RC = 1

  4. #4
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650
    db2eva is a java swing GUI .. Are you trying this command from X-windows ?


    Quote Originally Posted by nivasreddy007
    It is Zlinux environment..I changed the JDK_PATH dbm parameter in the dbm cfg.Now I am getting the following error..Please help

    Exception in thread "main" java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment
    at java.lang.Class.forName1(Native Method)
    at java.lang.Class.forName(Class.java:180)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvir onment(GraphicsEnvironment.java:91)
    at java.awt.Font.initializeFont(Font.java:333)
    at java.awt.Font.<init>(Font.java:368)
    at javax.swing.plaf.FontUIResource.<init>(FontUIResou rce.java:65)
    at com.sun.java.swing.plaf.motif.MotifLookAndFeel.ini tComponentDefaults(MotifLookAndFeel.java:227)
    at com.ibm.db2.tools.common.plaf.motif.DB2MotifLookAn dFeel.initComponentDefaults(Unknown Source)
    at javax.swing.plaf.basic.BasicLookAndFeel.getDefault s(BasicLookAndFeel.java:119)
    at com.ibm.db2.tools.common.plaf.motif.DB2MotifLookAn dFeel.getDefaults(Unknown Source)
    at javax.swing.UIManager.setLookAndFeel(UIManager.jav a:425)
    at com.ibm.db2.tools.common.CommonUIManager.setLookAn dFeel(Unknown Source)
    at com.ibm.db2.tools.common.CommonUIManager.setLookAn dFeel(Unknown Source)
    at com.ibm.db2.tools.common.CommonUIManager.initializ e(Unknown Source)
    at CC.setLookAndFeel(Unknown Source)
    at CC.<init>(Unknown Source)
    at CC.main(Unknown Source)
    DB2JAVIT : RC = 1
    Visit the new-look IDUG Website , register to gain access to the excellent content.

  5. #5
    Join Date
    Jun 2007
    Posts
    66
    I am trying from Zlinux commandline and I am not sure whether X-windows is installed on the server or not.Thanks

  6. #6
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650
    does not work on command line, unfortunately
    Visit the new-look IDUG Website , register to gain access to the excellent content.

  7. #7
    Join Date
    Jun 2007
    Posts
    66
    Thanks Sathyaram.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •