Unable to shrink the connections

HI,
I am using weblogic 6.1 connection pooling. I am facing problem in shrinking
the connections
I set the connection parameters as
Initial capacity = 2,
Increment = 1
Max capacity = 10
Allow shrinking = true
When I open 4 sessions simultaneously it shows the
connections = 4
total connections = 4
Waiters = 0
Connections high = 3
After several time accessing the database it shows
     Connections = 0
     Total connections = 13
     Connections high = 3
     Waiters = 0
My problem is even after shirking time also it shows the active connections in
the database side(I tested using v$session).are there any extra setting is needed
for the shrink to take place?(other than setting it to true in console). I even
tested using the code ( getting the pool and executing the shrink() method).
My second doubt was why it is showing total connections as greater than maximum
capacity. I am not clear on the no shown for total connections.
I would be thankful if some looks into it.
Thanks

Make sure the application is returning all the connection to the pool (close
all connections in the finally blocks). If connections are not closed in
your application they cannot be removed from the pool.
hth
sree
"nambudri" <[email protected]> wrote in message
news:3c33e8f1$[email protected]..
HI,
I am using weblogic 6.1 connection pooling. I am facing problem in
shrinking
the connections
I set the connection parameters as
Initial capacity = 2,
Increment = 1
Max capacity = 10
Allow shrinking = true
When I open 4 sessions simultaneously it shows the
connections = 4
total connections = 4
Waiters = 0
Connections high = 3
After several time accessing the database it shows
Connections = 0
Total connections = 13
Connections high = 3
Waiters = 0
My problem is even after shirking time also it shows the active connections
in
the database side(I tested using v$session).are there any extra setting is
needed
for the shrink to take place?(other than setting it to true in console). I
even
tested using the code ( getting the pool and executing the shrink() method).
My second doubt was why it is showing total connections as greater than
maximum
capacity. I am not clear on the no shown for total connections.
I would be thankful if some looks into it.
Thanks

Similar Messages

  • I have just switched over to iCloud and I am now getting an error message in iCal which is the following: The server is currently unable to handle the connection due to a temporary overloading or maintenance of the server. If this continues you should con

    I have recently switched from MobileMe to iCloud and I now getting an error message in iCal :
    "The server is currently unable to handle the connection due to a temporary overloading or maintenance of the server. If this continues you should contact the server administrator.
    You may try to connect to the server again or take the account offline."
    Since I am working from home and I am not on a server other than iCloud I don't understand why I am getting this message. (for 3 days). How do I fix it?

    TomCT60,
    Is your MacBook using Mac OS X 10.6.8 as indicated in your post? If so you will not be able to fully integrate with iCloud.
    iCloud and Snow Leopard, by Roger Wilmut describes what iCloud options are available for Snow Leopard.
    If you are using Lion, go to iCal>Preferences...>Accounts, and delete/re-add your iCloud CalDAV server.

  • Urgent OmniPortlet JDBC SQL Server - Unable to establish the connection

    Not sure if this is the correct forum but as there is another JDBC question regarding portlets in this forum I have to give this a try as it is URGENT I get this solved.
    Please see my post in the Portal General Forum
    OmniPortlet DataDirect JDBC SQL Server - Unable to establish the connection
    Thanks!

    Not sure if this is the correct forum but as there is another JDBC question regarding portlets in this forum I have to give this a try as it is URGENT I get this solved.
    Please see my post in the Portal General Forum
    OmniPortlet DataDirect JDBC SQL Server - Unable to establish the connection
    Thanks!

  • Unable to get the connections due to access denied error.

              Hi All,
              I am trying to use my adapter in WebLogic Server 7.0 and get the following exception
              while requesting for a connection by doing getConnection. The ex is as follows -
              <May 23, 2002 11:08:22 AM PDT> <Error> <Connector> <190006> <Error granting connection
              request.>
              failed to get the connection with ex Access to resource adapterXAhas been denied
              ex in createAccount
              java.rmi.RemoteException: Access to resource adapterXAhas been denied; nested exception
              is:
              javax.resource.spi.SecurityException: Access to resource adapterXAhas been
              denied
              javax.resource.spi.SecurityException: Access to resource adapterXAhas been denied
              at weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPool.java:1637)
              at weblogic.connector.common.internal.ConnectionPoolManager.getConnection(ConnectionPoolManager.java:163)
              at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:25)
              at com.versant.connector.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:122)
              at examples.xacase2.ManagerBean.getConnection(ManagerBean.java:247)
              at examples.xacase2.ManagerBean.createAccount(ManagerBean.java:84)
              at examples.xacase2.ManagerBean_ixu7g_EOImpl.createAccount(ManagerBean_ixu7g_EOImpl.java:150)
              at examples.xacase2.ManagerBean_ixu7g_EOImpl_WLSkel.invoke(Unknown Source)
              at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:346)
              at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
              at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:300)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:762)
              at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:295)
              at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
              I have successfully been using my adapter with WebLogic6.1sp2.
              Thanks in advance for any pointers.
              

              Hi Monica,
              There is a patch available for this known problem. Please contact BEA support and
              ask for patch CR075892_70.jar for WLS 7.0.
              Thanks!
              Deb
              "Monica" <[email protected]> wrote:
              >
              >Hi All,
              > I am trying to use my adapter in WebLogic Server 7.0 and get the following
              >exception
              >while requesting for a connection by doing getConnection. The ex is as follows
              >-
              >
              > <May 23, 2002 11:08:22 AM PDT> <Error> <Connector> <190006> <Error granting
              >connection
              >request.>
              >failed to get the connection with ex Access to resource adapterXAhas been
              >denied
              >ex in createAccount
              >java.rmi.RemoteException: Access to resource adapterXAhas been denied; nested
              >exception
              >is:
              > javax.resource.spi.SecurityException: Access to resource adapterXAhas
              >been
              >denied
              >javax.resource.spi.SecurityException: Access to resource adapterXAhas been
              >denied
              > at weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPool.java:1637)
              > at weblogic.connector.common.internal.ConnectionPoolManager.getConnection(ConnectionPoolManager.java:163)
              > at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:25)
              > at com.versant.connector.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:122)
              > at examples.xacase2.ManagerBean.getConnection(ManagerBean.java:247)
              > at examples.xacase2.ManagerBean.createAccount(ManagerBean.java:84)
              > at examples.xacase2.ManagerBean_ixu7g_EOImpl.createAccount(ManagerBean_ixu7g_EOImpl.java:150)
              > at examples.xacase2.ManagerBean_ixu7g_EOImpl_WLSkel.invoke(Unknown
              >Source)
              > at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:346)
              > at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
              > at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:300)
              > at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:762)
              > at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:295)
              > at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
              >
              >
              >I have successfully been using my adapter with WebLogic6.1sp2.
              >
              >Thanks in advance for any pointers.
              >
              

  • Unable to open the Network connection In WTK2.3

    hi all.
    I am doing an application in which i am downloading the screen details from the XML file, which will be available in the Server.
    with the details i will manipulate the screen in the MIDlet.
    The application was working fine in the localhost, when the asp file and the xml file in the localhost. but when the same was uploaded to my wap site i am unable to download the details.
    But when i am open that url in the Browser it was giving the response. When i am opening that in the MIDlet the application was stopping at the fallowing statement
    con.openInputStream()
    I am unable to use the connection object.I have seen in the Network monitor it was displaying only the opening of the connection, but not the response from the server.
    I am unable to trace out the possibility of error, because the same was working in the localhost.
    Can anybody please tell me the possiblities for happening like that.
    It was urgent, please help me
    Thanks in advance
    lakshman
    Quick response in helpful for me

    Hi Thirupathi,
    Can you send us a screenshot or the error message information ?
    If it is due to status missing (SAP note available for the same)
    Regards
    Terence

  • Unable to open the HFM web server link

    I am gettng the following error while connecting to the url "http://<servername>/hfm/home/LaunchPage.asp"
    Error Number:1
    Error Description:Please Relogin. Session has Timed out
    Error Source:
    Page On which Error Occurred:
    I have tried setting the Full permission at the website level to the Windows Admin user as well as IUSR and IWAM. but it still didnot work.
    how ever, i was unable to find the Connection timeout tab when i clicked on HFM->Properties.
    Please throw some light on it.

    you didn't specify the version of HFM. I am assuming you are talking about a 9.3.x or 11.1.1.x release.
    In HFM 9.3.0 and 9.3.1 and above, there is no direct link to HFM web. You must login to the BI+ Workspace and use the "Navigate"->"Applications"-"Consolidation" menus to launch HFM.
    This is unlike Planning where there is still a direct link straight to planning.

  • Unable to shrink datafile

    Hello Gurus,
    Env: SQL Server 2008 R2 installed on Windows Server 2008.
    DAS based storage.
    Issue: DBCC showfilestats shows that all of the exents are used. This means there is no
    Unable to shrink the data file.
    Description: The data file is growing by a GB every day approx.
    I see the existing space with in the data file is not being used and it is allocating fresh extents every time.
    When I do the DBCC showfilestats it says all of the extents are in use and there is almost nothing free.
    The size of the data file is 200 GB.
    When I run the top 50 tables by size, I see the sum of all of these tables is hardly 10GB.
    I know there is not much data with in the tables.
    When I am trying to shrink the data file, it gives the error message "A severe error occurred on the current command."
    I tried to follow the following till date, nothing worked till date.
    DBCC checkDB and then tried to shrink.
    Took the database in the single_user mode and then tried to shrink.
    Ran a checkpoing and then the log backup job and then tried to shrink.
    So there are two questions.
    1. How shall we shrink the data file?
    2. Why is it not using the existing space with in the file?
    Please letme know if I need to send more details.

    1. How shall we shrink the data file?
    Why would shrink it, when The data file is growing by a GB every day approx. Database files should rather not autogrow. They should be extended well in advance in a maintenance window. I would suggest that you increase the database
    with 50 GB.
    Shrinking a database is a very exceptional operation which you only do when you know that the data size has been reduced on a permanent basis.
    2. Why is it not using the existing space with in the file?
    It is not clear how you have deemed that there is space in the file; au contraire, all evidence points at that is no space available.
    It is possible, though, that your data pages are poorly utiliized. Heaps are particularly prone to this, and you can be left with pages with no or little rows on them.
    Do you rebuild your indexes regularly? Do you have any heaps? What does this query return:
    SELECT COUNT(*) FROM sys.indexes WHERE index_id = 0
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Transaction log used 200GB unable to shrink

    Hi All,
    Currently I am facing diskspace(0 KB available) issue in one of my application server..
    When I checked SQL server SMS_UDB (is our DB name) containing 70GB but SMS_UDB_LOG (Transaction log) Containing more than 200GB. When I checked the diskspace report 200GB space used (showing Green). I am unable to shrink the file. I am running 2008 SQL with
    simple recovery model. I taken bak to other server.   It's urgent Kindly help me to reduce the transaction log
    thanks

    Hello,
    Please verify if the initial size for the log on the properties of the database is set to big number of MB and for that reason the database
    shrink does not work.
    Please run the following query and share the results with us:
    SELECT
    name,
    log_reuse_wait_desc
    FROM
    sys.databases
    WHERE
    log_reuse_wait_desc='ACTIVE_TRANSACTION'
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Unable to open the centos machine through putty

    i have expoted cenos vhd to azure 
    Eventhough  i have given the  end point , it is unable to start the connection through putty.

    Hi ;
    Which version of CentOS are you using?  I sugguest you to try starting the VM on Hyper-V before uploading it to Azure, Also did you install : https://github.com/Windows-Azure/WALinuxAgentand
    http://www.microsoft.com/en-us/download/details.aspx?id=41554 If you are still facing issues you would need to open up a support ticket as we would
    need the Subscription ID Deployment ID and VM name to get the serial logs. 
    Regards
    Prasant

  • 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

  • I am fed up with Spring and Apple passing me off to one another and neither will fix the problem. I am unable to receive a connection on my phone.

    I am fed up with Spring and Apple passing me off to one another and neither will fix the problem. I am unable to receive a connection on my phone.
    The internet goes out and I have to reset network setting each and every time. This is only a temporary solution which by the time I release the line with Spring or leave the apple store the issue is back. Sprint indicates that it is a know issue with the Iphone 5 and apple says it is a network issue as Sprint's network is not up to par with the Iphone and can not meet the expectations on the Iphone 5.
    I have attached a few picture, as you can see it clearly says I have 5 bars and 3g available but I have no connections what so ever.
    This issue affects all data and so I can not send or receive picture messages, use apps, or access the internet. The data goes in and out intermittently and it seems the phone chooses what I can and can't do.
    For example I can watch Youtube or Vevo videos but I can not access Facebook or Instagram.
    Is anyone else having this issue?
    I will soon loose my patience....
    I have reset my phone three time and have reset network and other setting mutltiple times.

  • Unable to load the necessary SQL connectivity library

    I am installing an older (non-Microsoft) program (32bit) that manages mail online and it requires an access to SQL Server to create database to complete installation. I am installing it on Windows Server 2003 standard. This program
    I am installing recommends SQL Server 2000. We are now running SQL Server 2005 on a separate server. For connectivity, I installed SQL server 2005 tools (full install) on the same 2003 server as the program so that this program could manage to locate
    SQL server 2005 and connect to it in order to create necessary tables and complete the installation. I already manually created the database for this program on SQL Server 2005. I created ODBC SQL Server connection string (User DSN). However, during
    installation, I am getting the following error message:
    ERROR: Setup is unable to load the necessary SQL connectivity library. This indicates that the proper client-side SQL utilities are not installed on your system. Setup cannot continue.
    Could this error be SQL Server version specific and the program only likes SQL 2000 client tools and not 2005? Are there major differences between libraries versions? Should there be something else configured? What am I missing? Thanks in advance.

    ERROR: Setup is unable to load the necessary SQL connectivity library. This indicates that the proper client-side SQL utilities are not installed on your system. Setup cannot continue.
    Could this error be SQL Server version specific and the program only likes SQL 2000
    client tools and not 2005?
    Tools are tools, not a connectivity library and by the error message the right connectivity library is missing. Ask the software vendor which one is required or look it up on the other machine, where the application works.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • CrystalReportViewer Failed to Open the connection Unable to retrieve Object

    I am getting the following Error on trying to view a report in the CMC and the Infoview.
    CrystalReportViewer
    Failed to Open the connection. ReportName
    Unable to retrieve Object.
    Failed to open the connection. ReportName
    I have recently re-installed Crystal Reports Server XI  on a server after a disk failure. I had a backup of my CMS database. I reinstalled the Crystal Servwer without atttaching this database, however crystal did not create a new db so I attached my old one.
    I have deleted all my old ODBC connections and recreated them with new names and then reconnected my reports in Crystal Reports XI using the "Set Datasource Location" option and the report works fine.But as soon as I try to view it after uploading it as an object onto the server, I get the above error.
    Any help would be appreciated.

    I am tagging into this unanswered question as well because I think I have a similar issue.  In my case I have a report which runs correctly in Crystal Reports designer but when I move it to the scheduler it fails on a "Failed to connect" to the report.  In have used "Set data location" to no avail.  When I go to Admin Tools and look at the complete list of datasources for all my reports this particular datasource is listed twice.  The group of reports under one of the datasources works correctly.  The reports listed under the second datasource all fail.  The two datsources are spelled exactly the same and when I sompare the database details for a successfull and a failing report using this datasource they are the same (in the console and in infoview).
    I have also checked the ODBC connections on the Crystalserver and there is only one occureence.
    Any ideas?
    Thanks!

  • "Unable to establish a connection between WebEx and the mail server."

    Hi,
    I installed Cisco WebEx and integrated with our Microsoft exchange server.  It showed server "UP".  everything's came up and working fine after that and sudenlly i found this message "Unable to establish a connection with the mail server.  Please recheck settings."
    I went into the Mail Server setup to edit settings and now, it shows Server Down.  Do I need to do something on the MS Exchange 2010 or from webex server ??
    Any help is greatly appreciated.  Thanks a lot!

    Every 180 seconds, CWMS verifies the connection to the SMTP server by establishing a connection on TCP port 25 (SMTP) and then sending the EHLO command followed by the QUIT command. This check is also performed once when logging into the admin web page or when browsing to System -> Servers (where the status of the mail server is displayed).
    If  this sequence does not complete successfully, the warning “Unable to  establish a connection with the mail server. Please recheck settings.”  will show in a banner at the top of the CWMS admin pages.
    You  can verify the connection to the SMTP server manually by using “telnet  25”.
    If you have access to the CWMS unix shell be aware that CWMS does not come  with the telnet command installed.
    As an alternative, you can use this 3-lines script:
    exec 3<>/dev/tcp/x.x.x.x/25
    echo -e "EHLO\r\nQUIT\r\n " >&3
    cat <&3
    Replace x.x.x.x by the ip address or hostname of the SMTP server and save the script in a file, f.e.:
    /* script saved in a file named ehlo */
    [root@dchriste-cwms-adm1 ~]# cat ./ehlo
    exec 3<>/dev/tcp/10.48.54.79/25
    echo -e "EHLO\r\nQUIT\r\n " >&3
    cat <&3
    Then, execute it:
    [root@dchriste-cwms-adm1 ~]# sh ./ehlo
    The output should be similar to this:
    220 *******************************************************************************************************************
    250-confukdc.confuk.com Hello [10.48.52.110]
    250-TURN
    250-SIZE
    250-ETRN
    250-PIPELINING
    250-DSN
    250-ENHANCEDSTATUSCODES
    250-8bitmime
    250-BINARYMIME
    250-CHUNKING
    250-VRFY
    250-XXXXXXXXXXXXXXXXXXXXXXXA
    250-X-EXPS=LOGIN
    250-AUTH GSSAPI NTLM LOGIN
    250-AUTH=LOGIN
    250-X-LINK2STATE
    250-XEXCH50
    250 OK221 2.0.0 confukdc.confuk.com Service closing transmission channel
    Also, you can use this tcpdump command to see the conversation (replace x.x.x.x by the SMTP server’s IP address or hostname):
    tcpdump -vXs 0 host x.x.x.x and tcp port 25
    If you have HA, it is not certain which admin VM talks to the smtp server, so best to check both.
    If you don't have access to the CWMS unix shell, best to span the switch ports and run packet capture.

  • TS1398 My i-phone model MD654LL/A serial F17JWNAF8H2 says "Unable to join the network "sunday".  This is my WIFI network I have had for years.   My I pad has no problem connecting, but not my i-phone. I just tried my daughter's i-phone and it has same pro

    My i-phone cannot connect to my wi fi-all of a suddon.  My wife's i-phone 4 is connected to the wi-fi network.
    I just tried to connect my daughter's i-phone 5, and could not connect message came up "unable to join the network "Sunday".
    My I-pad is connected to Sunday also.
    I tried the reset routine, and when I try to get on line, it asks for my password.  I put it in and it stll says unable to hoin message.
    Can someone help?

    Reset your network settings. Settings>General>Reset>Reset Network Settings

Maybe you are looking for