Monitor in DB2

Hi,
  Iam new to db2,clarify my small doubts,how to monitor the database in db2 ,how to do archive log off mode.
Thanku

Hi,
Execute the command
db2 "GET DB CFG FOR <database_name>"
where database_name is the name of your database.
Once you changed those parameters, your output should look similar to this:
Log retain for recovery status                          = NO
User exit for logging status                            = NO
First log archive method                 (LOGARCHMETH1) = OFF
Options for logarchmeth1                  (LOGARCHOPT1) =
Second log archive method                (LOGARCHMETH2) = OFF
Options for logarchmeth2                  (LOGARCHOPT2) =
If your configuration is so, you are using circular logging.
Best regards, Edgardo

Similar Messages

  • CCMS monitoring for DB2/400 database backup.

    Hi,
    sap on iseries experts,
    We need a good monitoring for the alerts from DB2/400 database backup failure with CCMS for a solution manager management.
    Actually I don,t see a specific node (or MTE class) inside CCMS for this alert;
    But DB12 display well the daily backup status . . . . . . . .
    Can anybody help me ?
    Kind Regards
    Fabio

    Hi all,
    I'm searching also for such an possibilty.
    When running Oracle there is following MTE:
    RZ20 -> SAP CCMS Technical Expert Monitors -> All Monitoring Contexts -> Oracle -> Backup/restore -> Backup status -> Last succ
    Does anybody know a method to monitor the backup with SAP on Iseries?
    Tobias

  • DB2 Alert Monitoring greyed out, CCMS showing red.

    Hi guys,
    I am a BASIS admin novice, and currently i have encountered 2 issues and need advice from the experts here =)
    (1)
    Recently, i have encountered a  ZDATE_ILLEGAL_LOCTIME runtime error in my server. Unable and not knowing how to resolve, i restart the entired server. However upon successful start up, while the server is running fine, i got the Time Zone Inconsistency error in on Client 000 and Client 300 when executing certain Tcode, example st03.
    (2)
    While server is running fine currently, i run DB13, under the Alerts->Alert Monitor, my DB2 Alert Monitoring is greyout out and when i go to RZ20, the CCMS for Monitoring Template -> Databases ,  rest of all except the DB connection is Green.
    Any help is really appreciated.
    Thank you in advance =)

    Hi,
    ZDATE_ILLEGAL_LOCTIME runtime error in my server
    Have you referred this SAP Note 447839 - ZDATE_ILLEGAL_LOCTIME ?
    SAP Kernel release ?
    SAP_BASIS level ?
    OS release?
    Have you referred dev_w* traces for the same ?
    Also look at SAP Note 110368 - FAQ - CCMS MONITORING INFRASTRUCTURE and other relative notes for your second problem.
    Regards,
    Bhavik G. Shroff

  • Db2 database monitoring

    Hi,
       first time i am working db2 database on support project (linux with db2) what are the things i have to monitor on db2 database level daily.appreciate ur help.
    Thanku

    Query seems very generic, info could be found out by googling as well.
    However, if you can't, I would advise you to start with DBACOCKPIT transaction in SAP - most important and easiest way to monitor DB2 in SAP.
    For e.g. please refer the link
    https://websmp108.sap-ag.de/~sapidb/011000358700001298992010E.PDF
    More guides for database monitoring and administration, you can find on service.sap.com and http://www.sdn.sap.com/irj/sdn/db6
    service.sap.com/swdc --> installation n upgrades --> installation n upgrade guides --> NW version --> Operations --> DB guides
    Thanks

  • Long running threads in DB2 DBSM/ job triggered by DDIC

    Hi Basis Gurus,
    I have ECC 6.0 , DB2 8.1.5 and SM 4.0.
    Every day a job kicks up on the SM with user id DDIC and consumes a lot of CPU.This job fires up again at some irreular intervals 2-3 times in a day.And whenevrer it runs, takes a lot of CPU.
    In sm50 it shows up as: CL_SQL_STATEMENT===CP 
    When you go into the details of it , it says
    Loading DB library 'D:\usr\sap\SLM\DVEBMGS01\exe\dbdb2slib.dll' ..
    Library 'D:\usr\sap\SLM\DVEBMGS01\exe\dbdb2slib.dll' loaded  
    After that it calls DB connect , and tries to monitor something.
    and gives the following error...
    C  Monitor for DB2 system not started. Retrieving EBCDIC CCSID from SYSIBM.SYSSTRINGS.
    C  EBCDIC CCSID calculated from SYSIBM.SYSSTRINGS is 37 .                             
    Then it tries to do something, and gets disconnected ..
    C  *** ERROR => DB2 Call 'SQLEndTran' Error: sqlcode = -900 : [IBM][CLI Driver] SQL0900N  The application state is in error.  A data
    and again tries to connect....and monitor and the process continues...
    =============================================
    In omega Mon for DB2,  i can see the following 3 sql statements being triggered over and over again..
    SELECT COUNT(*) FROM "BC_SLD_INST" WHERE "APPL" = ? AND "NA_KEY" = ? AND
      "INST_HASH" = ?                                                        
    SELECT "INST_HANDLE","INSTNAME_BYTES" FROM "BC_SLD_INST" WHERE "APPL" = 
    ? AND "NA_KEY" = ? AND "INST_HASH" = ?                                  
    INSERT INTO "BC_SLD_ASSINST" ("APPL","NA_KEY","ASSINST_HASH","ASSINST_HA
    NDLE","INST_HASH","INST_HANDLE","ROLE_HASH","ROLE_HANDLE") VALUES (?,?,?
    I am not sure as to :
    1.) What this process is, what it is trying to do.
    2.)How is it getting triggered, as it does not show up as scheduled task in sm36.Only time i can monitor it in sm37, is when it is running..
    3.)And is it really necessary to run it everyday 2-3 times.if not how can i stop it from running.
    Please advice.......
    Regards....

    Hi Guys,
    Did you found a solution for this issue?
    I am making a DB Export on DB2 V8.1 FixPak14 and I am getting error SQLCODE -429 SQLSTATE 54028 on the same table "BC_SLD_INST".
    Do you know what is the porpose of this table? Which kind of data does it record?
    I have looked everywhere and there is any documentation about this table.
    Thanks in advance.
    Regards,
    Jose Flores

  • Solman system not coming up after Kerbel upgrade

    Hi All,
    We are not able to bring the system up after kernel upgrade on our Solution Manager Development system.We were trying to upgrade kernel from 32 to 94.
    Solman is on Netweaver 7.0 EHP1
    We are having our Opearting Sytem as AIX 5.3
    Our database is DB2 version 9.1.5
    DB2 is installed on Mainframe.
    Please find logs of R3trans below
    As per the error we found that SAPCL is not installed (Note 1236755), but further analysis we found that SAPCL & Kernel Upgrade are independent of each other.
    Can Restarting the DB2 database help on this issue?
    Regards
    Shailesh
    Error from R3 trans Log
    =================================================================================================
    4 ETW000  [dbdb2cli    ,00000]  *** ERROR => DB2 Call 'CLI_EXECUTE' Error: sqlcode = -204 : [IBM][CLI Driver][DB2] SQL0204N  "SAPASJ4.DB2QWPT2P" is an undefined name.  SQLSTATE=42704
    4 ETW000                                                                           40638  0.470875
    4 ETW000  [dev trc     ,00000]  Monitor for DB2 system not started. Retrieving EBCDIC CCSID from SYSIBM.SYSSTRINGS.
    4 ETW000                                                                              42  0.470917
    4 ETW000  [dbsldb2.    ,00000]  *** ERROR => Retrieving EBCDIC CCSID from SYSIBM.SYSSTRINGS failed. Assuming EBCDIC CCSID 500.
    4 ETW000                                                                           38219  0.509136
    4 ETW000  [dev trc     ,00000]  EBCDIC CCSID calculated from SYSIBM.SYSSTRINGS is 500 .
    ===================================================================================================

    Hi lababe,
    Welcome to the BlackBerry Support Community.
    If your BlackBerry® Curve™ 9360 smartphone is unable to be detected by a computer due to the reboot loop, please connect your BlackBerry smartphone without the battery inserted and  try to reload the BlackBerry® Device Software. Once the software load has already started, reinsert the battery.
    For further instructions, please see: How to force the detection of the BlackBerry smartphone using Application Loader. www.blackberry.com/btsc/KB10144
    Please note: This process will remove all data from your BlackBerry smartphone.
    Hope this helps.
    -FS
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • Pipeline Database Technology Newsletter

    The Pipeline Database Technology Newsletter is a free monthly e-magazine published by Quest Software - RevealNet Labs. Every month, we will publish useful scripts, articles and tips authored by Oracle, DB2 and SQL Server professionals around the world. Click below to access the September issue.
    http://www.revealnet.com/newsletter-v2/newsletter_0901.htm
    INSIDE THE SEPTEMBER ISSUE:
    ORACLE TECHNOLOGY
    - Free Script: "Retrieve a Web Page into a CLOB Field", by Les Smith
    - "Developing an Oracle Backup Strategy", by Vijayabaskar Srinivasan
    - "Installing Oracle 9i on Linux", by Tom Scott & Michael J. Ross
    - Free Book Offers: "Oracle DBA Checklists", "PL/SQL Pocket Reference"
    - "Oracle 9i Cursor Sharing", by Szabo Imre
    - Oracle DBA Tip of the Month: "Automating Log File Deletion"
    - Oracle PL/SQL Tip of the Month: "Designing a 2-Level Tab Canvas Form"
    - Discussion of the Month: "Table and Index Resizing" (2 scripts included)
    - RevealNet Receives "5-Star" product review on www.orafaq.com
    DB2 TECHNOLOGY
    - "Performance Monitoring for DB2 UDB", by Joshua Steffan, Quest Software
    - DB2 Tip of the Month: "Stopping a DB2 Subsystem", by Lee Hayden
    SQL SERVER TECHNOLOGY
    - "T-SQL Coding Standards", sample topic from RevealNet for SQL Server Development
    - Tip of the Month: "Clearing SQL Server's Procedure Cache", Neil Pike
    HUMOR: "Real Life Dilbert-isms"
    The Pipeline Newsletter is Quest Software - RevealNet Lab's monthly newsletter for database professionals. Our goal is to deliver amazing value, and we encourage your feedback to help make this newsletter the best of its kind.
    Best wishes,
    Cam White
    Product Marketing Manager
    Quest Software - RevealNet Labs
    http://www.revealnet.com
    null

    user9098698 wrote:
    hi
    Any one can provide me contact details of Oracle database technology head, I would like to contact him regarding some critical issues.
    I am sure that you will be allowed to do so..
    Please contact Oracle Support or raise SR with OSS with high serverity.
    http://www.oracle.com/support/contact.html
    http://www.oracle.com/us/corporate/contact/index.html
    https://support.oracle.com
    Regards
    Rajesh

  • How to monitor and tune DB2 based SAP system?

    For Oracle performance, we have following ways to
    Monitor : st02, st03n, st06, st05
    tune:  update analyzer, update statistics, buffer read-only tables, add buffer size
    For DB2, do we use the same method OR there are some more methods?
    Thanks a lot!

    As user db2<sid>, connect to the database
    db2 connect to <sid>
    Enable auto runstats
    db2 update db cfg for <sid> using AUTO_RUNSTATS on AUTO_STMT_STATS on immediate
    db2 commit
    db2 connect reset
    This should enable auto runstats for your db. For auto-reorgs (non-production only), you may do so through the dbacockpit.
    Thanks,
    Sameer

  • Important points in DB2 monitoring

    Dear experts,
    while taking backup, i'm facing the problem.
    now i'm doing backup to Drive.
    backup to tape drive is getting failed at state "initaliziting tape drive"
    in DB13 i had scheduled one BDA action "initalize tape in drive"
    but this is getting failed.
    how to enable tape drive from DB2 control center / command line. ?
    In how many way we can archive the log ?
    what happens when we schedule reogranization ?
    how to increase buffer pool ?
    present buffer quality in my system is 45% (BP_STD_16k)
    system log directory is not having enough space, how to increase this log directory ?
    Important things to be concentrated in maintaining DB2 ?
    how to improve Hit ration, and value range for hit ration ?
    please give some important tips and point to monitor and control DB2.
    thanking you in all
    by
    raghav

    Hi,
    for administration tasks you should have a look at the
    Database Administration Guide 'SAP on IBM DB2 Universal Database for UNIX and Windows' 
    for a description of the DB2 log file management:
    IBM DB2 Universal Database for UNIX and Windows: New Log File Management
    DBA Cockpit related information is contained in:
    Database Administration Using the DBA Cockpit
    All documents can be found over the "Administration" section of the SDN.
    The CLP commands for backups can be found in the DB2 Command Reference and concepts about backups you can find in the DB2 Data Recovery and High Availability Guide.
    See: http://www-1.ibm.com/support/docview.wss?rs=71&uid=swg27009552
    Best regards, Jens

  • DB2 Monitoring

    My goal is to perform an OLE DB synthetic transaction against an AS400 DB2 system using the SCOM authoring OLE DB template. I am looking for anyone with experience locating and installing the appropriate DB2 provider.  I have tried the IBM Data Server
    Runtime Client which contains and ODBC provider along with the following connection string but the query just times out.
    Provider=IBMDADB2.DBCOPY1;DataSource=servername;UserID=username;Password=Password;
    I know there are some 3rd party MPs that do DB2 monitoring but I'm not interested in those at this time.
    Thanks

    Hi!
    Haven't done that for DB2 yet but for Oracle already. The following sites may help:
    Do that stuff similar with Oracle:
    http://www.maartendamen.com/2010/09/monitor-an-oracle-database-with-a-scom-oledb-watcher/
    Configuring a Data Source for OLE DB Provider for DB2:https://msdn.microsoft.com/en-us/library/ee276642(v=bts.10).aspx
    Good luck,
    Patrick
    Please remember to click “Mark as Answer” on the post that helped you.
    Patrick Seidl (System Center and Private Cloud)
    Website: http://www.syliance.com
    Blog: http://www.systemcenterrocks.com

  • MAXDB of Cont, Server monitor by SolMan on db2. Possible?

    I have just installed Content Server 640/MAXDB 7.6.
    Everything I have read suggests monitoring is by SAP.
    My solution Manager (and all my SAPs) runs on Db2.
    Is it possible to monitor MAXDB on content server with DBACOCKPIT of Solution Manager which runs on Db DB2:
    Solution Manager is latest release and Support package: SM 7 w NW Enh 1 @ SP 25.
    If it is possible is there step by step instructions anywhere?  Do I need MAXDB client software on SolMan?
    Ken Chamberlain

    Hello Ken Chamberlain,
    yes, you can.
    Reference - SAP note:
    990602     FAQ: CCMS for MaxDB/SAP liveCache technology
    < Pay attention to the answer on the question 9. >
    Following steps need to be done:
    Install the database dependent MAXDB DBSL SAP kernel part on the SolMan application server;
    Install the MAXDB client on the  SolMan application server;
       Review the SAP notes:
         822239                          FAQ: SAP MaxDB Interfaces
         822271          FAQ: SAP MaxDB client software
    Create the MAXDB connection in /ndb59.
        Use the /ndb50n to monitor the MAXDB database.
    Follow the MAXDB documentation at
        < DBACOCKPIT: Start DBA Cockpit (as of SAP Release 7.0) >
    http://maxdb.sap.com/doc/7_7/default.htm
    -> Database Administration in CCMS: SAP MaxDB
    Regards, Natalia Khlopina

  • SAP PI /DB2 : Monitor volumes

    Hi ,
    We have PI 7.1 on DB2 installation. how do we montitor / check volumes etc for DB2 ? our OS is Linux.
    Thank you.

    Hi,
    Most of the information you want access to should be available from the dbacockpit.
    See the following guide:
    [SAP DBA COCKPIT - Flight Plans for DB2 LUW Database Administrators|http://www.sdn.sap.com/irj/sdn/db6?rid=/library/uuid/10a5f238-d09a-2c10-9a8a-d0a64f6a506b]
    Hope this helps,
    Paul

  • DB2 9.7 DFACT.SQL syntax error in Import ABAP phase - System Copy

    Hi all. I'm trying a system copy with a source system SAP ECC 6.0 ehp4 based on NW 701 and db2 LUW 9.1 .
    As it seems supported by SAP, i'm using db2 LUW 9.7 in target system.
    O.S. is Windows 2008.
    I got an error in phase "Import ABAP".
    Sapinst.log says:
    INFO 2010-02-18 10:12:14.337
    An error occured and the user decided to retry the current step: "|NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor".
    INFO 2010-02-18 10:12:14.509
    Switched to user: devadm.
    INFO 2010-02-18 10:12:14.572
    Creating file C:\Program Files\sapinst_instdir\ERPEhP4\LM\COPY\DB6\SYSTEM\CENTRAL\AS-ABAP\import_monitor.java.log.
    INFO 2010-02-18 10:12:14.603
    Switched to user: devadm.
    INFO 2010-02-18 10:12:14.618
    Working directory changed to C:\Program Files\sapinst_instdir\ERPEhP4\LM\COPY\DB6\SYSTEM\CENTRAL\AS-ABAP.
    INFO 2010-02-18 10:12:14.618
    Output of C:\j2sdk1.4.2_24-x64\bin\java.exe -classpath migmon.jar -showversion -Xmx1024m com.sap.inst.migmon.imp.ImportMonitor -sapinst is written to the logfile import_monitor.java.log.
    WARNING 2010-02-18 10:12:44.790
    Execution of the command "C:\j2sdk1.4.2_24-x64\bin\java.exe -classpath migmon.jar -showversion -Xmx1024m com.sap.inst.migmon.imp.ImportMonitor -sapinst" finished with return code 103. Output:
    java version "1.4.2_24-rev"
    Java(TM) Platform, Standard Edition for Business (build 1.4.2_24-rev-b06)
    Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_24-rev-b06, mixed mode)
    Import Monitor jobs: running 1, waiting 1, completed 73, failed 0, total 75.
    Loading of 'SAPDFACT' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 73, failed 1, total 75.
    WARNING[E] 2010-02-18 10:12:44.790
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    ERROR 2010-02-18 10:12:44.790
    FCO-00011  The step runMigrationMonitor with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR .
    Looking into import_monitor.java.log i found that the problem is in dfact import.
    I've looked into sapdfact.log and i found:
    S:\usr\sap\DEV\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20100218105045
    S:\usr\sap\DEV\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/701_REL/src/R3ld/R3load/R3ldmain.c#8 $ SAP
    S:\usr\sap\DEV\SYS\exe\uc\NTAMD64\R3load.exe: version R7.01/V1.4 [UNICODE]
    Compiled Jan 28 2010 20:22:25
    S:\usr\sap\DEV\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDFACT.cmd -dbcodepage 4103 -l SAPDFACT.log -stop_on_error -loadprocedure fast LOAD:COMPRESS_ALL
    (DB) INFO: connected to DB
    (DB6) INFO: COMPRESS YES is set during table creation.
    (DB6) DB2 9.5 automatic dictionary creation does not require an explicit REORG.
    (DB6) Compression threshold is ignored.
    (GSI) INFO: dbname   = "DEV                                                                                "
    (GSI) INFO: vname    = "DB6                             "
    (GSI) INFO: hostname = "UNKNOWN                                                         "
    (GSI) INFO: sysname  = "Windows NT"
    (GSI) INFO: nodename = "SRVSAPDEV"
    (GSI) INFO: release  = "6.0"
    (GSI) INFO: version  = "6002 Service Pack 2"
    (GSI) INFO: machine  = "4x AMD64 Level 6 (Mod 26 Step 5)"
    (DB) ERROR: DDL statement failed with SQL error
    ( ALTER TABLE "/BI0/E0PPM_VC1" DROP PRIMARY KEY  )
      (SQL error -539)
      error message returned by dsql:
    SQL0539N  Table or nickname "SAPDEV./BI0/E0PPM_VC1" does not have a "PRIMARY" key.  SQLSTATE=42888
    (IMP) INFO: a failed DROP attempt is not necessarily a problem
    (DB6) INFO: executing DDL statements for object /BI0/E0PPM_VC1 from external SQL file.
    (DB) ERROR: DDL statement failed with SQL error
    ( CREATE TYPE 2 UNIQUE INDEX "/BI0/E0PPM_VC1~0" ON "/BI0/E0PPM_VC1"   ("KEY_0PPM_VC1T" ,   "KEY_0PPM_VC11" ,   "KEY_0PPM_VC1U" ,   "KEY_0PPM_VC1P" )   USING STOGROUP ___FAI PRIQTY 16   SECQTY 10240 FREEPAGE 0 PCTFREE 0   GBPCACHE CHANGED DEFINE NO   BUFFERPOOL BP3 COPY NO   PIECESIZE 2097152 K CLUSTER NOT PADDED  )
      (SQL error -7)
      error message returned by dsql:
    SQL0007N  The character "_" following "" )   USING STOGROUP" is not valid.  SQLSTATE=42601
    (DB) INFO: disconnected from DB
    S:\usr\sap\DEV\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    S:\usr\sap\DEV\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20100218105045
    So as you can see it seems that there's some syntax error in dfacl.log. The wrong SQL statement referred by sapdfact.log is
    ind: /BI0/E0PPM_VC1~0
    sql: CREATE TYPE 2 UNIQUE INDEX "/BI0/E0PPM_VC1~0" ON "/BI0/E0PPM_VC1"
      ("KEY_0PPM_VC1T" ,
      "KEY_0PPM_VC11" ,
      "KEY_0PPM_VC1U" ,
      "KEY_0PPM_VC1P" )
      USING STOGROUP ___FAI PRIQTY 16
      SECQTY 10240 FREEPAGE 0 PCTFREE 0
      GBPCACHE CHANGED DEFINE NO
      BUFFERPOOL BP3 COPY NO
      PIECESIZE 2097152 K CLUSTER NOT PADDED ;
      |
      ALTER TABLE "/BI0/E0PPM_VC1"
      ADD PRIMARY KEY ("KEY_0PPM_VC1T",
      "KEY_0PPM_VC11",
      "KEY_0PPM_VC1U",
      "KEY_0PPM_VC1P") ;
    Am i missing something?
    Data in referred tables (infocubes) isn't really important.
    Is there a safe way to proceed?
    Thanks in advance.
    Regards
    Simone Zaffalon

    And this is the strange point: my source system is not a BI and my dataclasses .SQL files are not empty.
    Me too i would expect that the files should be empty but instead they are full of object definitions.
    For example i have APPL0.SQL that contains a list of all tables of ECC system, for example
    tab: MAMT
    sql:     CREATE TABLE "MAMT"
            ("MANDT" SAPDB6VARCHAR(000003)
            DEFAULT '000' NOT NULL,
            "MATNR" SAPDB6VARCHAR(000018)
            DEFAULT ' ' NOT NULL,
            "SPRAS" SAPDB6VARCHAR(000001)
            DEFAULT ' ' NOT NULL,
            "MEINH" SAPDB6VARCHAR(000003)
            DEFAULT ' ' NOT NULL,
            "MTXID" SAPDB6VARCHAR(000002)
            DEFAULT ' ' NOT NULL,
            "LFDNR" SAPDB6VARCHAR(000002)
            DEFAULT '00' NOT NULL,
            "MAKTM" SAPDB6VARCHAR(000040)
            DEFAULT ' ' NOT NULL)
            IN "&location&"
            INDEX IN "&locationI&"
            LONG  IN "&locationL&"
          COMPRESS YES;
          ALTER TABLE "MAMT" LOCKSIZE ROW;
    and like this for all others tables.
    What would occur if i launch an import with such .SQL files?
    (shuld i put this question to another thread or is fine for you to answer on this?)
    Thank you again.
    Simone Zaffalon

  • EXCEPTION_ACCESS_VIOLATION when loading DB2 driver

    Hi,
    I'm currently developing an executable jar application. I've got a problem in connecting to the DB2 server after packaging the application into a jar file. Below is the error that I encountered:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d6c9a1f, pid=2296, tid=2260
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_05-b05 mixed mode, sharing)
    # Problematic frame:
    # V  [jvm.dll+0x89a1f]
    # An error report file with more information is saved as hs_err_pid2296.log
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    #And here's the detailed log:
    ---------------  T H R E A D  ---------------
    Current thread (0x02cc7e00):  JavaThread "AWT-EventQueue-0" [_thread_in_vm, id=2260]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
    Registers:
    EAX=0x00000000, EBX=0x00000000, ECX=0x02d12fe8, EDX=0x00ac2d60
    ESP=0x0742f090, EBP=0x0742f0c0, ESI=0x02cc7e00, EDI=0x00ac2d58
    EIP=0x6d6c9a1f, EFLAGS=0x00010206
    Top of Stack: (sp=0x0742f090)
    0x0742f090:   02cc7ebc 02cc7ebc 26b15cf0 02cc7ebc
    0x0742f0a0:   02cc7ebc 6d68086a 6d64aa71 02cc7e00
    0x0742f0b0:   0742f0e0 6d6c62ad 02cc7e00 00ac2d58
    0x0742f0c0:   0742f0e0 1000a647 02cc7ebc 00000000
    0x0742f0d0:   100130c8 00ac2d5c 02cc7e00 26b15cf0
    0x0742f0e0:   0742f100 100039b0 02cc7ebc 00000000
    0x0742f0f0:   00000000 00000000 02cc7e00 26b15cf0
    0x0742f100:   0742f130 00ad826f 02cc7ebc 0742f144
    Instructions: (pc=0x6d6c9a1f)
    0x6d6c9a0f:   a9 00 00 00 39 5d 14 0f 84 a0 00 00 00 8b 45 0c
    0x6d6c9a1f:   ff 30 e8 2a 97 ff ff 59 50 56 8d 4d 08 e8 da c3
    Stack: [0x073f0000,0x07430000),  sp=0x0742f090,  free space=252k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V  [jvm.dll+0x89a1f]
    C  [db2jdbc.dll+0xa647]
    C  [db2jdbc.dll+0x39b0]
    j  COM.ibm.db2.jdbc.app.DB2Driver.SQLAllocEnv([I)I+0
    j  COM.ibm.db2.jdbc.app.DB2Driver.<init>()V+628
    j  COM.ibm.db2.jdbc.app.DB2Driver.<clinit>()V+27
    v  ~StubRoutines::call_stub
    V  [jvm.dll+0x8295c]
    V  [jvm.dll+0xd752e]
    V  [jvm.dll+0x8282d]
    V  [jvm.dll+0x75a9c]
    V  [jvm.dll+0x7499d]
    V  [jvm.dll+0x9ff40]
    V  [jvm.dll+0x99269]
    C  [java.dll+0x13d8]
    j  java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;+0
    j  java.lang.Class.forName(Ljava/lang/String;)Ljava/lang/Class;+5
    j  ort.cip.client.DB2Connection.connect_query(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Z)Lcom/jrefinery/data/XYDataset;+19
    j  ort.cip.client.ORT_Charting_Main.jButton1_ActionEvents()V+369
    j  ort.cip.client.ORT_Charting_Main.connEtoC2()V+1
    j  ort.cip.client.ORT_Charting_Main.access$5(Lort/cip/client/ORT_Charting_Main;)V+1
    j  ort.cip.client.ORT_Charting_Main$IvjEventHandler.actionPerformed(Ljava/awt/event/ActionEvent;)V+62
    j  javax.swing.AbstractButton.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+84
    j  javax.swing.AbstractButton$Handler.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
    j  javax.swing.DefaultButtonModel.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+35
    j  javax.swing.DefaultButtonModel.setPressed(Z)V+117
    j  javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Ljava/awt/event/MouseEvent;)V+35
    j  java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+64
    j  javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V+23
    j  java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V+81
    j  java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V+18
    j  java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+477
    j  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
    j  java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
    j  java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V+304
    j  java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent;)Z+139
    j  java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent;)Z+50
    j  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+12
    j  java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
    j  java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
    j  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
    j  java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z+233
    j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26
    j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
    j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
    j  java.awt.EventDispatchThread.run()V+9
    v  ~StubRoutines::call_stub
    V  [jvm.dll+0x8295c]
    V  [jvm.dll+0xd752e]
    V  [jvm.dll+0x8282d]
    V  [jvm.dll+0x8258a]
    V  [jvm.dll+0x9d476]
    V  [jvm.dll+0x1042ae]
    V  [jvm.dll+0x10427c]
    C  [MSVCRT.dll+0x2a3b0]
    C  [kernel32.dll+0xb50b]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j  COM.ibm.db2.jdbc.app.DB2Driver.SQLAllocEnv([I)I+0
    j  COM.ibm.db2.jdbc.app.DB2Driver.<init>()V+628
    j  COM.ibm.db2.jdbc.app.DB2Driver.<clinit>()V+27
    v  ~StubRoutines::call_stub
    j  java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;+0
    j  java.lang.Class.forName(Ljava/lang/String;)Ljava/lang/Class;+5
    j  ort.cip.client.DB2Connection.connect_query(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Z)Lcom/jrefinery/data/XYDataset;+19
    j  ort.cip.client.ORT_Charting_Main.jButton1_ActionEvents()V+369
    j  ort.cip.client.ORT_Charting_Main.connEtoC2()V+1
    j  ort.cip.client.ORT_Charting_Main.access$5(Lort/cip/client/ORT_Charting_Main;)V+1
    j  ort.cip.client.ORT_Charting_Main$IvjEventHandler.actionPerformed(Ljava/awt/event/ActionEvent;)V+62
    j  javax.swing.AbstractButton.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+84
    j  javax.swing.AbstractButton$Handler.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
    j  javax.swing.DefaultButtonModel.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+35
    j  javax.swing.DefaultButtonModel.setPressed(Z)V+117
    j  javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Ljava/awt/event/MouseEvent;)V+35
    j  java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+64
    j  javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V+23
    j  java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V+81
    j  java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V+18
    j  java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+477
    j  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
    j  java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
    j  java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V+304
    j  java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent;)Z+139
    j  java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent;)Z+50
    j  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+12
    j  java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
    j  java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
    j  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
    j  java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z+233
    j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26
    j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
    j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
    j  java.awt.EventDispatchThread.run()V+9
    v  ~StubRoutines::call_stub
    ---------------  P R O C E S S  ---------------
    Java Threads: ( => current thread )
      0x000352e8 JavaThread "DestroyJavaVM" [_thread_blocked, id=832]
    =>0x02cc7e00 JavaThread "AWT-EventQueue-0" [_thread_in_vm, id=2260]
      0x02cc4618 JavaThread "AWT-Shutdown" [_thread_blocked, id=848]
      0x00aa1a38 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3720]
      0x02cac008 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3756]
      0x00a699f0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4020]
      0x00a685c8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3556]
      0x00a67860 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=880]
      0x00a62ad0 JavaThread "Finalizer" daemon [_thread_blocked, id=2364]
      0x00a615f0 JavaThread "Reference Handler" daemon [_thread_blocked, id=2796]
    Other Threads:
      0x00a5ed50 VMThread [id=2656]
      0x00a677a0 WatcherThread [id=3492]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation   total 576K, used 292K [0x22a80000, 0x22b20000, 0x22f60000)
      eden space 512K,  44% used [0x22a80000, 0x22ab9540, 0x22b00000)
      from space 64K,  99% used [0x22b00000, 0x22b0fd78, 0x22b10000)
      to   space 64K,   0% used [0x22b10000, 0x22b10000, 0x22b20000)
    tenured generation   total 1408K, used 1304K [0x22f60000, 0x230c0000, 0x26a80000)
       the space 1408K,  92% used [0x22f60000, 0x230a6278, 0x230a6400, 0x230c0000)
    compacting perm gen  total 8192K, used 640K [0x26a80000, 0x27280000, 0x2aa80000)
       the space 8192K,   7% used [0x26a80000, 0x26b20080, 0x26b20200, 0x27280000)
        ro space 8192K,  62% used [0x2aa80000, 0x2af8a3a0, 0x2af8a400, 0x2b280000)
        rw space 12288K,  46% used [0x2b280000, 0x2b8103d8, 0x2b810400, 0x2be80000)
    Dynamic libraries:
    0x00400000 - 0x0040c000      C:\WINDOWS\system32\java.exe
    0x7c900000 - 0x7c9b0000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f4000      C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f01000      C:\WINDOWS\system32\RPCRT4.dll
    0x77c10000 - 0x77c68000      C:\WINDOWS\system32\MSVCRT.dll
    0x6d640000 - 0x6d7cc000      C:\Program Files\Java\jre1.5.0_05\bin\client\jvm.dll
    0x77d40000 - 0x77dd0000      C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f56000      C:\WINDOWS\system32\GDI32.dll
    0x76b40000 - 0x76b6d000      C:\WINDOWS\system32\WINMM.dll
    0x6d280000 - 0x6d288000      C:\Program Files\Java\jre1.5.0_05\bin\hpi.dll
    0x76bf0000 - 0x76bfb000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d610000 - 0x6d61c000      C:\Program Files\Java\jre1.5.0_05\bin\verify.dll
    0x6d300000 - 0x6d31d000      C:\Program Files\Java\jre1.5.0_05\bin\java.dll
    0x6d630000 - 0x6d63f000      C:\Program Files\Java\jre1.5.0_05\bin\zip.dll
    0x6d000000 - 0x6d167000      C:\Program Files\Java\jre1.5.0_05\bin\awt.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x76390000 - 0x763ad000      C:\WINDOWS\system32\IMM32.dll
    0x774e0000 - 0x7761d000      C:\WINDOWS\system32\ole32.dll
    0x5ad70000 - 0x5ada8000      C:\WINDOWS\system32\UxTheme.dll
    0x73760000 - 0x737a9000      C:\WINDOWS\system32\ddraw.dll
    0x73bc0000 - 0x73bc6000      C:\WINDOWS\system32\DCIMAN32.dll
    0x73940000 - 0x73a10000      C:\WINDOWS\system32\D3DIM700.DLL
    0x63000000 - 0x63014000      C:\WINDOWS\system32\SynTPFcs.dll
    0x77c00000 - 0x77c08000      C:\WINDOWS\system32\VERSION.dll
    0x7c9c0000 - 0x7d1d5000      C:\WINDOWS\system32\shell32.dll
    0x77f60000 - 0x77fd6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x773d0000 - 0x774d2000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
    0x5d090000 - 0x5d127000      C:\WINDOWS\system32\comctl32.dll
    0x6d240000 - 0x6d27d000      C:\Program Files\Java\jre1.5.0_05\bin\fontmanager.dll
    0x6d4c0000 - 0x6d4d3000      C:\Program Files\Java\jre1.5.0_05\bin\net.dll
    0x71ab0000 - 0x71ac7000      C:\WINDOWS\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000      C:\WINDOWS\system32\WS2HELP.dll
    0x6d4e0000 - 0x6d4e9000      C:\Program Files\Java\jre1.5.0_05\bin\nio.dll
    0x10000000 - 0x10016000      C:\Program Files\SQLLIB\bin\db2jdbc.dll
    0x6c000000 - 0x6c236000      C:\PROGRA~1\SQLLIB\BIN\DB2CLI.dll
    0x6c770000 - 0x6ca25000      C:\PROGRA~1\SQLLIB\BIN\DB2SYS.dll
    0x6e260000 - 0x6e26b000      C:\PROGRA~1\SQLLIB\BIN\DB2WINT.dll
    0x07430000 - 0x07445000      C:\PROGRA~1\SQLLIB\BIN\DB2SYSP.dll
    0x6c240000 - 0x6c4e1000      C:\PROGRA~1\SQLLIB\BIN\DB2APP.dll
    0x6c620000 - 0x6c738000      C:\PROGRA~1\SQLLIB\BIN\DB2UTIL.dll
    0x6c4f0000 - 0x6c529000      C:\PROGRA~1\SQLLIB\BIN\DB2ABIND.dll
    0x07450000 - 0x07580000      C:\PROGRA~1\SQLLIB\BIN\db2osse.dll
    0x77120000 - 0x771ac000      C:\WINDOWS\system32\OLEAUT32.dll
    0x5b860000 - 0x5b8b4000      C:\WINDOWS\system32\NETAPI32.dll
    0x07580000 - 0x0758c000      C:\PROGRA~1\SQLLIB\BIN\db2locale.dll
    0x07590000 - 0x075c8000      C:\PROGRA~1\SQLLIB\BIN\db2trcapi.dll
    VM Arguments:
    java_command: Charting.jar
    Environment Variables:
    CLASSPATH=.;C:\PROGRA~1\SQLLIB\java\db2java.zip;C:\PROGRA~1\SQLLIB\java\db2jcc.jar;C:\PROGRA~1\SQLLIB\java\sqlj.zip;C:\PROGRA~1\SQLLIB\bin;C:\PROGRA~1\SQLLIB\java\common.jar
    PATH=C:\PROGRAM FILES\THINKPAD\UTILITIES;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\WINDOWS\Downloaded Program Files;C:\IBMTOOLS\Python22;C:\Program Files\PC-Doctor for Windows\services;C:\Program Files\IBM\Trace Facility;C:\Program Files\Personal Communications;C:\IMNnq_NT;C:\PROGRA~1\Tcl\bin;C:\PROGRA~1\SQLLIB\BIN;C:\PROGRA~1\SQLLIB\FUNCTION;C:\j2sdk1.4.2_10\bin;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\CMVC\exe;C:\CMVC\exe\bin;C:\CMVC\bin
    USERNAME=nugraha
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 6, GenuineIntel
    ---------------  S Y S T E M  ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 261040k(31956k free), swap 639216k(137944k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_05-b05) for windows-x86, built on Aug 26 2005 15:36:02 by "java_re" with MS VC++ 6.0I found out that this error came out when the following part of the code was executed (see the one in bold):
    public static com.jrefinery.data.XYDataset connect_query(
        java.lang.String drive_SN,
        java.lang.String start_Date,
        java.lang.String end_Date,
        boolean[] checkBox_group) {
        TimeSeriesCollection collection = new TimeSeriesCollection();
        BasicTimeSeries[] param_value;
        try {
            // load the DB2 Driver
    Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");
            // establish a connection to DB2
               Connection db2Conn = DriverManager.getConnection("jdbc:db2:FOXDBS_S","myID","mypass");    
            // use a statement to gather data from the database
            Statement st = db2Conn.createStatement();
            String myQuery = info_query;
            // execute the query
            ResultSet resultSet = st.executeQuery(myQuery);
            // clean up resources
            resultSet.close();
            st.close();
            db2Conn.close();
        } catch (ClassNotFoundException cnfe) {
            cnfe.printStackTrace();
        } catch (SQLException sqle) {
            sqle.printStackTrace();
        XYDataset data = collection;
        return data;
    }This code actually worked fine when I ran it from VisualAge for Java environment.
    I'm currently using J2SDK version 1.4.2_10 and J2RE version 1.4.2_10.
    Appreciate any help that you all can suggest. I've been looking for this error on the web. Seems like this has been a known and common problem but I couldn't find the working answer so far. Thank you in advance for any help.
    Chris

    Hi Russel,
    Thanks for the reply. I've executed the jar file using the -Xcheck:jni as follows:
    java -jar -Xcheck:jni Charting.jarand when I executed the function here's what appeared on the screen:
    FATAL ERROR in native method: JNI call made with exception pending
            at COM.ibm.db2.jdbc.app.DB2Driver.SQLAllocEnv(Native Method)
            at COM.ibm.db2.jdbc.app.DB2Driver.<init>(Unknown Source)
            at COM.ibm.db2.jdbc.app.DB2Driver.<clinit>(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at ort.cip.client.DB2Connection.connect_query(DB2Connection.java:45)
            at ort.cip.client.ORT_Charting_Main.jButton1_ActionEvents(ORT_Charting_M
    ain.java:3159)
            at ort.cip.client.ORT_Charting_Main.connEtoC2(ORT_Charting_Main.java:244
            at ort.cip.client.ORT_Charting_Main.access$5(ORT_Charting_Main.java:240)
            at ort.cip.client.ORT_Charting_Main$IvjEventHandler.actionPerformed(ORT_
    Charting_Main.java:187)
            at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
            at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
    ce)
            at java.awt.Component.processMouseEvent(Unknown Source)
            at javax.swing.JComponent.processMouseEvent(Unknown Source)
            at java.awt.Component.processEvent(Unknown Source)
            at java.awt.Container.processEvent(Unknown Source)
            at java.awt.Component.dispatchEventImpl(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Window.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.EventQueue.dispatchEvent(Unknown Source)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
            at java.awt.EventDispatchThread.run(Unknown Source)I recognized that the error appeared during the execution of function "forName(driver)", which is exactly what I predicted before. Strange that this function worked well when executed from the development software (before packaging it into jar file). Is there a difference in the way the program works as executable jar file and as the file in the development sofware?
    And regarding the JDBC driver, I did try another driver, which was the JDBC type 2 and 4 driver. But when I ran the application, there's an error saying that the DB2 server does not support type 2 or 4 JDBC driver. Seems like I have no other choice but to use this driver.
    Do you have any suggestion on how to make the driver work as an executable Jar file? Meanwhile, I'll try to report the bug for this driver. Thanks....

  • Error in CCMS monitoring Batch job SAP_CCMS_MONI_BATCH_DP.

    Hi All,
    I am using a Sanbox system for CCMS Monitoring activities. I assigned a method CCMS_ONAlert_Email under auto reaction to the MTE class ABAP shortdumps on node System errors. So the requirement is when an alert triggered i have to receive an alert email. I just found there is an error in Batch job created for Alert monitoring, please find the error details mentioned below. Please let me know how to solve this error
    Job started
    Step 001 started (program RSAL_BATCH_TOOL_DISPATCHING, variant , user ID NBKIPXP)
    :Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :  Kernel Error ID:
    :  SYSID: ES1
    :  SY-SUBRC: 1208
    :  Message: ADBC error
    :  SQL statement: SELECT '20110613075617',0 as DB6PMCF_PARTITION,FS_NAM
    :  E,'T','20110521174003','700',FREE_KB,USED_KB,TOTAL_KB,NUM_IUSED,PCT_IU
    :  SED FROM SYSIBM.SYSDUMMY1, TABLE(SAPTOOLS.DB6PMCF('/db2/ES1/sapdata1')
    :  ) AS FS_CONFIG
    :  Database:
    :caused by
    :Exception CX_SQL_EXCEPTIONin class CL_SQL_RESULT_SET
    :  Kernel Error ID:
    :  DB Error: Yes
    :  SQL Code: 444-
    :  SQL Message: SQL0444N Routine "SAPTOOLS.DB6PMCF" (specific name "D
    :  B6PMCF") is implemented with code in library orpath "/usr/sap/ED2/SYS
    :  /exe/run/db6pmudf", function "Db6pmcf" which cannot be accessed. Reas
    :  on code: "4". SQLSTATE=42724
    :  DB Object Exists: No
    :  Duplicated Key: No
    :  Internal Error: 1
    :  Invalid Cursor: No
    :  Unknown Connection: No
    :  Connection Closed: No
    Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :  Kernel Error ID:
    :  SYSID: ES1
    :  SY-SUBRC: 1208
    :  Message: ADBC error
    :  SQL statement: SELECT '20110613075633',0 as DB6PMCF_PARTITION,FS_NAM
    :  E,'T','20110521174003','700',FREE_KB,USED_KB,TOTAL_KB,NUM_IUSED,PCT_IU
    :  SED FROM SYSIBM.SYSDUMMY1, TABLE(SAPTOOLS.DB6PMCF('/db2/ES1/log_dir/NO
    :  DE0000/') ) AS FS_CONFIG
    :  Database:
    :caused by
    :Exception CX_SQL_EXCEPTION in class CL_SQL_RESULT_SET
    :  Kernel Error ID:
    :  DB Error: Yes
    :  SQL Code: 444-
    :  SQL Message: SQL0444N Routine "SAPTOOLS.DB6PMCF" (specific name "D
    :  B6PMCF") is implemented with code in library orpath "/usr/sap/ED2/SYS
    :  /exe/run/db6pmudf", function "Db6pmcf" which cannot be accessed. Reas
    :  on code: "4". SQLSTATE=42724
    :  DB Object Exists: No
    :  Duplicated Key: No
    :  Internal Error: 1
    :  Invalid Cursor: No
    :  Unknown Connection: No
    :  Connection Closed: No
    Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :  Kernel Error ID:
    :  SYSID: ES1
    :  SY-SUBRC: 1208
    :  Message: ADBC error
    :  SQL statement: SELECT '20110613075633',0 as DB6PMCF_PARTITION,FS_NAM
    :  E,'T','20110521174003','700',FREE_KB,USED_KB,TOTAL_KB,NUM_IUSED,PCT_IU
    :  SED FROM SYSIBM.SYSDUMMY1, TABLE(SAPTOOLS.DB6PMCF('/db2/ES1/sapdata4/d
    :  b2es1/NODE0000/ES1/T0000003/C0000000.TMP') ) ASFS_CONFIG
    :  Database:
    :caused by
    :Exception CX_SQL_EXCEPTION in class CL_SQL_RESULT_SET
    :  Kernel Error ID:
    :  DB Error: Yes
    :  SQL Code: 444-
    :  SQL Message: SQL0444N Routine "SAPTOOLS.DB6PMCF" (specific name "D
    :  B6PMCF") is implemented with code in library orpath "/usr/sap/ED2/SYS
    :  /exe/run/db6pmudf", function "Db6pmcf" which cannot be accessed. Reas
    :  on code: "4". SQLSTATE=42724
    :  DB Object Exists: No
    :  Duplicated Key: No
    :  Internal Error: 1
    :  Invalid Cursor: No
    :  Unknown Connection: No
    :  Connection Closed: No
    Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :  Kernel Error ID:
    :  SYSID: ES1
    :  SY-SUBRC: 1208
    :  Message: ADBC error
    :  SQL statement: SELECT '20110613075634',0 as DB6PMCF_PARTITION,FS_NAM
    :  E,'T','20110521174003','700',FREE_KB,USED_KB,TOTAL_KB,NUM_IUSED,PCT_IU
    :  SED FROM SYSIBM.SYSDUMMY1, TABLE(SAPTOOLS.DB6PMCF('/db2/ES1/sapdata2/d
    :  b2es1/NODE0000/ES1/T0000003/C0000001.TMP') ) ASFS_CONFIG
    :  Database:
    :caused by
    :Exception CX_SQL_EXCEPTION in class CL_SQL_RESULT_SET
    :  Kernel Error ID:
    :  DB Error: Yes
    :  SQL Code: 444-
    :  SQL Message: SQL0444N Routine "SAPTOOLS.DB6PMCF" (specific name "D
    :  B6PMCF") is implemented with code in library orpath "/usr/sap/ED2/SYS
    :  /exe/run/db6pmudf", function "Db6pmcf" which cannot be accessed. Reas
    :  on code: "4". SQLSTATE=42724
    :  DB Object Exists: No
    :  Duplicated Key: No
    :  Internal Error: 1
    :  Invalid Cursor: No
    :  Unknown Connection: No
    :  Connection Closed: No
    Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :  Kernel Error ID:
    :  SYSID: ES1
    :  SY-SUBRC: 1208
    :  Message: ADBC error
    :  SQL statement: SELECT '20110613075634',0 as DB6PMCF_PARTITION,FS_NAM
    :  E,'T','20110521174003','700',FREE_KB,USED_KB,TOTAL_KB,NUM_IUSED,PCT_IU
    :  SED FROM SYSIBM.SYSDUMMY1, TABLE(SAPTOOLS.DB6PMCF('/db2/ES1/sapdata1/d
    :  b2es1/NODE0000/ES1/T0000003/C0000002.TMP') ) ASFS_CONFIG
    :  Database:
    :caused by
    :Exception CX_SQL_EXCEPTION in class CL_SQL_RESULT_SET
    :  Kernel Error ID:
    :  DB Error: Yes
    :  SQL Code: 444-
    :  SQL Message: SQL0444N Routine "SAPTOOLS.DB6PMCF" (specific name "D
    :  B6PMCF") is implemented with code in library orpath "/usr/sap/ED2/SYS
    :  /exe/run/db6pmudf", function "Db6pmcf" which cannot be accessed. Reas
    :  on code: "4". SQLSTATE=42724
    :  DB Object Exists: No
    :  Duplicated Key: No
    :  Internal Error: 1
    :  Invalid Cursor: No
    :  Unknown Connection: No
    :  Connection Closed: No
    Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :  Kernel Error ID:
    :  SYSID: ES1
    :  SY-SUBRC: 1208
    :  Message: ADBC error
    :  SQL statement: SELECT '20110613075634',0 as DB6PMCF_PARTITION,FS_NAM
    :  E,'T','20110521174003','700',FREE_KB,USED_KB,TOTAL_KB,NUM_IUSED,PCT_IU
    :  SED FROM SYSIBM.SYSDUMMY1, TABLE(SAPTOOLS.DB6PMCF('/db2/ES1/sapdata3/d
    :  b2es1/NODE0000/ES1/T0000003/C0000003.TMP') ) ASFS_CONFIG
    :  Database:
    :caused by
    :Exception CX_SQL_EXCEPTION in class CL_SQL_RESULT_SET
    :  Kernel Error ID:
    :  DB Error: Yes
    :  SQL Code: 444-
    :  SQL Message: SQL0444N Routine "SAPTOOLS.DB6PMCF" (specific name "D
    :  B6PMCF") is implemented with code in library orpath "/usr/sap/ED2/SYS
    :  /exe/run/db6pmudf", function "Db6pmcf" which cannot be accessed. Reas
    :  on code: "4". SQLSTATE=42724
    :  DB Object Exists: No
    :  Duplicated Key: No
    :  Internal Error: 1
    :  Invalid Cursor: No
    :  Unknown Connection: No
    :  Connection Closed: No
    Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :  Kernel Error ID:
    :  SYSID: ES1
    :  SY-SUBRC: 1208
    :  Message: ADBC error
    :  SQL statement: SELECT '20110613075634',0 as DB6PMCF_PARTITION,FS_NAM
    :  E,'T','20110521174003','700',FREE_KB,USED_KB,TOTAL_KB,NUM_IUSED,PCT_IU
    :  SED FROM SYSIBM.SYSDUMMY1, TABLE(SAPTOOLS.DB6PMCF('/db2/ES1/sapdata3/d
    :  b2es1/NODE0000/ES1/T0000004/C0000003.UTM') ) ASFS_CONFIG
    :  Database:
    :caused by
    :Exception CX_SQL_EXCEPTION in class CL_SQL_RESULT_SET
    :  Kernel Error ID:
    :  DB Error: Yes
    :  SQL Code: 444-
    :  SQL Message: SQL0444N Routine "SAPTOOLS.DB6PMCF" (specific name "D
    :  B6PMCF") is implemented with code in library orpath "/usr/sap/ED2/SYS
    :  /exe/run/db6pmudf", function "Db6pmcf" which cannot be accessed. Reas
    :  on code: "4". SQLSTATE=42724
    :  DB Object Exists: No
    :  Duplicated Key: No
    :  Internal Error: 1
    :  Invalid Cursor: No
    :  Unknown Connection: No
    :  Connection Closed: No
    Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :  Kernel Error ID:
      SYSID: ES1
      SY-SUBRC: 1208
      Message: ADBC error
      SQL statement: SELECT '20110613075634',0 as DB6PMCF_PARTITION,FS_NAM
      E,'T','20110521174003','700',FREE_KB,USED_KB,TOTAL_KB,NUM_IUSED,PCT_IU
      SED FROM SYSIBM.SYSDUMMY1, TABLE(SAPTOOLS.DB6PMCF('/db2/ES1/sapdata4/d
      b2es1/NODE0000/ES1/T0000004/C0000000.UTM') ) ASFS_CONFIG
      Database:
    caused by
    Exception CX_SQL_EXCEPTION in class CL_SQL_RESULT_SET
      Kernel Error ID:
      DB Error: Yes
      SQL Code: 444-
      SQL Message: SQL0444N Routine "SAPTOOLS.DB6PMCF" (specific name "D
      B6PMCF") is implemented with code in library orpath "/usr/sap/ED2/SYS
      /exe/run/db6pmudf", function "Db6pmcf" which cannot be accessed. Reas
      on code: "4". SQLSTATE=42724
      DB Object Exists: No
      Duplicated Key: No
      Internal Error: 1
      Invalid Cursor: No
      Unknown Connection: No
      Connection Closed: No
    xception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
      Kernel Error ID:
      SYSID: ES1
      SY-SUBRC: 1208
      Message: ADBC error
      SQL statement: SELECT '20110613075634',0 as DB6PMCF_PARTITION,FS_NAM
      E,'T','20110521174003','700',FREE_KB,USED_KB,TOTAL_KB,NUM_IUSED,PCT_IU
    :  SED FROM SYSIBM.SYSDUMMY1, TABLE(SAPTOOLS.DB6PMCF('/db2/ES1/sapdata2/d
    :  b2es1/NODE0000/ES1/T0000004/C0000001.UTM') ) ASFS_CONFIG
    :  Database:
    :caused by
    :Exception CX_SQL_EXCEPTION in class CL_SQL_RESULT_SET
    :  Kernel Error ID:
    :  DB Error: Yes
    :  SQL Code: 444-
    :  SQL Message: SQL0444N Routine "SAPTOOLS.DB6PMCF" (specific name "D
    :  B6PMCF") is implemented with code in library orpath "/usr/sap/ED2/SYS
    :  /exe/run/db6pmudf", function "Db6pmcf" which cannot be accessed. Reas
    :  on code: "4". SQLSTATE=42724
    :  DB Object Exists: No
    :  Duplicated Key: No
    :  Internal Error: 1
    :  Invalid Cursor: No
    :  Unknown Connection: No
    :  Connection Closed: No
    Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :  Kernel Error ID:
    :  SYSID: ES1
    :  SY-SUBRC: 1208
    :  Message: ADBC error
    :  SQL statement: SELECT '20110613075634',0 as DB6PMCF_PARTITION,FS_NAM
    :  E,'T','20110521174003','700',FREE_KB,USED_KB,TOTAL_KB,NUM_IUSED,PCT_IU
    :  SED FROM SYSIBM.SYSDUMMY1, TABLE(SAPTOOLS.DB6PMCF('/db2/ES1/sapdata1/d
    :  b2es1/NODE0000/ES1/T0000004/C0000002.UTM') ) ASFS_CONFIG
    :  Database:
    :caused by
    :Exception CX_SQL_EXCEPTION in class CL_SQL_RESULT_SET
    :  Kernel Error ID:
    :  DB Error: Yes
    :  SQL Code: 444-
    :  SQL Message: SQL0444N Routine "SAPTOOLS.DB6PMCF" (specific name "D
    :  B6PMCF") is implemented with code in library orpath "/usr/sap/ED2/SYS
    :  /exe/run/db6pmudf", function "Db6pmcf" which cannot be accessed. Reas
    :  on code: "4". SQLSTATE=42724
    :  DB Object Exists: No
    :  Duplicated Key: No
    :  Internal Error: 1
    :  Invalid Cursor: No
    :  Unknown Connection: No
    :  Connection Closed: No
    Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    Job finished

    Hi Dinesh,
    Please check the note is applicable for you [Note 978319 - DB6: Incorrectly cataloged table functions|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=978319]
    so please check wheter db2<sid>user has enough permission
    Thanks,
    Jansi

Maybe you are looking for

  • Body and Signature not getting in reciever mail adapter

    Hi Friends, My requirement is the reciever mail adapter having the Attachment and Body and signature. Here i am getting Attachment only. I am not getting Body( example: the ftp successfully genrated this file abbc_12/03/2014.txt) and Signature. Signa

  • External HD file size limits for movies

    I recently bought (but have not yet connected) a Western Digital My Book Pro ext.HD for storage and started a thread - 'Best external hard drive...?' in the iMac forum to discuss this. Though the responses were useful I would be pleased to have views

  • How to start GUI in SOLARIS

    I recently installed SOLARIS 10 and it logged me IN automatically as "root". I wanna know how to start the GUI shell. Ma sys is P-4 3.2 with 512 DDR 266 RAM The steps that show up are grub loading stage2... <options> (bootmenu) 1)Solaris 10 1/06 s10x

  • How to recover missing content of mail folders after upgrade to Maverick?

    When I upgraded my Mac computer to Maverick I lost the content of my mail folders.  The folders are there but there are no emails filed in them.

  • SOAP and clustering

    A management question that I have to pose: - is there any reason to believe SOAP and webservices should not work in cluster-mode? Eventually; have anyone tried SOAP in cluster mode and got it working? Thanks in advance! - Henning