If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > db2eva not working

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-20-07, 13:16
nivasreddy007 nivasreddy007 is offline
Registered User
 
Join Date: Jun 2007
Posts: 66
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
Reply With Quote
  #2 (permalink)  
Old 11-20-07, 15:19
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
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
Reply With Quote
  #3 (permalink)  
Old 11-20-07, 15:26
nivasreddy007 nivasreddy007 is offline
Registered User
 
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
Reply With Quote
  #4 (permalink)  
Old 11-20-07, 17:18
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
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.
Reply With Quote
  #5 (permalink)  
Old 11-20-07, 17:35
nivasreddy007 nivasreddy007 is offline
Registered User
 
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
Reply With Quote
  #6 (permalink)  
Old 11-20-07, 17:39
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
does not work on command line, unfortunately
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #7 (permalink)  
Old 11-20-07, 19:29
nivasreddy007 nivasreddy007 is offline
Registered User
 
Join Date: Jun 2007
Posts: 66
Thanks Sathyaram.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On