OJMS Database Connection Leak

We have configured OJMS for JMS persistence in our application, what we have noticed is that application server seems to open 1 database connection for every new JMS connection. But if the JMS connection is closed the database connections seems to be alive. We are facing some random patterns regarding the connections being open, over a period of time the application seems to run out of database connections since all the connections are being acquired by OJMS.
This is really urgent we are in the post-production phase and this problem is hindering the go-live phase.

rakeshk wrote:
Hi Pointer,
Thank you for the reply, we are using 10.1.3 version of application server. We have tested this both on Windows & Unix flavours and getting the same result. As suggested in the documentation we have configured the datasource connection pool accordingly but no result at all.
We have around 20 threads running in the application and each thread acquires a independent JMS connection, what we have noticed is that for every thread in the application App Server is acquiring 2 database connection 1 for the JMS connection and the other for the JMS Destination. So whats happening is the moment the application is deployed and the threads are started we noticed around 40 connection being taken by OJMS. For the connection factory we have configured private connection pool. I dont know where we are going wrong.
-rakeshHi Rakesh,
I believe you may need to look into your application code and check how many connetions are been opened when a single user logins in to your application.Normally this behaviour is managed by OAS when you set Initial/Min cache parameter;however as a workaround try setting DB profile on the database inorder not to overflow the jdbc connections and from application prespective redcue the initial/min cache parameters and increase the Max connections, in addition set a lower inactivity timeout after monitoring the behaviour and response time of your application pages.
If you problem still persists , i would recommend to log on an SR with oracle support.
HTH !!
Regards,
~Pointer

Similar Messages

  • Closing the database connection after report in a server application

    I searched these forums and the internet for a definitive answer on asking the Crystal SDK for java to close the jdbc connection after it has generated a report.  We have been using the Crystal Report SDK to generate reports within our JEE application, built upon the Spring framework, for the past two years.  It works well, especially if you prepare views in the database for your reports.
    From what I can tell once you have used ReportClientDocument to create your report you all the close() method to release resources associated with report generation, but this does not close the jdbc database connection.
    Further research states that if you are using the CrystalReportViewer you can call the dispose method to close the database connection.  We are not using JSP nor this class, so that does us little good.
    Finally I found a post that one could call ((AdvancedReportDocument)reportClientDocument.getReportSource()).dispose().  This doesn't drop the connection either.
    Each report actually opens 3 connections according to SQL Server.  Each report will reuse the connections it has open, so for 50 reports, theoretically, we could have up to 150 connections.  We explained to our client those connections  remain inactive, however this is unacceptable to our client as they would like to minimize the number of connections left open to their database.
    If anyone can post any further information on this issue, it is much appreciated.

    Yes, another team member found the issue.  Quite embarrassing really I didn't see it.  I was looking for the answer within Crystal's libraries.  It had nothing to do with Crystal.
    The developer who wrote the helper code for using Crystal first opened a connection to the datasource for the live production database and read that connection information for the report. Next he set that connection information in the report template's PropertyBag, then ran the report. The developer however forgot to close the connection he used to look up the connection info, leaving a memory leak and using up all the connections.
    I'm glad you inquired.  I forgot to post the resolution here.

  • The error 600 occurred in the current database connection "LCA".

    Hi All,
    User is executing job /SAPAPO/TS_REALIGN_COPY in background,  as soon as the job is released its failing with runtime error:
    I check the Note 1126394 but not relevant.
    Runtime Errors         DBIF_DSQL2_SQL_ERROR
    Exception              CX_SY_NATIVE_SQL_ERROR
    Date and Time          18.08.2011 00:03:39
    Short text
         An SQL error occurred when executing Native SQL.
    What happened?
         The error 600 occurred in the current database connection "LCA".
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
         at and manage termination messages, and you can also
         keep them for a long time.
    How to correct the error
        Database error text........: "POS(1) Work rolled back: BAD_ALLOCATION in
         SAPTS_COPY_DA"
        Database error code........: 600
        Triggering SQL statement...: "EXECUTE PROCEDURE SAPTS_COPY_DATA"
        Internal call code.........: "[DBDS/NEW DSQL]"
        Please check the entries in the system log (Transaction SM21).
    If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "DBIF_DSQL2_SQL_ERROR" "CX_SY_NATIVE_SQL_ERROR"
        "/SAPAPO/SAPLOM_TIMESERIES" or "/SAPAPO/LOM_TIMESERIESU20"
        "/SAPAPO/OM_TS_DATA_COPY"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
    Information on where terminated
        Termination occurred in the ABAP program "/SAPAPO/SAPLOM_TIMESERIES" - in
         "/SAPAPO/OM_TS_DATA_COPY".
        The main program was "/SAPAPO/TS_RLG_COPY_SINGLE ".
        In the source code you have the termination point in line 57
        of the (Include) program "/SAPAPO/LOM_TIMESERIESU20".
        The program "/SAPAPO/SAPLOM_TIMESERIES" was started as a background job.
        Job Name....... "/SAPAPO/TS_REALIGN_COPY"
        Job Initiator.. "CIBERNLAPO2"
        Job Number..... 00015100
        The termination is caused because exception "CX_SY_NATIVE_SQL_ERROR" occurred
         in
        procedure "/SAPAPO/OM_TS_DATA_COPY" "(FUNCTION)", but it was neither handled
         locally nor declared
        in the RAISING clause of its signature.
        The procedure is in program "/SAPAPO/SAPLOM_TIMESERIES "; its source code
         begins in line
        1 of the (Include program "/SAPAPO/LOM_TIMESERIESU20 ".
    Kindly suggest any notes or is any setting needs to be modified.
    Regards,
    Kaasi

    Hello Ada,
    the job was aborted due:
    Database error text........: "POS(1) Work rolled back: BAD_ALLOCATION in 
         SAPTS_COPY_DA"
        Database error code........: 600
        Triggering SQL statement...: "EXECUTE PROCEDURE SAPTS_COPY_DATA"
        Internal call code.........: "[DBDS/NEW DSQL]"
        Please check the entries in the system log (Transaction SM21).
    From the posted dump.
    Was it lack of OMS heap memory, memory leaking, program error or huge data selection for application run it's not clear. It will be best for SAP customer to create the SAP message and get SAP support when application canceled due Database error BAD_ALLOCATION in  LCA routine.
    Regards, Natalia Khlopina

  • AppM File Passivation SQL92 Flavor for DB2 and causes Pool connection Leaks

    I am porting an ADF application to WebSphere and DB2 and noticed AM passivation goes from file to database. I have bc4j setup to use file passivation. When this happens I am noticing Connection are not being returned to pool. Has anyone experienced these 2 issues (Connection leaks and AM passivation to database)
    bc4j settings below are in place.
    -Djbo.doconnectionpooling=true
    -Djbo.txn.disconnect_level=1
    ADF Version: 11.1.1.59.23 ::: JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923
    Server Info: IBM WebSphere Application Server/7.0
    Host Operating System is AIX, version 7.1
    Java version = JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr9-20110624_85526 (JIT enabled, AOT enabled)
    J9VM - 20110624_085526
    JIT - r9_20101028_17488ifx17
    GC - 20101027_AA_CMPRSS, Java Compiler = j9jit24, Java VM name = IBM J9 VM
    BC4J is configured to perform file passivation instead of database. The temp files (BC59c10e3cBCD) are being created, but the application occasionally passivates to database.
    ConsoleDiagno C Establish database connection
    3 oracle.jbo.server.DBTransactionImpl establishNewConnection [15306] Before getNativeJdbcConnection='com.ibm.ws.rsadapter.jdbc.WSJccSQLJConnection
    3 oracle.jbo.server.DBTransactionImpl establishNewConnection [15307] After getNativeJdbcConnection='com.ibm.db2.jcc.am.gf
    3 oracle.jbo.pcoll.JDBCPersistManager handleControlTableExists [15308] **createControlTable** tabname=PCOLL_CONTROL already exists
    3 oracle.jbo.pcoll.JDBCPersistManager holdTableName [15309] **holdTableName** tabName=PS_IDMKRAppMod locked in controltab
    3 oracle.jbo.pcoll.PCollManager resolveName [15310] **PCollManager.resolveName** tabName=PS_IDMKRAppMod
    3 oracle.jbo.server.DBTransactionImpl closeTransaction [15311] *** closing jdbc connection now **** (com.ibm.db2.jcc.am.gf@4cb14cb1)

    Yes there are nested AMs in this case. I have a SQL92 flavor with Type Map set to Java, and running against a DB2 database. I have used reference site
    http://www.oracle.com/technetwork/developer-tools/jdev/multidatabaseapp-085183.html
    to properly configure my projects and setting and jbo options. What I am looking for is verification on the correct setting when this combination is used. I have dumped the runtime setting below. Are there any obvious problems below that may cause this behavior?
    [1135] {{ begin Loading BC4J properties
    [1136] -----------------------------------------------------------
    [1137] BC4J Property jbo.default.language='en' -->(MetaObjectManager) from System Default
    [1138] BC4J Property jbo.default.country='US' -->(MetaObjectManager) from System Default
    [1139] Skipping empty Property jbo.default.locale.variant from System Default
    [1140] BC4J Property DeployPlatform='LOCAL' -->(SessionImpl) from Client Environment
    [1141] Skipping empty Property ConnectionMode from System Default
    [1142] Skipping empty Property HostName from System Default
    [1143] Skipping empty Property ConnectionPort from System Default
    [1144] BC4J Property jbo.locking.mode='optimistic' -->(MetaObjectManager) from Client Environment
    [1145] BC4J Property jbo.txn.disconnect_level='1' -->(SessionImpl) from System Property
    [1146] Skipping empty Property ApplicationPath from System Default
    [1147] BC4J Property AppModuleJndiName='oracle.documaker.idocumaker.model.shared.app.IDMKRAppModuleAM' -->(SessionImpl) from Client Environment
    [1148] Skipping empty Property java.naming.security.principal from System Default
    [1149] Skipping empty Property java.naming.security.credentials from System Default
    [1150] Skipping empty Property jbo.user.principal from System Default
    [1151] BC4J Property jbo.simulate.remote='false' -->(SessionImpl) from System Default
    [1152] BC4J Property jbo.security.context='oracle.security.jazn' -->(MetaObjectManager) from System Default
    [1153] Skipping empty Property jbo.object.marshaller from System Default
    [1154] BC4J Property jbo.use.pers.coll='true' -->(SessionImpl) from Client Environment
    [1155] BC4J Property jbo.pers.max.rows.per.node='70' -->(SessionImpl) from System Default
    [1156] BC4J Property jbo.pers.max.active.nodes='30' -->(SessionImpl) from System Default
    [1157] BC4J Property jbo.validation.threshold='10' -->(SessionImpl) from System Default
    [1158] BC4J Property jbo.sparse.array.threshold='20' -->(SessionImpl) from System Default
    [1159] BC4J Property jbo.pcoll.mgr='oracle.jbo.pcoll.pmgr.DB2PersistManager' -->(SessionImpl) from System Property
    [1160] BC4J Property jbo.txn_table_name='PS_TXN' -->(SessionImpl) from System Default
    [1161] BC4J Property jbo.txn_seq_name='PS_TXN_seq' -->(SessionImpl) from System Default
    [1162] BC4J Property jbo.txn_seq_inc='50' -->(SessionImpl) from System Default
    [1163] BC4J Property jbo.control_table_name='PCOLL_CONTROL' -->(MetaObjectManager) from System Default
    [1164] BC4J Property jbo.stringmanager.factory.class='use_default' -->(SessionImpl) from System Default
    [1165] BC4J Property jbo.domain.date.suppress_zero_time='true' -->(MetaObjectManager) from System Default
    [1166] BC4J Property jbo.domain.bind_sql_date='true' -->(MetaObjectManager) from System Default
    [1167] BC4J Property jbo.domain.string.as.bytes.for.raw='false' -->(MetaObjectManager) from System Default
    [1168] BC4J Property jbo.fetch.mode='AS.NEEDED' -->(MetaObjectManager) from System Default
    [1169] BC4J Property jbo.323.compatible='false' -->(MetaObjectManager) from System Default
    [1170] BC4J Property jbo.903.compatible='false' -->(MetaObjectManager) from System Default
    [1171] Skipping empty Property JBODynamicObjectsPackage from System Default
    [1172] BC4J Property MetaObjectContextFactory='oracle.jbo.mom.xml.DefaultMomContextFactory' -->(MetaObjectManager) from System Default
    [1173] BC4J Property jbo.load.components.lazily='false' -->(MetaObjectManager) from System Default
    [1174] BC4J Property MetaObjectContext='oracle.jbo.mom.xml.XMLContextImpl' -->(MetaObjectManager) from System Default
    [1175] BC4J Property java.naming.factory.initial='oracle.jbo.common.JboInitialContextFactory' -->(SessionImpl) from Client Environment
    [1176] BC4J Property IsLazyLoadingTrue='true' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [1177] BC4J Property oracle.jbo.usemds='true' -->(MetaObjectManager) from System Default
    [1178] BC4J Property oracle.adfm.usemds='true' -->(MetaObjectManager) from System Default
    [1179] BC4J Property ActivateSharedDataHandle='false' -->(MetaObjectManager) from System Default
    [1180] Skipping empty Property HandleName from System Default
    [1181] Skipping empty Property Factory-Substitution-List from System Default
    [1182] BC4J Property jbo.project='oracle.documaker.idocumaker.model.SQL92Model' -->(Configuration) from Client Environment
    [1183] BC4J Property jbo.max.cursors='50' -->(MetaObjectManager) from System Default
    [1184] WARNING: Property jbo.dofailoverset to null
    [1185] Skipping empty Property jbo.dofailover from null
    [1186] WARNING: Property jbo.envinfoproviderset to null
    [1187] Skipping empty Property jbo.envinfoprovider from null
    [1188] Skipping empty Property jbo.rowid_am_conn_name from System Default
    [1189] BC4J Property jbo.rowid_am_datasource_name='jdbc/xxxxxxx' -->(MetaObjectManager) from Client Environment
    [1190] WARNING: Property jbo.ampool.writecookietoclientset to null
    [1191] Skipping empty Property jbo.ampool.writecookietoclient from null
    [1192] BC4J Property jbo.doconnectionpooling='true' -->(Configuration) from System Property
    [1193] WARNING: Property jbo.recyclethresholdset to null
    [1194] Skipping empty Property jbo.recyclethreshold from null
    [1195] WARNING: Property jbo.ampool.dynamicjdbccredentialsset to null
    [1196] Skipping empty Property jbo.ampool.dynamicjdbccredentials from null
    [1197] BC4J Property jbo.ampool.resetnontransactionalstate='true' -->(SessionImpl) from System Default
    [1198] WARNING: Property jbo.ampool.sessioncookiefactoryclassset to null
    [1199] Skipping empty Property jbo.ampool.sessioncookiefactoryclass from null
    [1200] WARNING: Property jbo.ampool.connectionstrategyclassset to null
    [1201] Skipping empty Property jbo.ampool.connectionstrategyclass from null
    [1202] WARNING: Property jbo.ampool.maxpoolsizeset to null
    [1203] Skipping empty Property jbo.ampool.maxpoolsize from null
    [1204] WARNING: Property jbo.ampool.initpoolsizeset to null
    [1205] Skipping empty Property jbo.ampool.initpoolsize from null
    [1206] WARNING: Property jbo.ampool.monitorsleepintervalset to null
    [1207] Skipping empty Property jbo.ampool.monitorsleepinterval from null
    [1208] WARNING: Property jbo.ampool.minavailablesizeset to null
    [1209] Skipping empty Property jbo.ampool.minavailablesize from null
    [1210] WARNING: Property jbo.ampool.maxavailablesizeset to null
    [1211] Skipping empty Property jbo.ampool.maxavailablesize from null
    [1212] WARNING: Property jbo.ampool.maxinactiveageset to null
    [1213] Skipping empty Property jbo.ampool.maxinactiveage from null
    [1214] WARNING: Property jbo.ampool.timetoliveset to null
    [1215] Skipping empty Property jbo.ampool.timetolive from null
    [1216] WARNING: Property jbo.ampool.doampoolingset to null
    [1217] Skipping empty Property jbo.ampool.doampooling from null
    [1218] WARNING: Property jbo.ampool.issupportspassivationset to null
    [1219] Skipping empty Property jbo.ampool.issupportspassivation from null
    [1220] BC4J Property jbo.ampool.isuseexclusive='true' -->(SessionImpl) from System Default
    [1221] BC4J Property jbo.passivationstore='file' -->(MetaObjectManager) from Client Environment
    [1222] BC4J Property jbo.saveforlater='false' -->(SessionImpl) from System Default
    [1223] BC4J Property jbo.snapshotstore.undo='persistent' -->(SessionImpl) from System Default
    [1224] BC4J Property jbo.maxpassivationstacksize='10' -->(SessionImpl) from System Default
    [1225] BC4J Property jbo.txn.handleafterpostexc='false' -->(SessionImpl) from System Default
    [1226] BC4J Property jbo.connectfailover='true' -->(SessionImpl) from System Default
    [1227] BC4J Property jbo.datasource_naming_factory='oracle.jbo.server.DataSourceContextFactory' -->(MetaObjectManager) from System Default
    [1228] WARNING: Property jbo.maxpoolcookieageset to null
    [1229] Skipping empty Property jbo.maxpoolcookieage from null
    [1230] WARNING: Property PoolClassNameset to null
    [1231] Skipping empty Property PoolClassName from null
    [1232] BC4J Property jbo.maxpoolsize='4096' -->(MetaObjectManager) from System Default
    [1233] BC4J Property jbo.initpoolsize='0' -->(MetaObjectManager) from System Default
    [1234] BC4J Property jbo.poolrequesttimeout='30000' -->(MetaObjectManager) from System Default
    [1235] BC4J Property jbo.poolmonitorsleepinterval='600000' -->(MetaObjectManager) from System Default
    [1236] BC4J Property jbo.poolminavailablesize='5' -->(MetaObjectManager) from System Default
    [1237] BC4J Property jbo.poolmaxavailablesize='25' -->(MetaObjectManager) from System Default
    [1238] BC4J Property jbo.poolmaxinactiveage='600000' -->(MetaObjectManager) from System Default
    [1239] BC4J Property jbo.pooltimetolive='-1' -->(MetaObjectManager) from System Default
    [1240] BC4J Property jbo.qcpool.monitorsleepinterval='1800000' -->(SessionImpl) from System Default
    [1241] BC4J Property jbo.qcpool.maxinactiveage='900000' -->(SessionImpl) from System Default
    [1242] BC4J Property RELEASE_MODE='Stateful' -->(MetaObjectManager) from System Default
    [1243] BC4J Property jbo.assoc.consistent='true' -->(MetaObjectManager) from System Default
    [1244] BC4J Property jbo.viewlink.consistent='DEFAULT' -->(MetaObjectManager) from System Default
    [1245] BC4J Property jbo.finder.range.size='DEFAULT' -->(MetaObjectManager) from System Default
    [1246] BC4J Property jbo.passivation.TrackInsert='true' -->(MetaObjectManager) from System Default
    [1247] Skipping empty Property jbo.ViewCriteriaAdapter from System Default
    [1248] BC4J Property jbo.SQLBuilder='SQL92' -->(MetaObjectManager) from Client Environment
    [1249] BC4J Property jbo.ConnectionPoolManager='oracle.jbo.server.ConnectionPoolManagerImpl' -->(MetaObjectManager) from System Default
    [1250] BC4J Property jbo.TypeMapEntries='Java' -->(MetaObjectManager) from Client Environment
    [1251] Skipping empty Property jbo.sql92.JdbcDriverClass from System Default
    [1252] BC4J Property jbo.sql92.LockTrailer='FOR UPDATE' -->(MetaObjectManager) from System Default
    [1253] BC4J Property jbo.jdbc.trace='false' -->(MetaObjectManager) from System Default
    [1254] BC4J Property jbo.abstract.base.check='true' -->(MetaObjectManager) from System Default
    [1255] BC4J Property jbo.assoc.where.early.set='false' -->(MetaObjectManager) from System Default
    [1256] BC4J Property jbo.use.findbykey.for.assoc='true' -->(MetaObjectManager) from System Default
    [1257] BC4J Property jbo.sql92.DbTimeQuery='select sysdate from dual' -->(MetaObjectManager) from System Default
    [1258] BC4J Property oracle.jbo.defineColumnLength='skipDefines' -->(MetaObjectManager) from System Default
    [1259] BC4J Property jbo.jdbc_bytes_conversion='jdbc' -->(MetaObjectManager) from System Default
    [1260] BC4J Property jbo.tmpdir='./' -->(MetaObjectManager) from Client Environment
    [1261] Skipping empty Property jbo.server.internal_connection from System Default
    [1262] BC4J Property SessionClass='oracle.jbo.server.SessionImpl' -->(SessionImpl) from System Default
    [1263] Skipping empty Property TransactionFactory from System Default
    [1264] Skipping empty Property jbo.def.mgr.listener from System Default
    [1265] Skipping empty Property jbo.use.global.sub.map from System Default
    [1266] BC4J Property jbo.debugoutput='console' -->(Diagnostic) from System Property
    [1267] BC4J Property jbo.debug.prefix='DBG: ' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1268] BC4J Property jbo.logging.show.timing='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1269] BC4J Property jbo.logging.show.function='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1270] BC4J Property jbo.logging.show.level='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1271] BC4J Property jbo.logging.show.linecount='true' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1272] BC4J Property jbo.logging.trace.threshold='6' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1273] BC4J Property jbo.jdbc.driver.verbose='false' -->(Diagnostic) from System Default
    [1274] Skipping empty Property oracle.home from System Default
    [1275] Skipping empty Property oc4j.name from System Default
    [1276] Skipping empty Property jbo.shared.txn from System Default
    [1277] BC4J Property jbo.ejb.txntimeout='1830' -->(SessionImpl) from System Default
    [1278] BC4J Property jbo.ejb.txntype='global' -->(SessionImpl) from System Default
    [1279] BC4J Property jbo.ejb.txn.disconnect_on_completion='false' -->(SessionImpl) from System Default
    [1280] BC4J Property jbo.ejb.useampool='false' -->(SessionImpl) from Client Environment
    [1281] Skipping empty Property oracle.jbo.schema from System Default
    [1282] BC4J Property jbo.xml.validation='false' -->(MetaObjectManager) from System Default
    [1283] BC4J Property ord.RetrievePath='ordDeliverMedia' -->(MetaObjectManager) from System Default
    [1284] BC4J Property ord.HttpMaxMemory='102400' -->(MetaObjectManager) from System Default
    [1285] Skipping empty Property ord.HttpTempDir from System Default
    [1286] BC4J Property ord.wmp.classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' -->(MetaObjectManager) from System Default
    [1287] BC4J Property ord.qp.classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' -->(MetaObjectManager) from System Default
    [1288] BC4J Property ord.rp.classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' -->(MetaObjectManager) from System Default
    [1289] BC4J Property ord.wmp.codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' -->(MetaObjectManager) from System Default
    [1290] BC4J Property ord.qp.codebase='http://www.apple.com/qtactivex/qtplugin.cab' -->(MetaObjectManager) from System Default
    [1291] Skipping empty Property ord.rp.codebase from System Default
    [1292] 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
    [1293] BC4J Property ord.qp.plugins.page='http://www.apple.com/quicktime/download/' -->(MetaObjectManager) from System Default
    [1294] BC4J Property ord.rp.plugins.page='http://www.real.com/player/' -->(MetaObjectManager) from System Default
    [1295] BC4J Property jbo.security.enforce='None' -->(SessionImpl) from System Default
    [1296] BC4J Property jbo.security.loginmodule='oracle.security.jazn.oc4j.JAZNUserManager' -->(SessionImpl) from System Default
    [1297] Skipping empty Property jbo.security.config from System Default
    [1298] BC4J Property jbo.server.useNullDbTransaction='false' -->(SessionImpl) from System Default
    [1299] BC4J Property jbo.domain.reopenblobstream='false' -->(MetaObjectManager) from System Default
    [1300] BC4J Property jbo.server.retainAssocAccessor='false' -->(SessionImpl) from System Default
    [1301] BC4J Property jbo.groovy.debug='false' -->(MetaObjectManager) from System Default
    [1302] BC4J Property oracle.adfm.DefaultEventPolicy='NONE' -->(MetaObjectManager) from System Default
    [1303] BC4J Property oracle.adfm.useRootFrameOnly='false' -->(MetaObjectManager) from System Default
    [1304] Copying unknown Client property (java.naming.factory.url.pkgs='com.ibm.ws.naming:com.ibm.ws.runtime:weblogic.corba.j2ee.naming.url:weblogic.corba.client.naming:com.ibm.ws.naming') to session
    [1305] Copying unknown Client property (jbo.applicationmoduleclassname='oracle.documaker.idocumaker.model.shared.app.IDMKRAppModuleAM') to session
    [1306] Copying unknown Client property (name='IDMKRAppModuleAMLocal') to session
    [1307] Copying unknown Client property (ApplicationName='oracle.documaker.idocumaker.model.shared.app.IDMKRAppModuleAM') to session
    [1308] Copying unknown Client property (JDBCDataSource='jdbc/xxxxxxx') to session
    [1309] Copying unknown Client property (java.naming.provider.url='corbaloc:rir:/NameServiceServerRoot') to session
    [1310] Copying unknown Client property (DBconnection='jdbc/xxxxxx') to session
    [1311] }} finished loading BC4J properties

  • Finding and Reporting Connection Leaks Web Application.

    So we have a web application that we know has connection leak(s). I have developed a test plan with JMeter to load test the app, but how do I find and report the connection leak, and what is the best tool to use for that? Basically my test plan runs through a use case scenario. I have added different types of listeners using jmeter to report different types of information that I get back.
    Also, is there a way to get the report back as a jsp, html page? Something kind of like the JUnit test reports do
    I would like the jmeter test to run, give the url, name of task-maybe, the time it took, success or fail, and current status - connected?
    Thanks in advance.
    orozcom

    What connections are those - sockets, database, ...? Actually, that doesn't probably matter. I'd use "grep" to find leaks of any kind. Every critical resource should be handled with try/finally:
        foo()
            WhateverConnection connection = null;
            try {
                connection = ConnectionFactory.openConnection();
                ...use it...;
            } finally {
                ConnectionFactory.close(connection); // Static function so that works with null
        }That goes for files, db connections, sockets, everything.
    Then any use of openConnection() that doesn't match that pattern is wrong and must be fixed. "grep" plus visual inspection should do it. They may be other pieces of code that are technically correct but look different; those are to be considered bugs and must be modified to conform to the exact same code template. All connection openings must look the same; the code audit easily misses bugs if each developer comes up with his own clever pattern.
    Finding leaks by testing will never find them all. Especially leaks that occur due to exceptions. try/finally is the right way to deal with those.
    Additionally, the connection factory could keep a list of open connections, and list them at request. I also like to log statistics periodically from the connection pool: how many connections have been opened, how many are open, how long min/max/average time a connection gets used, how much data are transferred, etc.

  • Connection Leak Exception in farm runs

    Hi
    I am trying to use the ADFBC to get a list of values for my backend data which will be displayed in the UI later. In the view, it works fine. There have been no errors. But during the farm runs there is an intermittent issue of the Connection Leak Exception.
    Array has 121
    ######################################### START
    2010-11-06 21:37:38,194 [[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG jdbc.leak checkLeakedConnections.267 -
    java.lang.Exception: Connection Leak Exception
         at oracle.sysman.util.jdbc.DefaultConnectionListener.connectionOpened(DefaultConnectionListener.java:168)
         at oracle.sysman.util.jdbc.ConnectionListenerManagerImpl.processConnectionEvent(ConnectionListenerManagerImpl.java:112)
         at oracle.sysman.util.jdbc.ConnectionCache.processConnectionEvent(ConnectionCache.java:471)
         at oracle.sysman.util.jdbc.ConnectionWrapper._fireOpenedEvent(ConnectionWrapper.java:1805)
         at oracle.sysman.util.jdbc.ConnectionWrapper.<init>(ConnectionWrapper.java:219)
         at oracle.sysman.emSDK.svc.conn.FGAConnection.<init>(FGAConnection.java:151)
         at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:330)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:1798)
         at oracle.sysman.emSDK.svc.conn.EMReposConnectionDataSource.getConnection(EMReposConnectionDataSource.java:63)
         at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:939)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1112)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6372)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:286)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855)
         at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:476)
         at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)
         at oracle.adf.model.BindingContext.put(BindingContext.java:1271)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:173)
         at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1005)
         at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1219)
         at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1122)
         at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1082)
         at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1126)
         at oracle.adf.model.BindingContext.get(BindingContext.java:1083)
         at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)
         at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)
         at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2682)
         at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2730)
         at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:305)
         at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1456)
         at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1564)
         at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2433)
         at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2378)
         at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4270)
         at oracle.adf.model.binding.DCExecutableBinding.refreshIfNeeded(DCExecutableBinding.java:341)
         at oracle.adf.model.binding.DCIteratorBinding.getAllRowsInRange(DCIteratorBinding.java:2306)
         at oracle.adf.model.binding.DCControlBinding.getAllRowsInRange(DCControlBinding.java:447)
         at oracle.sysman.db.provisioning.ui.pagemodel.common.tgtsel.DbProvisioningTgtSelPageModel.updateCollectionMap(DbProvisioningTgtSelPageModel.java:214)
    Any inputs on this.
    Thanks in advance
    Regards
    Rama

    A Few more updates to this issue
    public static Object resolveExpression(String expression) {
    FacesContext facesContext = FacesContext.getCurrentInstance();
    Application app = facesContext.getApplication();
    ExpressionFactory elFactory = app.getExpressionFactory();
    ELContext elContext = facesContext.getELContext();
    ValueExpression valueExp =
    elFactory.createValueExpression(elContext, expression,
    Object.class);
    return valueExp.getValue(elContext);
    CollectionModel model= (CollectionModel) resolveExpression("#{bindings.DbProvCurrentSnapshotVOInst.collectionModel}");
    if(null!=model) {
    JUCtrlHierBinding treeBinding = (JUCtrlHierBinding) model.getWrappedData();
    if(null!=treeBinding) {
    Row[] r = treeBinding.getAllRowsInRange();
    if(null!=r) {
    for(Row r1:r) {
    collectionTimeMap.put((String)r1.getAttribute(TARGET_NAME_ATTR),.....)));
    The region's pagedef has the following entry
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="11.1.1.55.49" id="targetselectionPageDef"
    Package="db.provisioning.common.tgtsel">
    <parameters/>
    <executables>
    <variableIterator id="variables"/>
    <iterator id="DbProvCurrentSnapshotVOInstIterator"
    Binds="DbProvCurrentSnapshotVOInst"
    DataControl="DbProvAMDataControl" RangeSize="25"/>
    </executables>
    <bindings>
    <tree IterBinding="DbProvCurrentSnapshotVOInstIterator"
    id="DbProvCurrentSnapshotVOInst">
    <nodeDefinition DefName="oracle.sysman.db.provisioning.model.view.DbProvCurrentSnapshotVO"
    Name="DbProvCurrentSnapshotVOInst0">
    <AttrNames>
    <Item Value="TargetName"/>
    <Item Value="StartTimestamp"/>
    </AttrNames>
    </nodeDefinition>
    </tree>
    </bindings>
    </pageDefinition>
    Application Module
    <AppModule
    xmlns="http://xmlns.oracle.com/bc4j"
    Name="DbProvAM"
    Version="11.1.1.56.77"
    ComponentClass="oracle.sysman.db.provisioning.model.applicationModule.DbProvAMImpl"
    DefClass="oracle.sysman.db.provisioning.model.applicationModule.DbProvAMDefImpl"
    ClearCacheOnRollback="true">
    <DesignTime>
    <Attr Name="_deployType" Value="0"/>
    <Attr Name="_isDefCodegen" Value="true"/>
    <Attr Name="_isCodegen" Value="true"/>
    </DesignTime>
    <ViewUsage
    Name="DbProvCurrentSnapshotVOInst"
    ViewObjectName="oracle.sysman.db.provisioning.model.view.DbProvCurrentSnapshotVO"/>
    </AppModule>
    bc4j entry
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BC4JConfig version="11.1" xmlns="http://xmlns.oracle.com/bc4j/configuration">
    <AppModuleConfigBag ApplicationName="oracle.sysman.db.provisioning.model.applicationModule.DbProvAM">
    <AppModuleConfig DeployPlatform="LOCAL" jbo.project="oracle.sysman.db.provisioning.model.DbProvisioningModel" name="DbProvAMLocal" ApplicationName="oracle.sysman.db.provisioning.model.applicationModule.DbProvAM">
    <Database jbo.TypeMapEntries="Java" jbo.locking.mode="optimistic"/>
    <Security AppModuleJndiName="oracle.sysman.db.provisioning.model.applicationModule.DbProvAM"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/EMReposDS"/>
    </AppModuleConfig>
    <AppModuleConfig DeployPlatform="LOCAL" jbo.project="oracle.sysman.db.provisioning.model.DbProvisioningModel" name="DbProvAMShared" ApplicationName="oracle.sysman.db.provisioning.model.applicationModule.DbProvAM">
    <AM-Pooling jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.isuseexclusive="false" jbo.ampool.maxpoolsize="1" jbo.ampool.resetnontransactionalstate="false"/>
    <Database jbo.TypeMapEntries="Java" jbo.locking.mode="optimistic"/>
    <Security AppModuleJndiName="oracle.sysman.db.provisioning.model.applicationModule.DbProvAM"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/EMReposDS"/>
    </AppModuleConfig>
    </AppModuleConfigBag>
    </BC4JConfig>
    The scenario is that I launch a page which has a region. This region needs to get a list of values from the backend. These values are coming from a VO.
    This issue happens only in the farms and I guess at times from the view, but doing a bounce of the server resolves the issue.
    Is there any setting that needs to be done ?
    Thanks
    Regards
    Rama

  • Exchange error id 74 Connection leak detected for key

    I found error on my Mailbox server and can't find any description for this error:
    (Process w3wp.exe, PID 3728) Connection leak detected for key contoso.ua/Enterprise Administrators/Exch_administrator in Microsoft.Exchange.Configuration.Authorization.WSManBudgetManager class. Leaked Value 2.
    Source:MSExchange RBAC
    Event ID:74
    Task Category:RBAC
    Level: Error
    Log Name: Application
    Exch_administrator - this is my user account. Any suggestion what it is can be?

    Hi,
    If you receive an alert that specifies that DataProtection is unhealthy, this indicates an issue that may affect the replication or cluster components, and that can prevent access to the Exchange databases.
    To troubleshoot the DataProtection health set, you can refer to the following article.
    Troubleshooting DataProtection Health Set
    http://technet.microsoft.com/en-us/library/ms.exch.scom.dataprotection(v=exchg.150).aspx
    For the FEP health set, it is related to the ForeFront. If you don't have ForeFront installed, you can disable this HealthSet on the server.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • Why handle count keeps increasing with active database connection?

    Hi,
    I have an application in which windows handle count keeps increasing..I did not find any reason why this is happening? could you please help me out? below is the code:
    I have also tried to close the database connection but not work.
    using System;
    using System.IO;
    using System.Data.Common;
    using System.Windows.Forms;
    using System.Threading;
    using System.Configuration;
    using System.Data;
    using System.Data.SqlClient;
    namespace SampleAppWithDbConnection
        class Program
            private static SqlConnection _oCon = null;
            public static SqlConnection oCon
                get
                    if (_oCon == null)
                        _oCon = new SqlConnection();
                    return _oCon;
                set
                    _oCon = value;
            public static int gIntervalo = 1000;
            [STAThread]
            public static void Main(string[] args)
                var gStrCon = ConfigurationManager.ConnectionStrings["Sql-ConnString-Token"].ToString();
                fConectaBase(oCon, gStrCon);
                fProcessa();
            private static void fProcessa()
                try
                    do
                        Thread.Sleep(gIntervalo);
                    while (true);
                catch (Exception)
            internal static bool fConectaBase(SqlConnection pCon, string pConnectionString = "")
                if (pCon.State != ConnectionState.Closed)
                    pCon.Close();
                pCon.ConnectionString = (pConnectionString == "") ? pCon.ConnectionString : pConnectionString;
                pCon.Open();
                return true;

    Hello Pramod,
    >>I have an application in which windows handle count keeps increasing
    If the windows handle(I assume you mean the object handles in Taks Manager bar) keeps increasing, it should means that the project keeps allocating new objects and does not close/dispose them. I notice that you are using ADO.NET API, I am wondering how you
    manage these connections, do you close/dispose the connection immediately after using them? If not, please do it and it is recommended.
    Please check if you call method to close/dispose connections in a finalize method, if so, this is not recommended since in a finalize method, these connections object would still keep alive and does not return to the connection pool, and for new connection
    request, application might increase more connection number to meet the request.
    You could make a test to call GC.Collect() to test if there is a memory leak, if it has, you could check this
    article, or it could be also a handle leak, this
    blog might be helpful for it.
    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.

  • SIMULATING CONNECTION LEAK

    I want to simuate Connetion LEAK
    Developed a small application having only 1 JSP FILE, 1 HTML only..In JSP file
    1 database connection object is used to insert a record into a database.The connection
    object is not closed.. So only one connection object...
    Enable VIEW LEAKING CONNECTIONS in ADMIN CONSOLE...When the appl is run , record
    gets inserted sucessfully.. When the JDBC CONNECTION is right cliked to VIEW LEAKED
    Connection, it does not show any message....
    I have not closed the connection object. So it should show leaked connection..why
    it is not displaying?????.........If this is the case, how can i check whther
    a connection leak is there or not

    Sarika Angadi wrote:
    Hi,
    We are using WLS6.1 SP5 and I am also getting below stack trace. This error is in production enviroment.
    Could you please update me soon on this?Hi. I believe it's a false warning, having to do with internally created connection
    objects in the context of sending RMI objects from server to server. You can ignore
    those messages. This is already fixed in sp6 and sp7. Here is the official sp5 patch.
    If you can't get it off this post, call support to get CR131575_610sp5.jar.
    Joe
    >
    Stack Trace:
    Dec 14, 2004 4:44:57 PM GMT+08:00> <Notice> <WebLogicServer> <Started WebLogic Managed Server "Managed09Dec2" for domain "gtdb10" running in Production
    Mode>
    [ConnectionImpl] : Detected Connection Leak!!!!! : java.lang.Throwable:
    Trace at
    create of ConnectionImpl
    at
    weblogic.jdbc.rmi.internal.ConnectionImpl.<init>(ConnectionImpl.java:
    47)
    at weblogic.jdbc.pool.Connection.writeReplace(Connection.java:1288)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.io.ObjectStreamClass.invokeMethod(Unknown Source)
    at java.io.ObjectOutputStream.writeObject(Unknown Source)
    at
    weblogic.common.internal.ChunkedObjectOutputStream.writeObject(Chunke
    dObjectOutputStream.java:115)
    at
    weblogic.common.internal.ChunkedObjectOutputStream.writeObject(Chunke
    dObjectOutputStream.java:121)
    at weblogic.jdbc.common.internal.RmiDataSource_WLSkel.invoke(Unknown
    Sou
    rce)
    at
    weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:360)
    at
    weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:93)
    at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:329)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    java:22)
    Thanks in advance,
    Sarika[CR131575_610sp5.jar]

  • Installation problem with NW'04 SR1: database connection failed

    Hi all,
    while installing NW '04 SR1 on Windows Server 2003 SP1 and MS SQL Server 2000 SP4 I ran into an error related to the database connection. While performing the step "Load Java Database content" SAPinst crashes with the message
    com.sap.sql.log.OpenSQLException: Could not load class com.ddtek.jdbc.sqlserver.SQLServerDriver.
    The connection to the SLQ Server with e.g. the Query Analyzer is OK. I had a problem with this installation setup before (have a look at the corresponding <a href="https://forums.sdn.sap.com/thread.jspa?threadID=338638&tstart=0">thread</a> ), the JDBC drivers where missing on the installation master but after copying them in the right direction the installation went on with no problem up to this point...
    Has anybody an idea what could have happened here? Is this maybe a problem connected to the one I recently had
    Below I attached the sapinst.log and jload.log with more detailed messages.
    sapinst.log ###########
    INFO 2007-03-12 22:06:24
    Working directory changed to C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_~1\ONE_HOST.
    INFO 2007-03-12 22:06:24
    Output of D:\Java/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\base.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\util.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\sqlserver.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\spy.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jce_export.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jsse.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_smime.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_ssl.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key' '-dataDir' 'S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP' '-job' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML' '-log' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log' is written to the logfile C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_~1\ONE_HOST/jload.java.log.
    WARNING 2007-03-12 22:06:26
    Execution of the command "D:\Java/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\base.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\util.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\sqlserver.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\spy.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jce_export.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jsse.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_smime.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_ssl.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key' '-dataDir' 'S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP' '-job' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML' '-log' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log'" finished with return code 1. Output:
    java version "1.4.2_13"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
    Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)
    12.03.2007 22:06:25 com.sap.inst.jload.Jload main
    INFO: Jload -sec WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key -dataDir S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP -job C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML -log C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log
    12.03.2007 22:06:26 com.sap.inst.jload.Jload main
    SCHWERWIEGEND: couldn't connect to DB
    com.sap.sql.log.OpenSQLException: Could not load class com.ddtek.jdbc.sqlserver.SQLServerDriver.
    ERROR 2007-03-12 22:06:26
    CJS-20065  Execution of JLoad tool 'D:\Java/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\base.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\util.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\sqlserver.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\spy.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jce_export.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jsse.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_smime.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_ssl.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key' '-dataDir' 'S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP' '-job' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML' '-log' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log'' aborts with returncode 1. Check 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log' and 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.java.log' for more information.
    jload.log ###########
    12.03.07 22:06 com.sap.inst.jload.Jload main
    INFO: Jload -sec WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key -dataDir S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP -job C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML -log C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log
    12.03.07 22:06 com.sap.inst.jload.Jload main
    SEVERE: couldn't connect to DB
    com.sap.sql.log.OpenSQLException: Could not load class com.ddtek.jdbc.sqlserver.SQLServerDriver.
    Best regards,
    Bernd

    Hello Kairat,
    Please follow the below mentioned guide to install it.
    Check all the parameters to set and run pre requisite checker before starting installation.
    Keep in mind that before starting any SAP installation you should always run prerequisite checker.
    https://websmp205.sap-ag.de/instguides --> SAP Netweaver -->SAP Netweaver 7.0 -- > Installations --> EHP2
    Regards,
    Amit Barnawal

  • Error while applying a patch "Unable to get the database connection"

    Dear Experts,
    A patch which got successfully applied is failing Production and the error is kind of surprising to me.
    Apps version is 11.5.10.2
    db version is 10.2.0.4
    The worker log file shows
    Time when worker restarted job: Thu Nov 24 2011 22:14:52
    Start time for file is: Thu Nov 24 2011 22:14:52
    adjava -ms128m -mx256m -nojit oracle.apps.fnd.odf2.FndXdfCmp &un_apps &pw_apps &un_apps &pw_apps &jdbc_protocol &jdbc_db_addr table &fullpath_pa_patch/115
    Reading product information from file...
    Reading language and territory information from file...
    Reading language information from applUS.txt ...
      Temporarily resetting CLASSPATH to:
      "/erp/oracle/prodappl/ad/11.5.0/java/adjri.zip:/usr/java14/jre/lib/charsets.jar:/usr/java14/jre/lib/core.jar:/usr/java14/jre/lib/graphics.jar:/usr/java1
      Calling /usr/java14/bin/java ...
    Exception occured
                  Copyright (c) 2003 Oracle Corporation
                     Redwood Shores, California, USA
             XDF(XML Object Description File) Comparison Utility
                            Version 1
    NOTE: You may not use this utility for custom development
          unless you have written permission from Oracle Corporation.
    Unable to get the database connection using schema username/passwordIo exception: The Network Adapter could not establish the connection
    AD Run Java Command is complete.
                         Copyright (c) 2002 Oracle Corporation
                            Redwood Shores, California, USA
                                        AD Java
                                     Version 11.5.0
    NOTE: You may not use this utility for custom development
          unless you have written permission from Oracle Corporation.
    AD Worker error:
    The above program failed.  See the error messages listed
    above, if any, or see the log and output files for the program.
    Time when worker failed: Thu Nov 24 2011 22:14:53
    {code}
    The error says database connection error.  I am able to connect to the database using sqlplus.  I tried to restart the failed worker, but the same error is repeating. 
    Any help would be appreciated.
    Thanks
    qARS
    Edited by: user7640966 on Nov 24, 2011 9:07 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hussein,
    One thing which I noticed now is in the apps Tier the
    tnsnames.ora under $TNS_ADMIN
    shows entry like this:
    PROD=
            (DESCRIPTION=
                    (ADDRESS=(PROTOCOL=tcp)(HOST=<appsServerName>)(PORT=1521))
                    (ADDRESS=(PROTOCOL=tcp)(HOST=<dbServer>)(PORT=1521))
                (CONNECT_DATA=
                    (SID=PROD)
            )Actually *(ADDRESS=(PROTOCOL=tcp)(HOST=<appsIPaddress>)(PORT=1521))* this line in the tnsnames.ora is not correct. In fact the appsServerName should be replaced with dbServerName
    I deleted the tnsnames.ora and reran autoconfig but it is again recreating the same entry.
    Any clue how this can be fixed?
    Thanks
    qARS

  • Can not find Function module in Crystal Report Database Connections FN

    Hi,
    we designed a Function Module XX in SE80.
    We set up BO Interagtion for SAP
    We can connect to the R3( CRM) System.
    We can See FN's.
    We can not see our Function Module XX we designed in SE80 in the Database Connection
    What is missing ?
    Any Authorization missing ?
    Which Where
    Thanks
    Martin Sautter

    Yes,
    we just have got it:
    /Database Assistant / Data / My Connections/<myConnection>/FN -> Right Mice Button/ Options ->  Table Name Like: <MYTABLE>
    than
    /Right Mice Button/Regenerate
    Thanks
    Martin

  • Problem with having several database connection registered in JDEVElOPER

    Hi
    Thank you for reading my post
    I have several AS registered in my Jdeveloper environemtn and several database connections.
    unfortunately some times Jdeveloper can not deploy an application into a server beacause it say that "I failed to create the connection pool", the project has no database stuff at all but Jdeveloper try to register and create connection pools for those connection that i hace registered in the Databse coonnection node.
    It fails because in that particular server which i want to deploy the application i have not add all databases JDBC driver.
    is there any solution for it?
    thanks

    Hi,
    see Tools --> Preferences --> Deployment
    Uncheck the "Bundle default data-sources.xml during deployment
    Frank

  • Problem with database connection in Jdev 11

    Hello,
    my jdev version is 11 and i want do really simple task create new database connection to my oracle db.
    I open database navigator and click new connection. i want jdbc connection but after i fill this form i pressed test connection button and get this error msg:
    Test failed: 4
    i think i have correct information but i tried this, i opened my older jdev 10 and copy jdbc url from my old db connection.
    In jdev 11 i checked Enter Custom JDBS Url and pasted url from jdev 10 and i get:
    Test failed: 4
    What is wrong?
    Thanks for your advice.
    J.

    I add new information:
    i cant connect to oracle db 8, but i try another db in my company which is 10 and its working fine.
    I write java class and try connect to db 8 via jdbc manually:
    String url = "jdbc:oracle:thin:@SERVER:1525:SID";
    String user = "user1";
    String password = "aaa";
    Class.forName("oracle.jdbc.driver.OracleDriver");
    // DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection(url, user, password);
    and i get this:
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 4
         at oracle.jdbc.driver.T4C8TTIdty.marshal(T4C8TTIdty.java:468)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:339)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:621)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:501)
         at java.sql.DriverManager.getConnection(DriverManager.java:525)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at project1.Class1.main(Class1.java:31)
    i hope this will be more usefull and i know i write this info about db's version little bit late.
    J.

  • Creating new Data Source Error - Database connection Failed

    Successfully installed and configured 11.1.1.3.0. Planning and Essbase dev.
    Went to Workspace > Administer > Classing Planning Administration > Manage Data Sources > Create Data Source.
    Entered all info about the application database , etc. Getting error "The database connection failed" (I was able to connect with no problem during the install)
    SQL server 2005 is on the same physical server.
    The diagnostic tool shows database connection passed for planning. A new database was created for the new application.
    The server event viewer shows these errors.
    "Login failed for user 'xxx-hyperion'. The user is not associated with a trusted SQL Server connection."
    Group Policy Error "The client-side extension could not apply computer policy settings for 'Default Domain Policy {xxx}' because it failed with error code '0x80070003 The system cannot find the path specified.' See trace file for more details. "
    The Group Policy client-side extension Group Policy Services failed to execute. Please look for any errors reported earlier by that extension.
    Any help is appreciated.

    Datasource for the application.
    I have created a sql db for this planning application (my datasource). See my first message for more details.
    When you create a new planning application, you need to associate it with a data source. Since this is a new install, I don't have any data sources available yet.
    So, "To create, edit or delete data sources, click Manage Data Source."
    This page lets you validate your connection to the database and essbase server. My essbase server connection validates! The database connection does not validate after I enter all the relevant information.
    SCREEN INFO BELOW
    Fields displayed with an asterisk (*) are mandatory.
    Data Source Name *:
    Data Source Description:
    Select Database Platform
    Microsoft SQL Server
    Application Database
    Server * :
    Port * :
    Database *:
    User *:
    Password *:
    Click "Validate Database Connection"
    ERROR ---> Database connection failed.
    So it does not let me create a data source for my new planning application, so I cannot create a new planning application.
    Thanks in advance.

Maybe you are looking for