DB2 database
Hi,
Can SBO have DB2 as database?
Is SDK development supported on SBO using DB2 as database?
Thanks,
Satish Dwevedi.
Hi
SBO can work on the following databases, Microsoft SQL Server, IBM DB2 or Sybase ASE database.
Hope this helps
Similar Messages
-
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 -
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. -
How do I connect to a DB2 database from Oracle 10G on linux?
Hi
I have tryed to connect to a DB2 database from oracle 10 G on linux.
I have installed unixODBC and a db2 odbc driver. I can connect to the db2 using isql, but oracle comes with this error:
select * from testtable@acc_spc_gr2
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC]DRV_InitTdp: DB_ODBC_INTERFACE (718): ; [C077]
Could not find symbol 'SQLAllocConnect' in dynamic library
DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library
'/opt/ibm/iSeriesAccess/lib/libcwbodbc.so'
ORA-02063: preceding 3 lines from ACC_SPC_GR2
What am I doing wrong? Any one have a guide to do this?
- Jesperthis is my complete configuration
Database_
-bash-3.2$ export ORACLE_SID=XE
-bash-3.2$ sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Mié Jul 7 10:04:43 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Conectado a:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Platform_
Linux srvpdf 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:47:32 EDT 2009 i686 i686 i386 GNU/Linux
*/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/hs/admin/initDB2DATABASE.init*
#This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
#HS_FDS_CONNECT_INFO = ODBC_DSN
HS_FDS_CONNECT_INFO = prueba
HS_FDS_TRACE_FILE_NAME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/hs/admin/DB2DATABASE.log
HS_FDS_CONNECT_INFO = DB2DATABASE
#HS_FDS_TRACE_LEVEL = debug
HS_FDS_TRACE_LEVEL = 0
HS_FDS_SHAREABLE_NAME = /opt/ibm/iSeriesAccess/lib/libcwbodbc.so
# ODBC specific environment variables
set ODBCINI=/etc/odbc.ini
# Environment variables required for the non-Oracle system
set DB2INSTANCE=is400
listener.ora_
# listener.ora Network Configuration File:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = DB2DATABASE)
(ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
(PROGRAM =hsodbc)
(ENVS = LD_LIBRARY_PATH = /opt/ibm/iSeriesAccess/lib:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.18.3.32)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.18.3.31)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
tnsnames.ora_
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = srvpdf)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
DB2DATABASE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST =localhost )(PORT=1521))
(CONNECT_DATA =
(SERVICE_NAME = DB2DATABASE)
(HS=OK)
odbc.ini_
[prueba]
Description = iSeries Access ODBC Driver
Driver = iSeries Access ODBC Driver
System = xxx.xx.3.2
UserID = xxxxxx
Password = xxxxxx
Naming = 0
DefaultLibraries = QGPL
Database = CHERRYWEB
ConnectionType = 0
CommitMode = 2
ExtendedDynamic = 0
DefaultPkgLibrary = QGPL
DefaultPackage = A/DEFAULT(IBM),2,0,1,0,512
AllowDataCompression = 0
MaxFieldLength = 32
BlockFetch = 1
BlockSizeKB = 128
ExtendedColInfo = 0
LibraryView = 0
AllowUnsupportedChar = 0
ForceTranslation = 0
Trace = 0
odbcinst.ini_
[PostgreSQL]
Description = ODBC for PostgreSQL
Driver = /usr/lib/libodbcpsql.so
Setup = /usr/lib/libodbcpsqlS.so
FileUsage = 1
[iSeries Access ODBC Driver]
Description = iSeries Access for Linux ODBC Driver
Driver = /opt/ibm/iSeriesAccess/lib/libcwbodbc.so
Driver64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Setup = /opt/ibm/iSeriesAccess/lib/libcwbodbcs.so
Setup64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
UsageCount = 1
CPTimeout =
CPReuse =
System = 172.18.3.2
User = inf5mito
Password = lonco3pue
NOTE1 = If using unixODBC 2.2.11 or later and you want the 32 and 64-bit ODBC drivers to share DSN's,
NOTE2 = the following Driver64/Setup64 keywords will provide that support.
Threading = 2
DontDLClose = 1
ODBC Driver_
-bash-3.2$ cd /opt/ibm/iSeriesAccess/lib
-bash-3.2$ ls -ltr
total 2260
-r-xr-xr-x 1 root root 443939 Apr 5 2008 libcwbxda.so
-r-xr-xr-x 1 root root 94504 Apr 5 2008 libcwbrc.so
-r-xr-xr-x 1 root root 16636 Apr 5 2008 libcwbodbcs.so
-r-xr-xr-x 1 root root 729572 Apr 5 2008 libcwbodbc.so
-r-xr-xr-x 1 root root 998060 Apr 5 2008 libcwbcore.so
and this is my error.
SQL> /
select from display@db2database*
ERROR en línea 1:
ORA-28500: la conexión de ORACLE a un sistema no Oracle ha devuelto este
mensaje:
*[Generic Connectivity Using ODBC][C077] Could not find symbol 'SQLAllocConnect'*
in dynamic library
*[C079] Failed to load dynamic library*
*'/opt/ibm/iSeriesAccess/lib/libcwbodbc.so'*
ORA-02063: 3 lines precediendo a DB2DATABASE
Edited by: user6669081 on 07-jul-2010 6:31 -
Saving Data in SAP and DB2 database
Hi All,
I have an SAP application in which 10 fields are there for the user to enter. Out this 10 fields i need to save 5 fields in SAP database and another 5 in DB2 database.Please help me how to achieve this.
Regards
VEnk@Hi Jesse,
The Citadel database is not a relational database. It's highly optimized for storing lower-rate (non-waveform) channel-by-channel, or "trace" measurement data. Another option you can consider is using DSC and Citadel on the server then writing a utility to export the data from Citdael to an SQL database. --That would solve the problem of having to write a logger application from scratch. You would only have to write the relatively simple application to export the data from Citadel and import it into a relational database.
You could accomplish this two ways. First, DSC includes a set of VIs that will retrieve historical data from Ciatdel. You could use LabVIEW to parse this data and write it to a table in a relational database. Second, Citadel actually includes a locally accessible ODBC interface. (You can query Citadel using an SQL query from the local computer). You could query Citadel using this interface, then write the result to a table in a relational database.
To view Citadel in its native format or query a Citadel database using ODBC from a remote comptuer that comptuer would need to have a licensed DSC RTS installed.
~~ -
Add a DB2 database file in different drive
Dear all,
I would like to add a DB2 database file in different drive which is added recently.
eg: existing DB folders in drive H, now we need to add new data folder from drive J
please help me on this step by step procedure, looking for the earliest reply
regards
sathish
65 96724662Hi,
what you have to do is to extend your tablespace with new containers on the new drive and AVOID REBALANCING !!!
Do do that, you can either use the "alter tablespace" command with the "begin new stripe set" clause, or use
the DBACOCKPIT to extend your tablespace and specify
a new stripe set there.
For details on the "alter tablespace" command see:
http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.doc/welcome.htm
and search for "alter tablespace"
kind regards
Thomas -
Tables not shown in connections tree for DB2 databases
Hi!
I often use SQL Developer to connect to our DB2 databases. However, when I expand the desired schema in a DB2 database, the Tables node is empty, although it should not be. There are tables in that schema and I can select data from them, so security is not an issue:
For example:
select tabschema, tabname from syscat.tables where tabschema not like 'SYS%' order by 1,2;
returns many schema names and table names is those schemas. Let's pick one, i.e table name METER_TYPE in schema METER ( there are 4 tables in schema METER)
select count(*) from meter.meter_type
returns: 38
However, the Tables node shows no tables. Tese tables are not Aliases (DB2 slang for synonyms) or views, however, those 2 nodes are also empty when they should not be - we have schemas with aliases and views, which are also NOT shown. The Index node is populated most frequently, but not completely (there are indexes missing).
Here are my details (don't be fooled by java 1.7, the behaviour is the same with 1.6):
DB2 jdbc driver version: 3.57.82
About
Oracle SQL Developer 3.0.04
Version 3.0.04
Build MAIN-04.34
Copyright © 2005, 2011 Oracle. All Rights Reserved.
IDE Version: 11.1.1.4.37.59.31
Product ID: oracle.sqldeveloper
Product Version: 11.1.2.04.34
Version
Component Version
========= =======
Java(TM) Platform 1.7.0
Oracle IDE 3.0.04.34
Versioning Support 3.0.04.34
Properties
Name Value
==== =====
awt.toolkit sun.awt.X11.XToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
file.encoding UTF-8
file.encoding.pkg sun.io
file.separator /
http.nonProxyHosts localhost|localhost.localdomain|127.0.0.1|::1|localhost|alex.localdomain
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 5367470843749639
ide.build MAIN-04.34
ide.conf /home/alex/prg/oracle/sqldeveloper300434/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
ide.config_pathname /home/alex/prg/oracle/sqldeveloper300434/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun true
ide.java.minversion 1.6.0_04
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir /home/alex/.sqldeveloper
ide.product oracle.sqldeveloper
ide.splash.screen splash.gif
ide.startingcwd "/home/alex/prg/oracle/sqldeveloper300434/sqldeveloper/sqldeveloper/bin"
ide.user.dir /home/alex/.sqldeveloper
ide.user.dir.var IDE_USER_DIR
ide.vcs.noapplications true
ide.work.dir /home/alex/sqldeveloper
ilog.propagatesPropertyEditors false
java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
java.awt.printerjob sun.print.PSPrinterJob
java.class.path ../../ide/lib/ide-boot.jar
java.class.version 51.0
java.endorsed.dirs /home/alex/prg/jdk1.7.0/jre/lib/endorsed
java.ext.dirs /home/alex/prg/jdk1.7.0/jre/lib/ext:/usr/java/packages/lib/ext
java.home /home/alex/prg/jdk1.7.0/jre
java.io.tmpdir /tmp
java.library.path /home/alex/prg/oracle/instantclient_11_2::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.protocol.handler.pkgs oracle.jdevimpl.handler
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.7.0-b147
java.specification.name Java Platform API Specification
java.specification.vendor Oracle Corporation
java.specification.version 1.7
java.util.logging.config.file logging.conf
java.vendor Oracle Corporation
java.vendor.url http://java.oracle.com/
java.vendor.url.bug http://bugreport.sun.com/bugreport/
java.version 1.7.0
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Oracle Corporation
java.vm.specification.version 1.7
java.vm.vendor Oracle Corporation
java.vm.version 21.0-b17
jdbc.library /home/alex/prg/oracle/sqldeveloper300434/sqldeveloper/jdbc/lib/ojdbc6.jar
line.separator \n
log.file.name /home/alex/prg/oracle/sqldeveloper300434/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log/datamodeler.log
oracle.home /home/alex/prg/oracle/sqldeveloper300434/sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.jdbc.mapDateToTimestamp false
oracle.net.tns_admin /home/alex/prg/oracle/sqldeveloper300434/sqldeveloper/network/admin
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /home/alex/prg/oracle/sqldeveloper300434/sqldeveloper/jlib/orai18n.jar
os.arch amd64
os.name Linux
os.version 2.6.30.10-105.2.23.fc11.x86_64
path.separator :
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
sqldev.debug false
sun.arch.data.model 64
sun.awt.enableExtraMouseButtons true
sun.boot.class.path /home/alex/prg/jdk1.7.0/jre/lib/resources.jar:/home/alex/prg/jdk1.7.0/jre/lib/rt.jar:/home/alex/prg/jdk1.7.0/jre/lib/sunrsasign.jar:/home/alex/prg/jdk1.7.0/jre/lib/jsse.jar:/home/alex/prg/jdk1.7.0/jre/lib/jce.jar:/home/alex/prg/jdk1.7.0/jre/lib/charsets.jar:/home/alex/prg/jdk1.7.0/jre/classes
sun.boot.library.path /home/alex/prg/jdk1.7.0/jre/lib/amd64
sun.cpu.endian little
sun.cpu.isalist
sun.desktop gnome
sun.io.unicode.encoding UnicodeLittle
sun.java.command oracle.ide.boot.Launcher
sun.java.launcher SUN_STANDARD
sun.java2d.ddoffscreen false
sun.java2d.pmoffscreen false
sun.jnu.encoding UTF-8
sun.management.compiler HotSpot 64-Bit Tiered Compilers
sun.os.patch.level unknown
svnkit.sax.useDefault true
user.country US
user.dir /home/alex/prg/oracle/sqldeveloper300434/sqldeveloper/sqldeveloper/bin
user.home /home/alex
user.language en
user.name alex
user.timezone CET
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.4.37.59.31 Loaded
Code Editor oracle.ide.ceditor 11.1.1.4.37.59.31 Loaded
Component Palette oracle.ide.palette1 11.1.1.4.37.59.31 Loaded
Data Miner oracle.dmt.dataminer 11.2.0.1.10.109 Loaded
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.4.37.59.31 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.4.37.59.31 Loaded
Database UI oracle.ide.db 11.1.1.4.37.59.31 Loaded
Diagram Framework oracle.diagram 11.1.1.4.37.59.31 Loaded
Diagram Javadoc Extension oracle.diagram.javadoc 11.1.1.4.37.59.31 Loaded
Diagram Thumbnail oracle.diagram.thumbnail 11.1.1.4.37.59.31 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.4.37.59.31 Loaded
Extended IDE Platform oracle.javacore 11.1.1.4.37.59.31 Loaded
External Tools oracle.ide.externaltools 11.1.1.4.37.59.31 Loaded
File Support oracle.ide.files 11.1.1.4.37.59.31 Loaded
Help System oracle.ide.help 11.1.1.4.37.59.31 Loaded
History Support oracle.jdeveloper.history 11.1.1.4.37.59.31 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.4.37.59.31 Loaded
Index Migrator support oracle.ideimpl.indexing-migrator 11.1.1.4.37.59.31 Loaded
JDeveloper Runner oracle.jdeveloper.runner 11.1.1.4.37.59.31 Loaded
JViews Registration Addin oracle.diagram.registration 11.1.1.4.37.59.31 Loaded
Log Window oracle.ide.log 11.1.1.4.37.59.31 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.4.37.59.31 Loaded
Navigator oracle.ide.navigator 11.1.1.4.37.59.31 Loaded
Object Gallery oracle.ide.gallery 11.1.1.4.37.59.31 Loaded
Oracle IDE oracle.ide 11.1.1.4.37.59.31 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.1.2.04.34 Loaded
Oracle SQL Developer - 3rd Party Database Browsers oracle.sqldeveloper.thirdparty.browsers 11.1.1.04.34 Loaded
Oracle SQL Developer - DBA Navigator oracle.sqldeveloper.dbanavigator 11.1.1.04.34 Loaded
Oracle SQL Developer - Extras oracle.sqldeveloper.extras 1.1.1.04.34 Loaded
Oracle SQL Developer - File Navigator oracle.sqldeveloper.filenavigator 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Antlr3 Translator oracle.sqldeveloper.migration.translation.core_antlr3 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Application Migration oracle.sqldeveloper.migration.application 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Core oracle.sqldeveloper.migration 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations DB2 oracle.sqldeveloper.migration.db2 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations DB2 Translator oracle.sqldeveloper.migration.translation.db2 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Microsoft Access oracle.sqldeveloper.migration.msaccess 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Microsoft SQL Server oracle.sqldeveloper.migration.sqlserver 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations MySQL oracle.sqldeveloper.migration.mysql 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Sybase Adaptive Server oracle.sqldeveloper.migration.sybase 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations T-SQL Translator oracle.sqldeveloper.migration.translation.core 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Teradata oracle.sqldeveloper.migration.teradata 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Translation UI oracle.sqldeveloper.migration.translation.gui 11.1.1.04.34 Loaded
Oracle SQL Developer - Object Viewer oracle.sqldeveloper.oviewer 11.1.1.04.34 Loaded
Oracle SQL Developer - Real Time SQL Monitoring oracle.sqldeveloper.sqlmonitor 11.1.1.04.34 Loaded
Oracle SQL Developer - Reports oracle.sqldeveloper.report 11.1.1.04.34 Loaded
Oracle SQL Developer - Scheduler oracle.sqldeveloper.scheduler 11.1.1.04.34 Loaded
Oracle SQL Developer - Schema Browser oracle.sqldeveloper.schemabrowser 11.1.1.04.34 Loaded
Oracle SQL Developer - SearchBar oracle.sqldeveloper.searchbar 11.1.1.04.34 Loaded
Oracle SQL Developer - Snippet oracle.sqldeveloper.snippet 11.1.1.04.34 Loaded
Oracle SQL Developer - Spatial oracle.sqldeveloper.spatial 11.1.1.04.34 Loaded
Oracle SQL Developer - TimesTen oracle.sqldeveloper.timesten 2.0.0.04.34 Loaded
Oracle SQL Developer - Tuning oracle.sqldeveloper.tuning 11.1.1.04.34 Loaded
Oracle SQL Developer - Unit Test oracle.sqldeveloper.unit_test 11.1.1.04.34 Loaded
Oracle SQL Developer - User Extensions Support oracle.sqldeveloper.userextensions 11.1.1.04.34 Loaded
Oracle SQL Developer - Worksheet v2 oracle.sqldeveloper.worksheet 11.1.1.04.34 Loaded
Oracle SQL Developer - XML Schema oracle.sqldeveloper.xmlschema 11.1.1.04.34 Loaded
Oracle SQL Developer Data Modeler oracle.datamodeler 3.0.0.665.2 Loaded
Oracle SQL Developer Data Modeler - Reports oracle.sqldeveloper.datamodeler_reports 11.1.1.04.34 Loaded
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.4.37.59.31 Loaded
Peek oracle.ide.peek 11.1.1.4.37.59.31 Loaded
Persistent Storage oracle.ide.persistence 11.1.1.4.37.59.31 Loaded
Property Inspector oracle.ide.inspector 11.1.1.4.37.59.31 Loaded
QuickDiff oracle.ide.quickdiff 11.1.1.4.37.59.31 Loaded
Replace With oracle.ide.replace 11.1.1.4.37.59.31 Loaded
Runner oracle.ide.runner 11.1.1.4.37.59.31 Loaded
SQL Developer Patch oracle.sqldeveloper.patch 11.1.2.04.39 Loaded
VHV oracle.ide.vhv 11.1.1.4.37.59.31 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.4.37.59.31 Loaded
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.4.37.59.31 Loaded
Virtual File System oracle.ide.vfs 11.1.1.4.37.59.31 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.4.37.59.31 Loaded
XML Editing Framework IDE Extension oracle.ide.xmlef 11.1.1.4.37.59.31 Loaded
audit oracle.ide.audit 11.1.1.4.37.59.31 Loaded
classpath: protocol handler extension oracle.jdeveloper.classpath 11.1.1.0.0 Loaded
jdukshare oracle.bm.jdukshare 11.1.1.4.37.59.31 Loaded
mof-xmi oracle.mof.xmi 11.1.1.4.37.59.31 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.4.37.59.31 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.4.37.59.31 Loaded
palette2 oracle.ide.palette2 11.1.1.4.37.59.31 Loaded
status oracle.ide.status 11.1.1.4.37.59.31 LoadedIt doesn't sound like this is the answer in your case, but here is a problem I had with tree icons in 6i which took me a while to figure out.
For some unknown and probably pointless reason, forms converts the tree query to uppercase before executing it. This can cause problems if the sql contains any hardcoded strings. In my case I was doing something like
decode(status,1,'red',2,'green')||icon_name
this resulted in REDicon when my icon was actually redicon.gif -
Status metric for the OEM plugin for DB2 Databases
Hi,
I am doing some testing of the OEM system monitoring plug-in for an IBM DB2 Database. I am starting with some very basic alerts such as when an instance is down. However, it is not working as I would expect. When the instance is stopped using the command db2stop I would expect OEM to determine that the database is down. However, OEM reports a metric collection error and not the database being down.
Does anybody have any experience with DB2 databases and OEM?
Thanks,
ChristineBy creating Groups for specific targets and authoriizing access to these groups you can have users only "seeing" databases or certain databases and other users only being able to see certain Middleware components etc.
Check
Oracle® Enterprise Manager Administration
11g Release 1 (11.1.0.1)
http://download.oracle.com/docs/cd/E11857_01/em.111/e16790/group_management.htm#DAFFHDCJ
for this
Regards
Rob
http://oemgc.wordpress.com -
Issues with universes for AS400 DB2 databases
I create Business Objects universes and Webi reports accessing data from AS400 DB2 databases (via ODBC). I have a couple of queries that I have been having trouble resolving. I hope someone in the forum is working on a similar set-up.
My queries are as follows:
1. If I have 2 different libraries with identical set of tables (physical files), after creating a universe in designer based on the tables in one library, is there an automated way to create another identical universe pointing to or referring to the 2nd library? Every physical file and field structure within it are the same. The only difference is that they are located in 2 different libraries, containing different data.
2. For physical files with 'multiple members', the reports generated by Business Objects seem to only access the data in the first member of the file. Is there a setting where this behavior can overidden or by passed. I think 'multiple members' is a characteric that unique to tables in AS400 DB2.
Would really appreciate the help! Thanks!Since it doesn't appear the Online Capture for DB2 is supported, I am trying to work around this and do the Offline capture.
I copied the generated files from the Offline Capture option (startDump.sh,getForeignKeys.sh,getProcedures.sh, and db2v9.ocp)to the Linux box where the DB2 Database resides.
After connecting to the DB2 Database (DB2DB1), I entered:
sh startDump.sh DB2DB1 USRNAME USRPSWD
to run the script startDump.sh. It produced files:
Connect.dat
Schemas.dat
It also created a subfolder (DB2DB1) containing:
checkConstraints.dat
foreignKeys.dat
indexes.dat
primarykeys.dat
routines.dat
synonyms.dat
tables.dat
triggers.dat
views.dat.
My question is what do I do with these files? I believe the documentation said that file db2v9.ocp was supposed to be modified, but it wasn’t modified after I ran startDump.sh. Was I supposed to run getForeignKeys.sh and getProcedures.sh, or did startDump.sh already run these? Can anyone provide an example of how this is to be run? The documentation doesn't provide a DB2 example.
Note: The DB2 Supplement: http://download.oracle.com/docs/cd/E15846_01/doc.21/e15286.pdf doesn't seem to discuss the offline capture. It doesn't reference the startDump.sh file at all. -
DB Adapter connecting to DB2 Database is giving Transaction Commit Error
Hi All,
I have a simple BPEL process in 11g which executes a select query through the DB adapter in the DB2 database
The below is the query
select column1,column2,column3 from table1 where column1='123456'
During the invoke of the DBAdapter I am getting the following Error in SOAP UI testing tool
++<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">++
++<env:Header/>++
++<env:Body>++
++<env:Fault>++
++<faultcode>env:Server</faultcode>++
++<faultstring>Exception occured when binding was invoked.++
++Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DB2Test' failed due to: DBWriteInteractionSpec Execute Failed Exception.++
*++unknown failed. Descriptor name: [unknown].++*
++Caused by java.sql.SQLException: Cannot call Connection.commit in distributed transaction. Transaction Manager will commit the resource manager when the distributed transaction is committed..++
++".++
++The invoked JCA adapter raised a resource exception.++
++Please examine the above error message carefully to determine a resolution.</faultstring>++
++<faultactor/>++
++<detail>++
++<exception>Cannot call Connection.commit in distributed transaction. Transaction Manager will commit the resource manager when the distributed transaction is committed.</exception>++
++</detail>++
++</env:Fault>++
++</env:Body>++
++</env:Envelope>++
The Datasource configured has "Support Global Transactions" option Checked and One Phase Commit selected.
Any help or pointers in this regard will be greatly appreciated.
Thanks in advance
Regards
Nithya SubramanianHi Anuj,
I tried the Option 2 given in the thread which you have mentioned.
Our DataSource is targeted to the managed server so we just restarted the managed server.
I am still getting the same error of
"Cannot call Connection.commit in distributed transaction. Transaction Manager will commit the resource manager when the distributed transaction is committed."
Are there any other alternative approach to fix this issue?
Regards
Nithya -
Connecting Oracle Reports (9i or higher) to a DB2 database
Hi all, this may just be a newbie question. In Oracle reports, is it possible to generate reports getting data from a DB2 database? I asked this because the clients of one of our projects requires us to print reports on both their oracle and db2 databases. We were thinking if we should use Oracle Reports as our standard reporting tool for this. What do you guys think?
Also any good articles, docs and info abt this topic is very much appreciated.
Thanks in advance for your time in reading this post.
regards,
espiPersonally, if it is feasible to do so, I would prefer to export and import specific application schemas or tablespaces rather than doing a full export and import. That's more of a personal preference thing.
I wouldn't be overly concerned about moving to a different operating system-- moving to a different Oracle version is likely a far more drastic change. That said, there are a number of things in Oracle that are operating system and/or version specific that have the potential to cause you problems, so you need to do a thorough test. Well over 99% of the features are going to behave exactly the same, but every application of sufficient complexity seems to manage to find one odd-ball scenario where something changes between releases.
Justin -
How to connect DB2 database to OPA ?
hi,
I m new to OPA. I am trying to connect DB2 database with the OPA so that i can proceed with writing rules. I m not able to find the exact method.There is a way of using import option in Xml format..But its not clear exactly how to do..Any help would be great here...
thanks..Shenoo,
We don't have anything specific in OPA 10.3 (or earlier) for reading and writing data to/from a database. We provide java and .NET API that will allow you to write a program which can connect to a database, push the data to OPA get the answer, write it back to the database, but all we provide there is the rules logic.
It the upcoming release 10.4. we plan to release a new Batch Processor that will allow you to run rules against tables in a database and write the results back to the database, or to a file. 10.4 is not yet released, but it currently in beta, and so should not be far off.
Cheers
Frank
Edited by: frank.hampshire on Feb 20, 2012 12:35 PM
Edited by: Davin Fifield on Feb 22, 2012 10:55 PM -
Upgrade DB2 database from 9.1 to 10.5
Dear All,
We are using Ecc6 with db2 database 9.1 now we want to upgrade database from 9.1 to 10.5. Is it possible to upgrade database & what are those steps are required for this operation. We are waiting your valuable support in this regards.
Regards
AbhijitHello,
Please check the guide https://websmp201.sap-ag.de/~sapdownload/011000358700000843422013E/DB6UpgrGuide10_5_upd.pdf
Database-Related Restrictions
If you are running DB2 for Linux, UNIX, and Windows Version 9.5 or lower, you first have to upgrade
the database to DB2 Version 9.7 or 10.1 as described in the relevant upgrade guide at:
http://service.sap.com/instguides Database Upgrades DB2 UDB
BR,
K. -
JDBC Driver Class for DB2 databases on OS/390
Hi,
To anybody who can help.
I am trying to connect to DB2 database on OS/390 from my PC - Windows 2000. I have loaded IBM DB2 Application Development Client V7.2 as well as IBM DB2 Administration Client V7.2 I guess this is called using Db2 Connect. I have done proper configuration of host databases.
Anyway, I write this small simple class to connect to Db2 database and I keep getting this error.
"Error loading Driver classjava.lang.ClassNotFoundException: com.ibm.db2.jdbc.app.DB2Driver
Sorry, No connection established"
This is my classpath....
C:\Program Files\SQLLIB\java\db2java.zip;
C:\ProgramFiles\IBM\ApplicationDeveloper\plugins\com.ibm.etools.webtools\jars\jspsql.jar;
C:\ProgramFiles\IBM\ApplicationDeveloper\plugins\com.ibm.etools.webtools\jars\dbbeans.jar;
C:\ProgramFiles\IBM\ApplicationDeveloper\plugins\com.ibm.etools.webtools\jars\dbbeans_javadoc.zip;
C:\Program Files\SQLLIB\java\runtime.zip;
C:\Program Files\SQLLIB\java\sqlj.zip;
C:\Program Files\SQLLIB\bin
This is my java class....
package JavaFiles;
import java.sql.*;
import java.lang.*;
public class DbConnection
public static void main(String[] args)
throws ClassNotFoundException,SQLException
String url = "jdbc:db2:db2test.state.sc.us:50000:DB2DB02";
String username = "db2admin";
String passwd = "db2admin1";
connect(url,username,passwd);
public static void connect(String url, String username, String passwd)
throws ClassNotFoundException,SQLException
try
Class.forName("com.ibm.db2.jdbc.app.DB2Driver");
Connection conn = DriverManager.getConnection(url,username,passwd);
System.out.println("Yes,You are connected");
catch(ClassNotFoundException cnfe)
System.err.println("Error loading Driver class" + cnfe);
System.out.println("Sorry, No connection established");
catch(SQLException sqle)
System.err.println("Error connecting to Database" + sqle);
Any help on this will let me move further in my project. ThankYou.Nice trap from IBM: package name starts with COM not
com!
Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");---Sure I tried that. Sorry. That doesn't work.
I tried with Class.forName("COM.ibm.db2.jdbc.net.DB2Driver");
That doesn't work either.
Is my connection URL OK? I made several kinds of format changes to the URL
"jdbc:db2://db2test.state.sc.us:50000/DB2DB02";
"jdbc:db2:db2test.state.sc.us:50000:DB2DB02";
etc....For now I am sticking with the first version.
Any more suggestions please. Did you take a look at my classpath. Is that OK? Should I rename db2java.zip to .jar and are there any other dir's where it should be contained?????
ThankYou all. -
How to creat a Business System and Tech System in SLD for the DB2 DataBase?
Hi,
How to creat a Business System and Tech System in SLD for the DB2 DataBase?
JosephHi,
Technical System
In SLD, click on technical landscape->New Technical System->WebAS ABAP.
Business System.
1.Goto Business Landscape->New Business System->Name the business system.
2. Choose the technical system that needs to be attached->WebAS ABAP->Technical System Name.
Go Through this links..
TBIT41:
https://websmp201.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT41&LANGUAGE=
TBIT42:
https://websmp206.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT42&LANGUAGE=
TBIT43:
http://www50.sap.com/useducation/curriculum/course.asp?cid=60161651
TBIT44:
https://websmp102.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT44
Also try elearning.
https://www.sdn.sap.com/irj/sdn/elearn
Thanks,
Satya Kumar -
Alternative of Describe command in DB2 Database
Hi
Mates
Recently i have been shifted from Oracle9i to IBM DB2 Database.The first and foremost thing i want to know from u Gurus is ..Wats the substitute of Describe command of Oracle Sql in DB2 becoz i tried number of times using Desc <Tablename>, but each and every time it throws an error message.
In addition to this if nebody knows ne web site which will help me to learn the basics of Db2 Database then plz put it down in ur reply.
Ur help id highly appreciated & expected too.
Thanks
Vineethi,
I wonder what kind of logic makes you ask a DB2 question on the Oracle Database General Forum.
I strongly suggest you to try on a DB2 forum.
or try to get lucky here:
http://www.google.be/search?hl=en&q=DB2+describe+tables&btnG=Search&meta=
The first hits looks very good for me
Maybe you are looking for
-
im trying to execute a joption window when the construcor is called but it never appears for some reason...heres my class. public class MysteryNumbersGame public static int BIGGEST_NUMBER=6; private static int MAX_GUESSES=10; private i
-
How do I retrive date field using Xpath
How do I retrive data,which is in date format in XML file using XPath query. If this is not possible, Is there any other alternative? Bye
-
Hi experts, I'm having a really weird issue. I'm trying to use the function HRIQ_PT_PROGRESS_DELETE_MASS to delete massively all the progressions results of my ST's. We have done a little program that uses this function like this call function
-
Cannot PREVIEW my eMail before sending; nor can I use BOLD, ITALIC etc.
In the past 3 days: Cannot PREVIEW my eMail before sending; nor can I use BOLD, ITALIC etc. I can add this: and I think you see the smiley-- but I cannot use the "B" bold button to make a selection of text bold; nor any other features for emphasis--
-
Error "Motion patch failed to render"
Hi all. I am trying to approach the same topic I approached a while ago here but with no cuccess. This problem has ground my productivity to a halt. Every time I go to render a sequence that has any motion template files in it I get this error "Motio