on 06-17-2010 10:12 AM
Hello All,
i am facing an issue in Web Dynpro Component.
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: failed to create or init instance of model SalesModel in scope APPLICATION_SCOPE with instanceId 'null' .
Searched in SDN and got the followings like:
1. Increase Jco Pool Size
2. SP should be 16.
3. Check abap dumps.
My Server is SP19 and NWDS 7.0.14.
Jco i have kept like, 200, 100, 500, 1000.
No Dumps in ABAP system.
Can anyone suggest me what i need to do for the same. I tried all the above but it doesn't work for me.
Regards
Nizamudeen SM
Issue with RFC. Only it is solved, it started working for me.
Thanks a lot for your inputs.
Regards
Nizamudeen SM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Issue with RFC. Only it is solved, it started working for me.
Thanks a lot for your inputs.
Regards
Nizamudeen SM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nizam,
Try disconnecting the model object after usage of model object.
in finnaly{} block i.e after try and catch.
XXXModel objModel =
(XXXXModel)WDModelFactory.getModelInstance(XXXXModel.class);
objModel.disconnectIfAlive();
Or else try changing the scope to TASK_SCOPE.
Expand the model from the project->NWDS->WD pres ->Model ->XX_Input object
Right click +Edit ->Go to properties Tab -> change the property "modelinstance_default scope" to TASK_SCOPE.
Regards,
Lavanya.G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lavanya,
1. After executing each RFC's i have used disconnectIfAlive();
2. I have changed from APPLICATION_SCOPE to TASK_SCOPE. Now also i am getting the same error.
I will try the code in final() method.
But the error trace also displays like:
Caused by: com.sap.tc.webdynpro.progmodel.model.api.WDModelException: failed to create instance of model 'com.arteriatech.sf.salesrfcmodel.model.SalesModel'
at com.sap.tc.webdynpro.progmodel.model.api.WDModelFactory.getNewModelInstance(WDModelFactory.java:392)
at com.sap.tc.webdynpro.progmodel.model.api.WDModelFactory.getOrCreateModelInstanceFromScopeMaintainer(WDModelFactory.java:329)
... 49 more
Caused by: com.sap.mw.jco.JCO$AbapException: (126) NOT_FOUND: NOT_FOUND
Can you give some more inputs on the same.
Regards
Nizamudeen SM
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.