cancel
Showing results for 
Search instead for 
Did you mean: 

Manage properties without redeployment

Former Member
0 Kudos

Hi all,

I've created Web Dynpro application with app.properties file in /src directory. I can access this file and read configuration records for my application.

Now I want to change this file manually at runtime - no redeployment of application or stopping server. I want to achieve behaviour like this -> stop application, change property, start application. Is it possible? Or can you give some suggestions how to manage configuration of WD applications in standard way?

Thanks.

Michal

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Michal,

There is a standard way to configure WebDynpro applications.

If you put your configuration in the src/configurations folder of the webdynpro application, you can change the properties using the visual administrator.

For a description, check out http://help.sap.com/saphelp_nw04/helpdata/en/b8/aa343e32ff1033e10000000a114084/frameset.htm.

Johan

Former Member
0 Kudos

Hi Johan,

thanks for your answer. Now I can find and change configuration file for my application in Visual Administrator.

But I've found next sentence on that help page:

"You must restart the server if you changed a properties file in order for the changes to take effect."

<i>comment from Bertram Ganz, SAP AG: This technical restriction is only valid up to NW 04 SP 13. Beginning with NW 04 SP 14 and NW 04s the server must not be restarted any more after having changed a configuration properties file via the NetWeaver Administrator. A practical use case can be found within the Web Dynpro Sample application on <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/601b2e6d-be83-2910-d8ba-fe1b594d987e">Component Interface Definitions in Practice</a></i>

I want just change one property for one application and stop server looks for me as too "expensive" operation. (I think that re-deployment is faster and much friendly for other users )

Is there any other way to achieve this?

Best Regards,

Michal

Message was edited by: Bertram Ganz, SAP AG

Former Member
0 Kudos

Hi Michal,

Redeploying is probably easier if you have only one system. But if you have multiple systems (for example development/quality assurance/production) then you don't want to change anything in the deployable archive, and in case you are using NWDI for transporting, you cannot even change it.

So in that case, you deploy the same configuration on each system, and change the system-specific settings on each system using the visual administrator.

Johan

BeGanz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hallo Michal,

the documentation is outdated in this respect. <i>You must not restart the server if you changed a properties fiel in order for the changes to take effect, <b>beginning with NW 04 SP14</b></i>. See my comment in your message above.

Best regards, Bertram