Connection Leak with SP3

Hi-
I recently moved from 8.1SP1 to 8.1SP3 and WOW am I getting a lot of connection leaks. I never had this problem at all with SP1 and I'm quite concerned.
My app is probably 98% CMP but I do have a bit of direct access.
My app supports both Sybase and Oracle and I get the same leak warnings with both. Other than being annoying in the console however, it doesn't seem to have any ill effects .
Here is the warning:
<Nov 8, 2004 2:35:54 PM EST> <Warning> <JDBC> <BEA-001074> <A JDBC pool connecti
on leak was detected. A connection leak occurs when a connection obtained from t
he pool was not closed explicitly by calling close() and then was disposed by th
e garbage collector and returned to the connection pool. The following stack tra
ce at create shows where the leaked connection was created. [Null exception pas
sed, creating stack trace for offending caller]
at weblogic.utils.StackTraceUtils.throwable2StackTrace(Ljava.lang.Throwable;)Ljava.lang.String;(StackTraceUtils.java:28)
at weblogic.jdbc.wrapper.JTSConnection.finalizeInternal()V(JTSConnection.java:115)
at weblogic.jdbc.wrapper.JTSConnection_com_sybase_jdbc2_jdbc_SybConnection.finalize()V(Unknown Source)
at java.lang.Object.runFinalizer()V(Unknown Source)
at java.lang.LangAccessImpl.objectFinalize(Ljava.lang.Object;)V(UnknownSource)
at java.lang.ref.Finalizer.runFinalizer()V(Unknown Source)
at java.lang.ref.Finalizer.access$100(Ljava.lang.ref.Finalizer;)V(Unknown Source)
at java.lang.ref.Finalizer$FinalizerThread.run()V(Unknown Source)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)>
Any advice?
Dave

"David Spindle" <[email protected]> wrote in message news:17854103.1099951464437.JavaMail.root@jserv5...
I recently moved from 8.1SP1 to 8.1SP3 and WOW am I getting a lot of connection leaks. I never had this problem at all with SP1and I'm quite concerned.
>
My app is probably 98% CMP but I do have a bit of direct access.
My app supports both Sybase and Oracle and I get the same leak warnings with both. Other than being annoying in the consolehowever, it doesn't seem to have any ill effects .
>
Here is the warning:
<Nov 8, 2004 2:35:54 PM EST> <Warning> <JDBC> <BEA-001074> <A JDBC pool connecti
on leak was detected. A connection leak occurs when a connection obtained from t
he pool was not closed explicitly by calling close() and then was disposed by th
e garbage collector and returned to the connection pool. The following stack tra
ce at create shows where the leaked connection was created. [Null exception pas
sed, creating stack trace for offending caller]Null srack trace at create is a bug. Contact support for the patch.
Regards,
Slava Imeshev

Similar Messages

  • CR2008 connectivity issue with BOE Universes(sap and non sap universes)

    Hi Experts !!
    Recently we tried to build/connect to a Universe in Crystal Reports2008 via 'Make a new connection tab'.
    The universes are of SAP BW or non SAP Lying in BOE Servers and we are trying to build reports on them by conncting/utilizing the universes as a database for Crystal Reporting.
    Our issue is most of the time we are not able to connect to the Universes and the connectivity blows out by some 'communication Error' thing initially.
    While at some other points in time, the connectivity takes us to the Universe and we are able to select few characteristics and key figures from the Universe but the moment we go futher and try to run by pressing 'OK' button it blows out and say' LOGON FAILED'.
    Apparantly, it is an connectivity issue with BOE server and from the different blogs it looks like it is a known issue for long.
    The proposed issue resolution were like either CR2008 should be SP2 with BOE SP3 or there should be some additional .dll files defined in the paths in case of MSSQL database. None of this applies to us as we are on CR2008 with SP3 and going back to SP2 is probably not a viable option for us, and we are using Oracle as underlying database in this specific case.( i would like to tell you here that we are able to connect to Oracle Database directly though).
    We have raised a message with SAP and was just wondering if we do have some solution/workaround already available to this known issue in place please?
    Thanks&Regards.
    Edited by: AMIT GHILDYAL on Aug 1, 2011 2:41 PM
    Edited by: AMIT GHILDYAL on Aug 1, 2011 2:44 PM
    Edited by: AMIT GHILDYAL on Aug 1, 2011 3:14 PM

    Hi Amit,
    Moved to Universe Forum.
    If you have a case logged then no point posting here also, this is a public site and not a case management tool.
    Once you do get the solution from your case please post it here also to help others if they have the same problem.
    Thank you
    Don

  • Exchange Server 2010 with SP3 Management Tools

    Recently I have installed brand new Exchange Server 2010 with SP1 in my test domain. Afterwards I upgraded it to Exchange Server 2010 with SP3. On client machine (Windows 7 Pro with SP1 x64) I run setup.exe for Exchange Server 2010 with SP1 installation
    DVD to install Management Tools. All checks passed successfully but after installation was completed there was an error in EMC:
    The World Wide Web Publishing Service (W3SVC) isn't running on any Exchange servers in the site.  If you want to connect to Remote Powershell, this service must be running.  Make sure that the W3SVC is running on at least one Exchange server.
    Of course service is running. I read this has something to do with different versions of Exchange Server itself and Management Tools. Since there is no installation of Exchange Server 2010 with SP3 how to solve this? I assume if I have installation of Exchange
    Server 2010 with slipstreamed Service Pack 3, management tools installed from this installation would work.
    Also does this mean that, if I have working tools for Exchange Server and SP for it is installed later, tools will stop functioning?

    I would install SP3 on all servers and workstation as SP1 and SP2 aren't supported anymore and see how it is behaving...
    http://blogs.technet.com/b/rmilne/archive/2013/01/04/end-of-exchange-2010-sp1-support.aspx

  • 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.

  • Memory Leak with RDC (11.5.11.1732) using SetDataSource

    I believe I have identified a 20 byte memory leak each time a VB6 application calls Report.Database.SetDataSource and passes an ADO recordset (in craxdrt.dll version 11.5.11.1732 and earlier).
    I've created a simple VB application which demonstrates the problem. The program repeatedly loads a report and optionally calls SetDataSource.
    When running the program and monitoring for leaks with DebugDiag I observe the same 20 byte leak that I see in my live application if I enable calls to SetDataSource. Without the calls there is no leak.
    I have uploaded the VB source code for the test application, RPT file used for the test and the reports from DebugDiag for both the leaky and non-leaky runs to [http://www.turambar.co.uk/download/crystal/CrystalTest.zip]
    The two DebugDiag reports are as follows:
    Memory_Report__Project1.exe__10212009140853486.mht - run with no calls to SetDataSource
    Memory_Report__Project1.exe__10212009140007780.mht - run with calls to SetDataSource
    Looking at the second of these reports it can be seen that the leak originates at "Project1!Form1::SDS+ec C:\CrystalTest\Form1.frm @ 89". That function contains a single line of code which calls SetDataSource.
    Our live application is using CRXI R1 RTM (which has other leaks too but those disappear when upgrading to SP4).
    For this test application I have used CRXI R2 with FixPack 5.6 and the error still manifests.
    Option Explicit
    Dim objApp As CRAXDRT.Application
    Private Sub Form_Load()
        Set objApp = New CRAXDRT.Application
    End Sub
    Private Sub Form_Unload(Cancel As Integer)
        Set objApp = Nothing
    End Sub
    Private Sub Command1_Click()
        Dim i As Long
        Command1.Enabled = False
        DoEvents
        For i = 1 To CLng(Text1.Text)
            Call Stress
        Next
        Command1.Enabled = True
    End Sub
    Sub Stress()
        Dim objRep As CRAXDRT.Report
        Dim objRec As ADODB.Recordset
        Set objRec = New ADODB.Recordset
        Set objRep = objApp.OpenReport("test.rpt")
        If Check1.Value = vbChecked Then
             Call SDS(objRep, objRec)
        End If
        Set objRep = Nothing
    End Sub
    Sub SDS(objRep As CRAXDRT.Report, objRec As ADODB.Recordset)
        Call objRep.Database.SetDataSource(objRec)
    End Sub

    I've retested using VB.NET 2005. Still using ADO recordsets to pass the data through to Crystal.
            Dim objRep As ReportDocument
            Dim objRec As ADODB.Recordset
            Dim objConn As ADODB.Connection
            objConn = New ADODB.Connection
            objConn.Open("Provider=SQLOLEDB.1;Data Source=DB-HOST;Initial Catalog=TestDB", "simon", "mypass")
            objRec = New ADODB.Recordset
            objRec.CursorLocation = ADODB.CursorLocationEnum.adUseClient
            objRec.CursorType = ADODB.CursorTypeEnum.adOpenStatic
            objRec.LockType = ADODB.LockTypeEnum.adLockBatchOptimistic
            objRec.Open("SELECT TOP 1 * FROM simon.mytable", objConn)
            objRep = New ReportDocument
            objRep.Load("test.rpt")
            If Check1.CheckState = System.Windows.Forms.CheckState.Checked Then
                objRep.SetDataSource(objRec)
            End If
            objRep.Close()
            objRep.Dispose()
            objRep = Nothing
            objRec.ActiveConnection = Nothing
            objRec.Close()
            objRec = Nothing
            objConn.Close()
            objConn = Nothing
    With the calls to SetDataSource in place DebugDiag is again reporting various leaks which do not happen when that call is not made. I'm not too hot on .NET code so I hope I'm doing all the right things to clear down before I do the leak analysis. My main calling form forces GC cleanup before I start the dump:
            GC.Collect()
            GC.WaitForPendingFinalizers()
    I'm running this on Windows Server 2003 R2 SP2 with hotfix 939527 installed. For Crystal I installed CrystalReports11_5_NET_2005.msi from the 5.6 fixpack.
    Simon

  • Memory leak with 1.6.0_07 in applet using Swing

    Java Plug-in 1.6.0_07
    Using JRE version 1.6.0_07 Java HotSpot(TM) Client VM
    Windows XP - SP2
    I have a commercial application that has developed a memory leak with the introduction of the latest plugin. The applets chew up memory and eventually freeze. They did not before. Using jvisualm I see a build up of native arrays, primarily int[][] and char[]. I'm still investigating. Anyone have a similar experience?
    The Applet uses a swing interface, uses buffered images and swing timers, and regularly performs http connections to the server which result in actions via the SwingUtil.invokeLater() method.

    I am Using Internet Explorer Browser Version 6.0.Huge security hole.
    Its not throwing Error / Exception Wrap a try/catch at the highest level possible.
    Catch 'Throwable'. And log/display it somewhere.

  • Memory leak with UI automation

    Hi, 
    I noticed there is memory leak with UI automation in my window 8.1.
    I noticed there is solution for window 8
    http://support.microsoft.com/kb/2885482
    Is there any solution for window 8.1?
    I really appreciate for any help.

    Hi,
    I'm sorry for didn't hear anything about this issue. I'll try to connect the writer of this KB, hope we can find some suggestion. If there is any progress about this problem, I would come back.
    Roger Lu
    TechNet Community Support

  • Migration From Xcelsius 4.5 to Xcelsius 2008 with SP3

    Xcelius 4.5 using Live office XI Release 2 to access data. SWF file is published in BOXI R2 .
    Company is upgrading
    from BOXI R2 to BOXI R3.1;
    from Xcelsius 4.5 to Xcelsius 2008 with SP3;
    From Live Office XI R2 to Live Office XI 3.1
    Planning to use Import Wizard Import SWF file from BOXIR to BOXI 3.1
    Because of LIVE OFFICE is upgrading to BOXI 3.1, do i need to open Xcelsius 4.5 XLF(source file) into Xcelsius 2008 with SP3 and re-create SWF file & pubish into BOXI 3.1 ?
    Without recreate new SWF[Xcelsius 2008], file previous[Xcelsius 4.5] version SWF file work in BOXI 3.1 or not ?

    I would recommend updating your 4.5 XLF in Xcelsius 2008 and repoint the data with the new Live Office connection and publish the SWF.

  • Centro not sync-ing to Win XP Home with SP3

    My brand new Palm Centro failed to sync to Palm Desktop running on Windows XP Home with Service Pack 3.  The Palm "getting started" help desk (very polite, and free) told me I could go back to Service Pack 2, or upgrade to Vista.  There's some kind of incompatibilty between SP3 and current HotSync Manager.  I'll buy a Mac before I go to Vista, and rolling back is unattractive.  Anyone know of another work-around?
    Post relates to: Centro (Verizon)
    This question was solved.
    View Solution.

    Like WyreNut, I have two XP desktops with SP3 installed. One desktop has PD 4.2 installed, and I have had no Hotsync issues with my TXes.
    But the second desktop has PD 6.2.2 installed which I use with my Centro. I do not sync routinely (I don't really use the desktop for any contacts or calendar, and I backup daily with NVBackup to a SD card). And, since downloading SP3 on this desktop I have not run a Hotsync, until today.
    I plugged the Centro in, and pressed the Hotsync button on the cable connector, and absolutely nothing happened. Several times. The LED glows red indicating that the cable connection is OK. But the Hotsync button refused to initiate a Hotsync. So on the Centro, I went into the System category, and opened the Hotsync application, tapped the Hotsync icon in the middle of the screen to initiate a Hotsync directly from the Centro. Hotsync proceeded normally, though it took forever because I had not done a Hotsync since early September.
    After that Hotsync completed and Hotsync Manager shut down, I pressed the Hotsync button on the connector again, and as the seasonal poem goes (with apologies to Clement Clarke Moore):
    When what to my wondering eyes should appear,
    but the Hotsync Manager's progress bar so dear.
    I don't understand much about Windows, but maybe the Hotsync Manager just needed a jump start after installing SP3. Anyway, it's working fine now.
    Post relates to: None
    Message Edited by smkranz on 12-20-2008 12:58 PM
    smkranz
    I am a volunteer, and not an HP employee.
    Palm OS ∙ webOS ∙ Android

  • Error in finder method wrapper resulting in a connection leak

    we ar using OC4J 1.0.2.2.1 and dicowered some problems with connection leaking.
    The same was reproducable on 9.0.2.1 and 9.0.3 (the "J2EE 1.3 certified" version).
    Using CMP/CMT for Entity EJB.
    If we define the transaction attribute for a finder method returning single object as NotSupported
    and ObjectNotFound exception is thrown as a result of call to the finder method,
    connection is not closed.
    With emulated datasource this results in a connection pool overflow, with XA datasource
    the console gets conenction not closed exceptions but at least connections are closed (seriously influencin performance while waiuting for connection timeout).
    the same code executes with no problem on JBoss 2.4.x and 3.0 and on iPlanet.
    any comments on this - is this a bug or feature ?

    Please log a TAR with your support repesentative so that we can drill down on this issue. As described, this does not sound like the correct behavior but until the details are examined it is hard to tell.
    Thanks -- Jeff

  • DB connection handling with many adfbc AM

    Hi Gurus,
    Currently in my application we have some many AM (around 30). Initially it AM was created for each complex usecase for ease of separation. Down the line we realized the too many AM is not good and created a RootAM and nested the other AM inside the RootAM. We could manage to migrate most of the bindings to use the RootAM, however we left some of them due to the complexity.
    Now we end up with around 6 AM (including the RootAM). In the application AM required a DB connection and the application is taking around 6 DB connection per user (incase of 50 concurrent user 50 * 6 = 300). is there any way that we can specify/configure to use the same DB connection for these 6 AM (one DB connection per user)?
    Also i tried the following scenario in the browser, login into my application (i can be able see the no of connection in the weblogic console) after that close the browser, then check out the no of connection( it is same). In this case i guess the AM is still alive, so will the connection only release after the AM timeout or do we need to do any specific code to force release the connection on browser close ? How about the user logout (we destroy the session on logout click)
    Looking forward to hear from the gurus opinion on this

    Hi Philippe,
    The only way to most of it is using a debugger, like
    OptimizeIt. Weblogic 6.1 provides an ability to track
    connection leaks. Set console message level to
    warnings and you'll get notifications about leaked
    connections along with stack traces showing where
    leaked connection was created.
    Regards,
    Slava Imeshev
    <Philippe Lantin plantin_AT_cobaltgroup.com> wrote in message
    news:3bbc9fce$[email protected]..
    >
    >
    Hello,
    I would like to be able to track the usage of our db connection pools indetail.
    I need to know which beans or servlets are currently using pooledconnections,
    how long they have been using them, and how long the connections has beenidle.
    >
    Is this wishful thinking, or is there an easy way to find this out? Theinformation
    from the console tool is not detailed enough for our needs. I am trying totrack
    down a problem with unreleased db connections.
    I am using weblogic v.6.1 with oracle's type4 driver.
    -thanks-

  • 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]

  • HELP !!!! Connection LEAK

    In DOCS/Articles, it is mentioned that a TOOL is available to view the LEAKED CONNECTIONS,
    NO.OF CONNECTION AVAILABLE......
    REF :
    http://dev2dev.bea.com/products/wlserver81/articles/Chapman_Gahir.jsp
    Can anyone tell me Where this tool is available ? In Docs, it is given that in
    PetStore Example, the tool is avialble...But o could not find it...... Bcoz it
    is very difficult to know whether a connection leak occured or not....Even after
    Forcing Garbage Collector,,, i cannot see any Leaked Connection......
    Iam desperate and all my efforts to rule out connection leak is becoming waste..
    For the last 1 week iam into this job, and still not able to detect or view the
    connection...
    I have tried all the methods like,,,
    enable connection leak profile = true,
    Force Garbage Collection...
    But still icannot view any LEAKED CONNECTIONS....PLEASE HELP ME.. Iam getting
    mad.........

    I dont think there is any such tool provided by BEA to detect connection leaks.
    You can use the "enable connection leak profile " which will give Warning messages
    whenever a connection leak is detected by WLS Server.
    WLS 8.1 also provides an option of
    "Inactive Connection Timeout:" in the console which releases the connection into
    Pool if the connection is inactive for the specified period of time.
    Else you can also use Profiles like JProbe and Optimize it to detect memory leaks.
    However if you have properly closed all your connections you are not likely to
    any connection leaks unless there is an issue with the JDBC Drivers.
    "saiprabhusai" <[email protected]> wrote:
    >
    In DOCS/Articles, it is mentioned that a TOOL is available to view the
    LEAKED CONNECTIONS,
    NO.OF CONNECTION AVAILABLE......
    REF :
    http://dev2dev.bea.com/products/wlserver81/articles/Chapman_Gahir.jsp
    Can anyone tell me Where this tool is available ? In Docs, it is given
    that in
    PetStore Example, the tool is avialble...But o could not find it......
    Bcoz it
    is very difficult to know whether a connection leak occured or not....Even
    after
    Forcing Garbage Collector,,, i cannot see any Leaked Connection......
    Iam desperate and all my efforts to rule out connection leak is becoming
    waste..
    For the last 1 week iam into this job, and still not able to detect or
    view the
    connection...
    I have tried all the methods like,,,
    enable connection leak profile = true,
    Force Garbage Collection...
    But still icannot view any LEAKED CONNECTIONS....PLEASE HELP ME.. Iam
    getting
    mad.........

  • Jdbc connection leak problem in wls 8.1 sp1

    Fellows!
    I have problem finding a jdbc connection leak and hope to get some tips from
    a som friendly person who has some experience about this.
    The application contains some 100 classes and CMP beans.
    All connections are fetched with datasource.getConnection and are realesed
    in finally() immediately after the sql-query is done.
    Except for the entity beans of course which has the transaction required
    attribute set.
    Any ideas much appreciated!
    Best regards from the top of Europe - Luleå.
    Here the first snow has been falling and thin ice has freezed on the gulf of
    bothnia.
    Stefan

    Stefan Johansson wrote:
    Fellows!
    I have problem finding a jdbc connection leak and hope to get some tips from
    a som friendly person who has some experience about this.
    The application contains some 100 classes and CMP beans.
    All connections are fetched with datasource.getConnection and are realesed
    in finally() immediately after the sql-query is done.
    Except for the entity beans of course which has the transaction required
    attribute set.Hi. I don't understand this last 'except'. All jdbc code in bean methods
    should be defining a connection as a method variable, obtaining it from
    a TxDataSource in a try block, used completely, and closed as the only/first
    thing in the finally block. We will handle the close() correctly, it won't
    hurt the tx if there is one, and it will do the right thing if there isn't one.
    How do you know there's a leak? Usually our leak-detection shows where the connection
    was made, so you can find out why it wasn't closed...
    Joe
    >
    Any ideas much appreciated!
    Best regards from the top of Europe - Luleå.
    Here the first snow has been falling and thin ice has freezed on the gulf of
    bothnia.
    Stefan

Maybe you are looking for

  • What do I do if I have lost my MAC-installation CD and I want to do the partition of my MacBook Pro 15" i7 quadra-core?

    Hey guys and girls. I have bought the Windows 7 Home Premium, because I use some programs for my study that can only run on Windows. I have started the partition and finished installing, but the Windows system doesn't communicate with the drivers. So

  • MacBook Pro clock shows incorrect time

    My new MacBook Pro does not display the correct time when set automatically; its an hour behind. When set it manually, incoming emails are timed an hour behind the correct time. The time zone setting is correct (UK). Can anyone help me please?

  • PS CS 6 crashes

    I have used PS CS 5 and 6 for a couple of years and never had a crash until I downloaded the current Camera Raw update.  Now it crashes in the middle of every edit session.  Can I remove the update, or is there some other fix?

  • User confirm, generated report.

    Using BI published, I created a report that generates and displays all incomplete records inside of the database. Is there away to set a an (alert/procedure/trigger/confirm) that asks the user to confirm there transaction? For example, 1. User genera

  • Best method of trasferrring itunes??

    I have all my itunes on a gateway pc internal drive I just bought an iMac and want to keep all my itunes on an external drive. Is it as simple as buying the external drive, copying my old itunes drive from my gateway and then just plugging in the ext