Should I have one JCo connection per RFC model?

Hello SDN,
I got a JCo doubt.
Should I have one JCo connection per RFC model in a DC? or Can I have the same JCo connection for several models in such Web Dynpro Development Component?
I will appreciate any help.
Thank you.

Hi Gustavo,
Ideally, we use one JCo connection for all the models in all the DC's in a big project.
If you see the SAP delivered XSS/ESS/MSS solutions they are also using one JCO (SAP_R3_Human_Resources) for all the dc's in one solution.
Suppose you are not using SSO and you have different models with different JCO, now if you want to change the backend client, you have to change all the JCO connections.
So having one JCO, helps easy maintenance of connections across different applications in a big project/solution.
Regards,
Shubham

Similar Messages

  • Only able to create ONE QaaWS connection per Xcelsius model

    Hi
    We've just upgrated our solution to BOE XI3 - Premium, and are in the process of evaluating Xcelsius 2008. It seems that it is only possible to create ONE QaaWS connection per model - once the first one has been created, the option to add a new one is greyed out (all other connection-types are still available!). My first question would of course be if there is a one-connection limit per model, but from what I can read in the forum others are talking about multible QaaWS connections in one model.
    Any suggestions to how I can add more QaaWS connections?
    I in the past created several Xcelsius 4.5 models that contained multible QaaWS connections, but haven't tried to import any of these into Xcelsius 2008
    br.
    /J.I.

    Hi
    We've just upgrated our solution to BOE XI3 - Premium, and are in the process of evaluating Xcelsius 2008. It seems that it is only possible to create ONE QaaWS connection per model - once the first one has been created, the option to add a new one is greyed out (all other connection-types are still available!). My first question would of course be if there is a one-connection limit per model, but from what I can read in the forum others are talking about multible QaaWS connections in one model.
    Any suggestions to how I can add more QaaWS connections?
    I in the past created several Xcelsius 4.5 models that contained multible QaaWS connections, but haven't tried to import any of these into Xcelsius 2008
    br.
    /J.I.

  • You keep saying "password" - is that the one I use for e-mail or should I have one for Foxfire?

    My bank says to disable "popup blocker"- how to do this? I have gotten to the part where your screen is asking for the old password and then the new password - is that my e-mail or should I have one for Foxfire? I am so confused!!

    Had similar issue calling Apple seems to be the only way to resolve the problem.  The issue can be resolved when you get to iTunes, since they are the ones that keep  this info. They will ask you your security questions and your purchases software, music etc. Once they are happy with your answers they will get you back up. If you choose you could go the route of forgot my password etc. but I never had any luck with that. Just my 2 cents.
    Steve

  • I would like to know what happen with my battery,  if my Mac Pro Notebook is connect to the electrical power all the day.  what should I have to do, connecting or disconnect

    I would like to know what happen with my battery,  if my Mac Pro Notebook is connect to the electrical power all the day.  what should I have to do, connecting or disconnect

    hi

  • JCo Connections in WD Model running out

    Hello,
    we have WD application that uses RFC model.
    During a load test we have observed that the connection
    pools are running out of JCo connections. The result is a an error message in the trace file
    and Http 500 response code to the end user.
    Number of concurrent users: 20
    Max Pool Size: 20
    Max Connections: 20
    Exception:
    [code]aused by: com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Connection pool ME_LP_MODELDATA_TSTWEB1_PT_useSSO is exhausted. The current pool size limit is 20 connections.
         at com.sap.mw.jco.JCO$Pool.getClient(JCO.java:5150)
         at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:5849)
         at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:5799)
         at com.sap.mw.jco.JCO.getClient(JCO.java:8076)
         at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.getClient(AbstractJCOClientConnection.java:393)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModel.getCurrentlyUsedJcoClient(AiiModel.java:191)[/code]
    Questions:
    Is it necessary to have equal number of Max Connections as
    number of potential concurrent users?
    Or is there a way to manually release not used connections?
    Best Regards, Maik

    Hi,
    It is not necessary to create as many connections as there are concurrent users.
    We have to handle the scope of the connection properly and also close the connections once we complete the task.
    Re: How to close a model object connection for Adaptive RFC?
    Regards
    Bharathwaj

  • Does Business Partner have one Contract Account per premise ?

    Hi,
    Business Master Data
    a) Business partner
    b) Contract Account
    c) Contract
    Technical Master Data
    a)Connection Object
    b)Premise
    c)Installation.
    Relations:
    One Business Partner will have multiple Contract Accounts
    One Contract Account will have multiple Contracts( ex: Gas contract or Electricity contract or water contract)
    One Contract will have one installation
    One Connection Object will have multiple Premises.
    One Premise will have will have multiple installations
    Question:
    Is it like one Contract Account can link to only one premise? Or does it depend on Company data model?
    One Business partner has 2 properties at 2 different premises. And 2 contract at these 2 premises.
    To manage this situation, Does BP need 2 different CA or only CA can have these 2 contract with different premises?
    Thanks in advance.
    Regards,
    Murtuza

    Murtuza:
    The cardinality is as follows:
    1 BP : n CA
    1 CA : n Contracts
    1 Contract : 1 Installation
    1 Connection object : n Premises
    1 Premise : n Installations
    So a Bp can have 1 or several contract accounts, and an account can have 1 or more contracts, and the contracts for an account can be for any service locations - they are not limited [standard system behavior] to a specific location.  Client data model and business rules may determine differently.
    regards,
    bill.

  • Connect to rfc model

    Hi
      I have imported a sample flight test application with some adaptive rfc models in to the workspace. I also configured the jco connections? Can anyone give me information on how to link the models with the connections?
    Thanks

    Hi VIdyadhar,
                         It can be done while creating the model itself. u can check these documents
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/webdynpro/wd%20java/wdjava%20tutorials%20and%20articles%20archive/creating%20a%20web%20dynpro%20application%20accessing%20abap%20functions.pdf
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/526bd490-0201-0010-038e-d3ff7eb1d16e
    In case u have already created the model, follow this link
    /people/bertram.ganz/blog/2006/01/27/web-dynpro-adaptive-rfc--how-to-change-logical-system-names-after-model-import
    regards
    Sumit

  • Web service request ....one db connection per session OR all share one...

    in servlet i use
    public void init(ServletConfig config) throws ServletException { }
    so it only gets the db connection once per session
    now that I am working on a web service....im not sure how to do something similiar
    I want to either have all request coming in to use the same ONE connection OR maybe one created per session
    I have way too many web service requests and it creates too many jdbc connections....what can i do to pervent this?
    I dont care if they have to wait longer;
    I just want to cut down the number of jdbc connections to 1 to 2
    any help appreciated, thanks

    You want to use a connection pool. If you just use one connection, your web users are likely to be waiting on the availabilty of the connection. A pool will let you set whatever maximum you want; 1 or 100...
    There are a number of database connection pooling options. One of the morepopular is DBCP, part of the Apache project, which is free and open source.
    http://jakarta.apache.org/commons/dbcp/
    There are other such "drop in" poolers and some database vendors are now supplying connection pooling in their drivers.

  • HT201335 I want to hook up an Apple TV device to my TV but only have one HDMI connection that's already used  for my HD cable box. Can I connect the Apple TV device to my TV that has  s video, PC in and  component jacks unused ?

    I want to hook up Apple TV but my One HDMI Jack on my TV is already connected to my HD cable box. My TV has jacks for s video, component, and PC in jacks.
    Can I use one of them to connect to Apple TV with some type of cable to my newer I-pad ?

    Here are the Apple TV outputs.
    What other outputs does your HD cable box have?
    Apple TV (2nd and 3rd generation): Guide to ports and connectors
    http://support.apple.com/kb/HT5713
     Cheers, Tom

  • HT5622 I have kids with iPod and iPad. Should I have one apple ID for the family?

    I have an iTunes account and an iPhone. I have kids with iPad and iPods.  Should I keep the family on a single apple ID? 

    Yes usse the same ID. However, they will need their own email addresses for FaceTime and Messages
    MacMost Now 653: Setting Up Multiple iOS Devices For Messages and FaceTime

  • JCO Connection

    Hi Experts,
    We use two types of JCo connections while connecting to back-end .
    1 . Modeldata
    2 . Metadata
    What is the use of each type of JCO connection ?
    Thanks a lot .

    Hi jain,
    I think you have posted some wrong part in your post.
    There no two type of JCo Connections; but you can create one JCo connection and specify different parameters to it; one is model data and other is meta data.
    model data - shows the default logical system name for model  instances that we use in application.
    meta data - shows the default logical system name for RFC metadata (Backend R3 meta data).
    and both together forms the JCo Connection for the WebDynpro  Front-end application.
    You can find more idea by login to ContentAdministrator and find your application name and view.
    Regards
       - Vinod
    Edited by: Vinod V on Apr 3, 2008 10:20 AM

  • HOW to handle JCO connection failure

    if i have a JCO connection.....to process the RFC function...
    when i call the function...the job leave to R3 to do the rest...
    yet ..the connection broken..at this time..
    the is no result return..and consequency receive the
    RFC_ERROR_COMMUNICATION exception...
    how do i handle this kind of situation....
    what should R3 SHOULD DO..
    let's say i have a jco connection
    the connection broken during processing...how do i return the error message to the java program
    the error include....RFC_SYSTEM_FAILURE ,RFC_ERROR_COMMUNICATION
    Message was edited by:
            yzme yzme

    Yzme,
    You have already got answers how to catch this exception.
    Next processing depends on application-specific nature of RFC: whether or not call is idempotent, in simple words -- submitting same request doesn't hurt.
    This comes from the fact that network failure may occurs when transferring request (hence no background processing performed) or when returning response (hence function already executed).
    For idempotent calls there is also an option for automatic re-tries finite number of times. For non-idempotent calls the only option is to display error to user in friendly format.
    An idempotent call is a call that can be executed more than once on the server without undesirable side effects. Take for example Create / Read / Update / Delete operations. Obviously, read is idempotent while it doesn't alter data at all. You may treat Delete as idempotent up to certain extent -- just handle "record not exists" gracefully. Create and Update are not good candidates -- re-submitting same request typically leads to serious problems like duplicate entries or data inconsistency.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Max streaming connections per session error

    I have a flex application that uses messaging with a streaming AMF connection, falling back to polling. When the max number of streaming connections on the server is reached, it does fall back to polling (at least it prints the max-streaming-clients error but the client connects, so I assume it is falling back - how can I tell?). However, occasionally the streaming connection will not initialize and it does not fall back - no messages are received on the client. The following error is logged on the server:
    [EMST]09/25/2008 13:43:18.231 [ERROR] Endpoint with id 'my-streaming-amf' cannot grant streaming connection to FlexClient with id 'D5B8E3A1-1A1C-063E-84A6-6A743A1E4EE0' because max-streaming-connections-per-session limit of '1' has been reached.
    This would make sense if the issue was caused by trying to initialize the streaming connection in two tabs of a browser, but I am only trying to initialize in one tab. Closing the browser (and thus destroying the session) does not fix it. The only solution I've found is to reboot the client machine. This has happened in both FireFox 3.0.2 and IE 7.
    (1) What could cause the client to get in this state?
    (2) When it happens, why doesn't it fall back to polling? Is the fallback only for when the server max connections is reached? When the streaming connection doesn't initialize, no messages are received.
    (3) Is there a way to explicitly close the streaming connection on the client so we can fix this without rebooting?
    Thanks!

    Hi Mary. If you turn on Debug level logging on the client and the server you should be able to tell if you have fallen back to a polling channel after the attempt to connect over the streaming channel has been rejected. In the client log, you will see the flex application sending poll requests to the server at the polling interval configured in the channel and in the server log you should see that the server is receiving these requests.
    The behaviour you are seeing seems very strange to me. The reason we have the max-streaming-connections-per-session limit on the server is because most browsers limit the number of active connections that can be made to a server from a single session. In IE for example, this is 2. What happens in most cases when the browser's connection limit is reached is that new connections are put on hold until one of the existing connections closes. This would cause your flex application to hang with no errors being reported on the client or the server. This is why we need the max-streaming-connections-per-session setting on the server. This prevents more than one persistent connection from being made from the same session, so the browser should never reach it's max connections per server limit and lock up.
    It looks like you are somehow getting the browser to lock up even though the server is only limiting you to one streaming connection per session. It may be possible to do this if you reload the flex application in the browser (by doing a page refresh) in which case the browser could possibly briefly leave the streaming connection open in the background and when you tried to create a new streaming connection, the browser's connection limit to the server would have been reached and the application could hang. When the application hangs are you reloading the swf/page in the browser?
    I really don't know why closing the browser wouldn't fix the problem. You're right that closing the browser should end the session. If you launch a new browser and load the swf do you get the same "cannot grant streaming connection" error on the server or is the browser just locked up, ie. no error is received on the client and the server?
    You're not using a proxy server or anything like that are you that might be holding a connection open to the server?
    -Alex

  • I have 1 Internet Connection and I need to hook 2 wireless routers help.

    I have one internet connection.  I need to use 2 wireless routers.  What model of linksys router should I purchase and how should I hook them so we can use both at the same time.

    Remember that both wireless routers will not communicate wirelessly you will have to connect both the router's together with Ethernet Cables...
    What will be the approximate distance between both the routers ?
    Do you wish to establish communication between the computers connected to Router 1 and computers connected to Router 2 ?
    Do you wish to have a separate network for both the router's ? Look at this link
    You can go with Wireless - N draft Router's(WRT310N, WRT320N, WRT350N, WRT400N, WRT600N etc) as they will give you a good range to connect to a distant wireless clients...

  • JCO Connection User

    Hi gurus,
    I'd like to ask you what kind of user you use for connection in JCO connections. For our test system I used my own user but in live system a stable user must be used?
    Any ideas?
    Tolga

    Hi Tolga,
    You can have the JCO connection user having only the following authorizations from the S_DDIC_MDI profile.
    But i do not think there should be any issue if you have the JCO connection user having the SAP_ALL also. As this is the main connector user between the system.
    Thanks & regards
    Arun

Maybe you are looking for

  • Calendar that includes mileage and expenses

    Ok, first of all sorry for the no response-response.  I was trying to type on my phone and talk to my kids at the same time which obviously doesn't work.  Here's my question.  For some reason my new Vista computer doesn't have Outlook Express on it a

  • Premiere Pro CC 2014 crash when I Click and Drag

    Hi All, I have a problem with Premiere CC 2014 that is driving me crazy! The issue is as follows: If I try to drag a clip, sequence, effect or transition anywhere within the premiere, it will crash - with "Sorry, a serious error has occurred" message

  • Dynamic lookup of all DB drivers loaded in the system

    Hi everyone Actually I want to know that whether it is possible to include in my program, the functionality that allows the dynamic lookup of all the DB drivers in the system. I want to list the names of the Database drivers that have been loaded in

  • HT204266 I got in the UK App Store. How do I get back to the US App Store?

    I tried to download a Poweron Roland user magazine. It said it was available I the UK App Store. Said, "do I want to switch stores." Like an idiot I said yes. Now I can't get back to the US store. Help please. Thanks, Bob

  • Really under-par service for faulty U310 wifi isssue

    I purchased my new U310 in June in Israel. It is one of these units with wifi range issues. After a week of installing and reinstalling drivers that did nothing at all, Lenovo picked up my machine 2 weeks ago. I am still waiting for an estimated reso