cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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 !!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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