Skip to Content
author's profile photo Former Member
Former Member

How to change the default scope of a model to be " TASK_SCOPE " ?

Hi .. An adaptive RFC module is imported in my webdynpro program . At runtime , i found the Default ModelObject Scope is "APPLICATION_SCOPE" . Because we set the maximum pool size = 3 of the JCO Connection in SLD , that means , only three application instances will work and the others will fail when try to call the RFC module . Sorry for my poor English and i hope someone can understand my problem and give me some help .. Thanks a lot !!

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 01, 2004 at 02:24 PM

    Hi Bogi,

    the model scope has nothing to do with the connection pool limit. It simply defines, how long a model will exist. In the case of APPLICATION_SCOPE, it will at least live as long as the application, TASK_SCOPE reduces the lifetime to one task. That doesn't help you in this case.

    Why not simply increase the pool size?

    Hope that helps.

    Regards

    Stefan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.