Oracle not releasing control/connections?

Hi,
I am running a .bat file that calls a wrapper java program that calls and waits for SqlPlus to return processing before the java program moves on to the next piece of code.
Oracle 10.0.2, java 1.5/1.6, Windows XP SP3, Windows Server 2003 SE are the versions/environments I have been able to run this on. Within my company there are no issues in calling sqlplus to process some sql file - containing multiple sql statements potentially - and return control back to java and complete without issue.
The problem is when my customer runs the exact same versions/env and scripts/classes etc from within his company then the sql file gets processed and the work gets done but control is never returned back to the java wrapper and so it ends up with a hanging sqlplus.exe and java.exe processes?
What is strange is that they can run a single statement sql file and it does return but as soon as a second line is added it does not.
Has anyone come across this before?
I have asked for their DBA's to get involved and try start tracing the connections going in and see what is happening but I wanted to ask around and see if anyone had come across this before.
So to sum up, same versions of desktops,java,oracle etc but works for me and not client. Only major difference is the DB's we are connecting to.
Thanks!

Yes, bar the minor versions.
I have tested locally on 1.5 and 1.6 , while the customer is running 1.6.

Similar Messages

  • LMS 4.2 is not releasing SSH connections of the devices

    Hello!
    We have LMS opens SSH sessions to Nexus 5000 devices as part of some jobs.
    These SSH connections are not being released by LMS as soon as jobs are completed, which leads the N5K devices to hang without any way of managing them remotely.
    We see these connections as idle on the nexus devices (which also should kill these sessions, but this is not the issue).
    We have found a known bug:
    CSCty90928
    LMS Pari jobs are not releasing SSH,telnet connections of the devices
    Symptom:
    Telnet/SSH connections are not released by LMS
    Conditions:
    Pari collections jobs are not releasing the connections after the Job completed
    Workaround:
    None
    This bug is categorized as "2 – severe" and is in "Open (Postponed)" status.
    I have a few questions, if anyone can assist:
    1.) What is the ETA to fix this bug?
    2.) Are there any other known bugs matching what we see (documented public bugs, with bug ID's, internal bugs or even undocumented bugs).
    3.) Is there any released or unreleased (even yet to be tested by TAC) patch we can use that should fix the issue?
    4.) Is there any way to adjust LMS idle timeout of SSH/Telnet sessions (I couldn't find it in the GUI, but maybe there is a way to change this parameter using a perl script or modifying one of LMS properties files)?
    Thanking in advance, Udi Dahan.

    Hello Ehud
    From N5k side we have submitted bug CSCty00044
    Currently there is no fix for it and our debelopment team is catively working on it and investigating the issue in the lab.
    To get ETA for the release I would suggest you reach your account team and check with them how fast fixed release will be available.
    HTH,
    Alex

  • Oci_close does not release the connection when using DRCP

    Hello everyone,
    we are currently testing the deplyment of DRCP with 11g. I have the whole thing setup (correctly to my best knowledge), but I am facing an issue. The call to oci_close does not seem to release the connection to the pool as I would expect and therefore we see similar behavior like we were getting without using the DRCP.
    Our setup is using two RAC instances running 11.1.0.6.0, I am using PHP 5.1.6 with PECL installed oci8 1.3.4. The DRCP pool is configured and started, each with 100 max servers.
    When the webserver is idle it looks, well, idle.
    SQL> SELECT INST_ID,NUM_BUSY_SERVERS FROM GV$CPOOL_STATS;
    INST_ID NUM_BUSY_SERVERS
    1 0
    2 0
    The script is as simple as it gets:
    <?php
    $c = oci_pconnect('scott','tiger','IWPPOOLED');
    $s = oci_parse($c, 'select * from emp');
    $r = oci_execute($s, OCI_DEFAULT);
    oci_close($c);
    sleep(30);
    ?>
    What I would expect is that the script would connect to the pool, do the work for a tiny moment and then release the connection for usage by other script.
    But after I point the browser to the script, I get a 30 second loading time (as expected) but the server is busy all the time, like this:
    SQL> SELECT INST_ID,NUM_BUSY_SERVERS FROM GV$CPOOL_STATS;
    INST_ID NUM_BUSY_SERVERS
    1 0
    2 1
    After the 30 second sleep, it is released and busy servers are back to 0.
    If I load the server with ab using 256 connections:
    ab -n 1000000 -c 256 -k http://mywebserver/ocitest.php
    the pool is maxed out and the connects are stalling:
    SQL> SELECT INST_ID,NUM_BUSY_SERVERS FROM GV$CPOOL_STATS;
    INST_ID NUM_BUSY_SERVERS
    1 95
    2 95
    My network config for this service is following:
    IWPPOOLED =
    (DESCRIPTION =
    (LOAD_BALANCE=ON)
    (FAILOVER=ON)
    (ADDRESS = (PROTOCOL = tcp)(HOST = 10.1.16.33)(PORT = 1521))
    (ADDRESS = (PROTOCOL = tcp)(HOST = 10.1.16.34)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = IWP)
    (SERVER=POOLED)
    (FAILOVER_MODE=
    (TYPE=SELECT)
    (METHOD=BASIC)
    (RETRIES=5)
    (DELAY=3)
    The phpinfo() look like this:
    OCI8 Support enabled
    Version 1.3.4
    Revision $Revision: 1.269.2.16.2.38.2.20 $
    Active Persistent Connections 1
    Active Connections 1
    Oracle Instant Client Version 11.1
    Temporary Lob support enabled
    Collections support enabled
    Directive Local Value Master Value
    oci8.connection_class IWPAPP IWPAPP
    oci8.default_prefetch 100 100
    oci8.events On On
    oci8.max_persistent -1 -1
    oci8.old_oci_close_semantics Off Off
    oci8.persistent_timeout -1 -1
    oci8.ping_interval -1 -1
    oci8.privileged_connect Off Off
    oci8.statement_cache_size 20 20
    I am using the instant client for 11g
    Any ideas?
    Thanks!
    Michal

    Don't forget to use oci_free_statement($s); See "Closing Oracle Connections" in The Underground PHP and Oracle Manual. (I was just simplifying this example today for the next release of the manual).
    You may also see the "dedicated optimization", where a pooled server in a non- maxed-out pool is retained (unless needed by another PHP process) under the assumption that the initial PHP process might become active again. See http://www.oracle.com/technology/tech/php/pdf/php-scalability-ha-twp.pdf
    Feel free to email me offline (see my profile) if there are questions/data you don't want to post.
    cj
    Edited by: cj2 on Oct 16, 2008 8:12 AM

  • ORA-01034: ORACLE not available when connect with connect string

    Hi,
    Database version is- 10.1.0.5.0 on Veritas Cluster, We are able to connect without giving connect string. but when we provide connect string as orcl it gives
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    when we do tnsping it works
    $ tnsping orcl
    TNS Ping Utility for Linux: Version 10.1.0.5.0 - Production on 08-MAY-2013 15:00:40
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    /D01/OIDTEST/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = cluster_hostname)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl.test.com)))
    OK (0 msec)
    tnsnames.ora entry :-
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = cluster_hostname)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.test.com)
    listener.ora entry:-
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = orcl.test.com)
    (ORACLE_HOME = /D01/OID)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = cluster_hostname)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    listener log contains
    08-MAY-2013 14:47:03 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl.test.com)(CID=(PROGRAM=sqlplus)(HOST=physical_hostname)(USER=oraprod))) * (ADDRESS=(PROTOCOL=tcp)(HOST=xx.yy.zz.xx)(PORT=63969)) * establish * orcl.test.com * 0
    08-MAY-2013 14:50:49 * ping * 0
    08-MAY-2013 14:51:21 * 12502
    TNS-12502: TNS:listener received no CONNECT_DATA from client
    WARNING: Subscription for node down event still pending
    08-MAY-2013 14:51:33 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=physical_hostname)(USER=oraprod))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=168822016)) * status * 0
    can you please advice.
    Thanks
    Edited by: user10702579 on May 8, 2013 11:09 AM

    Hi,
    lsnrctl services
    LSNRCTL for Linux: Version 10.1.0.5.0 - Production on 09-MAY-2013 08:26:47
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=cluster_hostname.test.com)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "orcl" has 1 instance(s).
    Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    $
    Thanks

  • Mail command in script hangs and does not release control to calling script

    Hello folks,
    I am running in a situation which I haven't seen before.
    Main script calls function which executes another script.
    No matter which statement is the last in called script, it hangs on the last line and does not return control to main script.
    I tried to call another script not within the function - it is the same result.
    Can you help please.
    Below example of code:
    --- Main script:
    function checksum
    set -x
    /sybdump/ukgoald/scripts/egrep_expr1
    ##MAIN --- call to script script execution which runs mail command
    checksum
    ---- trace execution of called script:
    + read A B RF_FULL_NAME
    + print
    + /usr/bin/mailx -s Checksum Report [email protected]
    + 0< /sybdump/ukgoald/dump1/egrep_expr1.log3
    + print
    + return 0
    Edited by: ge**** on Dec 14, 2010 11:29 PM

    Hello folks,
    I am running in a situation which I haven't seen before.
    Main script calls function which executes another script.
    No matter which statement is the last in called script, it hangs on the last line and does not return control to main script.
    I tried to call another script not within the function - it is the same result.
    Can you help please.
    Below example of code:
    --- Main script:
    function checksum
    set -x
    /sybdump/ukgoald/scripts/egrep_expr1
    ##MAIN --- call to script script execution which runs mail command
    checksum
    ---- trace execution of called script:
    + read A B RF_FULL_NAME
    + print
    + /usr/bin/mailx -s Checksum Report [email protected]
    + 0< /sybdump/ukgoald/dump1/egrep_expr1.log3
    + print
    + return 0
    Edited by: ge**** on Dec 14, 2010 11:29 PM

  • Cmp entity not releasing db connections

    How can I make sure cmp entity bean releases database connection to
    the connection pool after some time in oc4j 9.0.2 (ejb 1.1)?
    I am using ejb-location in orion-ejb-jar.xml as data-source.
    max-connections="30" after 30 connections it starts timing out.
    Is there something I have to do in my entities?
    Thanks-
    ak

    How can I make sure cmp entity bean releases database connection to
    the connection pool after some time in oc4j 9.0.2 (ejb 1.1)?
    I am using ejb-location in orion-ejb-jar.xml as data-source.
    max-connections="30" after 30 connections it starts timing out.
    Is there something I have to do in my entities?
    Thanks-
    ak

  • EJB3 : suspend JTA transaction does not release the connection in the XA DS

    Hi all,
    I did a test and after suspending a JTA transaction I note that in the xa datasource the activeconnection = 1.
    So is it normal because I was thinking that when I suspend the transaction the teh connection is released and then after a transaction resume I could continue the transaction with another connection of the xa datasource ?
    Thank you for all..
    Christophe.

    It's a long time ago, but did you ever solve this problem?
    I'm having the same issue with OSB writing to a WLS8.1 JMS queue.
    I have a development OSB server which works fine.
    Pete

  • File Adapter creating huge connections and not releasing.

    Hi,
    We see high no. of current connections in file adapter from weblogic console against eis/HAFileAdapter under deployments -> fileadapter -> monitoring -> Outbound Connection Pools and are concerned about the same. It seems like fileadapter is not releasing the connection and hence no. of connections are piling up over a days and depending upon the transactions. coz after a restart the values comes down from 36000 to 10 ( which is default initial connection).
    But when i see at the datasource level i don't see that much number of active connections. Need to know why this is happening and is this behavior is expected?
    We are using SOA 11g PS2
    Below is the deployment plan for fileadpater in use:
    <?xml version='1.0' encoding='UTF-8'?>
    <deployment-plan xmlns="http://xmlns.oracle.com/weblogic/deployment-plan" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/deployment-plan http://xmlns.oracle.com/weblogic/deployment-plan/1.0/deployment-plan.xsd" global-variables="false">
    <application-name>connectors</application-name>
    <variable-definition>
    <variable>
    <name>ConfigProperty_controlDir_Value_12732617703910</name>
    <value>/var/opt/soa_nfs/data/SOA_PRD_DOMAIN/config/FileAdapter</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundLockTypeForWrite_Value_12737938820080</name>
    <value>oracle</value>
    </variable>
    <variable>
    <name>ConnectionInstance_eis/HAFileAdapter1_JNDIName_13010279387490</name>
    <value>eis/HAFileAdapter1</value>
    </variable>
    <variable>
    <name>ConfigProperty_controlDir_Value_13010283495591</name>
    <value>/var/opt/soa_nfs/data/SOA_PRD_DOMAIN/config/FileAdapter</value>
    </variable>
    <variable>
    <name>ConfigProperty_inboundDataSource_Value_13010283655032</name>
    <value>jdbc/SOADataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundDataSource_Value_13010283782973</name>
    <value>jdbc/SOADataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundDataSourceLocal_Value_13010283877514</name>
    <value>jdbc/SOALocalTxDataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundLockTypeForWrite_Value_13010283941445</name>
    <value>oracle</value>
    </variable>
    <variable>
    <name>ConfigProperty_inboundDataSource_Value_13081683627140</name>
    <value>jdbc/SOADataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundDataSource_Value_13081683875571</name>
    <value>jdbc/SOADataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundDataSourceLocal_Value_13081684137432</name>
    <value>jdbc/SOALocalTxDataSource</value>
    </variable>
    <variable>
    <name>ConnectionInstance_eis/HAFileAdapter_Wedb_JNDIName_13369118887880</name>
    <value>eis/HAFileAdapter_Wedb</value>
    </variable>
    <variable>
    <name>ConfigProperty_controlDir_Value_13369119117411</name>
    <value>/var/opt/soa_nfs/data/SOA_PRD_DOMAIN/config/FileAdapter</value>
    </variable>
    <variable>
    <name>ConfigProperty_inboundDataSource_Value_13369119237302</name>
    <value>jdbc/SOADataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundDataSource_Value_13369119486683</name>
    <value>jdbc/SOADataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundDataSourceLocal_Value_13369119703484</name>
    <value>jdbc/SOALocalTxDataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundLockTypeForWrite_Value_13369119820485</name>
    <value>oracle</value>
    </variable>
    </variable-definition>
    <module-override>
    <module-name>FileAdapter.rar</module-name>
    <module-type>rar</module-type>
    <module-descriptor external="false">
    <root-element>weblogic-connector</root-element>
    <uri>META-INF/weblogic-ra.xml</uri>
    <variable-assignment>
    <name>ConfigProperty_controlDir_Value_12732617703910</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="controlDir"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundLockTypeForWrite_Value_12737938820080</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="outboundLockTypeForWrite"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConnectionInstance_eis/HAFileAdapter1_JNDIName_13010279387490</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/jndi-name</xpath>
    <origin>planbased</origin>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_controlDir_Value_13010283495591</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="controlDir"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_inboundDataSource_Value_13010283655032</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="inboundDataSource"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundDataSource_Value_13010283782973</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="outboundDataSource"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundDataSourceLocal_Value_13010283877514</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="outboundDataSourceLocal"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundLockTypeForWrite_Value_13010283941445</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="outboundLockTypeForWrite"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_inboundDataSource_Value_13081683627140</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="inboundDataSource"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundDataSource_Value_13081683875571</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="outboundDataSource"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundDataSourceLocal_Value_13081684137432</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="outboundDataSourceLocal"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConnectionInstance_eis/HAFileAdapter_Wedb_JNDIName_13369118887880</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/jndi-name</xpath>
    <origin>planbased</origin>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_controlDir_Value_13369119117411</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="controlDir"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_inboundDataSource_Value_13369119237302</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="inboundDataSource"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundDataSource_Value_13369119486683</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="outboundDataSource"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundDataSourceLocal_Value_13369119703484</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="outboundDataSourceLocal"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundLockTypeForWrite_Value_13369119820485</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="outboundLockTypeForWrite"]/value</xpath>
    </variable-assignment>
    </module-descriptor>
    <module-descriptor external="false">
    <root-element>connector</root-element>
    <uri>META-INF/ra.xml</uri>
    </module-descriptor>
    <module-descriptor external="true">
    <root-element>wldf-resource</root-element>
    <uri>META-INF/weblogic-diagnostics.xml</uri>
    </module-descriptor>
    </module-override>
    <config-root>/opt/soauser/products/soa11.1/Oracle_SOA1/soa/connectors/plan</config-root>
    </deployment-plan>
    -Rohit

    Hi Arik,
    To answer your questions :
    You are using HAFileAdapter in your processes JNDI defenitions? --Yes
    Check in your HAFileAdapter Connection Pool if Shrinking Enabled is set to true. --Its set to true
    I would recomend also to change the properties Test Connections On Reserve to true, and Test Frequency Seconds(900 is the default). --These properties are also in place
    -Rohit

  • Unable To Release Control To Students (Clients)

    Hello All,
    I have the same 77 Macs in 3 labs (iMacs, G4s and G5s) all running OS 10.3.9 and ARD Client 2.2. The problem.... Half the time when we unlock a Mac from one of any 7 ARD Admin Macs for a student (client) to use, the screen will unlock, the log on screen appears BUT, the student can NOT move the mouse (cursor) or type in his/her log on ID. We (Admin) will have to double click (control) on the client Mac, double click on the username field, then the student can log in. ARD will not release control to the student half the time. Again, it is not consistent and control is released only half the time. Can anyone assist? Thanks.
    Mike

    Mike, I've had the same problem as you describe. My temporary solution (have yet to call support on this) is to wake the machines first then most will work. Other times I have to remotely restart the machines. Frustraating, John Langlois
    eMac 1.25GHz Lab   Mac OS X (10.3.9)  

  • AFP not releasing users client

    We have a problem with our client (MacPro) which is using Leopard 10.5.7 (client).
    We are using this Mac as a 'server' for our other Macs and MacBooks (total 7). They connect true Apple filesharing and mount several volumes from our 'client server MacPro).
    The problem:
    After some time we get the message that there are more connections then 10 to this MacPro.
    We are having 7 Macs. So how is that possible?
    We found a terminal command: netstat -f inet -n | grep ".548 "
    And yes, there are more then 10 connections to this MacPro.
    We think that this MacPro is holding the idle connections for a time and not releasing AFP connections. Of course after some (long) time they will be out.
    Question: does anyone know a workaround for this problem?
    Is it possible to disconnect idle connections from the list?
    And is it a bug?
    Peter Tollenaar

    I have been researching your issue and I can only find references to OSX Server.
    with AFP connections even when a user is idle they can be disconnected from the server but the server caches the connection so that the client can automatically reconnect. eg if a mac sleeps it can reconnect to the server when it wakes automatically.
    I presume the AppleFileServer in leopard client does a similar thing as the AppleFileServer on my leopard server is the same version that is running on Leopard Client.
    In leopard server you use the serveradmin command to configure the AFP server properties.
    In leoapard client there is no built in preference panel you can use to configure this setting.
    However if you use MacPilot from Koingo software you have many functions including configuring the advanced features of the apple file server. You can download and use this software free of charge for a trial period.
    In the General tab of the MacPilot toolbar scroll down to Sharing(Server) and experiment with changing the 'Reconnect Flag' to 'None'.
    I am unable to test this at my end so cannot guarantee that this is the fix.
    Make a back up of /Library/Preferencs/com.apple.AppleFileServer.plist on the server before you make any changes.

  • Crystal Report Viewer Not Releasing Oracle Database Connections

    I have a very simple vb.net 3.5 web application that uses the Crystal Report viewer 2008 to open a report. My requirements are as follows:
    1. Reports are built by another company and provided to us and used in a web environment
    2. All reports contain parameter fields
    3. The web application must be generic enough that a report can be added to a list and the user simply selects the report and provides database login information. The Crystal report viewer with handle the request for parameter values and prompt the user for their values.
    4. All reports connect to an Oracle 10g server.
    The above requirements have been meet and we have an extremely simple web application that runs the reports. It is working very well other than the crystal report viewer is not releasing the database connections. This is bad because the credentials are on a per user basis and that same user must login to a different oracle application simultaneously. They are being denied access because the credentials are already in use. We do not have control nor influence over the policies in use on the Oracle server. Ideally we would like to control the Crystal Report viewer so that it closes connections after use.
    The web application code is:
    Private Sub viewReports_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
    If Not IsPostBack Then
    ConfigureCrystalReport()
    End If
    End Sub
    Private Sub ConfigureCrystalReport()
    'Load the Crystal Report viewer with a report.
    Try
    Dim reportPath As String = Server.MapPath(Session("reportname"))
    crViewer.ReportSource = reportPath
    Catch ex As Exception
    Response.Write(Server.MapPath(Session("reportname")) & "
    " & ex.Message.ToString & "
    " & ex.StackTrace.ToString)
    End Try
    End Sub
    Can anyone shed some light on this topic? Thank you

    Hello, Timothy;
    By default, having the report in session will hold it open for 20 minutes.
    If you create the report as a ReportDocument object you can take it out of session and release it more efficiently. That will release the connection.
        Private Sub ConfigureCrystalReports()
            If (Session("hierarchicalGroupingReport") Is Nothing) Then
                hierarchicalGroupingReport = New ReportDocument()
                hierarchicalGroupingReport.Load(Server.MapPath("Hierarchical Grouping.rpt"))
                Session("hierarchicalGroupingReport") = hierarchicalGroupingReport
            Else
                hierarchicalGroupingReport = CType(Session("hierarchicalGroupingReport"), ReportDocument)
            End If
            myCrystalReportViewer.ReportSource = hierarchicalGroupingReport
        End Sub
    In the Form Unload of the Viewer:
                'Take the report out of session
                Session("hierarchicalGroupingReport")  = Nothing
                Session.Contents.Remove("hierarchicalGroupingReport")
                'Clean up the ReportDocument object
                hierarchicalGroupingReport.Close
                hierarchicalGroupingReport.Dispose()
                hierarchicalGroupingReport = Nothing
                GC.Collect()
    Elaine

  • Sql * plus 9 is not able to connect oracle 7 database

    Today I have installed oracle 9i release 2 and found that the sql * plus provided with is unable to connect oracle database version 7. But before that we were able to connect the oracle 7 database well.
    Any one having a clue on that...?
    Is it a product bug...?
    If so then please provide me some alternative solution clue or patch download link. Please remember in any condition currently it is not possible discard my oracle 7 database.
    With Regards.
    Soumen.

    No, it is not a bug. You just cannot connect with Ora9i R2 SQL*Plus to an Ora7 database.You cannot create a DB link between the two database either, if you are planning on doing that.
    A solution is to install Ora8 client, which can connect to both Ora9 and Ora7 database (but a db link will stil be impossible).

  • Oracle XA library not available  - Oracle 10g Release 2.0.1

    Hi,
    We have downloaded Oracle 10g Release 2.0.1 enterprise edition from oracle site and installed on Red hat Linux 4.0. After installation we found Oracle XA library is missing. Ideally it should be in folder $Oracle_Home/rdbms/xa/.
    The entire XA folder is missing in rdbms folder. Since the XA library is missing, we are not able to complie some C++ code which uses XA interface to connect to Oracle DB. Any help on this will be highly appreciated.
    Is this possible that XA library only comes with the license version??
    Regards,
    Sanjiv

    There is no such thing in Oracle as a "licensed version." When you download you download the entire product.
    But if you don't have a license then you really should contact your Oracle sales rep immediately. First for reasons of ethics but second to get a support contract which it looks like you are going to need to get patches for 10.2.0.4.
    My vanilla installation contains it so you might want to try first checking the installation log file for any reference to it.

  • VS2010 with Oracle 11g Release 2 giving Package did not load correctly

    Hey ,
    I had a Oracle 11g Release 1 11.1.0 installed on my machine. I had a client and over that a installation for Visual Studio tools for VS2008 installed. So in the directory of 11.1.0 I had two folders of Client 1 and Client2 . I was able to use the tools in VS very well and everything was perfect.
    Recently my company has decided to shift to VS2010. Now when I installed Oracle Release 2 11.2 client, it worked perfect ( tested using toad ). But when I install the tools ODTwithODAC112012, it has an issue that when I fire up VS2010 and try to add connection, it gives an error popup saying : " The 'Oracle Developer Tools for Visual Studio .NET' package did not load correctly. It asks me load VS in log mode and see the Activity log. The Activity Log gives the following entry :
    <errorinfo>Could not load file or assembly 'Oracle.VsDevTools, Version=4.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified.</errorinfo>
    </entry>
    The assembly Oracle.VsDevTools is loaded in GAC which I've checked . So, questions in my mind :
    a. Can we have both 11.1 and 11.2 in the same machine, is that the issue?
    b. Any solution to solve this issue. Both the setup's go smoothly without any errors. Also I am able to connect to oracle very easily using toad.
    Would appreciate any help.
    Thanks,
    Sumit

    You'll probably have better luck posting this over in the ODT forum, but be sure to check the Package Load Failure sticky at the top first..
    Oracle Developer Tools for Visual Studio
    Having multple versions of ODP installed at once generally isnt a problem but I haven't tried a situation where I've tried to have multiple ODT's at once.
    Greg

  • Weblogic Data source is not releasing connections

    Hi All,
    Weblogic JDBC data source is not releasing connection until JDBC connection is deleted and created again. Could you please let me know this is a database issue or weblogic jdbc driver issue. We are using weblogic 10.1. Please see the following xml for JDBC driver.
    Although maximum connections are set to 300, it stills keeps increasing connections over 300. This issue is resolved only when jdbc data source is deleted and created again.
    <?xml version='1.0' encoding='UTF-8'?>
    <jdbc-data-source xmlns="http://www.bea.com/ns/weblogic/90" xmlns:sec="http://www.bea.com/ns/weblogic/90/security" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls" xsi:schemaLocation="http://www.bea.com/ns/weblogic/920 http://www.bea.com/ns/weblogic/920.xsd">
    <name>abc_admin_STGNCB</name>
    <jdbc-driver-params>
    <url>jdbc:oracle:thin:@10.151.43.54:1521:STGNCB</url>
    <driver-name>oracle.jdbc.OracleDriver</driver-name>
    <properties>
    <property>
    <name>user</name>
    <value>abc_admin</value>
    </property>
    <property>
    <name>portNumber</name>
    <value>1521</value>
    </property>
    <property>
    <name>SID</name>
    <value>STGNCB</value>
    </property>
    <property>
    <name>serverName</name>
    <value>10.151.43.54</value>
    </property>
    </properties>
    <password-encrypted>{3DES}wc5vg5GIbPtt+b8vWY0i5Q==</password-encrypted>
    </jdbc-driver-params>
    <jdbc-connection-pool-params>
    <initial-capacity>20</initial-capacity>
    <max-capacity>300</max-capacity>
    <capacity-increment>10</capacity-increment>
    <connection-creation-retry-frequency-seconds>30</connection-creation-retry-frequency-seconds>
    <statement-cache-size>200</statement-cache-size>
    <pinned-to-thread>true</pinned-to-thread>
    <identity-based-connection-pooling-enabled>true</identity-based-connection-pooling-enabled>
    </jdbc-connection-pool-params>
    <jdbc-data-source-params>
    <jndi-name>jdbc/ABC_TX_DATASOURCE</jndi-name>
    <jndi-name>jdbc/ABC_NON_TX_DATASOURCE</jndi-name>
    <jndi-name>jdbc/ABC_TX_EVENT_DATASOURCE</jndi-name>
    <jndi-name>jdbc/ABC_NON_TX_EVENT_DATASOURCE</jndi-name>
    <jndi-name>jdbc/ABC_DATASOURCE</jndi-name>
    <jndi-name>abc.cdb.DataSource</jndi-name>
    <global-transactions-protocol>EmulateTwoPhaseCommit</global-transactions-protocol>
    </jdbc-data-source-params>
    </jdbc-data-source>
    Edited by: bpenugon on Aug 24, 2010 8:02 AM

    The root cause is pinned-to-thread is enabled. When the application finishes using the connection and calls connection.close(), WebLogic Server keeps the connection with the execute thread and does not return it to the connection pool. The connection pool maximum capacity is ignored when pinned-to-thread is enabled. So you saw the number of connections in connection pool keeps increasing over 300.
    Set pinned-to-thread to false can solve the problem.

Maybe you are looking for

  • Major problems with transferring songs to new iPod touch 5th gen

    Hi, I'm in need of help. I just bought a new iPod touch 5th generation today and I naturally wanted to transfer some songs to it today via iTunes. I have an old MacBook aluminium with os x 10.5.8 and I have not been able to update any of my programs

  • Usage of Inetrnet graphics server

    Hi Experts, What is the usage of Internet Graphics server in Image processing with NetWeaver Web Application server. Thanks & Regards, Rahul Yadav

  • Multiple Executions of SDO_WITHIN_DISTANCE operator

    I use the SDO_WITHIN_DISTANCE operator in a loop, sometimes several thousand times in one execution of the code. I've discovered that if you use it in this manner oracle hits you with the error below after a couple of thousand iterations... ORA-29902

  • Oracle Database Gateway for MS SQL server

    Hi, we have Oracle Database Appliance. OS: Oracle Linux 5 x64 DB: 11.2.0.3 enterprise (Oracle Database Gateway for MS SQL server at the same version) Communication with remote DB is OK, but CPU load is too high without any reason. CPU waste, useless

  • Imovie not playing movies smoothly, help?

    I am relatively new to mac and am not sure how to troubleshoot this problem. I created an imovie and it looked great, now the transitions are not smooth or clear and many of the photos in the movie to which I have applied the ken burns effect hesitat