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 > DB2 UDB error on linux

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-14-07, 21:03
tejpatil tejpatil is offline
Registered User
 
Join Date: Feb 2004
Posts: 4
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****ntime.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****ntime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.7rh)
at gnu.gcj****ntime.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****ntime.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.
Reply With Quote
  #2 (permalink)  
Old 05-15-07, 08:45
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
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
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