Skip to Content
author's profile photo Former Member
Former Member

Portal Application Configuration problems

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

"" under the application-config element.

I have added the following files to my project (named myProject):


<projectRoot>\config\data\myProject\myProperties.config contains the archive properties:, ca.version,, cma.version, and

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?



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 01, 2004 at 09:13 AM

    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.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Nicholas!

      That was very helpful.

      1. My portalapp.xml file had syntax errors, so I fixed that and uncommented the PrivateSharingReference property.

      2. I changed the config structure as you suspected and in accordance with the devStudio help contents.

      The export was successful; configarchive was created.

      Now I have the challenge of figuring out how to access the configuration framework in the code. The API examples in the help content seem easy enough to follow, but they don't specify package names for the APIs. I found the api JAR in the portal app on my portal and added that to my project's Java build path. However, not all classes in the example seem to be in the jar file:


      IConfigurationService (though there is an IConfigService)



      So I'm afraid I don't have the correct JAR file.

      Any idea where to find the correct JAR file or what the package name is for the API classes?

      PS: I don't know how to contact you directly; I don't know you're email address.



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.