Max no# fo connections in a single  session

Hi all,
I have a scenario wherein I have connected to SAP from JAVA using XBP itenrfaces.
I want to call  BAPI_JOB_DEFINITION_GET concurrently in a single session using sync threads. The problem what I am facing here is, I am able to handle 15 to 20 connections but for high volumes of threads(50) the JVM is crashing.
I guess there is some limit set from SAP end.
Could anybody provide any suggestions or advice about, the maximum number of connections  and how can I set the parameter to modify the limit.
Thanx in advance
Milind.

Hi
You will have to do memory settings for the number of threads you are trying to access.
Procedure:
Go to configtool and try to change the heap size.If you can tell the configuration of your OS i can help you in setting the corrcet heap size and JVM parameter.
\usr\sap\SID\JCXX\j2ee\configtool and run configtool.bat
1.Go to instance----
Check the heap size
2.Expand the instance node
Click the dispatcher node----
Check the heap size
Click the server node----
Check the heap size
Change the values.If you have confusion send the present values to me.
Message was edited by:
        rajat anand

Similar Messages

  • Max no# of threads in a single session

    Hi all,
    I have a scenario wherein I have connected to SAP from JAVA using XBP interfaces.
    I want to call BAPI_JOB_DEFINITION_GET concurrently in a single session using sync threads. The problem what I am facing here is, I am able to handle 15 to 20 connections but for high volumes of threads(50) the JVM is crashing.
    I guess there is some limit set from SAP end.
    Could anybody provide any suggestions or advice about, the maximum number of connections and how can I set the parameter to modify the limit.
    Thanx in advance
    Milind.

    This topic should be posted in the Java Programming section, not the xMII section...

  • Single session max throughput on 5555-X

    We have some ASA 5555-X firewalls running 9.1(2) with the IDS modules installed that have a pretty basic configuration used to separate multiple internal networks.  The firewalls are able to pass over a Gbps of traffic pretty easily as long as it's sourced from multiple services but if we try to do a high speed transfer such as backup to SAN running over a single UDP or TCP session the traffic seems to peg out around 400Mbps.  We can verify that the server and SAN are capable of much higher transfer speeds by putting both on the same side of the firewall so I'm convinced the firewall itself is the limiting factor here.
    I was wondering if anyone has come across this before and/or has any suggestions for how to boost the speed.  I am really trying to avoid something like bridging the networks with multiple interfaces or route exporting VRFs but our DBA's are complaining nonstop about backup times in those environments.  There are no Service policy QOS settings set on those interfaces and are NAT exempt so the firewall is not doing anything what I would call special.
    Thanks,
    Richard Hillius

    Hello Richard,
    At this point it would be good you do some captures on both interfaces of the ASA in place for this traffic and then see the round trip time just to make sure the ASA is the one generating the slowness on the network.
    And agree the ASA can do QoS for specific traffic (so for all traffic that you defined, not just for a single session).
    Can you share the following commands:
    show interface | include errrors
    show cpu usage
    I could start providing you comamnds but I think it's better to give you the link :
    http://www.cisco.com/en/US/products/ps6120/products_tech_note09186a0080ba9521.shtml
    Here is what you need to undertstand about the ASA, let us know the test you performa afterwards.
    For more information about Core and Security Networking follow my website at http://laguiadelnetworking.
    Any question contact me at [email protected]
    Cheers,
    Julio Carvajal Segura

  • RDS 2012 R2 - Allow Some Users Multiple Logon Sessions and Restrict Other Users to a Single Session

    In Server 2012 R2 RDS, is there a way to allow some users to log on multiple times, but restrict other users to a single logon? On an OU or AD group basis?
    I know there is a GPO setting under Computer Configuration for restricting users to a single logon, but this does not allow me to differentiate on a user basis (only on a per server basis).
    Thanks,
    James

    Hi James,
    From my perspective and knowledge, sorry to say but there is no such option\way to provide this permission at same time. If a user specifies a different program to start when the user connects to the RD Session Host server, a new session will be created on
    the RD Session Host server for the user, even if the RD Session Host server is configured to restrict users to a single session. A user can specify a program to start on connection on the Programs tab under Options in Remote Desktop Connection.
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Max no of connections in the RFC receiver ?

    Hi Guys,
    when i increse the max no of connections from 1 to 5 , i am getting the following errors, i saw we can give up to 50. why it is not taking more than 1.
    SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: resource error: could not get a client from JCO.Pool: com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Connection pool RfcClient[cc_sap_recv]eb54a45a23bc3e3eabd929cc3f3b0688 is exhausted. The current pool size limit (max connections) is 1 connections.</SAP:AdditionalText>
    any help would be appreciated
    Thanks,
    srini

    In the Help it says 50!
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/e80440a832e369e10000000a155106/frameset.htm
    However, a fix for how to trace the exact Error is found here:
    http://help.sap.com/saphelp_nw04s/helpdata/en/f6/daea401675752ae10000000a155106/frameset.htm

  • Configuring JCo3 Connection Pool with single sign on on non SAP Java server

    Hi Everyone,
    i have configured a connection pool on JBoss as per JCo3 Documentation and is working great.
    Now I need help to configure this connection pool with single sign on so that RFc on SAP ECC systems are executed using end users credential rather than using single user name password used to configure JCo connection pool.
    On SAP Java stack I am sure its possible within Java WebDynpro    and i assume using JCA resource adapter. But what if we don't want to use SAP Java App server.
    Any help will be appreciated.
    Thanks,
    Divyakumar Jain

    Eason, 你好!
    I have exactly the same problem.  Did you find a solution to this problem?  If so, please let me know!

  • Limiting Number of connections from a single user

    Hi ,
    I am using 9.2.0.6 DB, i need to restrict the number of connections from a single user to 100.
    Currently the user is having DEFAULT profile, this profile is having several other users associated to it.
    What are all the available options to create restriction for a single user.
    Create a new profile and add the user to the New profile is the option i have.
    In that case can i create a copy of the Default profile and changing the SESSIONS_PER_USER to 100? will it work.
    Appreciate your suggestion.
    Thanks,
    Sathis
    Edited by: user7043544 on Feb 22, 2010 9:46 PM

    Hi,
    Since it is a default profile you can just create a new profile with the resource type you are interested it.
    And if you want to copy the existing profile extract its ddl through below command, change the profile name and required resource and run against the db.
    select dbms_metadata.get_ddl('PROFILE','<Profile_name>') from dual;Regards
    Anurag

  • How to do Multithreading in Oracle PlSql using a Single Session

    Hi All,
    I have a complex but interesting requirement.
    1) I have a table with 90k rows.
    2) My PlSql Package picks up all the 90k rows one by one, does some processing/transformation on it
    3) if the row satisfies some business rules, then it gets inserted into an application table. If the row is not eligible, then it inserts the row into a Error table.
    4) After processing all the 90k records, If my Error Table Count reaches 10% of the input count (90k), then all inserts (i.e. both application table inserts and
    error table inserts) must be rolled back.
    5) Right now, we are achieving this logic in a single session but there are far many performance issues, because processing has to go through row by row.
    Is it possible to implement the above logic as "multi threading within PlSql" whereby i can run Step 2 in 10 parallel slaves and if the total error count of all the 10 slaves exceeds 10% of the input data, then there should be a rollback for all 10 slaves.
    +A sample testcase is given below. Issue is: rollback statement in p1 is not taking any effect (because plsql spawns sessions to execute p2 which autocommits itself on graceful exit). But is there any other way by which i can make the rollback to be effective+
    create table t1 (a number);
    create table j1(b number);
    create or replace procedure p1
    as
    l_cnt number;
    i number;
    l_job number;
    begin
         for i in 1 .. 5 loop
            dbms_job.submit( l_job, 'p2('||i||');' );       
        end loop;
        commit;
        loop
            dbms_lock.sleep(30);
            select count(*) into l_cnt from j1;
            exit when (l_cnt = 5);
        end loop;
       rollback;
    end;
    create or replace procedure p2(i number)
    as
    begin
    insert into t1 values(i);
    insert into j1 values(1);
    end;
    /

    Basically your current 'algorithm' can be described as 'slow-by-slow processing' (co Tom Kyte)
    Relational databases are about sets not about records.
    Consequently your approach must be qualified as evil.
    Instead of fixing the problem (and getting rid of slow-by-slow processing), you propose to add even more evil by adding multi-threading to the mix.
    The issue you describe is not an issue at all, it is just making clear you are heading for disaster.
    An approach that works quite nicely is
    - add an extra status column to the table to be processed.
    - UPDATE the status column of all records that do not qualify. By UPDATE I mean the UPDATE statement, not record by record processing
    - (BULK)-INSERT the remaining records, for which the flag is NULL.
    The simple guidelines for application development are:
    Only do it in PL/SQL when you can't do it in straight SQL
    Only do it in Java when you can't do it in PL/SQL
    Only do it in 3GL when you can't do it in Java.
    Your 'strategy' is doomed to fail.
    Get rid of it.
    Before it is too late, and your heart is pumping like mad, because your problems are increasing, and increasing, and increasing, and you have to work 7 x 24 to deal with 'performance problems'
    You have already demonstrated your approach doesn't work.
    Don't try to make it worse.
    Sybrand Bakker
    Senior Oracle DBA
    Experts: those who do read documentation

  • Multiple DataBase Connection in a Single Form

    hi all
    Is it Possible to have Multiple Database Connection With a Single Form
    Block a : Retriving data from a database Service a/Schema A.
    Block b : Retriving data from a Remote Database Service b / Schema B.
    If yes how to do this.
    regards
    jai
    email:[email protected]

    Sure you can access a database this way,
    but can you base a block on this database connect? No you can't.
    Frank

  • Can I download a file in different sessions or should it be in a single session? In other words can I pause the download of a file, shutdown/restart my system and then resume download from where I left off? Or will it start from the very beginning?

    Can I download a file in different sessions or should it be in a single session? In other words can I pause the download of a file, shutdown/restart my system and then resume download from where I left off? Or will it start from the very beginning?

    If a server supports resuming downloads then the download should continue where it left off.<br />
    You can test that by simple starting a large download and wait a minute or so before pausing it.<br />
    Then you can close and restart Firefox and see if resuming works.
    You can set the pref browser.download.manager.quitBehavior to 2 on the about:config page.<br />
    That will make Firefox ask for confirmation if you want to cancel the download if you close Firefox.
    See:
    * http://kb.mozillazine.org/browser.download.manager.quitBehavior

  • Hyperion Financial Reports Studio Error. Max No of connections exceeded.

    I have encountered an error in FR Studio, it says Max No of Connections Exceeded.
    It occured twice in this month, everytime it happens we need to restart Reporting and Analysis Framework. Can someone suggest where can I increase the max no of connections allowed?

    Ok...My bad..
    You will have tun serviceconfig.sh under Hyperion_Home\products\Foundation\workspace\bin to bring up GUI,then From the menu available you will see Remote service configurator,select that and provide the credentials.After you login,there should RM1 and SB1.You will have to go o properties of RM1 and SB1 and then increase the connection.Restart is required for this to take affect.
    Let me know

  • How to get active monitor-Multiple monitors connected to a single machine.

    Hi,
    How to get the id of active graphic device, in case of multiple graphic devices connected to a single machine(Multi-headed display/ multi headed nodes) using Swing.
    Prashanth.

    Ah, youre actually asking different things.
    In your topic title, you say youre running separate instances
    In your body text, you say you are under different user/schema
    So tell me, do you have more than one database or not? How many entries in your TNS file?
    I would say, for "multiple database instances"
    SELECT
      a.id, b.id
    FROM
      tableA a
      INNER JOIN
      tableB@OTHER_DATABASE_LINK_NAME b  <--NOTE!
      USING(id)And of course you will have to look up CREATE PUBLIC DATABASE LINK sql..
    Message was edited by:
    charred

  • Message Driven Beans: how to receive and send in a single session?

    Hello
    How to receive and send JMS messages in a message driven bean using a single session?
    Thanks.

    Are you referring to writing code within the onMessage method itself to receive JMS messages?
    If so, that is not a pattern that is recommended, especially not in the case of a blocking JMS
    receieve. If you must write an explicit JMS receive within an EJB component it's best to use
    a "check the queue" approach where you give a very small timeout for the receive. That way
    if the message is there it will be returned but if not the call will not block.
    You'll also need to take the transactional settings of the onMessage method into account.
    If your are sending a message and then waiting for a response, those two actions can
    not be done within the same global transaction. For that, you'll need to either use
    BMT and perform each in its own transaction or just not use global transactions at all,
    in which case each send and receive operation will be atomic.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • LDAP "ServerListener" stops responding (Max number of connections reached)

    Hi --
    The last four work days, in the evening, our OAS 10G server stopped processing portal logon requests. The response to login requests was this message:
    Internal error WWC-00006 Unexpected error
    encountered in wwsec_app_priv.process)signon
    (User-Defined Exception) (WWC-41417)
    An exception was raised when accessing the
    Oracle Internet Directory 81: Can't contact
    LDAP server. Details:
    Operation dbms_ldap.simple_bind_s (The message also included other details such as the host, port and DN, and a reference to error message WWC-41743.)
    Suspecting an LDAP problem, we looked on the server, and in ORACLE_HOME/LDAP/LOG I found recent log files (oidldapd[instance]s[pid].log) with several megs of messages that look like this:
    2005/06/17:17:59:33 * ServerListener :2 * ERROR :
    ServerListener : Max numbers of connections reached.
    Num Conns = 874, Max Conns = 874, Closing the
    connection. These messages repeated, several times per minute, overnight and the next day until I restarted the server. The same thing happened again the next night.
    A metalink search pointed to docid "293391.1" which, in part, suggests that the problem may be caused by improper programming, and that the solution may be to, "investigate the applications that connect to OID and where possible modify them to perform an explicit disconnect."
    Does anyone have any reference to how an application can perform an explicit disconnect from the OID? We do have a relatively new application which follows the "Java API for Oracle Internet Directory" -- documention found here: http://download-west.oracle.com/docs/cd/B10501_01/network.920/a96577/oid_java.htm -- but in that document we cannot find any reference for how to "perform an explicit disconnect".
    The application already calls the "context.close()" method, which according to the documentation closes the connection to the OID, but we cannot find any other "explicit disconnect". And, since the problem happens even though our app is already calling the context.close(), there must be something else.
    Opened this up as a Metalink question related to Portal, but they said it's not their problem, and we should ask over here.
    Any thoughts?

    Looks like that's helped. While the errors persist, OID isn't dieing.
    For anyone with similar problems, it looks like docid 437493.1 is useful. Upgrade clients to at least 10.2.0.3 to defeat a sqlnet problem.
    Just tried it with the 10.2.0.5 patchset and it seems to be working and not generating the 104 error on the OID server.

  • What is Max number of schema in a single DB ?

    Hi All,
    I have small query does anyone have any idea about
    What is Max number of schema in a single DB we can specify in oracle ?
    Thanks n advance.
    Anwar

    You don't say which version of the database you are using. In 10gR2 the maximum limit on users and roles is 2,147,483,638.
    I think this is more users than any sensible DBA would want to manager :)
    Cheers, APC

Maybe you are looking for

  • Creating an Image from an Icon

    I need to use an Icon retrieved from UIManager#getIcon(Object) as a JFrame's icon. Is there a way to convert the Icon to an Image object?

  • Excise RG23C Opening Balance

    Hi friends, I have a doubt. Please anybony can helpus. Let's take an example: On 1st june, 2010 client goes live. so opening balances for RG23C is updated in Table and corresponding FI entry is also posted, giving effect in Excise & FI books. Now if

  • How to use Class "GenerateCCode"

    Hello, did someone ever ude the class "GenerateCCode". It look like you can open a vi-reference and the class converts it to a *.c-file. But i have no idea whta the correct parameters are. Any hints? Thx Attached a example Attachments: generate.vi ‏4

  • Cannot open Landscape configurator

    Hi When I am trying to open the Lanscape Configurator with this URL http://hostname:port no/webdynpro/dispatcher/sap.com/tcSLCMS~WebUI/Cms it is giving error message 500   Internal Server Error   SAP J2EE Engine/7.00    Application error occurred dur

  • Dynamic subscription of Topic "jmstopic/default/BPMMailsTopic"

    Hi guys, is it possible to subscribe a topic during the runtime (dynamically)? I'm working with: SAP NetWeaver 7.3 (Java), JDK 1.6, NWDS 7.3 SP03. In my coding, I'm using a Message Driven Bean with annotation to the BPMMailsTopic you can find under "