Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004
    Posts
    4

    Unanswered: DB2 UDB error on linux

    HI All,

    I getting the following error when I try to bring up db2cc on linux. This used to work perfect earlier. I am not sure what went wrong. Below is the error message. Could you help me please.

    [db2admin@localhost ~]$ db2cc
    Exception in thread "main" java.lang.NoClassDefFoundError: com.ibm.db2.tools.common.CommonUIManager
    at java.lang.Class.initializeClass(libgcj.so.7rh)
    at CC.setLookAndFeel(Unknown Source)
    at CC.<init>(Unknown Source)
    at CC.main(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: com.sun.java.swing.plaf.windows.WindowsLookAndFeel not found in gnu.gcj.runtime.SystemClassLoader{urls= [file:/home/db2admin/sqllib/java/db2jcc.jar,file:/home/db2admin/sqllib/java/Common.jar,file:/home/db2admin/sqllib/java/db2policy.jar,file:/home/db2admin/sqllib/java/db2jcc_license_cu.jar,file:/home/db2admin/sqllib/java/db2java.zip,file:/home/db2admin/sqllib/java/sqlj.zip,file:/opt/ibm/db2/V9.1/tools/,file:./db2launch.jar,file:./qname.jar,file:./db2choc.jar,file:./emfworkbench.jar,file:./mofrt.jar,file:./actionoutput.jar,file:./db2replctr.jar,file:./escc.jar,file:./databean.jar,file:./db2jgraph.jar,file:./db2navplug.jar,file:./sqlassist2.jar,file:./ecore.utilities.jar,file:./dxxadmin.jar,file:./db2widg.jar,file:./jt400.jar,file:./db2dep.jar,file:./db2journal.jar,file:./db2ce.jar,file:./resources.jar,file:./Clio4WrapGen.jar,file:./db2filesystem.jar,file:./db2xv.jar,file:./db2cc.jar,file:./jcup.jar,file:./ims.jar,file:./runtime.jar,file:./sqlmodel2.jar,file:./db2dbop.jar,file:./edit.jar,file:./db2WrapperDiscoverySDK.jar,file:./db2util.jar,file:./db2replqanalyzer.jar,file:./db2replapis.jar,file:./sqlasst.jar,file:./db2WrapperDiscoveryImpl.jar,file:./db2am.jar,file:./db2dgraph.jar,file:./db2WrapperDiscovery.jar,file:./db2toolets.jar,file:./db2ca.jar,file:./db2cmn.jar,file:./db2nav.jar,file:./db2maint.jar,file:./db2qreplapis.jar,file:./emf.common.jar,file:./ecore.xmi.jar,file:./db2WrapperConfig.jar,file:./db2ssmonapis.jar,file:./sqlmodel.jar,file:./db2healthctr.jar,file:./db2hcapi.jar,file:./db2jdbcext.jar,file:./db2hdr.jar,file:./db2md.jar,file:./db2navtree.jar,file:./db2qreplctr.jar,file:./jlpex13.jar,file:./db2explain.jar,file:./wsdl4j.jar,file:./db2memvis.jar,file:./db2das.jar,file:./db2taskctr.jar,file:./emf.edit.jar,file:./db2navsql.jar,file:./db2indbt.jar,file:./joinFinder.jar,file:./ecore.jar,file:./common.Command.jar,file:./], parent= gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
    at java.net.URLClassLoader.findClass(libgcj.so.7rh)
    at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj .so.7rh)
    at java.lang.ClassLoader.loadClass (libgcj.so.7rh)
    at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
    at java.lang.VMClassLoader.defineClass(libgcj.so.7rh)
    at java.lang.ClassLoader.defineClass(libgcj.so.7rh)
    at java.security.SecureClassLoader.defineClass (libgcj.so.7rh)
    at java.net.URLClassLoader.findClass(libgcj.so.7rh)
    at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj .so.7rh)
    at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
    at java.lang.ClassLoader.loadClass (libgcj.so.7rh)
    at java.lang.Class.forName(libgcj.so.7rh)
    at java.lang.Class.initializeClass(libgcj.so.7rh)
    ...3 more
    DB2JAVIT : RC = 1




    Also I am getting this error when I try to type db2 ,

    [db2admin@localhost ~]$ db2
    SQL6031N Error in the db2nodes.cfg file at line number "1". Reason code
    "16".

    Any help is appreciated.

  2. #2
    Join Date
    Jan 2003
    Posts
    4,292
    Provided Answers: 5
    1) what is the contents of your db2nodes.cfg file?

    2) what is the contents of your /etc/hosts file?

    3) what DB2 version?

    4) is the user "db2admin" the instance owner or the DB2 admin server user?

    Andy

Posting Permissions

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