XA connection pools on MSSQL 6.5

Hi,
is it possible to use Weblogic XA connection pools on MSSQL 6.5 database? If not, what could be alternative solution?

lol predicted that answer ^^ LOL @ MTU (BTW DOsent WORK)
listen bro i have the exact same problem , execept with 1 v8
i run a counter-strike server and i got 10mbps down and 1mbps up and the game lags about every 3-4 min on the dot...not hardware neither tis tha router cuz we got exact same problem .. "Little Hiccups" Any other suggestions?
Message Edited by KnewbZ on 11-06-2007 06:37 AM
(Edited post for guideline compliance. Thanks!)
Message Edited by JOHNDOE_06 on 11-06-2007 06:42 AM

Similar Messages

  • Error while creating JDBC connection pool for MSSQL database

    Hi,
    From my windows m/c, I am trying to configure a connection pool to connect to
    an MSSQL database on another m/c. While setting the targets, i get the error :-
    <Mar 11, 2004 6:17:52 PM GMT+08:00> <Error> <JDBC> <Cannot startup connection
    pool "gcdb_connpool" Cannot load driver class: com.microsoft.jdbc.sqlserver.SQLServerDriver>
    I have added the path of the jars for the driver in the classpath.
    Any help would be appreciated.
    Thanks.

    Hi. Read the weblogic startup script, and follow how it creates
    a classpath argument for the server. You must get the driver jars
    into that classpath.
    Joe
    Neha wrote:
    Hi,
    From my windows m/c, I am trying to configure a connection pool to connect to
    an MSSQL database on another m/c. While setting the targets, i get the error :-
    <Mar 11, 2004 6:17:52 PM GMT+08:00> <Error> <JDBC> <Cannot startup connection
    pool "gcdb_connpool" Cannot load driver class: com.microsoft.jdbc.sqlserver.SQLServerDriver>
    I have added the path of the jars for the driver in the classpath.
    Any help would be appreciated.
    Thanks.

  • Setting up connection pool in MSSQL SERVER 2000

    hi,
    i m having too much trouble in setting up connection pool in TOMCAT 5.0.25 for MS SQL SERVER 2000...
    ......so plz guide me how to do that...
    TIA
    bhups

    i m having too much trouble in setting up connection
    pool in TOMCAT 5.0.25 for MS SQL SERVER 2000...Never done it for SQL Server, but setting up a connection pool in tomcat is basically the same no matter what DB you're using:
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
    The two files you're interested in are server.xml and web.xml. You just need to look at the MYSQL and Oracle examples and "tweak" it ...

  • Problem creating a connection pool for mssql server

    Hi
    i downloaded the microsoft type 4 driver for JDBC and i have installed it. now i am trying to create a connection pool for MS Sql server but each time i ping i keep getting an error telling me
    Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: Connection could not be allocated because: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket
    please can someone help out on this
    Ifeanyichukwu

    I assume that you installed the driver correctly. You did go into the app sever admin and set the JVM path? You do this by going to Application Server | JVM Settings | Path Settings and putting in an entry for Classpath Prefix.
    If that is done and it's not something basic like your database isn't turned on, then it must be your settings. To to Sun's site and search for dbping. http://developers.sun.com/prodtech/appserver/utilities/dbping/dbping_overview.html
    Deploy this program and run it. It is a very simple tool that lets you test different property settings. Play around with different settings until you get a ping.
    If that doesn't work post your connect pool settings.
    Good luck
    Mike

  • Connection Pooling SQL EXception - MSSQL JDBC

    guys,
    i am running a mssql jdbc driver from microsoft(with javax support) and i can't get it running on my sun one server. Btw, I have tested this driver by connecting using a normal connection and it worked.. right now i am connecting via sun one's connection pooling interface. Do i need to use a diffrent connection string aside from connection as illustrated in the docs jdbc:microsoft:sqlserver://192.168.0.1:1433;databaseName=emp" have.. I am having these messages...
    Exception
    javax.servlet.ServletException: com.sun.enterprise.repository.J2EEResourceException
    java.lang.NoSuchMethodException: setServerName
         at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:507)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:448)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:309)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
    Root Cause
    java.sql.SQLException: com.sun.enterprise.repository.J2EEResourceException
    java.lang.NoSuchMethodException: setServerName
         at com.sun.enterprise.resource.JdbcDataSource.internalGetConnection(JdbcDataSource.java:261)
         at com.sun.enterprise.resource.JdbcDataSource.getConnection(JdbcDataSource.java:98)
         at wasp.hr.login.action.LoginSubmitAction.execute(LoginSubmitAction.java:59)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:446)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:309)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)

    I am having similiar issue on this as well.. Did you ever resolve this problem successfully?
    Thanks,
    --kuan                                                                                                                                                                                                                       

  • Sun Java Systems Application Server 9 connection-pool ping error

    Hi folks, I tried creating a javax.sql.DataSource MSSQL database connection pool with the jdts type 4 driver I got from sourceforge, and each ping operation I tried gave me the following error message:
    Operation 'pingConnectionPool' failed in 'resources' Config MBean.
    Target exception message: No PasswordCredential found.
    My connection properties are:
    user = sa
    port = 1433
    databaseName = FlyMyWayDB
    serverName = digitanx-chalu
    What does this exception mean, what are the possible causes, and how do I go about resolving it.
    I will really appreciate any help, thanks.

    As long as the JDBC Driver (jar file) for the connection pool(s) you want to create are in the app server's lib directory, you shouldn't have a problem creating both those and the JDBC Resources from the admin console (web app). So far, I am able to bundle my connection pools and resource connections inside my ejb module under "Server Resources" within my enterprise (.ear) application in Netbeans 5.5. When I deploy it, the whole thing works pretty sweet. I haven't gotten to the stage where I will want to migrate the jee application to my dedicated server yet, but I suspect that if my dedicated (remote) app server doesn't want to play nice with my netbeans when I try and set it up as a new server under my "Server Manager", then I'll likely try to simply deploy the .ear file from within the admin console, using the "browse" (for .ear) option (likely the better/preferred practice for production anyhow). Thanks for the dukes! My very first ones ever!

  • Setting up a connection pool to ms sql database

    Hi
    I am trying to create a connection pool to talk to an MSSQL database, and could not manage to ping the DB (Operation 'pingConnectionPool' failed in 'resources' Config Mbean.) .
    What set of properties need to be included for connection pool to an MS SQL DB?
    your help is very much appreciated,
    Yhank you
    orms2004

    package coreservlets;
    import java.sql.*;
    import java.util.*;
    /** A class for preallocating, recycling, and managing
    *  JDBC connections.
    *  <P>
    *  Taken from Core Servlets and JavaServer Pages
    *  from Prentice Hall and Sun Microsystems Press,
    *  http://www.coreservlets.com/.
    *  &copy; 2000 Marty Hall; may be freely used or adapted.
    public class ConnectionPool implements Runnable {
      private String driver, url, username, password;
      private int maxConnections;
      private boolean waitIfBusy;
      private Vector availableConnections, busyConnections;
      private boolean connectionPending = false;
      public ConnectionPool(String driver, String url,
                            String username, String password,
                            int initialConnections,
                            int maxConnections,
                            boolean waitIfBusy)
          throws SQLException {
        this.driver = driver;
        this.url = url;
        this.username = username;
        this.password = password;
        this.maxConnections = maxConnections;
        this.waitIfBusy = waitIfBusy;
        if (initialConnections > maxConnections) {
          initialConnections = maxConnections;
        availableConnections = new Vector(initialConnections);
        busyConnections = new Vector();
        for(int i=0; i<initialConnections; i++) {
          availableConnections.addElement(makeNewConnection());
      public synchronized Connection getConnection()
          throws SQLException {
        if (!availableConnections.isEmpty()) {
          Connection existingConnection =
            (Connection)availableConnections.lastElement();
          int lastIndex = availableConnections.size() - 1;
          availableConnections.removeElementAt(lastIndex);
          // If connection on available list is closed (e.g.,
          // it timed out), then remove it from available list
          // and repeat the process of obtaining a connection.
          // Also wake up threads that were waiting for a
          // connection because maxConnection limit was reached.
          if (existingConnection.isClosed()) {
            notifyAll(); // Freed up a spot for anybody waiting
            return(getConnection());
          } else {
            busyConnections.addElement(existingConnection);
            return(existingConnection);
        } else {
          // Three possible cases:
          // 1) You haven't reached maxConnections limit. So
          //    establish one in the background if there isn't
          //    already one pending, then wait for
          //    the next available connection (whether or not
          //    it was the newly established one).
          // 2) You reached maxConnections limit and waitIfBusy
          //    flag is false. Throw SQLException in such a case.
          // 3) You reached maxConnections limit and waitIfBusy
          //    flag is true. Then do the same thing as in second
          //    part of step 1: wait for next available connection.
          if ((totalConnections() < maxConnections) &&
              !connectionPending) {
            makeBackgroundConnection();
          } else if (!waitIfBusy) {
            throw new SQLException("Connection limit reached");
          // Wait for either a new connection to be established
          // (if you called makeBackgroundConnection) or for
          // an existing connection to be freed up.
          try {
            wait();
          } catch(InterruptedException ie) {}
          // Someone freed up a connection, so try again.
          return(getConnection());
      // You can't just make a new connection in the foreground
      // when none are available, since this can take several
      // seconds with a slow network connection. Instead,
      // start a thread that establishes a new connection,
      // then wait. You get woken up either when the new connection
      // is established or if someone finishes with an existing
      // connection.
      private void makeBackgroundConnection() {
        connectionPending = true;
        try {
          Thread connectThread = new Thread(this);
          connectThread.start();
        } catch(OutOfMemoryError oome) {
          // Give up on new connection
      public void run() {
        try {
          Connection connection = makeNewConnection();
          synchronized(this) {
            availableConnections.addElement(connection);
            connectionPending = false;
            notifyAll();
        } catch(Exception e) { // SQLException or OutOfMemory
          // Give up on new connection and wait for existing one
          // to free up.
      // This explicitly makes a new connection. Called in
      // the foreground when initializing the ConnectionPool,
      // and called in the background when running.
      private Connection makeNewConnection()
          throws SQLException {
        try {
          // Load database driver if not already loaded
          Class.forName(driver);
          // Establish network connection to database
          Connection connection =
            DriverManager.getConnection(url, username, password);
          return(connection);
        } catch(ClassNotFoundException cnfe) {
          // Simplify try/catch blocks of people using this by
          // throwing only one exception type.
          throw new SQLException("Can't find class for driver: " +
                                 driver);
      public synchronized void free(Connection connection) {
        busyConnections.removeElement(connection);
        availableConnections.addElement(connection);
        // Wake up threads that are waiting for a connection
        notifyAll();
      public synchronized int totalConnections() {
        return(availableConnections.size() +
               busyConnections.size());
      /** Close all the connections. Use with caution:
       *  be sure no connections are in use before
       *  calling. Note that you are not <I>required</I> to
       *  call this when done with a ConnectionPool, since
       *  connections are guaranteed to be closed when
       *  garbage collected. But this method gives more control
       *  regarding when the connections are closed.
      public synchronized void closeAllConnections() {
        closeConnections(availableConnections);
        availableConnections = new Vector();
        closeConnections(busyConnections);
        busyConnections = new Vector();
      private void closeConnections(Vector connections) {
        try {
          for(int i=0; i<connections.size(); i++) {
            Connection connection =
              (Connection)connections.elementAt(i);
            if (!connection.isClosed()) {
              connection.close();
        } catch(SQLException sqle) {
          // Ignore errors; garbage collect anyhow
      public synchronized String toString() {
        String info =
          "ConnectionPool(" + url + "," + username + ")" +
          ", available=" + availableConnections.size() +
          ", busy=" + busyConnections.size() +
          ", max=" + maxConnections;
        return(info);
    }taken from:
    http://archive.coreservlets.com/Chapter18.html

  • Connection Pool with MySQL

    Can anyone tell me all necessary steps required to create a connection pool to
    MySQL and use the datasource to get the connection in BMP beans
    Thanks in advance
    Thara

    Using weblogic's mssql driver:
    define following configuration in your config.xml.
    <JDBCConnectionPool
    Name="MSSQLPool"
    Targets="myserver"
    URL="jdbc:weblogic:mssqlserver4"
    DriverName="weblogic.jdbc.mssqlserver4.Driver"
    InitialCapacity="0"
    MaxCapacity="20"
    CapacityIncrement="1"
    Properties="user=jmsqa;password=jmsqa123;server=lcdbnt4"
    />
    <JDBCDataSource
    Name="jdbc.pool.testpool"
    Targets="myserver"
    JNDIName="jdbc.pool.testpool"
    PoolName="testpool"
    />
    Also, do following to make sure your environment is set.
    java utils.dbping MSSQLSERVER4 USER PASS DBNAME@HOST:PORT
    Thara wrote:
    Can anyone tell me all necessary steps required to create a connection pool to
    MySQL and use the datasource to get the connection in BMP beans
    Thanks in advance
    Thara

  • Connection/Connection Pooling - Best Practices

    Hi everyone,
    I'm doing my first JDBC application, and I have some questions about the right way to do things. We've got a series of business objects with lots of database abstraction and everything, and the situation comes up where we're making a lot of calls to the database to populate our objects. The high number of calls occur because of the level of abstraction we need, so when we get a Person object, we don't do a join on the address table and the phone table, but instead make seperate calls to those tables. Aside from the fact that this may not be the best way to do things, what is the best way to manage the connections? It's pretty costly time-wise to create a bunch of new connections, so I was just using one connection and passing it through our database call objects, so I'd created a connection to the DB, get my Person information, pass that connection on to read from the Address table, then again to Phone table. I know this can't be good, but it's a lot faster than creating a new connection every time. Also, I don't know how reusing the connection for different things is screwing up the cursor, or causing the application to hang until the connection is free again.
    I've read some stuff about connection pooling with JDBC 2.0, but the need for the JINI calls is confusing to me.
    Can someone take a few minutes to describe the right way to get this to work with Java? I'm using the MSSQL JDBC driver availiable on Microsoft's site, but I didn't notice which version of JDBC it supports. It's Type 4 driver, but I don't know what that means either.
    Thanks in advance,
    Jim

    They're not JINI calls, they're JNDI calls - Java Naming and Directory Interface. They're just doing a lookup to get the data source from the connection pool.
    When you see it done that way, it's usually a container like Tomcat or WebLogic that's handling the connection pool for you. Are you using either of those, or were you going to try to write your own pooling mechanism?
    Type 4 driver means it's 100% pure Java, no native code. You can read all the different types at:
    http://java.sun.com/products/jdbc/driverdesc.html
    There's another driver at SourceForge jTDS for M$ SQL Server that's pretty good. I've used it with some success, switching away from the M$ implementation:
    http://jtds.sourceforge.net/
    Good luck. - MOD

  • Connection pool

    Dear All,
    I am searching a way to make a connection to a MSSql from my custom iView. Is it possible to make the connection by using the connection pool that located in the "KM Admin > Configuration > Content Management > Utilities > JDBC Connection Pool" ? What should I do to create and use the connection pool?
    Thanks a lot
    Sam

    This is an EP5 document, Detlev
    Well, it still works, but SAP recommends using the connector framework with EP6. Imagine the chaos, if the count of db pools grows in a bigger productive system and they have to be configured in all 3 system landscapes.
    The framework is delivered with a JDBC connector. So you can use it in a common way.
    Further information on using the JDBC connector can be found here:
    good article:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/using j2ee connector architecture with ep6 iview development.pdf
    API:
    http://media.sdn.sap.com/html/submitted_docs/60_sp2_javadocs/raan/index.html
    cool demo:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/java applications and jdbc data sources.abst
    some lines from oliver:
    https://www.sdn.sap.com/content/html/Using%20JDBC%20Adapter%20for%20SAP%20EP%20Connector%20Framework.htm
    Hope this helps,
    Karsten
    p.s. if we're actually talking about EP5, forget everything above

  • Firebird connection pool on Sun Java System App Server 8.0.0_01

    Hello everybody!
    I�ve tried (without success) to make a Firebird connection pool (of type "javax.sql.ConnectionPoolDataSource") on Sun AS 8.
    I�ve used "org.firebirdsql.pool.FBConnectionPoolDataSource" class (and I�ve tried also the other classes from the "firebirdsql-full.jar" package that�s included in Firebird 1.5.0 JDBC Driver distribution).
    Things appear to be OK, but I never get a response after ping-ing the resource...and this not OK, for sure...
    I might mention that any other connection pool that I�ve done (mysql, oracle, db2, mssql) works fine.
    Any thoughts?
    Thank you.

    The answer is yes. I can connect without a pool, through DriverManager.getConnection(...) and so on...
    Also, the config information for the pool conforms the driver docs. The strange thing is that I can register a Firebird DataSource with the "fscontext" JNDI provider, and I can lookup the registered DataSource...

  • What's a realible connection pooler component ?

    Hi all,
    I want to use a connection pooler inside my application.
    Could anybody spot me some reliable connection pooler component ?
    Cheers.
    Stefano

    First check if your database vendor doesn't already have one. The major vendors (DB2, MySQL, PostgreSQL, Oracle, MSSQL) at least have one. If there isn't, or you want more portability, then consider Apache Commons DBCP.

  • DBConnect Connection pooling

    We are trying to use DBConnect installed on DB2 UDB on SAP to do real-time stored procedure calls to an oracle data base to return real-time data by executing a the oracle stored procedure that returns the  real-time values.
    We want to make sure that DB Connect will support connection pooling when installed on SAP?
    Any help would be appreciated!
    More specifically documentation would also be helpful.

    Hi Ron,
    You're right, it is not possible to create a DataSource based on a DBConnect source system sp returning a result set; but we used our brains and some creativity in implementing an extraction framework based on external databases.
    Roughly; we don't use the DBConnect source system as such; instead we create function modules based extractors. The DataSource is defined, hmmm..., on the MyBW source system itself... This lets believe BW that is datamarting itself and offers lots of technology (delta based extraction for instance).
    The extractor is getting the data from the external database; could be a stored procedure or anything returning data.
    We even pushed the development to a point that the extractor code itself is generated on the fly based on some customizing entries we maintain in BW in order to define where to find the data for which BW datatarget. As a result we have ONE function module for extracting Master data, delta based.
    The benefits are many: data cleansing and preparation is performed in ONE external RDBMS easy to deal with (MSSQL); we never load a flat file in BW.
    This PreStaging System (PSS) as I call it sometimes even loops back to the Oracle R/3 and BW RDBMSs enabling us unlimited scenarios without spending too much effort in implementation. Any legacy system data will go through the PSS before reaching BW. The PSS serves as well data migration for R/3 when we roll out new implementations.
    BW operations run smoothly and our business requirements become easy to implement.
    In summary you're correct, you can't create a DataSource based on a stored procedure; I believe that this is because the schema/structure in the external system is not known  "a priori"... However I would have expected SAP to develop this technology a step further and allow it. I can also think that may not be possible on all RDBMS platforms...
    But if there is a problem, there's always a solution...
    Olivier.

  • Connection pool & licences

    Hi
    Can some body tell me.....;
    Is there any relation between connection end user licence of rdbms &
    Connection's being done.
    Ex :- When we buy Oracle/MSSQL we are being charged an Ransome money for
    every client licence, So does this mean only Issue specific
    licences can be made use of in connection Pool usin JDBC Tp4
    Drivers.
    Can some body elighten me on this matter
    Thanx in advance
    Karthik.N.S

    With Oracle (at least last ime I looked), client licencing means the number of potential end-users. E.g. if 500 people have access to an application which uses an Oracle DB then you kneed 500 user licences even if only connecting through, say, 10 connections in your pool. In these cases (and web apps are even worse) it is worth considering power licences which are based on the number and speed of CPUs. With power licences it is also worth putting your Oracle DB on a dedicated server.

  • RFC_FAILURE affects Connection Pool

    Using VB.NET (2003) with .Net Connector 2.0.
    An intermittent problem causes a RFC Call to fail, and an exception is raised in the .NET code. The Exception message is:
         See RFC trace file or SAP system log for more details
    The Trace file shows:
    ERROR file opened at 20051115 131423 GMT Standard
         T, SAP-REL 640,0,78 RFC-VER 3 759904 MT-SL
    <b>T:2844 Could not send rfc container 0x130
    T:2844 <* RfcCall [1] : returns 1:RFC_FAILURE
    T:2844 <* RfcCallReceive [1] : returns 1:RFC_FAILURE
    >TS> Tue Nov 15 13:14:24 2005
    T:2844 <* RfcCleanupContext [1] : returns
              18:RFC_INVALID_HANDLE
    T:2844 <* RfcCleanupContext [1] : returns
              18:RFC_INVALID_HANDLE</b>
    This error adversely affects the Connection Pool – as calls to other RFCs are now prone to similar intermittent errors…
    Is there any way to prevent the problem causing problems with Connection Pool ?
    Is there any way of removing a “faulty” connection from the pool ? (NB Close and Dispose on the connection does not help)

    The application is a Windows service - so I don't want to lose any connections. I assume that closing the connection (and not returning it) will affect the number of available connections in the pool(?).
    I'm using async. RFC call, and the problem is detected in the callback function when the EndRFCCall is performed.
    Original code:
    Public Sub Execute_RFC(ByVal parameters as string())
    ' Assign SAP Connection to RFC Proxy
    sapRFCProxy.Connection = SAPConnectionPool.GetConnectionFromPool(<i>ConnectString</i>)
    Call the SAP RFC - Asynchronously
    arAsyncResult = m_sapRFCProxy.BeginRFCCall( params..., AddressOf RFC_CallBack, objAsyncState)
    End Sub
    Private Sub RFC_CallBack(ByVal ar As IAsyncResult)
    Try
        ' Retrieve the SAP RFC Response...
        Call sapRFCProxy.EndRFCCall(ar, <i>param1, param2, etc...</i>)
    Catch ex As Exception
        ' Log the Error...
    End Try
    ' Return the Connection
    Call SAPConnections.ReturnConnection(sapRFCProxy.Connection)
    End Sub
    I have changed the code as suggest so that the connection is closed, disposed but <u>not</u> returned. This cleared the RFC_INVALID_HANDLE errors, but the main problem of a corrupted connection persists.
    Diagnostics produced by the amended code:
    <u>Trace File (Info):</u>
    2005-11-16 11:55:46Z     Warning: RfcCleanupContext failed. Closing connection
    <u>dev_RFC.trc</u>
    ERROR file opened at 20051116 115546 GMT Standard T, SAP-REL 640,0,78 RFC-VER 3 759904 MT-SL
    T:3068 ======> CPIC-CALL: 'CMSEND'
    ERROR       program state check for conversation 99610798
    TIME        Wed Nov 16 11:55:46 2005
    RELEASE     640
    COMPONENT   CPIC (TCP/IP)
    VERSION     3
    RC          471
    MODULE      r3cpic.c
    LINE        2576
    DETAIL      called function STSEND in state state=BUFFER_DATA2
    COUNTER     1
    T:3068 <* RfcCall [20] : returns 1:RFC_FAILURE
    T:3068 <* RfcCallReceive [20] : returns 1:RFC_FAILURE
    T:3068 <* RfcCleanupContext [20] : returns 1:RFC_FAILURE
    Even with the change to the code, a call to a reliable RFC will now fail <u>intermittently</u> with:
    T:2876 Could not send rfc container 0x130
    T:2876 <* RfcCall [24] : returns 1:RFC_FAILURE
    T:2876 <* RfcCallReceive [24] : returns 1:RFC_FAILURE
    Thanks

Maybe you are looking for

  • Vga signal booster

    can you buy a vga signal booster to allow the mac mini to work on any crt monitor?

  • Concat java variable to a MySql select statement and exeucte

    Hi, I am trying to append a variable to a MySql select statement. Overview: I need to retrieve data from a MySql database with a java variable as a reference and select the data in the database based on that variable. CODE THAT I CURRENTLY HAVE: // D

  • Develop discussion forum in ADF

    JDeveloper 11.1.1.6.0 Is this forum built in ADF? Or, how should I develop a discussion forum in ADF? Which all components I should use?

  • IPhone 5S 8.0.2 doesn't connect via BT with MacBook Pro Retina

    Hi, I'm trying to connect my iPhone with my MBP Retina because I want to try Hand-off and Continuity. I connect them via BT, they exchange the code but after 2-3 sec both the devices lose the connection. It seems like they are unable to recognize eac

  • How to flash the bios? (VGA)

    I have a ti4800se v1.00 card.I want to flash its bios. Is it possible??? And maybe later i will do vmod... How to vmod on MSI ti4800SE??