AWM to access objects of IBM-DB2

Hi Experts,
How can we use AWM 11.1.0.7.0B tool to access the tables and views from DB2 Database (AS-400). To be more specific i want my source objects to be from DB2 Database. Is it possible?
I have installed DRDA Gateway (Transparent Gateway 11.1) however, unable to configure the Gateway.
Please Help!!!!
Regards,+
Ravi Remje+

In general you need to define a view in your Oracle database that refers to the remote tables in the IBM database.
Can OLAP cube load from remote database?
I don't know anything about the Transparent Gateway problem.

Similar Messages

  • Accessing IBM DB2 database

    I was wondering if someone can assist with the following.  I'd like to start
    writing queries in SQL and utilize Management Studio. Does anyone know how to
    connect to IBM DB2 database? I've been able to connect to this via Crystal Reports, WINSQL, MS Access.  I'm testing the 2014 Express Edition and would love to learn more about SQL. 

    You are missing some important points - and making some rather grand assumptions.  SSMS is a tool that one uses to manage and develop sql server databases (and code).  It is not intended to be used to do the same thing for any other vendor - though
    it might work to some unknown degree. 
    And you assume that the sql dialect and techniques used to manage / program DB2 are the same (or very similar) to those used with sql server.  You might find someone in these forums who has experience with systems (and versions) of both vendors - but
    it is not very likely. So if you intend to learn tsql and sql server, your best approach is to use sql server with SSMS.  It is IMO unwise for a novice to attempt to use SSMS to manage a server/database from a different vendor.  I'm certain that
    basic sql syntax is supported by each vendor's dialect, but more advanced functionality is likely to be very different.
    Thank you. I just simply want to learn T-SQL and query against a database I'm familiar with. 

  • Data Access Objects (Wizard)

    Does SJSE 8 happen to have a wizard that allows you to use the database explorer and create Data Access Objects from tables? If not does anybody know of a good tool to do so. I will be working with IBM iSeries (DB2).

    I worked on a JDO runtime a long time ago during JDO's infancy, so I'm personally biased towards it . I like it because it allows you to treat your data objects as normal java objects instead of heavy-weight objects such as CMP beans. As I remember, the JDO runtime I worked on used byte code enhancer to inject code into your byte code to keep track of changes made by plain assignment statements. (Not sure if it works that way for other implementations.)
    You might want to check out the following link on SDN:
    http://java.sun.com/products/jdo/
    Also, there is FAQ on JDO vs. J2EE Persistence you should read before you make a decision:
    http://java.sun.com/j2ee/persistence/faq.html
    Good luck.

  • 来自IBM的培训邀请函: DB2 LUW/SAP Admin workshop -- SAP环境下的DB2数据管理

    为了帮助SAP的DB2客户提升SAP环境下DB2数据库的管理能力,我们代表IBM公司邀请您参加由IBM公司提供的《DB2 DB2/SAP Admin workshop -- SAP环境下的DB2数据管理》培训。此次免费培训将在北京(4月12日-4月15 日)和 广州(4月19日-4月22 日 )举办。授课对象为具有一定SAP NW经验,希望进一步深入了解DB2 LUW,和在SAP环境下使用DB2的系统管理员和技术顾问。培训为每位学员提供实验环境,其授课目标为:
    u2022 了解DB2的基础知识;
    u2022 使用不同的SAP和DB2工具,在SAP环境下通过数据监控,性能调优,备份及恢复等操作,完成对数据库的完整管理;
    u2022 了解DB2的独有特性,如DPF,MDC及数据压缩,与SAP应用进行深入整合;
    u2022 了解不同的数据高可用方案设置;
    u2022 掌握基本问题分析能力。
    具体日程安排如下:
    Day 1
    1.1    DB2 & SAP Overview
    1.2    DB2 Product Overview
    1.3    Installation
    1.4    Accessing DB2
    1.5    Database Objects
    1.6    DB2 Security
    1.7    Client Server Connectivity
    1.8    DB2 Configuration
    1.9    Storage Structures
    1.10   DB2 Process Model
    1.11   DB2 Memory Model
    1.12   SQL Processing
    Day 2
    2.1    Log File Management
    2.2    Backup and Recovery
    2.3    High Available Database
    Day 3
    3.1    Database Partitioning Feature (DPF) and SAP BI
    3.2    Storage Layout
    3.3    MDC and SAP BI
    Day 4     
    4.1    Deep Compression
    4.2    Performance Monitoring and Tuning
    4.3    Ongoing Operations - Regular DBA tasks
    4.4    Problem Analysis
    如您决定参加培训,请填写以下回执表在2010年3月31日之前通过Email或传真予以确认。
    回执表
    公司名称:___________________________________________________________
    地址:___________________________________________________________
    姓名:                                            职务:  
    Email:                                          电话:  
    姓名:                                            职务:   
    Email:                                          电话:  
    选择上课地点: (  )北京, ( )广州
    联系人  郭亦群 Guo Yi Qun
    Tel:  86-10 63614570         Email: guoyiq@cn.ibm.com
    Mobile: 86-13701235290

    Hi Jin-Chong
    many thanks for you help. But the problem still persists.
    1. We don't have $ODBCINI. There are no conection issues at all. Connection is performed by IBM Data Server Client (db2client) db2 connect to ...
    2. For which stored procedures do we need to apply these Grants?  We manually exported the available historical data from the TrendingDB to CSV files, connected to the database server with db2 connect... (on the app server), imported these CSV with the same user, it all went smoothly. We granted some DML's to the database user. also granted DBADM and SECADM to the database user as well, just to be sure there are no permission issues. 
    The Error message seems to indicate There is a problem finding the correct driver for monitoring database, since it says,
          networkLayer    "ODBC"
            DBMS    "DB2"
    com.sap.connectivity.cs.core.CSError: Specified RDBMS is invalid : DB2.
    - Maby IBM Data Server Client (db2client) is not supported for monitoring database at all?
    - Do we have to install additional DB2 clients like DB2 CLI driver or ODBC client instead?
    Thanks in advance
    Sem

  • No suitable driver found error while connecting to remote IBM DB2 database.

    While trying to connect to IBM DB2 database on a remote location, though the connection was successful from 'Application Resources', following trace could be recovered while performing 'Run' from 'AppModule':
    ERROR:
    (oracle.jbo.DMLException) JBO-26061: Error while opening JDBC connection.
    ----- Level 1: Detail 0 -----
    (java.sql.SQLException) No suitable driver found for jdbc:as400://XX.XXX.XX.XXX;naming=system;libraries=TEST;translate binary=true;prompt=false
    [891] (oracle.adf.model.bc4j.DataControlFactoryImpl.SyncMode = Immediate
    [892] Creating a new pool resource
    [893] BC4JDeployPlatform: LOCAL
    [894] Propertymanager: skipping reload of file and system based properties
    [895] {{ begin Loading BC4J properties
    [896] -----------------------------------------------------------
    [897] BC4J Property jbo.default.language='en' -->(MetaObjectManager) from System Default
    [898] BC4J Property jbo.default.country='US' -->(MetaObjectManager) from System Default
    [899] Skipping empty Property jbo.default.locale.variant from System Default
    [900] BC4J Property DeployPlatform='LOCAL' -->(SessionImpl) from Client Environment
    [901] Skipping empty Property ConnectionMode from System Default
    [902] Skipping empty Property HostName from System Default
    [903] Skipping empty Property ConnectionPort from System Default
    [904] BC4J Property jbo.locking.mode='optimistic' -->(MetaObjectManager) from Client Environment
    [905] BC4J Property jbo.txn.disconnect_level='0' -->(SessionImpl) from System Default
    [906] Skipping empty Property ApplicationPath from System Default
    [907] BC4J Property AppModuleJndiName='model.AppModule' -->(SessionImpl) from Client Environment
    [908] Skipping empty Property java.naming.security.principal from System Default
    [909] Skipping empty Property java.naming.security.credentials from System Default
    [910] Skipping empty Property jbo.user.principal from System Default
    [911] BC4J Property jbo.simulate.remote='false' -->(SessionImpl) from System Default
    [912] BC4J Property jbo.security.context='oracle.security.jazn' -->(MetaObjectManager) from System Default
    [913] Skipping empty Property jbo.object.marshaller from System Default
    [914] BC4J Property jbo.use.pers.coll='false' -->(SessionImpl) from System Default
    [915] BC4J Property jbo.pers.max.rows.per.node='70' -->(SessionImpl) from System Default
    [916] BC4J Property jbo.pers.max.active.nodes='30' -->(SessionImpl) from System Default
    [917] BC4J Property jbo.validation.threshold='10' -->(SessionImpl) from System Default
    [918] BC4J Property jbo.sparse.array.threshold='20' -->(SessionImpl) from System Default
    [919] Skipping empty Property jbo.pcoll.mgr from System Default
    [920] BC4J Property jbo.txn_table_name='PS_TXN' -->(SessionImpl) from System Default
    [921] BC4J Property jbo.txn_seq_name='PS_TXN_seq' -->(SessionImpl) from System Default
    [922] BC4J Property jbo.txn_seq_inc='50' -->(SessionImpl) from System Default
    [923] BC4J Property jbo.control_table_name='PCOLL_CONTROL' -->(MetaObjectManager) from System Default
    [924] BC4J Property jbo.stringmanager.factory.class='use_default' -->(SessionImpl) from System Default
    [925] BC4J Property jbo.domain.date.suppress_zero_time='true' -->(MetaObjectManager) from System Default
    [926] BC4J Property jbo.domain.bind_sql_date='true' -->(MetaObjectManager) from System Default
    [927] BC4J Property jbo.domain.string.as.bytes.for.raw='false' -->(MetaObjectManager) from System Default
    [928] BC4J Property jbo.fetch.mode='AS.NEEDED' -->(MetaObjectManager) from System Default
    [929] BC4J Property jbo.323.compatible='false' -->(MetaObjectManager) from System Default
    [930] BC4J Property jbo.903.compatible='false' -->(MetaObjectManager) from System Default
    [931] Skipping empty Property JBODynamicObjectsPackage from System Default
    [932] BC4J Property MetaObjectContextFactory='oracle.jbo.mom.xml.DefaultMomContextFactory' -->(MetaObjectManager) from System Default
    [933] BC4J Property jbo.load.components.lazily='false' -->(MetaObjectManager) from System Default
    [934] BC4J Property MetaObjectContext='oracle.jbo.mom.xml.XMLContextImpl' -->(MetaObjectManager) from System Default
    [935] BC4J Property java.naming.factory.initial='oracle.jbo.common.JboInitialContextFactory' -->(SessionImpl) from Client Environment
    [936] BC4J Property IsLazyLoadingTrue='true' -->(MetaObjectManager) from Client Environment
    [937] BC4J Property oracle.jbo.usemds='true' -->(MetaObjectManager) from System Default
    [938] BC4J Property oracle.adfm.usemds='true' -->(MetaObjectManager) from System Default
    [939] BC4J Property ActivateSharedDataHandle='false' -->(MetaObjectManager) from System Default
    [940] Skipping empty Property HandleName from System Default
    [941] Skipping empty Property Factory-Substitution-List from System Default
    [942] BC4J Property jbo.project='model.Model' -->(Configuration) from Client Environment
    [943] BC4J Property jbo.max.cursors='50' -->(MetaObjectManager) from System Default
    [944] WARNING: Property jbo.dofailoverset to null
    [945] Skipping empty Property jbo.dofailover from null
    [946] WARNING: Property jbo.envinfoproviderset to null
    [947] Skipping empty Property jbo.envinfoprovider from null
    [948] Skipping empty Property jbo.rowid_am_conn_name from System Default
    [949] Skipping empty Property jbo.rowid_am_datasource_name from System Default
    [950] WARNING: Property jbo.ampool.writecookietoclientset to null
    [951] Skipping empty Property jbo.ampool.writecookietoclient from null
    [952] WARNING: Property jbo.doconnectionpoolingset to null
    [953] Skipping empty Property jbo.doconnectionpooling from null
    [954] WARNING: Property jbo.recyclethresholdset to null
    [955] Skipping empty Property jbo.recyclethreshold from null
    [956] WARNING: Property jbo.ampool.dynamicjdbccredentialsset to null
    [957] Skipping empty Property jbo.ampool.dynamicjdbccredentials from null
    [958] BC4J Property jbo.ampool.resetnontransactionalstate='true' -->(SessionImpl) from System Default
    [959] BC4J Property jbo.ampool.sessioncookiefactoryclass='oracle.jbo.common.ampool.DefaultSessionCookieFactory' -->(Configuration) from Client Environment
    [960] WARNING: Property jbo.ampool.connectionstrategyclassset to null
    [961] Skipping empty Property jbo.ampool.connectionstrategyclass from null
    [962] WARNING: Property jbo.ampool.maxpoolsizeset to null
    [963] Skipping empty Property jbo.ampool.maxpoolsize from null
    [964] BC4J Property jbo.ampool.initpoolsize='0' -->(Configuration) from Client Environment
    [965] WARNING: Property jbo.ampool.monitorsleepintervalset to null
    [966] Skipping empty Property jbo.ampool.monitorsleepinterval from null
    [967] WARNING: Property jbo.ampool.minavailablesizeset to null
    [968] Skipping empty Property jbo.ampool.minavailablesize from null
    [969] WARNING: Property jbo.ampool.maxavailablesizeset to null
    [970] Skipping empty Property jbo.ampool.maxavailablesize from null
    [971] WARNING: Property jbo.ampool.maxinactiveageset to null
    [972] Skipping empty Property jbo.ampool.maxinactiveage from null
    [973] WARNING: Property jbo.ampool.timetoliveset to null
    [974] Skipping empty Property jbo.ampool.timetolive from null
    [975] WARNING: Property jbo.ampool.doampoolingset to null
    [976] Skipping empty Property jbo.ampool.doampooling from null
    [977] WARNING: Property jbo.ampool.issupportspassivationset to null
    [978] Skipping empty Property jbo.ampool.issupportspassivation from null
    [979] BC4J Property jbo.ampool.isuseexclusive='true' -->(SessionImpl) from System Default
    [980] BC4J Property jbo.passivationstore='null' -->(SessionImpl) from System Default
    [981] BC4J Property jbo.saveforlater='false' -->(SessionImpl) from System Default
    [982] BC4J Property jbo.snapshotstore.undo='persistent' -->(SessionImpl) from System Default
    [983] BC4J Property jbo.maxpassivationstacksize='10' -->(SessionImpl) from System Default
    [984] BC4J Property jbo.txn.handleafterpostexc='false' -->(SessionImpl) from System Default
    [985] BC4J Property jbo.connectfailover='true' -->(SessionImpl) from System Default
    [986] BC4J Property jbo.datasource_naming_factory='oracle.jbo.server.DataSourceContextFactory' -->(MetaObjectManager) from System Default
    [987] WARNING: Property jbo.maxpoolcookieageset to null
    [988] Skipping empty Property jbo.maxpoolcookieage from null
    [989] WARNING: Property PoolClassNameset to null
    [990] Skipping empty Property PoolClassName from null
    [991] BC4J Property jbo.maxpoolsize='4096' -->(MetaObjectManager) from System Default
    [992] BC4J Property jbo.initpoolsize='0' -->(MetaObjectManager) from System Default
    [993] BC4J Property jbo.poolrequesttimeout='30000' -->(MetaObjectManager) from System Default
    [994] BC4J Property jbo.poolmonitorsleepinterval='600000' -->(MetaObjectManager) from System Default
    [995] BC4J Property jbo.poolminavailablesize='5' -->(MetaObjectManager) from System Default
    [996] BC4J Property jbo.poolmaxavailablesize='25' -->(MetaObjectManager) from System Default
    [997] BC4J Property jbo.poolmaxinactiveage='600000' -->(MetaObjectManager) from System Default
    [998] BC4J Property jbo.pooltimetolive='-1' -->(MetaObjectManager) from System Default
    [999] BC4J Property jbo.qcpool.monitorsleepinterval='1800000' -->(SessionImpl) from System Default
    [1000] BC4J Property jbo.qcpool.maxinactiveage='900000' -->(SessionImpl) from System Default
    [1001] BC4J Property jbo.qcpool.maxweight='-1' -->(SessionImpl) from System Default
    [1002] BC4J Property RELEASE_MODE='Stateful' -->(MetaObjectManager) from System Default
    [1003] BC4J Property jbo.assoc.consistent='true' -->(MetaObjectManager) from System Default
    [1004] BC4J Property jbo.viewlink.consistent='DEFAULT' -->(MetaObjectManager) from System Default
    [1005] BC4J Property jbo.finder.range.size='DEFAULT' -->(MetaObjectManager) from System Default
    [1006] BC4J Property jbo.passivation.TrackInsert='true' -->(MetaObjectManager) from System Default
    [1007] Skipping empty Property jbo.ViewCriteriaAdapter from System Default
    [1008] BC4J Property jbo.SQLBuilder='DB2' -->(MetaObjectManager) from Client Environment
    [1009] BC4J Property jbo.ConnectionPoolManager='oracle.jbo.server.ConnectionPoolManagerImpl' -->(MetaObjectManager) from System Default
    [1010] BC4J Property jbo.TypeMapEntries='OracleApps' -->(MetaObjectManager) from Client Environment
    [1011] Skipping empty Property jbo.sql92.JdbcDriverClass from System Default
    [1012] BC4J Property jbo.sql92.LockTrailer='FOR UPDATE' -->(MetaObjectManager) from System Default
    [1013] BC4J Property jbo.jdbc.trace='false' -->(MetaObjectManager) from System Default
    [1014] BC4J Property jbo.abstract.base.check='true' -->(MetaObjectManager) from System Default
    [1015] BC4J Property jbo.assoc.where.early.set='false' -->(MetaObjectManager) from System Default
    [1016] BC4J Property jbo.use.findbykey.for.assoc='true' -->(MetaObjectManager) from System Default
    [1017] BC4J Property jbo.sql92.DbTimeQuery='select sysdate from dual' -->(MetaObjectManager) from System Default
    [1018] BC4J Property oracle.jbo.defineColumnLength='skipDefines' -->(MetaObjectManager) from System Default
    [1019] BC4J Property jbo.jdbc_bytes_conversion='jdbc' -->(MetaObjectManager) from System Default
    [1020] Skipping empty Property jbo.tmpdir from System Default
    [1021] Skipping empty Property jbo.server.internal_connection from System Default
    [1022] BC4J Property SessionClass='oracle.jbo.server.SessionImpl' -->(SessionImpl) from System Default
    [1023] Skipping empty Property TransactionFactory from System Default
    [1024] Skipping empty Property jbo.def.mgr.listener from System Default
    [1025] Skipping empty Property jbo.use.global.sub.map from System Default
    [1026] BC4J Property jbo.debugoutput='console' -->(Diagnostic) from System Property
    [1027] BC4J Property jbo.debug.prefix='DBG: ' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1028] BC4J Property jbo.logging.show.timing='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1029] BC4J Property jbo.logging.show.function='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1030] BC4J Property jbo.logging.show.level='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1031] BC4J Property jbo.logging.show.linecount='true' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1032] BC4J Property jbo.logging.trace.threshold='6' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1033] BC4J Property jbo.jdbc.driver.verbose='false' -->(Diagnostic) from System Default
    [1034] Skipping empty Property oracle.home from System Default
    [1035] Skipping empty Property oc4j.name from System Default
    [1036] Skipping empty Property jbo.shared.txn from System Default
    [1037] BC4J Property oracle.adfm.useSharedTransactionForFrame='true' -->(MetaObjectManager) from System Default
    [1038] BC4J Property oracle.adfm.joinNewFrameTransaction='false' -->(MetaObjectManager) from System Default
    [1039] BC4J Property jbo.ejb.txntimeout='1830' -->(SessionImpl) from System Default
    [1040] BC4J Property jbo.ejb.txntype='global' -->(SessionImpl) from System Default
    [1041] BC4J Property jbo.ejb.txn.disconnect_on_completion='false' -->(SessionImpl) from System Default
    [1042] BC4J Property jbo.ejb.useampool='false' -->(SessionImpl) from Client Environment
    [1043] Skipping empty Property oracle.jbo.schema from System Default
    [1044] BC4J Property jbo.xml.validation='false' -->(MetaObjectManager) from System Default
    [1045] BC4J Property ord.RetrievePath='ordDeliverMedia' -->(MetaObjectManager) from System Default
    [1046] BC4J Property ord.HttpMaxMemory='102400' -->(MetaObjectManager) from System Default
    [1047] Skipping empty Property ord.HttpTempDir from System Default
    [1048] BC4J Property ord.wmp.classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' -->(MetaObjectManager) from System Default
    [1049] BC4J Property ord.qp.classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' -->(MetaObjectManager) from System Default
    [1050] BC4J Property ord.rp.classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' -->(MetaObjectManager) from System Default
    [1051] BC4J Property ord.wmp.codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' -->(MetaObjectManager) from System Default
    [1052] BC4J Property ord.qp.codebase='http://www.apple.com/qtactivex/qtplugin.cab' -->(MetaObjectManager) from System Default
    [1053] Skipping empty Property ord.rp.codebase from System Default
    [1054] BC4J Property ord.wmp.plugins.page='http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&' -->(MetaObjectManager) from System Default
    [1055] BC4J Property ord.qp.plugins.page='http://www.apple.com/quicktime/download/' -->(MetaObjectManager) from System Default
    [1056] BC4J Property ord.rp.plugins.page='http://www.real.com/player/' -->(MetaObjectManager) from System Default
    [1057] BC4J Property jbo.security.enforce='None' -->(SessionImpl) from System Default
    [1058] BC4J Property jbo.security.loginmodule='oracle.security.jazn.oc4j.JAZNUserManager' -->(SessionImpl) from System Default
    [1059] Skipping empty Property jbo.security.config from System Default
    [1060] BC4J Property jbo.server.useNullDbTransaction='false' -->(SessionImpl) from System Default
    [1061] BC4J Property jbo.domain.reopenblobstream='false' -->(MetaObjectManager) from System Default
    [1062] BC4J Property jbo.server.retainAssocAccessor='false' -->(SessionImpl) from System Default
    [1063] BC4J Property jbo.groovy.debug='false' -->(MetaObjectManager) from System Default
    [1064] BC4J Property jbo.busevent.suspendpublication='false' -->(SessionImpl) from System Default
    [1065] BC4J Property oracle.adfm.DefaultEventPolicy='NONE' -->(MetaObjectManager) from System Default
    [1066] BC4J Property oracle.adfm.useRootFrameOnly='false' -->(MetaObjectManager) from System Default
    [1067] Copying unknown Client property (user='TESTER') to session
    [1068] Copying unknown Client property (FullProxyInterfaceName='model.common.AppModule') to session
    [1069] Copying unknown Client property (jbo.applicationmoduleclassname='model.AppModule') to session
    [1070] Copying unknown Client property (jbo.jdbc.username='TESTER') to session
    [1071] Copying unknown Client property (BC4JConfigName='AppModuleLocal') to session
    [1072] Copying unknown Client property (DsPasswd='workout') to session
    [1073] Copying unknown Client property (JDBCName='ConnectTo146') to session
    [1074] Copying unknown Client property (DsUserName='TESTER') to session
    [1075] Copying unknown Client property (name='137E06086E5') to session
    [1076] Copying unknown Client property (ApplicationName='model.AppModule') to session
    [1077] Copying unknown Client property (LastUsedConfiguration='AppModuleLocal') to session
    [1078] Copying unknown Client property (password='*****') to session
    [1079] Copying unknown Client property (JDBCDataSource='java:comp/env/jdbc/ConnectTo146DS') to session
    [1080] Copying unknown Client property (jbo.jdbc.connectstring='jdbc:as400:/;naming=system;libraries=QTEMP XAN4CDXA XAN4CDEM;translate binary=true;prompt=false') to session
    [1081] Copying unknown Client property (DBconnection='jdbc:as400://;naming=system;libraries=QTEMP XAN4CDXA XAN4CDEM;translate binary=true;prompt=false') to session
    [1082] Copying unknown Client property (jbo.jdbc.password='*****') to session
    [1083] }} finished loading BC4J properties
    [1084] -----------------------------------------------------------
    [1085] Connected to Oracle JBO Server - Version: 11.1.2.61.83
    [1086] mPCollUsePMgr is false
    [1087] ViewObjectImpl.mDefaultMaxRowsPerNode is 70
    [1088] ViewObjectImpl.mDefaultMaxActiveNodes is 30
    [1089] Default locking mode changed to: optimistic
    [1090] Created root application module: 'model.AppModule'
    [1091] Locale is: 'en_US'
    [1092] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
    [1093] Trying connection: DataSource='oracle.jbo.server.ConnectionPoolDataSource@191d9ad'...
    [1094] Using the oracle.jbo.server.ConnectionPoolDataSource to acquire a connection...
    [1095] Creating a new pool resource
    [1096] Trying connection/3: url='jdbc:as400:/*****' user='TESTER' password='*****' ...
    [1097] DBTransactionImpl.initTransaction: Login failed
    [1098] java.sql.SQLException: No suitable driver found for jdbc:as400:;naming=system;libraries=QTEMP XAN4CDXA XAN4CDEM;translate binary=true;prompt=false
         at java.sql.DriverManager.getConnection(DriverManager.java:602)
         at java.sql.DriverManager.getConnection(DriverManager.java:185)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:187)
         at oracle.jbo.server.URLConnectionHelper.getConnectionFromDriver(URLConnectionHelper.java:50)
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:195)
         at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:166)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
         at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:313)
         at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:102)
         at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)
         at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:52)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:172)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:45)
         at oracle.jbo.server.ConnectionPoolDataSource.getConnection(ConnectionPoolDataSource.java:72)
         at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:964)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1147)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9021)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:222)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:945)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:646)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:446)
    [1099] A dead application module instance was detected
    [1100] The application module instance was removed from the pool
    [1101] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
    [1102] Resetting AM=AppModule
    [1103] An exception occured during checkout.
    [1104] oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:207)
         at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:166)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
         at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:313)
         at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:102)
         at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)
         at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:52)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:172)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:45)
         at oracle.jbo.server.ConnectionPoolDataSource.getConnection(ConnectionPoolDataSource.java:72)
         at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:964)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1147)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9021)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:222)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:945)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:646)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:446)
    Caused by: java.sql.SQLException: No suitable driver found for jdbc:as400://naming=system;libraries=QTEMP XAN4CDXA XAN4CDEM;translate binary=true;prompt=false
         at java.sql.DriverManager.getConnection(DriverManager.java:602)
         at java.sql.DriverManager.getConnection(DriverManager.java:185)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:187)
         at oracle.jbo.server.URLConnectionHelper.getConnectionFromDriver(URLConnectionHelper.java:50)
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:195)
         ... 32 more
    [1105] JUErrorHandlerDlg.reportException(oracle.jbo.jbotester.ErrorHandler$ExceptionWrapper)
    [1106] UIMessageBundle (language base) being initialized
    Jun 12, 2012 4:38:26 PM oracle.jbo.jbotester.MainFrame exit
    INFO: BC4J Tester exit code(-3)
    Process exited with exit code -3.

    When you use DB2 SQL flavor, the ADF BC use the oracle.jbo.server.DB2SQLBuilderImpl class as an SQLBuilder. This class determines the JDBC driver class name as follows:
    1) If the JBO configuration parameter jbo.sql92.JdbcDriverClass in not empty, then the JDBC driver class name is taken from there;
    2) If the jbo.sql92JdbcDriverClass parameter is empty, then:
    <ul><li>If the JDBC URL starts with "jdbc:db2://", then com.ibm.db2.jcc.DB2Driver
    <li>If the JDBC URL starts with "jdbc:oracle:db2", then com.oracle.ias.jdbc.db2.DB2Driver
    <li>If the JDBC URL starts with "jdbc:datadirect:db2", then com.ddtek.jdbc.db2.DB2Driver
    <li>Otherwise, COM.ibm.db2.jdbc.app.DB2Driver</ul>
    (Have a look at the source of the method DB2SQLBuilderImpl.getJDBCDriverClassName(String url) for more details).
    It is seen from the log in your first post that the parameter jbo.sql92.JdbcDriverClass is empty. As far as your JDBC URL starts with neither of the prefixes specified above (e.g. your URL starts with "jdbc:as400://"), then you should specify the necessary JDBC driver class in the JBO configuration parameter jbo.sql92.JdbcDriverClass. (You can specify it in the AM configuration parameters or in adf-config.xml).
    Dimitar

  • IBM DB2 to Oracle Database Migration Using SQL Developer

    Hi,
    We are doing migration of the whole database from IBM DB2 8.2 which is running in WINDOWS to Oracle 11g Database in LINUX.
    As part of pre-requisites we have installed the Oracle SQL Developer 4.0.1 (4.0.1.14.48) in Linux Server with JDK 1.7. Also Established a connection with Oracle Database.
    Questions:
    1) How can we enable the Third Party Database Connectivity in SQL Developer?
    I have copied the files db2jcc.jar and db2jcc_license_cu.jar from the IBM DB2 (Windows) to Oracle (Linux)
    2) Will these JAR files are universal drivers? will these jar files will support in Linux platform?
    3) I got a DB2 full privileged schema name "assistdba", Shall i create a new user with the same name "assistdba" in the Oracle Database & grant DBA Privillege? (This is for Repository Creation)
    4) We have around 35GB of data in DB2, shall i proceed with ONLINE CAPTURE during the migration?
    5) Do you have any approx. estimation of Time to migrate a 35 GB of data?
    6) In-case of any issue during the migration activity, shall i get an support from Oracle Team (We have a Valid Support ID)?
    7) What are all the necessary Test Cases to confirm the status of VALID Migration?
    Request you to share the relevant metalink documents!!!
    Kindly guide me in-order to go-ahead with the successful migration.
    Thanks in Advance!!!
    Nagu
    [email protected]

    Hi Klaus,
    Continued with the above posts - Now we are doing another database migration from IBM DB2 to Oracle, which is very less of data (Eg: 20 Tables & 22 Indexes).
    As like previous database migration, we have done the pre-requirement steps.
    DB Using SQL Developer
    Created Migration Repository
    Connected with the created User in SQL Developer
    Captured the Source Database
    Converted Captured Model to Oracle
    Before Translation Phase we have clicked on the "Proceed Summary"
    Captured Database Objects & Converted Database Objects has been created under PROJECT section.
    Here while checking the status of captured & converted database objects, It's showing the below chart as sample:
    OVERVIEW
    PHASE               TABLE DETAILS          TABLE PCT
    CAPTURE               20/20                              100%
    CONVERT               20/20                              100%
    COMPILE                 0/20                                   0%
    TARGET STATUS
    DESC_OBJECT_NAME
    SCHEMANAME
    OBJECTNAME
    STATUS
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:ARG_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H0INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H1INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H2INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H3INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H4INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H4INDEX02:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H5INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H7INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H7INDEX02:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:MAPIREP1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:MAPISWIFT1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:MAPITRAN1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:OBJ_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:OPR_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:PRD_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:S1TABLE01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:STMT_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:STM_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:X0IAS39:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    We have seen only "Missing" in the chart, also we couldn't have any option to trace it in Log file.
    Only after the status is VALID, we can proceed with the Translation & Migration PHASE.
    Kindly help us how to approach this issue now.
    Thanks
    Nagu

  • IBM DB2 is easier to administer than Oracle, is it true?

    Today i found a reference , here it is
    http://smarterquestions.org/2011/04/why-ibm-db2-is-easier-to-administer-than-oracle/
    http://blog.triton.co.uk/2010/12/db2-beats-oracle-database-in-final-task-showdown/
    they are saying "IBM DB2 is easier to administer than Oracle"
    another one saying "DB2 beats Oracle Database in final task showdown"
    so, whats your opinion sir ?
    Regards
    Halim

    I found below links of your interest :
    http://www.mssqlcity.com/Articles/Compare/oracle_vs_db2.htm
    http://en.wikipedia.org/wiki/Comparison_of_relational_database_management_systems
    ftp://ftp.software.ibm.com/software/data/highlights/dbmscomparison.pdf
    I think these points will be part of comparison :
    ===========================================================
    Issue               
    ===========================================================
    CODD Rules
    Price
    Support
    Hardware requirements
    Software requirements
    Documentation
    Administration/Manageability
    Performance
    Job opportunities
    Scalability
    Portability
    High Availability
    Application Development
    Business Intelligence
    Integration
    Connectivity and Interoperability
    On-demand and Grid-Computing
    Cloud Environment
    Bugs
    Native network encryption     
    Brute-force protection     
    Enterprise directory compatibility     
    Password complexity rules     
    Patch access     
    Run unprivileged     
    Audit     
    Resource limit     
    Separation of duties      
    Security Certification
    Partitioning
    Data Domain     
    Cursor     
    Trigger     
    Function     
    Procedure     
    External routine
    Data Types
    Union     
    Intersect     
    Except     
    Inner joins     
    Outer joins     
    Inner selects     
    Merge joins     
    Blobs and Clobs     
    Common Table Expressions     
    Windowing Functions     
    Parallel Query
    Indexes and their Types
    Temporary Tables
    Materialized Views
    Limitations/Max sizes
    ACID     
    Referential integrity     
    Transactions     
    Unicode     
    Interface
    Supporting OSs
    Exception handling
    Backups
    OLTP,DSS,VLDB
    Certification/CoursesI am just pasting these points from above links and couple of points from different links though.
    Now, your question. IBM DB2 is easier to administer than Oracle, is it true? What if i or someone says Yes or No. Will you simply ignore above points ?
    Regards
    Girish Sharma

  • Com.ibm.db2.jcc.DB2Driver

    I'm using db2 and eclipse and I created dynamic web project. I wanna connect to db2 with dinamic web project and I wanna execute query.. how I do it ?
    This is my code
    <%@ page import="javax.sql.*" %>
    <%@ page import="java.sql.*" %>
    <%@ page import="javax.naming.*" %>
    <%     
    System.out.println("sistem");
         Connection connection = null;
         String dbName = "EMPLOYEE";
         String userid = "";
         String password = "";
         String url = "jdbc:db2://localhost:50001/" + dbName;
         String driver = "com.ibm.db2.jcc.DB2Driver";
         try {          
              Class.forName(driver).newInstance();
              connection = DriverManager.getConnection(url, userid, password);
         } catch(Exception e) {
              e.printStackTrace();
    %>
    error
    java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Driver

    First of all: Never, ever write DB access code in a JSP! It's a terribly bad idea! Instead, put you business logic (including database access) into Servlets (or Actions, if you happen to use one of the many web frameworks) and use the JSPs only to present information that you created/extracted in your Servlets/Actions.
    Next: You need to provide the DB2 JDBC driver .jar to your web application. Either ensure that the servlet container has it (by putting it in some common lib directory) or provide it in your web applications' WEB-INF/lib directory.

  • Applet using COM.ibm.db2.jdbc.app.DB2Driver

    Hi,
    I have an applet that is downloaded from a webserver which then needs to access the local db2java.zip file. It was my understanding if you use the COM.ibm.db2.jdbc.app.DB2Driver it would allow you to access the local copy of that file in your classpath. I also understand that if you use COM.ibm.db2.jdbc.net.DB2Driver you can access the db2java.zip on the server. I unfortunately need to access the local db2java.zip file. I am upgrading from Java 1.2.2 to Java 1.3.1 and it is not allowing this connection. I also changed my java.policy file and have created my own certificate as well, I understand all that.
    Here is the section of my code that fails...
    java.sql.Driver d = (java.sql.Driver) Class.forName(getDriver()).newInstance();
    WHSConnection.con = DriverManager.getConnection(getURL(), getUser(), getPassword());
    WHSConnection.con.setAutoCommit(true);
    System.out.println("Database Connection Successful");
    } catch (java.lang.Throwable except) {
    except.printStackTrace();
    System.out.println("Database Connection Failed");
    Any suggestions would be appreciated. Thanks ~A

    Yes, I forgot to mention that I stopped all DB2 Services and ran the file "runjdbc2.bat"... When I run Java 1.2.2 everything works great. When I run 1.3.1 it attempts to locate the db2java.zip classes on the server and not locally... Here is the error message I receive...
    java.lang.ClassNotFoundException: java.io.FileNotFoundException: http://www.example.com/Java131/COM/ibm/db2/jdbc/app/DB2Driver.class
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
         at sun.plugin.protocol.jdk12.http.HttpURLConnection.checkCookieHeader(Unknown Source)
         at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.HttpURLConnection.getResponseCode(Unknown Source)
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at Serverlet.WHSConnection.getConnection(WHSConnection.java:159)
         at Serverlet.MainApplet.onOk(MainApplet.java:522)
         at Serverlet.MainApplet.connEtoM1(MainApplet.java:60)
         at Serverlet.MainApplet.actionPerformed(MainApplet.java:29)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.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 Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.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.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.run(Unknown Source)
    Database Connection Failed

  • Does ODI support IBM DB2 Z/OS Mainframe?

    Hello gurus,
    Does ODI 11g support IBM DB2 Mainframe as a source?
    In case that is possible, which parameters are required? Does it require a JDBC driver?
    I´ll appreciate your help,
    Rebeca

    Can any one please let me know the required drivers to connect to db2
    below are the connection strings i am using
    jdbc driver : com.ibm.db2.jcc.DB2Driver
    jdbc url : jdbc:db2://<host/IP>:<port>/<databasename>
    and i am getting the below error
    oracle.odi.core.exception.OdiRuntimeException: java.lang.IllegalArgumentException: *Could not load JDBC driver class [com.ibm.db2.jcc.DB2Driver]*
         at oracle.odi.core.datasource.provider.AbstractDataSourceProvider.configure(AbstractDataSourceProvider.java:107)
         at oracle.odi.core.DataSourceManager$LoginTimeoutDataSourceProviderProxy.configure(DataSourceManager.java:303)
         at oracle.odi.core.DataSourceManager.createAndConfigureDataSourceProvider(DataSourceManager.java:226)
         at oracle.odi.core.DataSourceManager.access$0(DataSourceManager.java:206)
         at oracle.odi.core.DataSourceManager$1.create(DataSourceManager.java:76)
         at org.springframework.util.CachingMapDecorator.get(CachingMapDecorator.java:152)
         at java.util.Collections$SynchronizedMap.get(Collections.java:1975)
         at oracle.odi.core.DataSourceManager.getDataSource(DataSourceManager.java:155)
         at oracle.odi.core.OdiInstance.lookupDataSource(OdiInstance.java:788)
         at oracle.odi.core.datasource.dwgobject.support.DwgConnectConnectionCreatorImpl.createDwgConnectConnection(DwgConnectConnectionCreatorImpl.java:82)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.getLocalConnect(SnpsDialogTestConnet.java:418)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.localConnect(SnpsDialogTestConnet.java:860)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.jButtonTest_ActionPerformed(SnpsDialogTestConnet.java:806)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.connEtoC1(SnpsDialogTestConnet.java:165)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.access$1(SnpsDialogTestConnet.java:161)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet$IvjEventHandler.actionPerformed(SnpsDialogTestConnet.java:111)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2319)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
         at java.awt.Component.processMouseEvent(Component.java:6289)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3268)
         at java.awt.Component.processEvent(Component.java:6054)
         at java.awt.Container.processEvent(Container.java:2042)
         at java.awt.Component.dispatchEventImpl(Component.java:4652)
         at java.awt.Container.dispatchEventImpl(Container.java:2101)
         at java.awt.Component.dispatchEvent(Component.java:4483)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2479)
         at java.awt.Component.dispatchEvent(Component.java:4483)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
         at java.awt.EventQueue.access$000(EventQueue.java:85)
         at java.awt.EventQueue$1.run(EventQueue.java:604)
         at java.awt.EventQueue$1.run(EventQueue.java:601)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
         at java.awt.EventQueue$2.run(EventQueue.java:618)
         at java.awt.EventQueue$2.run(EventQueue.java:615)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:175)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:162)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.lang.IllegalArgumentException: Could not load JDBC driver class [com.ibm.db2.jcc.DB2Driver]
         at oracle.odi.jdbc.datasource.DriverManagerDataSource.setDriverClassName(DriverManagerDataSource.java:175)
         at oracle.odi.jdbc.datasource.DriverManagerDataSource.<init>(DriverManagerDataSource.java:107)
         at oracle.odi.core.datasource.provider.DriverManagerDataSourceProvider.doCreateDataSource(DriverManagerDataSourceProvider.java:35)
         at oracle.odi.core.datasource.provider.AbstractDataSourceProvider.configure(AbstractDataSourceProvider.java:98)
         ... 50 more

  • Com.ibm.db2.jcc.b.SqlException: DB2 SQL Error: SQLCODE=-973, SQLSTATE=00000

    Hi,
    We are running WebLogic 10.3.0 on RHEL 5.3 with JRockit JDK 1.6 and DB2 Version 8 on mainframe running z/OS 1.9.
    We are getting below exception in webLogic logs from connection pool connecting to DB2 database.
    >
    ####<Jul 23, 2010 10:05:49 AM EDT> <Warning> <JDBC> <testing.us.test.net> <testingDB2> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1279893949615> <BEA-001129> <Received exception while creating connection for pool "TestDB2Pool": DB2 SQL Error: SQLCODE=-973, SQLSTATE=00000, SQLERRMC=MON_HEAP_SZ, DRIVER=3.53.70>
    ####<Jul 23, 2010 10:05:49 AM EDT> <Info> <JDBC> <testing.us.test.net> <testingDB2> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1279893949616> <BEA-001156> <Stack trace associated with message 001129 follows:
    com.ibm.db2.jcc.b.SqlException: DB2 SQL Error: SQLCODE=-973, SQLSTATE=00000, SQLERRMC=MON_HEAP_SZ, DRIVER=3.53.70
         at com.ibm.db2.jcc.b.bd.a(bd.java:679)
         at com.ibm.db2.jcc.b.bd.a(bd.java:60)
         at com.ibm.db2.jcc.b.bd.a(bd.java:127)
         at com.ibm.db2.jcc.b.jb.a(jb.java:4016)
         at com.ibm.db2.jcc.t4.bb.l(bb.java:403)
         at com.ibm.db2.jcc.t4.bb.d(bb.java:141)
         at com.ibm.db2.jcc.t4.b.Oc(b.java:1305)
         at com.ibm.db2.jcc.t4.b.b(b.java:1225)
         at com.ibm.db2.jcc.t4.b.B(b.java:5129)
         at com.ibm.db2.jcc.t4.b.c(b.java:783)
         at com.ibm.db2.jcc.t4.b.b(b.java:726)
         at com.ibm.db2.jcc.t4.b.a(b.java:409)
         at com.ibm.db2.jcc.t4.b.<init>(b.java:345)
         at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:197)
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:316)
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:217)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
         at weblogic.common.resourcepool.ResourcePoolImpl.createResources(ResourcePoolImpl.java:574)
         at weblogic.jdbc.wrapper.Connection.run(Connection.java:268)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    Below is snippet of my datasource configuration.
    <?xml version='1.0' encoding='UTF-8'?>
    <jdbc-data-source xmlns="http://www.bea.com/ns/weblogic/jdbc-data-source" xmlns:sec="http://www.bea.com/ns/weblogic/90/security" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/jdbc-data-source http://www.bea.com/ns/weblogic/jdbc-data-source/1.0/jdbc-data-source.xsd">
    <name>TestingDB2</name>
    <jdbc-driver-params>
    <url>jdbc:db2://DB2.testing.us.com:50003/TestingDB</url>
    <driver-name>com.ibm.db2.jcc.DB2Driver</driver-name>
    <properties>
    <property>
    <name>maxRetriesForClientReroute</name>
    <value>2</value>
    </property>
    <property>
    <name>retryIntervalForClientReroute</name>
    <value>5</value>
    </property>
    <property>
    <name>user</name>
    <value>testuser</value>
    </property>
    <property>
    <name>resultSetHoldability</name>
    <value>2</value>
    </property>
    <property>
    <name>enableSysplexWLB</name>
    <value>true</value>
    </property>
    <property>
    <name>enableConnectionConcentrator</name>
    <value>true</value>
    </property>
    <property>
    <name>databaseName</name>
    <value>DB2QA</value>
    </property>
    <property>
    <name>maxTransportObjects</name>
    <value>108</value>
    </property>
    </properties>
    <password-encrypted>{3DES}eh4WI16Xb8E=</password-encrypted>
    </jdbc-driver-params>
    <jdbc-connection-pool-params>
    <initial-capacity>40</initial-capacity>
    <max-capacity>215</max-capacity>
    <capacity-increment>1</capacity-increment>
    <shrink-frequency-seconds>300</shrink-frequency-seconds>
    <highest-num-waiters>2147483647</highest-num-waiters>
    <connection-creation-retry-frequency-seconds>15</connection-creation-retry-frequency-seconds>
    <connection-reserve-timeout-seconds>10</connection-reserve-timeout-seconds>
    <test-frequency-seconds>300</test-frequency-seconds>
    <test-connections-on-reserve>true</test-connections-on-reserve>
    <ignore-in-use-connections-enabled>true</ignore-in-use-connections-enabled>
    <inactive-connection-timeout-seconds>300</inactive-connection-timeout-seconds>
    <test-table-name>SYSIBM.SYSDUMMY</test-table-name>
    <login-delay-seconds>1</login-delay-seconds>
    <statement-cache-size>300</statement-cache-size>
    <statement-cache-type>LRU</statement-cache-type>
    <remove-infected-connections>true</remove-infected-connections>
    <seconds-to-trust-an-idle-pool-connection>15</seconds-to-trust-an-idle-pool-connection>
    <statement-timeout>-1</statement-timeout>
    <pinned-to-thread>false</pinned-to-thread>
    </jdbc-connection-pool-params>
    <jdbc-data-source-params>
    <jndi-name>TestingDB2</jndi-name>
    <global-transactions-protocol>None</global-transactions-protocol>
    </jdbc-data-source-params>
    </jdbc-data-source>
    Please help me on this.
    - BoyelT

    Thanks Joe. I will test the standalone client program you provided.
    Below are links I found on web on SQL CODE -972 error message
    http://www.dbforums.com/db2/875633-sqlcode-973-sqlstate-57011-drda_heap_sz-cobol-db2-error.html
    http://publib.boulder.ibm.com/infocenter/tivihelp/v4r1/index.jsp?topic=/com.ibm.tpc_V411.doc/fqz0_r_tbs_db2_sql_973.html
    http://www-01.ibm.com/support/docview.wss?uid=swg1IY55389
    Below is explanation about this message
    ===============================================
    SQL0973N Not enough storage is available in the "<heap-name>" heap to process the statement.
    Explanation: All available memory for this heap has been used. The statement cannot be processed.
    User Response: Terminate the application on receipt of this message (SQLCODE). Increase the configuration parameter for "<heap-name>" to increase the heap size.
    ===============================================
    Can you please advise if this is the problem from DBMS side?

  • Database.LoadDataSet() method throwing error while retriving data from IBM DB2 database

    Database.LoadDataSet() method is throwing error during retriving data from empty table of IBM DB2 database. It is giving error code "SQL0100W".
    “Error Message: 0NO_DATA [02000] [IBM] [DB2 / NT] SQL0100W FETCH, whether there is a line to be UPDATE or DELETE, or of the query result is an empty table .
    SQLSTATE = 02000”

    Hello SharayuPandit,
    For issues regarding DB2, i suggest that you could post it to DB2 related forum:
    https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000842
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Database access code in objects constructor, or in data access object

    Given an object that is stored in a database, is it better to have the database access code in a constructor method, or a data access layer object? E.g. I have a Person class
    public class Person{
    int Id;
    String name;
    int age;
    }When I want to read a person's details from the database, I could use a constructor something like this:
    public Person(int id){
    Connection con = getDatabaseConnection();
    ResultSet rs = con.createStatement().executeQuery("Select name, age from person where person_id = " + id);
    rs.next();
    this.name = rs.getString(1);
    this.age=rs.getInt(2);
    }Or I could use a method in a data access object :
    public Person getPerson(int id){
    Person p = new Person();
    Connection con = getDatabaseConnection();
    ResultSet rs = con.createStatement().executeQuery("Select name, age from person where person_id = " + id);
    rs.next();
    p.setName(rs.getString(1));
    p.setAge(rs.getInt(2));
    return p;
    }It seems to me that the constructor approach has two advantages
    (1) the SQL code is kept in the relevant class (so if I want to add a field to Person, I only have to make changes to the Person class)
    (2) I don't have to have a setter method for each field
    Is one or other of these ways generally recognized as 'best practise'?

    malcolmmc wrote:
    But then, on the other hand, everytime a Person gains a new field that's two places you have to change it. if the persistence interface is written in terms of the object and uses ORM, I don't have to touch the implementation. all i have to do is update the object, the database, and the mapping - just like you and your home brew ORM.
    besides, so what? i'd fear the resource leak, bad layering, more difficult testing more.
    Actually lately I've used annotations to label setters with database field names and run a simple home brew ORM to convert rows into objects even when not using a more complex persistence manager.home brew ORM? why is that necessary when you can choose from hibernate, ibatis, jdo, jpa, etc.? that's just nuts.
    %

  • How to access objects in the Child Form from Parent form.

    I have a requirement in which I have to first open a Child Form from a Parent Form. Then I want to access objects in the Child Form from Parent form. For example, I want to insert a record into a block present in Child Form by executing statements from a trigger present in Parent Form.
    I cannot use object groups since I cannot write code into Child Form to first create object groups into Child Form.
    I have tried to achieved it using the following (working of my testcase) :
    1) Created two new Forms TESTFORM1.fmb (parent) and TESTFORM2.fmb (child).
    2) Created a block named BLK1 manually in TESTFORM1.
    3) Created two items in BLK1:
    1.PJC1 which is a text item.
    2.OPEN which is a push button.
    4) Created a new block using data block wizard for a table EMPLOYEE_S1. Created items corresponding to all columns present in EMPLOYEE_S1 table.
    5) In WHEN-NEW-FORM-INSTANCE trigger of TESTFORM1 set the first navigation block to BLK1. In BLK1 first navigable item is PJC1.
    6) In WHEN-NEW-ITEM-INSTANCE of PJC1, code has been written to automatically execute the WHEN-BUTTON-PRESSED trigger for the "Open" button.
    7) In WHEN-BUTTON-PRESSED trigger of OPEN item, TESTFORM2 is opened using the following statement :
    open_form(‘TESTFORM2',no_activate,no_session,SHARE_LIBRARY_DATA);
    Since its NO_ACTIVATE, the code flows without giving handle to TESTFORM2.
    8) After invoking OPEN_FORM, a GO_FORM(‘TESTFORM2’) is now called to set the focus to TESTFORM2
    PROBLEM AT HAND
    ===============
    After Step 8, I notice that it passes the focus to TESTFORM2, and statements after go_form (in Parent Form trigger) doesnot executes.
    I need go_form with no_activate, similar to open_form.
    Edited by: harishgupt on Oct 12, 2008 11:32 PM

    isn't it easier to find a solution without a second form? If you have a second window, then you can navigate and code whatever you want.
    If you must use a second form, then you can handle this with WHEN-WINDOW-ACTIVATED and meta-data, which you have to store in global variables... ( I can give you hints if the one-form-solution is no option for you )

  • Class not found error for COM.ibm.db2.jdbc.app.DB2Driver

    i have written this code:
    import java.io.*;
    import java.sql.*;
    public class tryjdbc
    {  public static void main (String args[])
    {  try
    {  Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");  }
    catch (java.lang.ClassNotFoundException e)
    {  System.out.print(e.getMessage());  }
    and once i try to run it, it gives out a class not found exception error.
    I haven't changed anything with the classpath since I don't think the problem is with the classpath. I have read in the IBM Developer Kit for Java documentaton that the AS/400 Developer Kit for Java automatically adds the db2_class.jar file to the classpath. So why do I get a class not found exception error?

    I was using Web Spehere 4.0.3 and trying to connect to a database on DB2 7.2. I was just following a tutorial and trying to get a handle on Web Sphere. I am running all of these on a Windows 2000 Operating System. Here are some of my observations :
    a. db2java.zip packaged under %DB2ROOT%\SQLLIB\JAVA, does not work.
    b. CLASSPATH needs to be set to %DB2ROOT%\sqllib\java12\db2java.zip
    c. Include this as one of the packages in the package defined in
    WebSphere, using the Java Perspective.
    d. Ensure that case sensitivity is respected. All though the package
    shows up as COM.ibm.db2.jdbc.app.DB2Driver, for some reason, it
    will only accept com.ibm.db2.jdbc.app.DB2Driver.
    With these settings, I was able to connect to a db2 database.
    I am a little puzzled on the following. I did not include java.io package, but still it could print the messages. Did anybody have a similar experience
    Thanks for this posting.

Maybe you are looking for

  • Batch input problem in SM35

    Dear all, I am uploading the bank statements using manual bank statements through Z transaction, Once uploaded system is generating the batch input session for the same. When i run the batch input session system not clearing outgoing payment automati

  • Determine the fax number or EMAIL address for pur docs

    Hi, I am trying to send pur doc via fax or EMAIL. I have created specific  message types for that purpose. The fax is created and sent to the default fax number / EMAIL address. I want the message to be sent to the same vendor but to other fax number

  • How to view a trace of SM49/SM69

    Dear Experts, this should be very easy for many of you... I had to determine, why brconnect was not starting via a gateway on another host, I wanted to check the execution through SM49/SM69. As there was very little output, I have noticed, that there

  • 64 bit windows on Mac Pro

    If I use Bootcamp to install a 64 bit version of windows xp pro on a Mac will that allow windows to make full use of the ram installed? I understand that 32 bit versions of win xp only allow access to 4 gigs or so of ram? I take it that the processor

  • Can't access FB page on MacBook pro or on iPhone5

    I haven't been able to view the FB page for two days now. I keep getting this message; This webpage is not available. When I click on the "more" button I read the following: Google Chrome could not load the webpage because www.facebook.com took too l