Decreasing amount of RFC-Destinations when using UD-Connect?

Hello,
I created an RFC-Destination in sm59 as well as JCO RFC Provider and used the SAP manual for UD-Connect/JDBC to a "foreign" Sybase-DB. The Connection is working properly and all DB-data is accessible, but our cutomer claims that there are more than 25 parallel rfc-connections from our Web AS to his Sybase-DB. My question is: How can I decrease the amount of parallel connections, because I don't think 25 connections to Sybase-DB are necessary. I know there is the maxConnection-Property in JCO RFC Provider but this parameter is globally affecting all RFC-connections and not only those that are associated with the Sybase-DB.
Is there actually a way to customize the amount of parallel connection via JDBC?
Best regards
Danny

Hi,
use transaction  "smqs", select destination and click on registration  change max number of connections.
Try to define rfc server group  to control connections ...
Regards
Ben

Similar Messages

  • Enable Secure communication for RFC destinations by using sm59 transaction

    Dear friends,
    We would like to enable secure communications for RFC destinations by using the sm59 transaction in our systems.
    We need to do this manually, by changing  the internal communication settings in a way they can communicate securely.
    Any idea or advice on the way it can be done ?
    We need to take each RFC, manually check it and secure it.
    Thanks in advance,
    Jordan

    In SM59 open up a RFC destination and go to Logon & Security. There you can enable Trusted relashionship and activate status of secure protocol.
    And yes you have to do it manually for the desired RFC's

  • Creation of RFC destination for SAP-Access Connectivity

    Hi,
           I want to create a RFC destination for SAP-Access connectivity.
    Can I get some help regarding it's connection type,activation type and gateway options required for the same.
    Regrads,
    Anthony D'souza

    Hi
    Please see the following:
    1. Create an entry in Trxn DBCA for SQL Server in SAP, you are creating a database connection for the SQL server in SAP.
    2. You use this connection, and write Native SQL stmnts...between EXECSQL...ENDEXEC to fetch the data..and then normal ABAP statements to put that data into your ztable.
    TABLE DBCON Entry can be like this...depends on your External database..
    CON_NAME          Raj                      Logical name for connection
    DBMS                   MSS                   Microsoft SQL Server
    USER_NAME        <User name>       For SQL Server
    PASSWORD         <password>         " "
    CON_ENV             MSSQL_SERVER=<server> MSSQL_DBNAME=<database name>
    DB_RECO                 Availability type for an open database connect
    FUNCTION z_houston_connect.
    ""Local interface:
    EXEC SQL.
    CONNECT TO 'RAJ' AS 'V'
    ENDEXEC.
    EXEC SQL.
    SET CONNECTION 'V'
    ENDEXEC.
    *- Get the data from MS-SQL Server
    EXEC SQL.
    open C1 for
    select
    l.loc_id,
    l.loc_name,
    a.acc_id,
    a.acc_name,
    d.person
    from ho_loc_mast as l
    inner join snd_acc_mast as a on l.loc_id = a.loc_id
    inner join snd_acc_addr as d on a.loc_id = d.loc_id and
    a.acc_id = d.acc_id
    where l.loc_id = '001'
    ENDEXEC.
    DO.
    EXEC SQL.
    FETCH NEXT C1 into :wa-c_locid, :wa-c_locname, :wa-c_acc_id, :wa-c_acc_name, :wa-c_person
    ENDEXEC.
    IF sy-subrc = 0.
    PERFORM loop_output.
    ELSE.
    EXIT.
    ENDIF.
    ENDDO.
    EXEC SQL.
    CLOSE C1
    ENDEXEC.
    ENDFUNCTION.
    Regards,
    Raj

  • Some RST are seen during TCP disconnection when using SSL connection

    Some RST are seen during TCP disconnection when using SSL connection
    It is expected that the disconnection sequence for a secure connection to be as follow:
    client ************************* server
    --- alert (warning, close notify) --->
    <--- alert (warning, close notify) ---
    in any order;
    and then:-
    --------------- FIN, ACK ------------>
    <----------- FIN, ACK ---------------
    ------------------ ACK ----------------->
    Instead of the sequence described above, the TCP connection for a secure connection is closed with an RST.
    For instance, Wireshark capture shows that an SSL+SASL TCP connection is closed in the following manner:
    client ************************** server
    --- alert (warning, close notify) ---->
    ---------------- FIN, ACK ------------>
    <--- alert (warning, close notify) ---
    <----------- FIN, ACK ---------------------
    ------------ RST -----------------> *(This RST message should be investigated, an ACK message was expected)*
    Server: OpenLDAP: slapd 2.4.23
    Client: (java version "1.6.0_16")
    import javax.naming.*;
    import javax.naming.directory.*;
    import javax.naming.ldap.InitialLdapContext;
    import java.util.Hashtable;
    import javax.naming.ldap.InitialLdapContext;
    import javax.naming.ldap.StartTlsRequest;
    import javax.naming.ldap.StartTlsResponse;
    class Client {
    private static final String DEFAULT_INITIAL_CONTEXT_FACTORY = "com.sun.jndi.ldap.LdapCtxFactory";
    public static void main(String[] args) {
    //SSL
    try {
    System.setProperty("javax.net.ssl.keyStore", "c:\\\keystore");
    System.setProperty("javax.net.ssl.keyStorePassword", "adminadmin");
    System.setProperty("javax.net.ssl.trustStore","c:\\\keystore");
    System.setProperty("javax.net.ssl.trustStorePassword","adminadmin");
    // Set up environment for creating initial context
    Hashtable env = new Hashtable(11);
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
    // Must use the name of the server that is found in its certificate
    env.put(Context.PROVIDER_URL, "ldap://1.2.4.4:16415");
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    env.put(Context.SECURITY_PRINCIPAL, "cn=manager,dc=operator,dc=com");
    env.put(Context.SECURITY_CREDENTIALS, "password");
    env.put(Context.SECURITY_PROTOCOL, "ssl");
    // Create initial context
    InitialLdapContext ctx = new InitialLdapContext(env, null);
    // Close the context when we're done
    ctx.close();
    catch(Exception e)
    e.printStackTrace();
    Is it a bug ? Can I expect to have a patch for this issue?
    Regards,
    Olivier
    Edited by: 975464 on 6-Dec-2012 11:21 AM

    I agree it should be an ACK not an RST but it doesn't really matter. The connection is closed, and as neither the client nor the server has any pending data it is benign. Worth investigating in a later JRE.

  • How to create RFC Destination without using SM59?

    Hello all:
    We are troubleshooting an issue.   An user created a RFC destination.   He claims that he did not use SM59.   We checked his access and do not have SM59 in his roles.
    He configured VIRSA FireFighter.   During the configuration, he created RFC destination.   Document says use SM59 or contact BASIS Admin.     He claims that he used a config table and he don't remember the config table name.   RFC screen shows his ID as creator of the RFC.
    We are trying to understand how an RFC can be created (outside of SM59) and plug the security hole in the environment.
    Any insights would be appreciated.
    --Anand

    The FireFighter solution changes the RFC destination of the service user "on the fly" without S_TCODE checks for 'SM59'. But if I can remember correctly when looking into this, it does not create the RFC destination (in SM59) "on the fly".
    > He claims that he used a config table and he don't remember the config table name.
    Theoretically this is possible - a config table to define the name of the destination, and then create it if it does not exist yet (when used).
    Otherwise, see SAP note 587410 and restrict (remove) his authority for the test environment (concentrate on S_DEVELOP, not S_TCODE - as you have also experienced).
    Cheers,
    Julius

  • Error in RFC Destination when CAF Application call RFC

    I developed a CAF application, where I imported a RFC in "External
    Services", like BAPI_FLIGHT_GETLIST, and I mapped it as "Application
    Service".
    Then for execute this CAF application, I created a RFC Destination in
    CE 7.11 SP4 ("http://server:port/nwa/destinations") to configure my ECC
    6.0 EHP4 backend.
    When I execute the CAF application, in CAF project in NWDS, right click
    in Application Service, "Test Service", occurs the follow erros:
    com.sap.conn.jco.JCoException: (103) RFC_ERROR_LOGON_FAILURE: This
    system rejects all logons using SSO tickets on tecs071 sysnr 00
    at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException
    (MiddlewareJavaRfc.java:612)
    at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect
    (MiddlewareJavaRfc.java:1279)
    at com.sap.conn.jco.rt.ClientConnection.connect
    (ClientConnection.java:661)
    at com.sap.mw.jco.jra.JRA$ManagedConnectionImpl.<init>(JRA.java:3332)
    at
    com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl.createManagedConnection(JRA.java:2623)
    at com.sap.engine.services.connector.jca.ConnectionHashSet.match
    (ConnectionHashSet.java:371)
    at
    com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:330)
    at
    com.sap.engine.services.connector.jca.ShareableConnectionManager.allocateConnection(ShareableConnectionManager.java:54)
    at com.sap.mw.jco.jra.JRA$ConnectionFactoryImpl.getConnection
    (JRA.java:4637)
    at com.sap.mw.jco.jra.JRA$ConnectionFactoryImpl.getConnection
    (JRA.java:4654)
    at
    com.sap.caf.demo_sap_com.teste_caf_rfc.external.tecs071.bapi_flight_getlist.BAPI_FLIGHT_GETLISTBean.bapiFLIGHTGETLIST
    (BAPI_FLIGHT_GETLISTBean.java:54)
    Regards,
    Fabiano Rosa
    Edited by: Fabiano Rosa on Apr 5, 2010 7:21 PM

    Before checking the jco/sso ensure to maintain same destination name in both 'nwa/destinations' and in ide nwds while importing rfc.This also causes error while testing the service.
    Thanks,
    Murthy.

  • Retreiveing RFC destination attributes using JCoDestination

    Hello experts,
    I have created a RFC destination in 2 CE 7.11 servers via NWA.
    When I use the following code on one of the servers:
    JCoDestination destination = JCoDestinationManager.getDestination(BACKEND_CONNECTION);
    destination.getAttributes();
    I get the attributes and everything is okay.
    When I use it on the other server, I get NullPointerException.
    Can anyone explain this behavior?
    Regards.

    Hi,
    Did you create the RFC distination on the new server using Visual administrator and tested it?
    RFC destinations have to be created at both ends at portal visual admin as well as at backend.
    Regards
    Deepak

  • How to configure the RFC destination of ERP-CRM connection when moving to Q

    Hi Experts,
    I set up a ERP sales order and quotation in CRM but under configuration
    Customer Relationship Management -->Transactions -->Settings for Sales Transactions -->Define Profile for ERP Sales Transactions
    you can only configure one which is i already did in development now we are moving to Quality then next to Prod.
    Do you mean we will change this everytime we move to different environment thanks in advanced
    Br,
    Etrafanob

    Hi Etrafanob,
    Yes, in each system you will have to change the RFC destination for this as the destination set in your development system will normally be transported through to QA and production. To make the change you will need to contact your basis team and request the system client to be open for configuration changes in transaction SCC4.
    I hope this helps.
    Regards,
    David.

  • Websphere Application Server 5.1 Hangs when using Oracle Connection Pool

    I have a j2ee application that runs on WAS 5.1 ( IBM JDK 1.4 ) and Oracle 10g 10.2.0 . My customer is doing load testing with 25 virtual users and a connection pool with a max size of 10. When the test starts all 25 users attempt to get a connection, and the first 10 get a connection. At this point the application server hangs with the connection pool in allocation. This is seen in Tivoli. Each thread only needs one connection to process it's request.
    I have my own home grown connection pool which when used under this load does not experience and issue. Monitoring from Oracle's admin console I see a max of 10 sessions. The home grows connection pool does not use a WAS DataSource.
    I have configured my application to use DB2 with a WAS DataSource and the application server does not hang. Monitoring using Tivoli shows the connection pool going into allocation, but it recovers as is expected.
    Are there any known issues with the Oracle JDBC drivers when used with WAS 5.1 DataSources?
    Any direction would be helpful, as I currently thing there is an issue with Oracle's Connection Pool and the IBM JVM.
    Thanks,
    J

    just an attention call: OracleDatasource connection pool does not accept parameters such as removeAbandoned, minEvictableIdleTimeMillis, timeBetweenEvictionRunsMillis, etc, these are specific for the tomcat dbcp implementation (http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html#JDBC_Data_Sources).
    For the accepted ones read this http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/concache.htm
    Edited by: user7428636 on 24/Jan/2011 6:22

  • Facebook V 3.3.0.11 newsfeed only loads when Wi-Fi connection active - get error 2001 when using cellular connection

    There are a number of very recent posts regarding a Facebook error "Facebook returned an unknown error 2001" when trying to dispaly or refresh the news feed.
    For about the past 18 hours I have been experiencing the same issue; other Facebook functions (view own profile, view friends list, view photos, ...) work fine.
    What I have noticed, though, is that FB functions as expected (i.e. news feed refreshes normally) when using a Wi-Fi connection. As soon as I disconnect from Wi-Fi and connect via a mobile connection, the problem returns.
    My wife's identical phone has also been experincing this problem since yesterday.
    Both phones are Blackberry 9700 Bold, with OS 6.0 bundle1879.
    My location is Cape Town, South Africa.

    When you get to a wifi location it should work. Hopefully it will be fixed soon.
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • When use wireless connection the status of CPU will be 100% , hang

    I'm using laptop  HP 14-r037tu. When I connect network by using wireless connection, my laptop will hang suddenly and , Blue screen with CLOCK_WATCHDOG_TIMEOUT.
    But if i use with network cable (LAN), then no problem at all.
    I already tried roll back driver, upgrade wifi driver as latest, scan virus, repair system. What should I do now?

    Hi there @CJch 
    Welcome to the HP Support Forums! It is a great place to find the help you need, both from other users, HP experts and other support personnel.
    I understand that you have been getting a Blue screen with the CLOCK_WATCHDOG_TIMEOUT message. I am happy to help with this.
    There are a few possibilities you can try, if the drive is readable. First, I would recommend you try to backup any critical data you do not want to lose, if possible.  Have you run any of the BIOS hardware tests on the memory and the hard drive?
    Assuming you have the data backed up, then I would start with a System Restore to a point before the problem began.
    Using Microsoft System Restore (Windows 8)
    If after the restore you are still getting the blue screen, you can try using system recovery to reinstall the factory image. This is why you want the backup, as everything will be overwritten.
    Performing an HP System Recovery (Windows 8)
    Troubleshooting HP System Recovery Problems (Windows 8)
    Let me know if either of those, (hopefully the first one) works for you.
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

  • NPE when using pooled connection

    Hello. I have a client application connecting to an OC4J server running on a different machine. The OC4J server maintains a pool of connections to the Oracle database. My client is able to get the datasource from the server via jndi, and gets a non-null connection from the datasource. However, when I try to create a statement using the connection, I get a Null Pointer Exception. If I get a non-pooled connection from the datasource, everything works fine.
    Here is the client code:
    javax.naming.Context ic = getInitialContext();
    javax.sql.DataSource dataSource = (javax.sql.DataSource)ic.lookup("jdbc/nanookDS"); //this gives you pooling
    // javax.sql.DataSource dataSource = (javax.sql.DataSource)ic.lookup("jdbc/nanookCoreDS"); //this does not
    for (int x=0; x<100; x++)
    Connection conn = dataSource.getConnection();
    if (conn == null)
    System.out.println("null");
    Statement stmt = conn.createStatement(); //fails here
    ResultSet rs = stmt.executeQuery("select * from pmi.patient where patient# = 0");
    rs.close();
    stmt.close();
    conn.close();
    Can someone please tell me what's happening? I'm pulling my hair out...
    BTW, the code above works fine when executed in a JSP on the OC4J server.
    Thank you,
    Brian Brown

    import javax.naming.*;
    import java.util.*;
    import javax.sql.*;
    import java.sql.*;
    public class Lookup {
    public static void main(String arg[]) throws Exception {
    Properties props = new Properties();
    props.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.rmi.RMIInitialContextFactory");
    props.put(Context.PROVIDER_URL, "ormi://localhost:23791");
    props.put(Context.SECURITY_PRINCIPAL, "admin");
    props.put(Context.SECURITY_CREDENTIALS, "welcome");
    InitialContext ic = new InitialContext(props);
    Lookup l = new Lookup();
    l.testConn ( ( (DataSource) ic.lookup("jdbc/OracleCoreDS") ).getConnection( ) );
    l.testConn( ( (DataSource) ic.lookup("jdbc/pool/OraclePoolDS") ).getConnection( ));
    l.testConn ( ( (DataSource) ic.lookup("jdbc/OracleDS")).getConnection( ));
    public void testConn( Connection conn ) throws Exception {
    Statement s = conn.createStatement( );
    ResultSet r = s.executeQuery(" Select 'Passed' from dual ");
    if( r.next() )
    System.out.println( r.getString(1) );
    else
    System.out.println( "Failed" );
    r.close();
    s.close();
    conn.close();
    Add oc4j.jar and classes12.jar to CLASSPATH.
    Elango.

  • Thunderbird email application won't download when using wired connection to WRT610N

    I've been having problems lately getting my email application, Thunderbird v.13.0.1 to work.  When I directly connect my cable modem to my iMac, it will download and send emails, but not when connecting through the router.  I just updated the firmware to V.2, and still having the problem.  Any ideas?
    Solved!
    Go to Solution.

    Tifosa wrote:
    Ok, enabled DMZ
    with Source IP Address = Any,
    and Destination IP = my computer's IP.
    Still not able to send email, blahh.
    I appreciate everyone's suggestions though.
    Try to disable the SPI firewall. We have a tendency to disable this feature if we ran out of options. It’s still not recommended to disable SPI firewall on the router because this serves as the protector of your network...

  • Problem in retriving varray when using weblogic connection pool

    Hi,
         I had similar problem when we I am using the weblogic connection pool. I had similar setup i.e weblogic 5.1 servicepack9 and oracle 8.1.7.
    I cofigarud the weblogic connection pool using Oracle thin driver.
    But if I am using with oracle thin driver directly I am able to retrive.
    If any one know how to retrive varray from procedure using weblogic connection pool please send me it.
    Thanx.
    Bye,
    Satya

    http://docs.oracle.com/javase/6/docs/api/java/sql/Connection.html#setAutoCommit(boolean)

  • IPhone 3GS won't get mails when using 3G connection.

    Hey guys, I'm new in the forum. I've been searching for a while to find a solution to my problem.
    I have several mail accounts in my iPhone, and they all work perfectly when I'm connected to a wifi network. But when I am using the 3G network, the mail app just keep trying to connect and nothing happens, all I get is the spinning icon and no error message. Everything else works great with the 3G connection (safari, twitter, Facebook,...)
    I have tried everything to fix it but nothing happens. I restarted my iPhone several times, I've deleted all the accounts and then re configured them from the iPhone, and so on.
    Has this ever happened to anyone?
    Thanks,
    Andres

    Start with basic troubleshooting.
    Settings > General > Reset > Reset Network Settings.
    Basic troubleshooting from the User's Guide is reset, restart, restore.
    One of these is likely to help.
    Also, verify that in Settings > General > Network > that Cellular data is turned on.

Maybe you are looking for