Skip to Content
avatar image
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    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 comment
    10|10000 characters needed characters exceeded