on 01-31-2007 10:53 AM
Hi,
Everytime i remport a model in my WebDynpro project, the NWDS(Webdynpro) prompts me to restart the J2EE engine/server. If i dont do so, then the changes dont get reflected.
My question is: Is there a way to bypass this problem of having to restart the W.A.S.???
Do i need to do some changes in the settings on either the NWDS or the W.A.S, so that i wont have to restart the W.A.S???
hi,
I dont think so there is no other option to do this as per my knowledge.
When you reimport the Model U need to restrat the J2ee engine because u are using the AdaptiveRfcModel only not dynamic RFCModel.
Thanks,
Lohi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is one recommendation. You can try here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hanoz,
Send me mail (see my alternate mail in business card) and I'll send you source for class that invalidates Adaptive RFC Model metadata cache. However, I strongly recommend to use it only in development environment.
Valery Silaev
SaM Solutions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hanoz,
Currently to be on the safer side you will have to restart the server to get the changes reflected.
However SAP is working on to avoid this restart step. Instead they will be providing a clear cache button in the content administrator of your server. Till then we will have to restart the server
Regards,
Mahesh K.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi everyone,
Thanxx for the info.
A few points though:
1. Merely restarting the SDM doesnt help.
2. Deploying it without restarting doesnt give any errors, jst that the changes dont get reflected.
I guess the way around the problem is to expose the RFCs as WebServices, and to consume them in the NWDS. <b>But that is somethng i have not tried out</b>
My question about not having to restart the WAS is still open, beacuse i m comfortable with using models
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It is indeed necessary to re-start the server. After first model usage metadata gets cached and stay in the cache as long as the server is running. So even if you have modified model via reimport, the old metadata is returned unless you restart the server.
Regards,
Satyajit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hanoz,
Whenever u reimport the model server rastart is necessary otherwise the changes will not be reflected. You will get an error when you deploy the application.There is no go around except restarting the server as the meta data gets cached in the server as long as the server is runnig.So, Once you restart the server the cache will be cleared.
Regards,
Jhansi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It's better to restart the J2EE server after an reïmported model because if you don't do that it's possible that your application talks to the cached (older) version.
You can first try it without restarting, if you get an error after the re-deployment you can try to only restart SDM (for saving some time). If this doesn't help then you have to restart the J2EE server.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.