Error while pairing a resilient pair of Database Firewall
Hello,
I've downloaded and installed an Audit Vault Server and two Database Firewall 12.1.1 in three virtual machines using VMware workstation 9. I had no problem whatsoever with the installation of either of them and I was able to link both firewalls with my Audit Vault Server.
When I tried to create the resilient pair of firewalls in the Audit Vault Server a message pops up saying 'Failed to create resilient pair' and nothing more.
I've searched through the audit vault server for log files to point me in the right direction and I haven't found the right one yet.
My question is, Why is this happening? Where can I find the log file of the Audit Vault Server? I already found the one in /var/lib/oracle/dbfw/av/log but I haven't been able to find something useful there.
Thank you very much.
Mireya G
For anyone interested in this error I can tell you that I never managed to fix it in my test environment.
However, it happened in my implementation and it occurred because the minimum requirements weren't satisfied, in my case it was that in one of the DBFW an enforcement point was created.
Hope it helps someone.
Cheers.
Similar Messages
-
"Error while accessing porting layer for ORACLE database via getSessionId()
Hi,
My ejb3.0 Entity is created from Emp table in scott/tiger schema of an Oracle 10g database. I am guessing I made some mistake creating the datasource or uploading the driver, because when I run my application, I get a long exception stack trace. The bottom-most entry in the stack trace is:
Caused by: com.sap.sql.log.OpenSQLException: Error while accessing porting layer for ORACLE database via getSessionId().
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:148)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.createPooledConnection(DirectConnectionFactory.java:527)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:158)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:118)
at com.sap.sql.connect.factory.PooledConnectionFactory.createPooledConnection(PooledConnectionFactory.java:119)
at com.sap.sql.connect.factory.DriverPooledConnectionFactory.getPooledConnection(DriverPooledConnectionFactory.java:38)
at com.sap.sql.connect.datasource.DBDataSourceImpl.createPooledConnection(DBDataSourceImpl.java:685)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.matchPool(DBDataSourcePoolImpl.java:1081)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.matchPooledConnection(DBDataSourcePoolImpl.java:919)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.getConnection(DBDataSourcePoolImpl.java:67)
at com.sap.engine.core.database.impl.DatabaseDataSourceImpl.getConnection(DatabaseDataSourceImpl.java:36)
at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:123)
... 90 moreActually, now (after the GRANT described in my reply before) the Exception has changed to:
Caused by: com.sap.sql.log.OpenSQLException: Error while
accessing porting layer for ORACLE database via
<b>getDatabaseHost</b>().
at com.sap.sql.log.Syslog.createAndLogOpenSQLException
(Syslog.java:148)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.
createPooledConnection(DirectConnectionFactory.java:527)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.
createDirectPooledConnection(DirectConnectionFactory.java:158)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.
createDirectPooledConnection(DirectConnectionFactory.java:118)
at com.sap.sql.connect.factory.PooledConnectionFactory.
createPooledConnection(PooledConnectionFactory.java:119)
at com.sap.sql.connect.factory.DriverPooledConnectionFactory.
getPooledConnection(DriverPooledConnectionFactory.java:38)
at com.sap.sql.connect.datasource.DBDataSourceImpl.
createPooledConnection(DBDataSourceImpl.java:685)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
matchPool(DBDataSourcePoolImpl.java:1081)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
matchPooledConnection(DBDataSourcePoolImpl.java:919)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
getConnection(DBDataSourcePoolImpl.java:67)
at com.sap.engine.core.database.impl.DatabaseDataSourceImpl.
getConnection(DatabaseDataSourceImpl.java:36)
at com.sap.engine.services.dbpool.spi.
ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:123)
... 90 more -
Error while reading file entries from the database
Hi there,
We are running a instance of xmii 12 in a VM (VMware) and after somebody shutdown the host machine without shutting down the VM (great idea isn't it?) we keep getting this message when trying to access xMII:
"Application cannot be started.
Details: com.sap.engine.services.deploy.container.ExceptionInfo: Error while reading file entries from the database."
Any clue? Any suggestion on how we can recover from that?
Thanks a whole lot,
Dom
Server log:
#1.5 #000C29A3B1F20002000000C400000F2800044829A35270F8#1205243578005#/System/Server##com.sap.engine.services.dbpool.deploy.ContainerImpl####n/a##60152160ef7211dcb7a5000c29a3b1f2#SAPEngine_System_Thread[impl:5]_17##0#0#Info#1#com.sap.engine.services.dbpool.deploy.ContainerImpl#Plain###DataSources or DataSource aliases of 'sap.com/tcmonitoringsysteminfo' application started successfully.#
#1.5 #000C29A3B1F20002000000C500000F2800044829A3527A6C#1205243578005#/System/Server##com.sap.engine.services.servlets_jsp.server.container.WebContainer####n/a##60152160ef7211dcb7a5000c29a3b1f2#SAPEngine_System_Thread[impl:5]_17##0#0#Info#1#com.sap.engine.services.servlets_jsp.server.container.WebContainer#Plain###application [] Start of application [sap.com/tcmonitoringsysteminfo] finished successfully on Web Container.#
#1.5 #000C29A3B1F20002000000C600000F2800044829A3527DB5#1205243578005#/System/Server##com.sap.engine.services.deploy####n/a##60152160ef7211dcb7a5000c29a3b1f2#SAPEngine_System_Thread[impl:5]_17##0#0#Info#1#com.sap.engine.services.deploy#Plain###
Operation startApp over application sap.com/tcmonitoringsysteminfo finished successfully on server 305221750#
#1.5 #000C29A3B1F20002000000C700000F2800044829A3527E03#1205243578005#/System/Server##com.sap.engine.services.deploy####n/a##60152160ef7211dcb7a5000c29a3b1f2#SAPEngine_System_Thread[impl:5]_17##0#0#Info#1#com.sap.engine.services.deploy#Plain###
Operation startApp on application sap.com/tcmonitoringsysteminfo finished on current cluster node for 221 ms.#
#1.5 #000C29A3B1F20002000000C800000F2800044829A3528B49#1205243578005#/System/Server##com.sap.engine.services.deploy####n/a##60152160ef7211dcb7a5000c29a3b1f2#SAPEngine_System_Thread[impl:5]_17##0#0#Error#1#com.sap.engine.services.deploy#Plain###Error occurred while initially starting application sap.com/xappsxmiiear:Error while reading file entries from the database.#
#1.5 #000C29A3B1F20002000000CA00000F2800044829A352922B#1205243578015#/System/Server##com.sap.engine.services.deploy####n/a##60152160ef7211dcb7a5000c29a3b1f2#SAPEngine_System_Thread[impl:5]_17##0#0#Info#1#com.sap.engine.services.deploy#Plain###The synchronization of applications with DB completed for 39304 ms.#
#1.5 #000C29A3B1F200040000000200000F2800044829B290A4F8#1205243834341#/System/Server/SLDService##com.sap.sldserv.DataCollector####n/a##0da42150ef7311dcb908000c29a3b1f2#SAPEngine_System_Thread[impl:5]_7##0#0#Warning#1#com.sap.sldserv.DataCollector#Plain###Communication configuration is incomplete. No data transfer possible until corrected.#Well thanks for the hint. Actually, the DB was up but corrupted. I managed to solve the bug by re-deploying xMII (using the SDM tool) which kept all my data but redeployed both the config db of (x)mii and the class files.
-
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 -
I'm trying to pull data from an Oracle database using SSIS. When I try to select a few fields from the source table, it returns the following error message:
[OLE DB Source [47]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E14.
An OLE DB record is available. Source: "OraOLEDB" Hresult: 0x80040E14 Description: "ORA-01858: a non-numeric character was found where a numeric was expected".
An OLE DB record is available. Source: "OraOLEDB" Hresult: 0x80004005 Description: "ORA-01858: a non-numeric character was found where a numeric was expected".
The source columns are a combination of numeric and texts, and I've also tried selecting one of them, which didn't work. I'm using the Oracle client 11.2.0.1, and it works fine with any other data sources I have connected to so far. How can I resolve this
error?Hi H.James,
According to your description, the issue is a non-numeric character was found where a numeric was expected while pulling data from an Oracle database in SSIS.
Based on the error message, the issue should be you are comparing a number column to a non-number column in a query. Such as the query below (ConfID is a number, Sdate is a date):
where C.ConfID in (select C.Sdate
from Conference_C C
where C.Sdate < '1-July-12')
Besides, a default behavior for the Oracle OleDb Provider that change the NLS Date Format of the session to 'YYYY-MM-DD HH24:MI:SS can also cause the issue. For more details about this issue, please refer to the following blog:
http://blogs.msdn.com/b/dataaccesstechnologies/archive/2012/01/20/every-bug-is-a-microsoft-bug-until-proven-otherwise.aspx
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Error while trying to setup a standby database.
While tring to setup a standby database (with version 8.1.7.0.0) i am running the command:
recover managed standby database timeout 20;
Here is the errors i'm getting:
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/data/syndicate/standby/system/dup75_system01.dbf'
ORA-16016: archived log for thread 1 sequence# 6518 unavailable
Although it says that file 1 was not restored from sufficiently old backup I've copied all the datafiles from the primary database at once - using a script.
The archived log sequence it asks for is non-existant - the last one i have is # 6517.
Thank you guys in advance for any ideas.
GregI am having the same problem as you are when I am applying the current logs after successfully mounting standby database as seen below:
SVRMGR> alter database mount standby database;
Statement processed.
SVRMGR> recover standby database ;
ORA-00279: change 2939586 generated at 07/28/2002 01:09:33 needed for thread 5718
ORA-00289: suggestion : C:\ORACLE\ORADATA\STANDBY\ARCHIVE\STANDBYT571S00362.ARC
ORA-00280: change 2939586 for thread 5718 is in sequence #362
Specify log: {=suggested | filename | AUTO | CANCEL}
CANCEL
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: 'C:\ORACLE\ORADATA\STANDBY\SYSTEM01.DBF'
SVRMGR>
Just before copying the datafiles from the primary database I did the following:
Connected to the primary database:
1. alter database create standby controlfile as .....
2. alter system switch logfile
3. shutdown normal
4. took a cold backup (including archived redo logs)
Copied the data files, redolog files, archived redo logs and standby controlfile to standby database:
1. made copies of standby controlfile over current standby ones.
2. startup nomount (the standby database)
3. alter database mount standby database;
4. recover standby database;
That's when it asks for an archived redo log that does'nt exist and when I enter cancel, that's when I get the above error?
Am I not applying the latest redo logs to the latest cold backup of the primary database?
Your help would be much appreciated! -
Internal server error while connecting to Tandem NonStop SQL database
Hi -
We are trying to connect to the Tandem NonStop SQL database through JDeveloper.
We are using Type4 JDBC driver provided by Tandem NonStop and everything works fine from Database connection to testing the AppModule through the BC4J tester. The VOs return rows perfectly when we test the AppModule.
BUT -
When we try to invoke a jspx page (using embedded OC4J server) with an ADF Read Only table of the ViewObj, we get a "500 Internal Server Error" with following details. (Error listing at the end)
We are using:
JDeveloper 10.1.3.0 SU5
ADF JSF
And the database is NonStop SQL on Tandem NonStop Server S Series box.
Any help to resolve the issue will be highly appreciated. We also face problems when making this as a WebService - detals of which I will post in a new thread.
Thanks in advance,
Saran
Error Listing (portions removed)
JBO-30003: The application pool (model.PxdAppModuleLocal) failed to checkout an application module due to the following exception:
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
at oracle.jbo.JboException.<init>(JboException.java:346)
## Detail 0 ##
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
at oracle.jbo.JboException.<init>(JboException.java:346)
## Detail 0 ##
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
at oracle.jbo.JboException.<init>(JboException.java:346)
## Detail 0 ##
oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:220)
## Detail 0 ##
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:545)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:189)Kuba -
I have done exactly as mentioned in the link you have provided except that I am using JSF instead of Struts.
As I have mentioned earlier, if I test the AppModule through the BC4J tester it works fine. I can see my ViewObject with rows from the Tandem database. Only when I run the JSF page do I get the error. Is there something I need to configure in faces-config for accesing Tandme database?
Saran -
Error while trying to open physical standby database - (DATA GUARD)
Hi Everyone,
I have problems in opening the database of the physical standby in read- write mode/ read only mode. I have a primary server which is running on 2 node RAC and the standby on a seperate single server being used as DR. I recently got this server and my aim was to isolate the standby server from primary server and perform few test. As it has never been tested even once.
Primary Database spec: (2 Node Rac on ASM)
Oracle Version : 10.2.0.3.0
O/s : HP-UX B.11.23
Standby Database spec: (Single Node)
Oracle Version : 10.2.0.3.0
O/s: HP-UX db01 B.11.23
Error:
alter database recover managed standby database cancel;
Database altered.
SQL> alter database open
2 ;
alter database open
ERROR at line 1:
ORA-16004: backup database requires recovery
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '+DATA/dprod/datafile/system01.dbf'
Parameters :
log_archive_dest_2 string SERVICE=PROD1 LGWR ASYNC VALID
FOR=(ONLINELOGFILES,PRIMARY_
ROLE) DB_UNIQUE_NAME=PROD
remote_archive_enable string true
fal_client string DPROD
fal_server string PROD1, PROD2
Steps tried so far:
Changed log_archive_dest_2 = DEFER on both the primary nodes
Standby :
startup nomount
alter database mount standby database;
alter database recover managed standby database disconnect;
alter database recover managed standby database cancel;
alter database open/readonly (tried both)
Same error.
On Primary:
SQL> select max(sequence#) from v$log_history;
MAX(SEQUENCE#)
55702
on Standby:
MAX(SEQUENCE#)
33289
Primary Database:
SELECT SEQUENCE#, FIRST_TIME, NEXT_TIME FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;
SEQUENCE# FIRST_TIME NEXT_TIME
55700 13-JUN-11 13-JUN-11
55700 13-JUN-11 13-JUN-11
55701 13-JUN-11 13-JUN-11
55701 13-JUN-11 13-JUN-11
55702 13-JUN-11 13-JUN-11
60824 rows selected.
Standby Database:
SEQUENCE# FIRST_TIME NEXT_TIME
55698 13-JUN-11 13-JUN-11
55699 13-JUN-11 13-JUN-11
55700 13-JUN-11 13-JUN-11
55701 13-JUN-11 13-JUN-11
15206 rows selected.
Additional Information :
There is a delay of 20 minutes before the logs get applied. which has been intentional set by team.
Any help will be highly appreciated. Thanks in advance
SadiqHi,
Primary Database:
select status,checkpoint_count from v$datafile_header;
STATUS CHECKPOINT_COUNT
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
STATUS CHECKPOINT_COUNT
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 672472065
ONLINE 59736
ONLINE 59736
ONLINE 59736
ONLINE 59736
ONLINE 59736
STATUS CHECKPOINT_COUNT
ONLINE 57717
ONLINE 57717
57 rows selected.
Standby Database;
select status,checkpoint_count from v$datafile_header;
STATUS CHECKPOINT_COUNT
ONLINE 672445072
ONLINE 672445072
ONLINE 672445072
ONLINE 672445072
ONLINE 672445072
ONLINE 672445072
ONLINE 672445072
ONLINE 672445071
ONLINE 672445071
ONLINE 672445071
ONLINE 672445071
STATUS CHECKPOINT_COUNT
ONLINE 672445071
ONLINE 672445071
ONLINE 672445071
ONLINE 672445071
ONLINE 672445071
ONLINE 672445071
ONLINE 32742
ONLINE 32742
ONLINE 32742
ONLINE 32742
ONLINE 32742
STATUS CHECKPOINT_COUNT
ONLINE 30723
ONLINE 30723
57 rows selected.
Archieve log list :
Primary database:
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 49110
Next log sequence to archive 49111
Current log sequence 49111
Standby Database:
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 49110
Next log sequence to archive 0
Current log sequence 49111
I tried log switch multiple times in primary database i saw that its getting highlighted in standby database. -
Error while making connection with remote oracle database
Dear,
I am trying to make connection with oracle database but when i run java file it's raise an error "classnotfoundexception oracle.jdbc.driver.oracledriver"
DriverManager.getConnection(
"jdbc:oracle:thin:@erp:1521:ORCL", "apps",
"apps");
Pls any body have idea.
Thanks.Thanks for support.
Below is error which i am getting while making connection with remote database.
C:\Program Files\Java\jdk1.7.0_05\bin>java OracleJDBC
-------- Oracle JDBC Connection Testing ------
Where is your Oracle JDBC Driver?
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at OracleJDBC.main(OracleJDBC.java:13)
Advice. -
Error while opening PDF file downloaded from database Blob column
Hi All,
I am working on jdev 11.1.1.4.0.
In my use-case I am using filedownload Actionlistner on a link to get the PDF file stored in the database in blob field. These files are being uploaded from other use-case in adf only.
After getting the dialog box to open/save/cancel for the PDF file when i click on open then i am getting an error *'Adobe Reader could not open 'abc.pdf' because it is either not a supported file type*
or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly docoded)' for some files , and to my surprise I am able to open some files.
When I open these PDF files separately from desktop I am able to view the content of each and every file in adobe reader.
I dont know where the problem exactly lies , while uploading/downloading the file . Any ideas/thoughts to resolve this issue?
Thanks
KanikaThanks a lot Timo...!!!
I checked the PDF file downloaded directly from the blob column in DB, there only it is corrupted so must be the problem in uploading the file. I am checking the code line by line,, but no problem in setting the file content type,size etc.
Here is the code snippet ..
byte[] buff;
buff = new byte[(int)length]; -- Length is the file size
int bytesRead = is.read(buff);
for (int i = 0; bytesRead < buff.length; i++) {
// int b = is.read();
int b = is.read();
if (b == -1)
break;
buff[i] = (byte)b;
BlobDomain blobDomian = new BlobDomain((buff));
TestVORow = (TestVORow Impl)TestVO.createRow();
if(blobDomian != null) {
TestVORow.setAttachment(blobDomian);
am.getTransaction().commit();
This seems to be Ok to me..the same issue, file is still corrupting.
Any thoughts from your side ???
Thanks
Kanika
The problem is resolved.
Changes made are instead of
InputStream is;
used ... BufferedInputStream bis ;
and after
for (int i = 0; bytesRead < buff.length; i++) {
// int b = bis.read();
int b = bis.read();
if (b == -1)
break;
buff[i] = (byte)b;
bis.close(); // use this close bufferedInput Stream.
Able to open each and every file now..Thanks for your suggestions Timo and Frank.
Edited by: Kanika on Mar 6, 2012 3:15 AM -
Facing error while performing hang analysis in RAC database.
Hi,
We have been performing hang analysis in one of our RAC databases. While doing this we faced the below error after executing the systemstate command.
SQL> oradebug -g all dump systemstate 266
Error 601 encountered by local DIAG [ospid=11984]
Error 601 encountered by remote DIAG [ospid=25384][instance=2]
Error 601 encountered by remote DIAG [ospid=688][instance=3]
Please help us to troubleshoot this and guide us on how to proceed.
Database version is as follows.
11.1.0.7
OS version is as follows,
$ uname -a
SunOS isdtarhp001 5.10 Generic_144488-06 sun4v sparc SUNW,T5240
$ isainfo -vk
64-bit sparcv9 kernel modulesHi..
Check the note # SAP Note 1121978
SAP Note 1121978 - Recommended settings to improve peformance risk analysis.
Check for the following...
CONFIGTOOL>SERVER>MANAGERS>THREADMANAGER
ChangeThreadCountStep =50
InitialThreadCount= 100
MaxThreadCount =200
MinThreadCount =50
Regards
Gangadhar -
Getting an Error While Retrieving a Blog Data From Database
Hi,
I am trying to make a blog. I have successfully instered the blog into the database. Now I have displayed the stored blog on the main page and tried linking it to the database to open the blog on the seperate page.
Now when the data is linked to the destination in the data base, it should open what ever is stored in the database. But instead I am getting a strange error. It gives me an error of PAGE NOT FOUND along with the data stored in the database. It does retreive the data but also displays the PAGE NOT FOUND error. The image of dataset displayed on main page is given below:
The error which is displayed when I click the link is displayed below:
Can anyone please tell me how can I remove this error and get only data stored in the database?
Any material or help will be very much appreciated.
Regards,
Bilal A. KhanHi,
Thank you very much for the reply. I have made a seperate table of Blog in the database with several fields in it. I then made a simple text boxes, text field and a submit button and with insert command I insterted it in the database. The insertion works fine.
After that, I recorset of blog was made in the dreamweaver on the main page and simple repeat region was put on the table along with the data fields. After that I linked the data field with the data base like in the picture given above.
All the data is stored in the root folder and all data is stored in the database. I am using PHP and MYSQL for develpment and using WAMP Server.
I hope I have explained about how I have made the blog. If I have not answered what you had asked, please tell me again, I will provide you with more information.
Regards,
Bilal A. Khan -
Error while accessing a Table on Oracle Database 10.2
Hi Experts,
We have a table that contains a CLOB datatype in one of its column. However when i tried to access the table i get the below error.
<b>Table Name:</b> discrete_jobs
<b>Error:</b>
(Error starting at line 1 in command:
select * from [email protected]
Error report:
SQL Error: ORA-22992: cannot use LOB locators selected from remote tables
22992. 00000 - "cannot use LOB locators selected from remote tables"
*Cause: A remote LOB column cannot be referenced.
*Action: Remove references to LOBs in remote tables.)
Pleas Help!
Regards,
Ravi RSee some work arounds - "How to select table from remote database having clob field</a>
-
Error while saving the records in the database
Hi,
I am running into a wierd error.
I have built a new page which contains the information about the employees. Some of the fields are updatable fields. The page shows the details of the person who logs into the page.
I am not using EO in this page. The data is queried from the database from VO and displayed in the page and when the records are updated, they are saved in the databased using pl/sql procedure which is
being called from AM. So i am basically not using VO to save the records in the database.
The error which i am getting is,
If 2 users are trying to update the page at the same time, user A's details are updated in user B's page.
This is really causing the issue. Any help is greatly appreciated.
Thanks in advance.
PKI have posted the code used along with the dialog page. Please review.
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
pageContext.writeDiagnostics(this,"Pavan, Start1",OAFwkConstants.STATEMENT);
if (pageContext.getParameter("XYZBack")!=null)
pageContext.setForwardURL("OA.jsp?OAFunc=OAHOMEPAGE"// OAWebBeanConstants.RETURN_TO_MENU_URL also tryed this , same error
,null
,OAWebBeanConstants.KEEP_MENU_CONTEXT
,null //not needed as we are retaining menu context
,null // no parameters are needed,true //retain AM,OAWebBeanConstants.ADD_BREAD_CRUMB_YES
,true
,null
,OAWebBeanConstants.IGNORE_MESSAGES);
if(pageContext.getParameter("XYZUpdate") !=null)//The fields and their values are loaded as soon as the update button is clicked. We do this before calling the oadialog page so that the values are not lost
OAViewObject EmpDetailsVO3 = (OAViewObject)OAAppl.findViewObject("XYZPersInfoVO");
OARow EmpDetailsRow3 = (OARow)EmpDetailsVO3.first(); //Bringing the control over to the first row which is nothing but the displayed row.
if(EmpDetailsRow3 !=null)
s_workphone = EmpDetailsRow3.getAttribute("WorkPhone").toString();
if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
pageContext.writeDiagnostics(this,"workphone is: "+s_workphone,OAFwkConstants.STATEMENT);
s_fax = EmpDetailsRow3.getAttribute("WorkFax").toString();
if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
pageContext.writeDiagnostics(this,"Fax is: "+s_fax,OAFwkConstants.STATEMENT);
s_building = EmpDetailsRow3.getAttribute("Building").toString();
if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
pageContext.writeDiagnostics(this,"Building is: "+s_building,OAFwkConstants.STATEMENT);
s_room = EmpDetailsRow3.getAttribute("Room").toString();
if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
pageContext.writeDiagnostics(this,"Room is: "+s_room,OAFwkConstants.STATEMENT);
s_box = EmpDetailsRow3.getAttribute("Box").toString();
if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
pageContext.writeDiagnostics(this,"Box is: "+s_box,OAFwkConstants.STATEMENT);
s_preferedname = EmpDetailsRow3.getAttribute("KnownAs").toString();
if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
pageContext.writeDiagnostics(this,"Preferred name is: "+s_preferedname,OAFwkConstants.STATEMENT);
OAException OAExcep1 = new OAException("PER","XYZ_UPDATE_DETAILS");
OAException OAExcep2 = new OAException("PER","XYZ_UPDATE_MESSAGE");
OADialogPage OADialogPG1 = new OADialogPage(OAException.WARNING,OAExcep1,OAExcep2,
OADialogPG1.setOkButtonToPost(true);
OADialogPG1.setNoButtonToPost(true);
OADialogPG1.setOkButtonLabel("Yes");
OADialogPG1.setNoButtonLabel("No");
OADialogPG1.setOkButtonItemName("DoOk");
OADialogPG1.setNoButtonItemName("DoNo");
OADialogPG1.setPostToCallingPage(true);
pageContext.releaseRootApplicationModule();
pageContext.redirectToDialogPage(OADialogPG1);
else if(pageContext.getParameter("DoOk") != null)
OAApplicationModule EmpDetailsAM = pageContext.getApplicationModule(webBean);
Class[] paramtypes = {String.class, String.class, String.class, String.class,String.class,String.class,String.class};
Serializable[] params = {s_personid,s_workphone,s_fax,s_building,s_room,s_box,s_preferedname};
if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
pageContext.writeDiagnostics(this,"personid is :"+s_personid,OAFwkConstants.STATEMENT);
if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
pageContext.writeDiagnostics(this,"workphone is :"+s_workphone,OAFwkConstants.STATEMENT);
if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
pageContext.writeDiagnostics(this,"workfax is :"+s_fax,OAFwkConstants.STATEMENT);
if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
pageContext.writeDiagnostics(this,"building is :"+s_building,OAFwkConstants.STATEMENT);
if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
pageContext.writeDiagnostics(this,"room is :"+s_room,OAFwkConstants.STATEMENT);
if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
pageContext.writeDiagnostics(this,"preferredname is :"+s_preferedname,OAFwkConstants.STATEMENT);
pageContext.releaseRootApplicationModule();
OAAppl.invokeMethod("TransactionCommit",params,paramtypes);
OAAppl.invokeMethod("initDetails");
throw new OAException("The Building and Phone Information have been saved successfully"
,OAException.INFORMATION);
thank you -
Error while creating materialized view which using database link
Helo!
I'm getting error "ORA-00942: table or view does not exist" when I want to create materialized view.
Details:
1. On destination database I create a database link:
CREATE DATABASE LINK SDATABASE
CONNECT TO MYUSER
IDENTIFIED BY MYUSERPASS
USING 'ORCL';
=> Command "SELECT * FROM TABLE1@SDATABASE" returns data normally!
2. On source database I create MATERIALIZED VIEW LOG:
CREATE MATERIALIZED VIEW LOG
ON TABLE1
WITH PRIMARY KEY
INCLUDING NEW VALUES;
3. Now, when I want to create MATERIALIZED VIEW on destination database:
CREATE MATERIALIZED VIEW TABLE1
REFRESH FAST
START WITH SYSDATE
NEXT SYSDATE + 1/1440
WITH PRIMARY KEY
AS SELECT * FROM TABLE1@SDATABASE;
...I get error "ORA-00942: table or view does not exist"!
How is that possible if command "SELECT * FROM TABLE1@SDATABASE" returns data normally?
Thanks,
VorancAnd, I'm using Oracle 10g.
Voranc
Maybe you are looking for
-
Is there a way to "calibrate" the magic mouse? Batteries are good. I have rearranged settings for mouse, air-cleaned, tried different surfaces, however, it seems to be misinterpreting finger movements and randomly trying to open launchpad when enable
-
Crystal report : refresh
i have called crystal report from the from using DDE as follows..... declare AppID PLS_INTEGER; begin AppID := DDE.App_Begin('C:\Program Files\Crystal Decisions\Crystal Reports 9\crw32.exe Report2G.rpt', DDE.APP_MODE_MINIMIZED); end; .... now this is
-
Problem with Http RFC Scenario
hi all......... Am doing an HTTP RFC scenario. The scenario is working fine with all messages in IS, IE and AE being successful. But the problem is the RFC response am getting is not what is expected. When i run the RFC directly with the same in
-
Getting ads by deeal on many sites, can't find un-install/-subscribe.
In Chrome browser, I found this under extensions, and trashed it, but in Firefox, I don't see any add-on for these banners. The spelling is correct, btw (2 e's). Clicking on the ads gets me a site all in french, and no option to opt out. No uninstall
-
Hi All I have activated the HR Cube - 0PAPD_C02 ( Appraisal) . All the master data was loaded. For the relevant datasource 0HR_PA_PD_2 in RSA3 - 358 records were selected. Yet when the infopackage was scheduled no data was loaded ? error message was