467,081 Members | 1,143 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,081 developers. It's quick & easy.

db2cc fails on 64 bit AIX 5.2

aaa
I installed DB2 8.1.1 FP 7 on an AIX system running AIX 5.2 in 32 bit
mode. The DB2 control center started up fine until I changed the
server to boot in 64 bit mode. Now db2cc fails. I have been told by
one of our Java experts that the error messages mean that java is not
finding its core libraries and he thinks the CLASSPATH is not being
set correctly. We tried to manually correct this without success (by
adding various jar files in jre/lib to the CLASSPATH). I have not
altered the instance's .profile or db2profile. The only thing that
changed was booting the machine in 64 bit mode.

Both the 32 bit instance and the 64 bit instance fail with the same
error. Each user points to the appropriate version of Java (ie. the 32
bit instance uses the 32 bit Java, and the 64 bit instance uses the 64
bit java). The sqllib/lib and bin of both instances also point to the
appropriate locations (ie. 32=>32 64=>64).

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:225)
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
Nov 12 '05 #1
  • viewed: 3976
Share:
1 Reply
Try setting the environment, DISPLAY.

for eg: setenv DISPLAY "Ip address of your host system:0.0" (c-shell).

Regards
Jignesh.
Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Willard Farwark | last post: by
4 posts views Thread by Mairhtin O'Feannag | last post: by
4 posts views Thread by Andy Dossett | last post: by
6 posts views Thread by Smutny30 | last post: by
3 posts views Thread by dunleav1 | last post: by
1 post views Thread by Buck Turgidson | last post: by
15 posts views Thread by xiaoning.sunx@gmail.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.