Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2005
    Posts
    103

    Question Unanswered: Control Center (db2cc)

    AIX 5.3
    DB2 8.2.2

    I am using Control Center from my Windows pc and it seems to work but it tends to be slow.

    I am curious what I am missing regarding running db2cc on the serer. When I try, I get "Exception in thread "main" java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment ... DB2JAVIT : RC = 1"

    What must I do/use to be able to use db2cc on the server?

    Thanks.

  2. #2
    Join Date
    Jun 2006
    Posts
    471

    cc

    be logon in instance owner or db2 client instance
    set correct setting for jdk_path in dbm/admin cfg
    if trying db2cc from putty session : not possible
    you need a graphical session or x-window that will reroute graphic to windows x-manager
    host + need to be set in windows
    in solaris : set DISPLAY=windowsipaddress:0.0
    slow because of java execution needing cpu/memory
    Best Regards, Guy Przytula
    DB2 UDB LUW certified V6/7/8

  3. #3
    Join Date
    Jul 2005
    Posts
    103
    I do log in as the instance owner. Both JDK_PATH and JDK_PATH_64 for the admin cfg have the same value. The instance is a 64-bit instance. The Java path is to /usr/java14_64. JDK_PATH for the dbm cfg has the same path. Do I have to have a 32-bit JDK installed as well? I do use an X-window application and I do export my DISPLAY.

  4. #4
    Join Date
    Jan 2003
    Posts
    4,292
    Provided Answers: 5
    I am not sure about AIX, but the same issue occurs in Linux and is fixed by executing: "xhost +" as root (do not type the quotes).

    Andy

  5. #5
    Join Date
    Jun 2006
    Posts
    471

    x win

    the last command xhost + is to be typed in the x-window to allow all users to come in
    the message you get is a xmanager problem on aix
    checking out
    is the db2profile executed (call from .profile)
    the values of libpath and ld_library_path and ld_library_path64 ?
    also try java -version
    Last edited by guyprzytula; 02-07-07 at 04:09.
    Best Regards, Guy Przytula
    DB2 UDB LUW certified V6/7/8

  6. #6
    Join Date
    Jul 2005
    Posts
    103
    Thanks all. I got it now. My problem was that I was not executing the .profile.

Posting Permissions

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