Datasource pool are not recovered

Sometimes in our environment, weblogic lose the connection with the database for any reason:
- the network between weblogic server and data base server have some crash
- the data base is out
Most of the times, as soon as the connection is reestablished, the data source connections of the pool become available again. We have the properties 'test Frequency' and 'Test Table Name' setted.
But, in some cases not yet identified, the datasource pool keeps unavailable. The datasource isn't recovered even if it is restarted. The only solution is to restart weblogic server (version 10.3.2).
This happen in production and development environment. Unfortunately we couldn't map all variables that make this happen in order to reproduce it.
Does anybody have faced the same problem? Any hint?
Thanks. Mauro.

You could try setting the property Test Connections On Reserve on the connection pool. Now the connection will be tested
before it is given to the client.
Also the Test Frequency property can be used to test unused connections if they are still valid. By default this is set to 120
seconds.

Similar Messages

  • SEM Measure Builder - dataSource values are not appearing in measures

    Dear Experts
    we recently upgraded our SEM system from 4.0 to 6.0. I am getting few problems in measure builder catelouge entries. when i checked the measures in measure catalouge the datasource tab is blank. Can any one please tell me how do I get the results in datasource tab. Measure values are not appearing in DataSource tab in measure catalouge.
    Thanks
    Pramod

    Yes, all the column entries must have agg rule. You can specify one such as 'first' in the pivot table.

  • Close tab groups actually closes tabs rather than just the grouping. How do I recover all tabs, not just the last 10? Pages and tabs are not in recent history.

    I had a problem with tab groups - if I mistakenly close tab groups, I can only recover the last 10 tabs.
    I had a window with many more than 10 tabs which I reopened each session by going to History > Recently Closed Windows. I knew this was risky - I could lose this if I did not keep it in an open window or recently closed window. So I was looking for a way to save this window with all the tabs. I looked into tab groups and, not knowing what I was doing, I closed the groups of tabs. There seems to be no recovery for other than the last 10 tabs. And open tabs are not necessarily in recent history if I have not accessed the tab and refreshed.

    I don't use tab groups myself, but I know of a way to increase the number of closed tabs that Firefox remembers. Unfortunately, it's not retroactive...
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box above the list, type or paste '''sess''' and pause while the list is filtered
    (3) Double-click the following preferences and enter the preferred new value:
    (A) '''browser.sessionstore.max_tabs_undo''' (default: 10)
    (B) '''browser.sessionstore.max_windows_undo''' (default: 3)
    Regarding what is in history, by default, Firefox will load tabs on demand when you restore a session, rather than loading every single tab immediately. If you turned off that setting, or if you visited all the tabs, then those pages should be in history, but finding them amidst all the others would be quite a challenge...

  • HT201272 I updated my IPhone and it took away all music including my ring tones. I have been able to recover the songs but my ringtones are not showing under purchased. How do I get my ringtones back?

    I updated my phone and all my music, including rigntones went away. I was able to recover my songs under purchased. My ringtones are not showing under purcahsed. How do I get my ringtones back?

    I don't understand this answer. What do you mean " your contacts should be in whatever program/service you have selected to sync."? The address book is created on the phone not in Itunes or any other program/service. When Itunes says backing up phone I have to assume it backs up everything on the phone. Most of what's on my phone does not come out of itunes. I download apps directly on the phone. When the software updates it does not bring those apps back. I have to go into the appstore and install them all over again. Itunes music library syncs with whatever is on the device your linked up to BUT the phone book just dissappears after you update the phone. There is no way to save it anywhere else.

  • Changes are not reflecting in BI for datasource 0CRM_CONTACT_OUT

    Hi All,
    I have written some code for datasource 0CRM_CONTACT_OUT (Text data source), for some language thing in CMOD where i am just checking wether the language key is english or not if not then i am modifying the Language code to english.
    I have activated the code and checked that in RSA3 as well, where i am getting 3859 records and this is the total number of records as well . There are 2 fields for selection as well 1. is language key and other is changed at. So in RSA3 i have two options for selection as well.
    After all this i replicated the datasource in BI system but two problems i am facing there.
    1. No field is coming in selection screen at infopackage level.
    2. I am getting less records than what i am getting in RSA3.
    I tried every possible thing - replication, deleted the source system assignement and again re-created it. But nothing is working.
    We are on 3.5 version of BI.
    Any help will be apreciated.
    Thanks
    Dipika

    Hi Tyagi,
    Is ur issue is resolved related to the language.
    1.If the fields are not appearing in the Info package selection tab:
    Then u might not have marked the same in the datasource/transfer structure in the transfer rules level.
    2. If the records are becoming less:
    Then u need to take the same records into excel from R/3 datasource & after applying filters u check it.
    Some records might be differing with the values only. In that case, the no. of records will be getting aggregated at the BW side.
    I hope u might have got some idea in regard to this issue.
    Kindly revert.

  • I am facing problem in playing yahoo pool in Firefox 4 while it was working fine in Firefox 3.6. In Firefox 4 the combination of mouse keys are not working properly.

    I am facing problem in playing yahoo pool in Firefox 4 while it was working fine in Firefox 3.6. In Firefox 4 the combination of mouse keys are not working properly.

    I updated to Firefox 4.01 today and the middle scroll button on my Lenovo T400 stopped working. I downloaded the updated Ultranav utility and the Ultranav driver for my T400 from here http://www-307.ibm.com/pc/support/site.wss/MIGR-72858.html and then uninstalled the "Thinkpad Ultranav Driver" from Add/Remove programs rebooted and then installed the updated utility and driver (another reboot) and it now works perfectly.
    So glad to get this working again.

  • Does anyone know why since upgrading to ML notes are not visible in Time Machine. They used to be part of mail and could be recovered from Time machine but since ML I don't seem to be able to access notes in Time Machine. Any help would be useful.

    Does anyone know why since upgrading to ML notes are not visible in Time Machine. They used to be part of mail and could be recovered from Time machine but since ML I don't seem to be able to access notes in Time Machine. Any help would be useful.

    Welcome to Apple Communities
    Mail doesn't support notes. If you use iCloud, you have them in it because Notes is an application

  • 3 Files are in recovery modes & we are not having any backup, how to recove

    3 Files are in recovery modes & we are not having any backup, how to recover.
    select from v$recover_file;
    FILE# ONLINE ONLINE_ ERROR CHANGE# TIME
    137 ONLINE ONLINE 1.7142E+10 05-MAR-11
    138 ONLINE ONLINE 1.7142E+10 05-MAR-11
    139 ONLINE ONLINE 1.7142E+10 05-MAR-11
    These 3 files are part of tablespace, whcih is having total 26 files
    SQL> select FILE#,TS#,name from v$datafile where TS#=12;
    FILE# TS# NAME
    137 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_00.dbf
    138 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_01.dbf
    139 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_02.dbf
    140 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_03.dbf
    141 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_04.dbf
    142 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_05.dbf
    177 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_06.dbf
    178 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_07.dbf
    179 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_08.dbf
    180 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_09.dbf
    181 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_10.dbf
    182 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_11.dbf
    183 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_12.dbf
    184 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_13.dbf
    185 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_14.dbf
    186 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_15.dbf
    187 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_16.dbf
    188 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_17.dbf
    189 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_18.dbf
    190 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_19.dbf
    192 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_20.dbf
    195 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_21.dbf
    196 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_22.dbf
    200 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_23.dbf
    257 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_24.dbf
    258 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_25.dbf
    260 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_26.dbf
    Pls treat it urgent.

    Pls treat it urgent. If it's urgent , open a priority 1 service request on My Oracle Support/metalink.
    If it's not so urgent, set the datafiles to OFFLINE, so you can open the database.
    Without backup you only can recover if you have ALL archivelogs since creation of the files. Normally that's rarely the case.
    Werner

  • Pooled database connections are not being closed properly

    We are using WLS 9.2 and Microsoft SQL Server 2005 (version 1.1 of the Microsoft JDBC driver), and we are experiencing some strange behavior with the lifecycle of the connections in our data source pools. The WLS console may report that the current capacity of a pool is 5, but the database monitoring tools report that we have more than 5 connections open. It almost seems as though connections are getting dropped somehow and WLS thinks it has closed them and created new ones, but the original connections are never actually closed in the database. Our application is the only thing connecting to the DBMS instance in question, so the connections we are seeing have definitely been created by WebLogic. Any suggestions for tracking down the source of this problem would be greatly appreciated.
    Regards,
    Sabrina

    SabrinaL wrote:
    Thank you for your help. Here is our pool configuration (NOTE: Even though we're not using Oracle, we actually did create our own empty "DUAL" table to use for testing connections):
    <jdbc-connection-pool-params>
    <initial-capacity>10</initial-capacity>
    <max-capacity>10</max-capacity>
    <shrink-frequency-seconds>0</shrink-frequency-seconds>
    <test-frequency-seconds>0</test-frequency-seconds>
    <test-connections-on-reserve>true</test-connections-on-reserve>
    <test-table-name>DUAL</test-table-name>
    </jdbc-connection-pool-params>
    I'm not sure exactly when the problem starts occurring because we only recently
    noticed it; as far as we can tell, it's pretty random. We have seen occasional
    application errors where it appears that the app cannot obtain a connection from
    the pool, but I'm not sure if that issue is directly related to this particular
    problem. We were careful to scale our pool size such that it should always have
    enough connections, so I'm not sure how this is possible. We are running a cluster.
    Regards,
    SabrinaOk, then for every server in the cluster, the server will make 10 connections.
    Because you are using SQLServer, your 'test table' (that is an overloaded
    field) should be set to actually define SQL that we can use for a quick test:
    <test-table-name>SQL select 1</test-table-name>
    That will be quicker than selecting from any real table.
    We would need more info about the problem. If you turn on
    JDBC logging, we might capture the exceptions that indicate
    problems with the pool, however, as configured, the pools
    will have only 10 connections, and will close and replace
    any that fail the test. Do you have a firewall between the
    DBMS and WebLogic?
    Joe

  • Help!!! the app Iphoto is closed marking a erros. I go back and open the application and are not photos. How can I recover them? Are not in the image folder.

    I was editing my photos and adding them to a album and suddenly the app is closed marking a erros. I go back and open the application and are not photos. How can I recover them? Are not in the image folder.

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • After restoring my iMac to factory settings it doesn't allow me to get iPhoto, iMovies and pages, which i had from the os x update. anyone knows how to recover them, as they are not on the purchased items? thanks

    after restoring my iMac to factory settings it doesn't allow me to get iPhoto, iMovies and pages, which i had from the os x update. anyone knows how to recover them, as they are not on the purchased items? thanks

    From your backup. 

  • I was using my bros account for icloud, he changed & forgot the pass now i want to sign out & put mine but i'm not able to do that and he couldnt recover bcz he did it long time ago and apple support are not sending a recovery email to his email?

    i was using my bros account for icloud, he changed & forgot the pass now i want to sign out & put mine but i'm not able to do that and he couldnt recover bcz he did it long time ago and apple support are not sending a recovery email to his email... what shall i do now to sign out?

    Tell him to contact the Apple account security team for his country and ask for assistance changing the password: http://support.apple.com/kb/HT5699.  If his country isn't listed, he can try contacting iTunes store support by filling out this form: https://www.apple.com/emea/support/itunes/contact.html.

  • RDL Reports are not working after installing SQL Server 2012 Service Pack 2 in the SharePoint integration Mode

    I am using Reporting Service Integration mode with SharePoint. SSRS is installed on separated machine of SharePoint stacks in Integration Mode. Everything was working properly and I could create/edit/modify RDL reports(parameters, Datasource, Subscription)
    inside SharePoint and Document Libraries.
    But after installing SQL Server 2012 Service Pack 2, on opening RDL reports inside SharePoint I receive this error message. 
    The permissions granted to user 'i:0#.f|membership|username' are insufficient for performing this operation. ---> Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The permissions granted to user 'i:0#.f|membership|username' are insufficient for performing this operation
    I should mention that SSRS is installed in the SharePoint integration Mode and there is no SSRS management console.

    Hi Hedayat-Abedijoo,
    According to your description, you are using Reporting Services in SharePoint Integrated mode, and everything worked fine before you install SQL Server 2012 Service Pack 2. After the package is installed, when you open RDL reports, the error occurred: The
    permissions granted to user 'i:0#.f|membership|username' are insufficient for performing this operation.
    According to my search, there may be two reasons for the problem:
    This is caused when the application pool account that runs the SharePoint Web application you are on in IIS and the application pool account that SharePoint believes is running the site differ. This happens if the application pool account is changed directly
    in IIS instead of through SharePoint (using the approved method).
    This error can be caused when Kerberos authentication has been set up correctly and delegation in a double hop scenario will succeed, but Reporting Services integration has been set up for Trusted Account rather than Windows Authentication. This causes
    SharePoint to continue to impersonate the logged-on user when contacting Reporting Services; when Reporting Services compares the application pool account to the user account making the request, they are not equal.
    In this case, we can solve the problem by changing the application pool account in IIS back to the previous account and set AuthenticationTypes to RSWindowsNTLM only. For detail information, please refer to 8.3 “The permissions granted to user 'Domain\User'
    are insufficient for performing this operation” in the document:http://msdn.microsoft.com/en-us/library/ee384252(SQL.100).aspx
    If you have any questions, please feel free to let me know.
    Thanks,
    Wendy Fu

  • SQL operations are not allowed with no global transaction by default for X

    Hi All,
    I am getting the above mentioned error.
    java.sql.SQLException: SQL operations are not allowed with no global transaction by default for XA drivers. If the XA driver supports performing SQL operations with no global transaction, explicitly allow it by setting "SupportsLocalTransaction" JDBC connection pool property to true. In this case, a
    lso remember to complete the local transaction before using the connection again for global transaction, else a XAER_OUTSIDE XAException may result. To complete a local transaction, you can either set auto commit to true or call Connection.commit() or Connection.rollback().
    I am developing a web application. I have jsp, servlets, JDBC classes.
    I am using DataSource and Connection pools.
    I am on WLS 8.1 sp3 and Oracle 10.1.
    Part of My Config file looks as follows:
    <JDBCConnectionPool DriverName="weblogic.jdbcx.oracle.OracleDataSource" KeepLogicalConnOpenOnRelease="true" KeepXAConnTillTxComplete="false" Name="AUMDataSource" NeedTxCtxOnClose="false" NewXAConnForCommit="false" Password="{3DES}AKRkWgdzXN8WrXSRtSvJ6g==" Properties="user=pibsrmgr;portNumber=1521;SID=pibsrdod;serverName=pibsrdod.dtu.mlam.ml.com" RollbackLocalTxUponConnClose="true" SupportsLocalTransaction="false" Targets="myserver" TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:bea:oracle://pibsrdod.dtu.mlam.ml.com:1521" XAEndOnlyOnce="false" />
    <JDBCTxDataSource EnableTwoPhaseCommit="true" JNDIName="jdbc/AUMDataSource" Name="AUMDataSource" PoolName="AUMDataSource" Targets="myserver" />
    Any help will be appreciated.
    Thanks
    ---Radhe

    Hi,
    Regarding Transactions , the following link can helpful to you .
    Regards,
    Prasanna Yalam

  • Problem w/ DataSource Pooling

    We are having difficulty getting 9iAS DataSource Pooling to work. We are using 9iAS 9.0.3 (without Infrastructure) and, as per the J2EE Services Guide, have :
    1) Added...
    Context ic = new InitialContext();
    DataSource ds (DataSource) ic.lookup("jdbc/OracleDS")
    Connection con = ds.getConnection();
    ...to our code.
    2) Modified the default DataSource's url, username, password, min-connections & max-connections from within Enterprise Manager (leaving ejb-location as is at "jdbc/OracleDS") and restarted the Instance.
    The app generates an exception when trying to locate the OracleDS, however.
    We have also tried replacing the "com.evermind.sql.DriverManagerDataSource" class with "oracle.jdbc.pool.OracleConnectionCacheImpl" as per another post's recommendation.
    It appears that others have had similar problems (prior to 903?), but some have, in fact, (now) got this working successfully -- what are we missing please......?
    Thanks.

    we are coming up with a much clearer and simpler to use data-sources story, which, for now, is the following:
    1) if your component does not requires JTA services then you must use JDBC vendor specific data source such as oracle.jdbc.pool.OracleConnectioncacheImp -- only "location" JNDI context needs to be specified in data-sources.xml (and you must lookup the data source specified at this location -- you get JDBC (vendor's specific, in this case Oracle) pooling/caching
    2) if your component requires JTA services but does not require 2PC, then you must use OC4J emulated data sources DriverManagerDataSource -- "location", "ejb-location" and "xa-location" JNDI contexts must be specified in data-sources.xml but we strongly recommend to only lookup the data source specified at ejb-location -- you get OC4J connection pooling
    3) your component requires JTA AND 2PC services, you must use OC4J's non-emulated data sources OrionCMTDataSource -- only "location" JNDI context needs to be specified in data-sources.xml (and you must lookup the data source specified at this location -- you get Oracle JDBC pooling/caching -- look the doc for additional configuration (dblink, commit-coordinator, etc)
    Anything else will lead to unwanted behavior
    Kuassi

Maybe you are looking for

  • 80GB Ipod classic Not working

    well i have a 80 gb ipod classic and as soon as i plug into my computer it just decideds to freeze itunes and not let me click anything on itunes but allows me to still run everything else, also in my computer my ipod appears there but does not allow

  • Media out or not loaded correctly when attempting to print since iOS 7 upgrade?

    Since ios7 upgrade my mini gives me "media out or not loaded correctly" when attempting tp print to Epson r2400. Apple support directed me through a new setup. It worked for a few days and on it's own reverted back to the original problem.

  • Find monitor instance name , device name , resolution and frequency of multiple monitors (VGA and HDMI)

    hi, In my system multiple monitors are connected (VGA and  HDMI). In need to know the monitor instance name , device name , resolution and frequency of each monitor.. any solution? i used wm class 'WmiMonitorConnectionParams'  to determine Video outp

  • ITunes crashes immediatly on opening

    I am in quite a lot of confusion, so any help would be appreciated. On two PC's in my house, iTunes always crashes on opening. There is notime at all in which the iTunes window is open. There has been no change in either computer that could have alte

  • Game updated, but wiped stats I paid for. What can I do?

    I bought the gamee flickhomerun for my iPhone. I just downloaded an update for the game, which wiped all of my level up statistics. I paid $12 to upgrade a stat 15 levels. I have the proof I have pruchased them. I have emailed the developer and have