RFC Destination Connection Pool requirement

Hi Experts,
I have a custom webdynpro java application to display number of work items pertaining to that particular user in a backend.
There are users who dont use this functionality as well. But the requirement is to place this application in home screen.
I have used both metadata and modeldata with hard coded user since we did not want error messages to appear for users who do not have backend access.
Application & Access Details
Application Location : Home Screen
Concurrent Users     : 600 concurrent users maximum possible value
Connection Usage    : Close connection immediately using disconnectIfAlive() method.
Now I need to configure JCO Pool Size , Max Connections, Wait Time for the RFC destination.
I have read a lot of post and documents but could not acheive clarity of thought on this.
Kindly let me know what values I should give in these fields for optimal performance and no connection issue for users.
Regards,
Porselvan

Hi Muthavudaiyan,
Hope you are doing good.
Basically from the JCo perspective, there are only 5 parameters that are involved here:
jco.destination.pool_capacity:
Maximum number of connections that are held open in the pool for reuse (default: 1)
jco.destination.peak_limit:
Maximum number of connections that can be obtained from a pool at peak usage times
jco.destination.max_get_client_time:
Maximum time to wait for a free connection if the peak limit is reached before exception is thrown
jco.destination.expiration_time:
Timeout period after which pooled idle connections can be closed (default: 600000ms = 10mins)
jco.destination.expiration_check_period:
Regular time interval for checking if pooled connections have expired and will be closed
The values are determined by the application in question. The ideal values have to told to you by the application developer; there are no two ways about this.
Thank you and have a nice day :).
Kind Regards,
Hemanth

Similar Messages

  • Calculation of no of connection pools required...

    hi,
    1. How many connections can a connection pool have? is there any upper limit on it?
    2. How do we calculate how many connection pools we need for good performance in our OBIEE system.
    3. Currently my client have plans to launch this application for 5,000 users and later after few months the same application will be opened for 70,000 users. So how should i calculate the number of connection pools required so that all the users can acces the Dashboard without feeling much network traffic (assuming all the users are logged in same time)
    Any suggestions guys?

    Hi Abhi,
    To calculate maximum no of connections go through the gerard nico link that Srikanth has provided.Generally for init blocks and report queries we creat diffrent connection pools.
    No of connection pools and max no of connections should be carefully chosen because BI server will allocate memory to these connection even if you are not using those connection pools.Total no of connections in RPD should be less than 800.This is an Oracle recommnedation.
    Regards,
    Sandeep

  • Calling a RFC using connection pool

    Can I use connection pool to call a RFC from my R3? I'm using SAP Enterprise Connector but I don't want to pass user/password hardcoded.
    Thanks in advance.

    Hi Kiran,
    Yes I used SAP JRA and it works.
    You need JRA deployed and configured on WAS, your basis guy can do it for you. The next step is download this PDF  <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad09cd07-0a01-0010-93a9-933e247d3ba4">Accessing BAPIs Using the SAP Java Resource Adapter</a>.
    Follow this document, it's very easy to do so.

  • To check the TCP/IP RFC destination connectivity

    I am working on R3-->XI connectivity and when i check the destination it looks fine but when I check with the function module for Connectivity, It gives me error.Please suggest any function module who ensures the R3->XI connectivity.
    Thanx in advance.

    You should just be able to do a test connection from SM59 instead of using a FM.

  • Calling Remote enabled Function module in java using RFC Destination

    Hi
    We are on Portal 7.3 ehp1 sp9.
    Steps followed are :
    RFC Destination called “SAP_RFC” has been created as below :
    Configuration -> Destinations -> RFC Destinations
    Connection and Transport:
    Load balancing :Yes
    Provided : SystemID / MS Server / MS Server Service / Logon Group / Gateway Host / Gateway Service
    SNC : Inactive
    Logon Data:
    Authentication : Current User (Assertion Ticket)
    Language : EN
    Client : XXX
    Repository Connection:
    Destination Name : This Destination
    Specific Data:
    pooled Connection Mode : Yes
    Max : 5
    Size : 10
    Max. wait time : 10,000
    Ping Destination results : Successfully connected to System XXX as per user XXXXXXX.
    JAVA Code as Follows:
    JCoDestination destination = JCoDestinationManager.getDestination("SAP_RFC");
    //destination.ping();
    JCoRepository repository = destination.getRepository();
    JCoFunction function = repository.getFunction("FM_NAME");
    function.execute(destination);
    Lines highlighted in RED color throwing an error as below :
    {"ERROR":"Initialization of destination JCO_RFC failed: Incomplete logon data. on <SID> mshost <MS_HOST>/ com.sap.conn.jco.JCoException: (103) JCO_ERROR_LOGON_FAILURE: Incomplete logon data. on SID mshost MS_HOST"}
    And found that no COOKIE with the name “SAP_SESSIONID_<system>_<client>” was not found, I am afraid that “Assertion Ticket” was not created in above scenario.
    To confirm SSO configuration working, i have followed below steps:
    1) Created System Object pointing to R/3 and tests were successful for authentication type "SSOLOGONTICKET / ASSERTIONTICKET"
    It's J2EE application, no references or any other additional configuration been made part from above.
    Any help ?
    Thanks

    Here is log ..Assertion ticket could not be retrieved. Error was null
    Log Record Details
    Message:
    Assertion ticket could not be retrieved. Error was null
    Severity:
    Error
    Date:
    2014-04-23
    Time:
    20:28:26:056
    Category:
    /System/Security/destinations
    Location:
    com.sap.security.core.server.destinations.service.AssertionTicketRetriever
    Application:
    Thread:
    System [2]
    Data Source:
    j2ee/cluster/server0/log/system/security_00.log
    Arguments:
    Passport User Activity ID:
    3a7af5ddca8b11e384bd8adb6f484d33
    Message ID:
    Session:
    Transaction:
    User:
    Time Zone:
    +0800
    Customer Message Component:
    BC-JAS-SEC
    Runtime Component:
    tc~sec~destinations~service
    Correlation ID:
    3643650000002747
    Passport Session:
    3A7AF5DDCA8B11E384BD8ADB6F484D33
    Passport Connection:
    3a7af5ddca8b11e384bd8adb6f484d33
    Passport Connection Counter:
    0
    Log ID:
    C0000AD01D7B002200000EA5009800B2
    Host:
    host
    System:
    XXX
    Instance:
    J00
    Node:
    server0

  • RFC Destination Between R/3 and XI Not Reestablishing

    I have an RFC destination set up in R/3 so that calls can be made to our XI system.  Everything works fine until our central SLD goes down for maintenance,etc.  When the SLD is down, the RFC connection is lost.  I assume this is by design.  The problem is that once the SLD comes back up, I would expect the RFC Destination connection to automatically re-establish itself.  It does not.  I have to go into IB:Config and change/save/reactivate a channel using the RFC destination so that it gets reregistered.
    Is there a setting that will make the RFC Destination connectivity re-establish itself automatically?
    Thanks

    When you say "go add some spaces" are you referring to putting spaces in the description field just so you can change/activate?  I assume you did, just checking.
    Thanks Naveen.
    Everyone else out there:  Do you all have to manually do this every time the SLD goes down?

  • ** End-to-End Monitoring - RFC destination error while save config in RWB

    Hi Friends,
    We have 2 RFC destinations in our XI server. 1) PMI<client>001 2) PMI<client><client>800. First one is for XI server. Next one is for Sender/Receiver System.
    We want to activate End-to-End Monitoring in RWB. For this, when I save configuration, it throws the following error.
    Incorrect RFC Destinations: When the configuration is saved, an RFC destination is created on the monitoring server for each XI component to enable end-to-end monitoring of the respective XI component. However, the test call failed for the destinations listed. Therefore, you must check the call and the authorization on the monitoring server for the destinations concerned, by using transaction SM59. Also check whether RFC user used for the destination is maintained in the relevant XI component. Note that a component can only be monitored when its RFC destination is maintained correctly.
    I have checked the user in the above destinations. For the first destination, we have assigned PIRWBUSER of XI system. Test Connection is OK, but unable to login remote. At the same time, PIRWBUSER is not locked.
    For the second destination, I have assigned some login user of sender/receiver system. Test connection is OK. Able to login remotely.
    There is no RFC user in our XI system. (I tried using RFCUSER* thru SU01 tcode).
    There is no PIRWBUSER in the Sender/Receiver System.
    In RWB, Configuration, 3 components are there. 1) XIIntegrationServer 2) Business System (for Sender/Receiver System) 3) XI Adapter Framework. I selected last two. (First one is already selected). Monitoring Level : Medium (for all 3). Send and Receive Check box is selcted for the last two.
    So, what could be the problem for the above error?
    Could you kindly clarifiy friends.
    Thanking you
    Kind Regards,
    Jeg P.

    Hi friends,
    I have one RFC Destination PMI<sysid>001. (Abap Connction) in my XI system. This destination is for  XI server. Connection Test is OK. Remote Logon by using the PIRWBUSER is also ok.
    In the 'Configuration' tab of the Runtime Workbench, when we select 'Save Configuration', (Business System and Adapter Framework is not activated) with the default activation for XI Integration Server, the system throws the following error.
    Incorrect RFC Destinations: When the configuration is saved, an RFC destination is created on the monitoring server for each XI component to enable end-to-end monitoring of the respective XI component. However, the test call failed for the destinations listed. Therefore, you must check the call and the authorization on the monitoring server for the destinations concerned, by using transaction SM59. Also check whether RFC user used for the destination is maintained in the relevant XI component. Note that a component can only be monitored when its RFC destination is maintained correctly.
    When we save configuration, an one more destination is automatically created in the name as below.
    PMI<sysid>001<yyyymmdd>. For Example, PMIPID00120080207. 
    When we test  newly created RFC destination, connection is OK, but not able to remot login using the same user PIRWBUSER.
    The difference between old and new RFC destination, in old, we have selected Load Balancing is 'Yes', but in the new it is 'No'. The system also tells the error below.
    Name or Password is incorrect (repeat logon) - PMIPID00120080207
    But, still remote login is possible in the old RFC destination using the PIRWBUSER.
    So, What could be the problem ...?
    Kindly reply, friends.

  • JDBC Version/connection pooling

    Hi all
    I am using JDK1.1.8 (this is device dependant so please don't suggest using a different JDK), and jTurbo1.22 as my driver. I have three questions:
    1. What version of JDBC does JDK1.1.8 support?
    2. Can I use Connection Pooling with this set up (driver + JDK)?
    3. If I can't use connection pooling, any suggestions on how to control more than one connection to a database?
    Thanks
    John

    1. What version of JDBC does JDK1.1.8 support?Version 1.
    2. Can I use Connection Pooling with this set up (driver + JDK)?Connection pooling is a interface to a driver. You can do it in any version of java. However, if you are asking about a specific implementation that is a different matter.
    3. If I can't use connection pooling, any suggestions on how to control more than one connection to a database?
    Control it? Connection pooling requires keeping connections fresh. If you aren't using the connection then something, especially with Oracle, has to do this.
    So you solutions are:
    -Find a connection pool
    -Write your own minimalistic one and deal with keeping the connections fresh.
    -Close the connections when you are done with them.

  • Jdbc-odbc-bridge connection pool

    I got a problem with odbc connection pool in my Sun App Server 7.
    When i try to connect to the odbc database (msaccess or conzept16), i got a SQLException : com.sun.enterprise.repository.J2EEResourceException
    java.lang.NoSuchMethodException: setdatabaseName .....
    It seems that i cant set any propertys like url, user or password. The exception throws every time NoSuchMethodException: setURL or ... NoSuchMethodException: setUser
    I tried this with pointbase database and pointbase drivers and there was no problem. Also when i connect direct from jsp page to the odbc database without connection pool it works.
    How can i set a propper connection pool with the jdbc-odbc-bridge? Please Help. There is no jdbc driver for that database available.
    Is that right using sun.jdbc.odbc.JdbcOdbcDriver for that?
    here my server.xml
    <resources>
    <jdbc-resource enabled="true" pool-name="access-pool" jndi-name="jdbc/AccessDB"/>
    <jdbc-connection-pool steady-pool-size="2" max-pool-size="6" max-wait-time-in-millis="60000" pool-resize-quantity="2" idle-timeout-in-seconds="300" is-isolation-level-guaranteed="false" is-connection-validation-required="false" connection-validation-method="auto-commit" fail-all-connections="false" datasource-classname="sun.jdbc.odbc.JdbcOdbcDriver" name="access-pool" validation-table-name="TAB_NAME">
    <property value="jdbc:odbc:testdb" name="databaseName"/>
    </jdbc-connection-pool>
    </resources>

    AFAIK the bridge driver does not support multipleopen
    connections (which is what connection pooling
    requires).Wrong.
    It might be the case that the bridge AND ms access
    does not support that but I seriously doubt that as
    well.
    Yesterday I didn't want to test this. Today I did.
    So I can state that it is completely wrong.
    There might be some other reason preventing the usage in a pool, but it isn't the number of open connections.

  • 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

  • Connection pooling in RFC adapter..

    Hi folks
    I have a requirement to use connection pooling in RFC adapter.I understand we can use JCO.Client class parameters in the advanced tab of RFC adapter..Does that mean I can use <b>JCO.addClientPool()</b> function.??? (I guess not,as it is not a method of Client class!!)
    In the documentation, I dont find any specific parameters(variables defined in <b>JCO.Client</b> class, all that i find are only <b>getProperty, setProperty</b> methods without any information on possible Keys/Values which can be used)..
    Is there anyway i can extend the functionality of RFC adapter to pool the connections from XI.This is most urgent and need ur help...
    Regards
    Sriram V.

    Hi folks
    I have a requirement to use connection pooling in RFC adapter.I understand we can use JCO.Client class parameters in the advanced tab of RFC adapter..Does that mean I can use <b>JCO.addClientPool()</b> function.??? (I guess not,as it is not a method of Client class!!)
    In the documentation, I dont find any specific parameters(variables defined in <b>JCO.Client</b> class, all that i find are only <b>getProperty, setProperty</b> methods without any information on possible Keys/Values which can be used)..
    Is there anyway i can extend the functionality of RFC adapter to pool the connections from XI.This is most urgent and need ur help...
    Regards
    Sriram V.

  • PI' RFC  Connection pool  doubt.

    Hi PI exports:
    i have a doubt about  pi' RFC  Connection pool ,pi RFC receive channel can set the conn pool size ,but when start the rfc receiver channel ,is there always only one Connection  pool ,or there is only one Connection  pool  instance?
      thinks
    Edited by: kevin liang on Oct 19, 2009 6:45 AM

    Hi,
      Connection poolins size means how many number of connection you want to make open to send data to ECC, We can define maximum number of connection in Receiver RFC Adapter,Go to additional parameters section and define Max Number of connection give the number there,thats it.Internally it works as Connection poolin mechanism.
    Regards,
    Raj

  • RFC Destination not getting connected - IDoc to XI scenario

    Hi Everybody,
    I want send an IDoc from R/3 System to Xi, I have created Two logical systems (Sender and Receiver correspondingly) and i have assigned the clients to them.
    Once i create RFC destination, i have specified all my technical settings as well as Login/Security settings, once i click, "Remote Log On" it takes me directly to Login page of XI. Please guide me how to solve the problem. If i click Test---> Authorization, it prompts out with an error "Name and Password is incorrect (repeat Logon)", but i have given exact username and password.
    I am a fresher to XI.... please give me some documents related to IDoc to XI scenario step by step to [email protected] I would be grateful and appreciate you if u would help me to sort out this problem....
    Please give me step by step solutions.... Thanks in Advance...
    Regards/Guru

    Requirements in R3 system:
    1. Create RFC destination pointing to XI in SM59
    2. Create port for XI using we21
    3. create Outbound Entry in partner Profile for XI in we20.
    Requirements in XI system:
    1. Create Technical System pointing to the R3 system.
    2. create Business System pointing to the R3 system.
    If you want to send IIDOC out of XI,
    1. SM59 - Create RFC destination
    2. IDX1 - Create port
    3. IDX2 - Import Metadata.
    Note:u dont need a IDOC sender adapter or a Sender Agreement to sent a IDOC to XI.
    Check dis link for more info:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660
    please refer to michel book on IDCO usage in XI
    Message was edited by:
            Sreeram Reddy

  • Is RFC destination is required for accessing BAPI from java/VB program.

    I am not able to understant that all BAPI are Remote enabled ,but no where I observed that RFC destination is required.
    Can any body tell me exact flow and things step by step.
    Any example/full source code so that I can call from java program.
    I have tried some java code posted here but not able to understand ..
    please provide me setttings also in SAP and java system

    Hi Nagaraju,
    Thank you very much. your post resolve one of my basic need .really appreciate your post.
    I was not able to execute bapi BAPI_MATERIAL_GETLIST but I executed BAPI_PO_GETDETAIL succesfully.
    Still I have 2 doubt.
    [1]. I called BAPI function module(BAPI_PO_GETDETAIL) from simple java program,But I need to call API method ( GETDETAIL) created for this BAPI not direct BAPI function module.
    [2] this is something apart from original topic.
    I have tested your java code in java as well as similar in ECC 6.0
    But I am not getting any output in JAVA program.
    I am getting output in ECC6.0 only when I will take internal table lt_mara[] with header line.
    if I will take separate workarea output is not coming. I think this is the problem in JAVA also.
    Please see the code and tell me where I am wrong.
    REPORT ZTEST1.
    types: begin of ty_mara .
       include STRUCTURE BAPIMATRAM.
    TYPES: END OF ty_mara.
    types: begin of ty_list .
      include STRUCTURE BAPIMATLST.
    TYPES: END OF ty_list.
    data: lt_mara type STANDARD TABLE OF ty_mara with HEADER LINE.
    data: lt_list type STANDARD TABLE OF ty_list,
          ls_list like LINE OF lt_list.
    START-of-SELECTION.
    lt_mara-SIGN = 'I'.
    lt_mara-option = 'EQ'.
    lt_mara-matnr_low = '000000000000000088'. "'P1001087'.
    lt_mara-matnr_high = ''.
    APPEND lt_mara.
    lt_mara-SIGN = 'I'.
    lt_mara-option = 'EQ'.
    lt_mara-matnr_low = '000000000000000089'. "'P1001087'.
    lt_mara-matnr_high = ''.
    APPEND lt_mara.
    CALL FUNCTION 'BAPI_MATERIAL_GETLIST'
    TABLES
      MATNRSELECTION                     = lt_mara
      MATNRLIST                          = lt_list[]   .
    WRITE / 'output:  '.
    LOOP AT lt_list into ls_list .
      write: ls_list .
    ENDLOOP.
    REPORT ZTEST2.
    types: begin of ty_mara .
       include STRUCTURE BAPIMATRAM.
    TYPES: END OF ty_mara.
    types: begin of ty_list .
      include STRUCTURE BAPIMATLST.
    TYPES: END OF ty_list.
    data: lt_mara type STANDARD TABLE OF ty_mara, ">> Without header line
           ls_mara like line of lt_mara.
    data: lt_list type STANDARD TABLE OF ty_list,
          ls_list like LINE OF lt_list.
    START-of-SELECTION.
    ls_mara-SIGN = 'I'.
    ls_mara-option = 'EQ'.
    ls_mara-matnr_low = '000000000000000088'. "'P1001087'.
    ls_mara-matnr_high = ''.
    APPEND ls_list to lt_mara.
    ls_mara-SIGN = 'I'.
    ls_mara-option = 'EQ'.
    ls_mara-matnr_low = '000000000000000089'. "'P1001087'.
    ls_mara-matnr_high = ''.
    APPEND ls_list to lt_mara.
    CALL FUNCTION 'BAPI_MATERIAL_GETLIST'
    TABLES
      MATNRSELECTION                     = lt_mara
      MATNRLIST                          = lt_list[]          .
    WRITE / 'output:  '.
    LOOP AT lt_list into ls_list .
      write: ls_list .
    ENDLOOP.

  • TCP/IP Connections in RFC Destination

    Hi,
    When we are using TCP/IP Connections in RFC Destinations in SAP XI and why?
    Regards
    bobby

    >
    jak jak wrote:
    > Hi Sujit,
    >
    > i have one small doubt,we are using WAS 6.40 with EP 6.0. So can we use this RFC destination service in our code?
    >
    >
    >
    > Thanks,
    > Jak
    You can use RFC Destinations with WAS 6.40. I wrote a blog on about it [here|/people/stefan.thibeault2/blog/2008/07/16/a-real-world-example-of-using-the-sap-enterprise-connector].

Maybe you are looking for

  • What's the maximum memory ram for Macbook Pro?

    Hello, May I know what's the maximum memory ram capacity for Macbook Pro? I am having Macbook Pro - 2.53GHz Intel Core 2 Duo Thank you! Alvin

  • Only Photoshop Causes Color Issues

    Photoshop CS4 Extended v. 11.0.1, Win XP Pro sp3 platform on a Dell Optiplex 755 with dual Dell 1908 FP (Digital) on Radeon X1300/X1550 Series monitors... OK, I am incredibly frustrated.  For whatever reason, photoshop displays my image colors comple

  • Incrementing Total not correct(adding +1)  in some group totals

    Hi All, I have an incrementing total that appears to work fine except when I try to display the total's final count only SOME groups have a +1 count. There doesn't seem to be a logical reason for it. Any ideas? Incrementing total formula: Whileprinti

  • Which Color Wheel, please ?

    This matter has been bothering me for many years now. I wonder if and how many Kuler users are actually aware of this, but the Adobe Kuler color wheel is spatially based on some perceptual color theory and harmony, and not the color wheel for technic

  • NiSwitch_I​nit error

    When calling the function niSwitch_Init from Visual C++, I recieve an error of BFFC0011 for PXI-2567.  In MAX the self-test passes and I'm using the correct alias setup in MAX in my function call. My Computer information: Vista NI-Switch 3.8 MAX 4.5.