I'm trying to add configuration properties via the Configuration Framework as described in the Portal Runtime 6.0 doc, section "Configuration Management in Portal Application" and related sections.
When I export my PAR file (from Dev Studio) to the Portal, I receive an error that the export was unsuccessful. Also, no CONFIG ARCHIVE file was created in my project. Commenting out the PrivateSharingReference property in the portalapp.xml file fixes the export error but that doesn't really help my cause.
Here are details of my implementation:
In portalapp.xml, I have set PrivateSharingReference property value to
"com.sap.portal.runtime.config" under the application-config element.
I have added the following files to my project (named myProject):
<projectRoot>\config\configArchive.properties
<projectRoot>\config\data\myProject\myProperties.config
configArchive.properties contains the archive properties: ca.name, ca.version, cma.name, cma.version, and cma.storage.
myProperties.config contains my configuration data settings, using the format <parameter>=<value>.
I don't have a need for custom meta properties yet, so I didn't create a config file for meta data.
My understanding is that when I export the PAR, the config files I added should get stuffed into a configuration archive file, which gets copied to PORTAL-INF\config, and ultimately is added to the PAR. This is not happening.
Does anyone know what I'm doing wrong? Can anyone direct me to a good example of how to set up these configuration properties?
Thanks,
Scott
Hello Scott,
this problem is (most likely) due to an inconsistency between the document that you read and the version of the plugin which is loaded in your Netweaver Dev Studio.
The best thing to do is to get the documentation of the config archiver plugin from the Dev Studio.
Go to Help>Help Contents. In the left part of the help window you should find an entry called "SAP EP Plugins Guide" and a sub section is about configuration.
My guess is that you will have to change the structure from config/data to src.config/install/data ...
If you cannot find this, please get in touch with me directly and I will send you an up-to-date document.
Regards
Nicolas
Add a comment