How to read Configuration Adapter Service?

Hi all
Am using NWDS 7.0 SP 15.
I have uploaded a file (text file with props) in the configuration adaper. I want to read this file in my webdynpro (or any java) application. How can I do it?
I have gone through sdn and I did find some posts which related to reading Configuration on J2EE. I am not referring here to the normal properties files on WebDynpro which are shown up on the Configuration Adapter. The key value pairs in those can be edited, but as such it is not possible to add a new key value pair from the Visual Adminsitrator.
To workaround, I created/uploaded a file directly in the Configuration Adapter under my application component. Now I want the APIs to browse through the tree. I know there is a J2EE service by name Configuration Service which is used by SAP applications, how may I use it? Thank you.
The post "Problem with Configuration Adapter Service a very old one deals with the same, I have put my concern there about the availability of the API.
I have repeated this question from the WDJ forum, please excuse. I did not find solutions thus far.
Regards
LNV

Hi LNV
Try the following development components to locate interface Configuration and all other API classes: SAP-JEE/com.sap.engine.client.lib or SAP-JEE/com.sap.engine.deploy.online.
Approach mentioned in Problem with Configuration Adapter Service shall work.. See my comment there too..
BR, Sergei

Similar Messages

  • How to start configuration adapter services

    Hi,
    I am stop configuration adapter service to apply the some settings, suddenly Visual administrator stopped and I am not able to start the configuration adapter service because visual administrator not start because of configuration adapter service.
    Please suggest how to start configuration adapter services.
    Regards,
    Ravi ghangurde

    HI ravi,
    you can try from config tool , but i am not sure whether that will help you or not. Best would be to restart the server and change the parameter from  Config tool again incase you have changed sometghing which is causing the service not to start.
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/9f327802844fdcb776f38a2a7a9a7f/frameset.htm
    Regard
    Pankaj Prasoon

  • Configuration adapter services

    Hi,
    I am stop configuration adapter service to apply the some settings, suddenly Visual administrator stopped and I am not able to start the configuration adapter service because visual administrator not start because of configuration adapter service.
    Please suggest how to start configuration adapter services.
    Regards,
    Ravi ghangurde

    Hi Sherfuddin K,
    In NetWeaver 04 / 7.0 the only way to change WD app properties is using the Visual Administrator. In NW CE 7.1 it will be possible also in the NWA.
    HTH!
    -Vladimir

  • How to register(configure) analytics service

    Can you please let me know how to register(configure) analytics service?

    hi "953059"
    953059 wrote:
    How to ... in the webcenter portal application development ...Maybe you should try the "WebCenter Portal" forum
    at WebCenter Portal
    (tip : You can use "Your Control Panel" to make your name visible in forum posts.)
    success
    Jan Vervecken

  • Reading Configuration Adapter

    Hi,
    I have created a configuration in the Configutaion Adapter(In Visual Administrator Server -> Services -> Configuration Adapter) and i would like to read the values that have been set under that configuration.
    I read the sample in the NDS help for connection to Configuration Manager. However i am unable to read my Configuration using the said method.
    Would anyone know how we can do this.
    Also what is the way we can use the services that are listed in Visual Administrator Server -> Services. For eg
    if i have to use the SLD service how do i go about finding the appropriate JAR files and then use the API's.
    Thanks and Regards
    Sidharth

    Hi,
    if your question is about using Java Mail specifically, the answer is very simple: you use it through the standard JavaMail APIs (package javax.mail.*)
    For example, if you've setup different mail providers using the Java Mail Client Service properties, you can retrieve those using the javax.mail.Session class (method getProviders()).
    If you need more details, you can have a look at the JavaMail tutorial provided with J2EE Engine documentation: http://help.sap.com/saphelp_nw04/helpdata/en/2e/c00e408230c442e10000000a1550b0/frameset.htm
    Source code is also available and can be found as part of the page with J2EE Engine examples.
    Hope that helps!

  • How do i configure telnet service to use a specific port number

    How do I configure a specific port number to the telnet service other than the default port number.  I opened /System/Library/LaunchDaemon/telnet.plist with XCode but it won't let me modify the port number.  Is there another place / item that I need to go to?

    Telnet is obsolete and insecure. Use ssh instead.

  • How to read CAF entity services in BCO

    Hello,
    I try to read an entity service out of an background callbale object.
    For this i added the the public part of the webdynpro DC of the entity service as used DC to my bco. I did this as well with the library, including my bco.
    The problem is, that the included class cant be found in the deployed bco.
    I get the NoClassDefFoundError while executing the bco.
    Any hints how to reference my entity service?
    Regards
    Robert

    Hi,
    If I understand your problem then I can tell that you are trying to make a link in between two Entity service of two different projects. If I am correct then I can tell you that please publish the DC part of your EJB project not the Web Dynpro. Then you use that in another projects (ejb sub project) DC dependency part. Then try it.
    If any problem please let me know.
    Thanks
    Chandan

  • How to read configuration data from an xml file (not web.xml)?

    Hi,
    I want to separate the application specific configuration parameters in a separate xml file and read them as and when they are needed? I know that I can use the wb.xml but I want to separate them in a different xml file because I don't want the web.xml file to be played around later after deployment. If any change is needed then it should be done in the application-config.xml.
    How can I read the parameters from this xml file in my jsp code and also what should be the location of this file if I have
    ../webapps/Root/application
    directoty structure ?
    Any help is greatly appreciated.

    can you give an example of a property file and also
    it is loaded in the jsp ?Hmm... loading properties in a JSP is not a very good idea. You should do it in a separate class, rather than mixing the logic with the display logic.
    Properties properties = new Properties();
    properties.load(UtilClass.class.getResourceAsStream("config.properties"));
    // Add a try - catch block around the load
    // for IOException...

  • How to read configuration structure (SD)

    Hello,
    i've to read the whole configuration structure of an SD-order item, which isn't expanded to sub-positions. Means: the material in item 10 is an BOM head-material and a KMAT. The materials in the multi-level BOM are configured via the configuration of the head material. If you press the "Configuration" button in the SD-sales order, you see the whole configuration structure. Does anybody know how i can read the whole structure from the database if i know only the SD-order and the item number?
    Thanks,
    Richard

    use FM to get config, you'll have to pass cuobj there.
    call function 'CUCB_GET_CONFIGURATION'              
       exporting                                        
            instance                     = vbap-cuobj   
       importing                                        
            configuration                = z_instance_tab
       exceptions                                       
            invalid_instance             = 1            
            instance_is_a_classification = 2            
            others                       = 3

  • How to read configuration (CUXI_GET_SINGLE_CONFIGURATION)

    Hi All,
    I need to read the configuration for several orders (one at the time), and I use FM: CUXI_GET_SINGLE_CONFIGURATION.
    When I read one order it works fine, but when I loop at several orders it doesn't seem to change the retrieved values from first loop in second loop and soforth.
    I think this has something to do with the functiongroup's global data but it seems that I can't reset those.
    Is there anybody who can help me?
    Thanks to all.
    / Lars Bernstorff Hansen

    I found there is a std function provided by SAP, named 'CUXI_GET_MULTI_CONFIGURATION'.
    Maybe you can try it.
    Hope this can take help.
    Wink

  • How to read Adapter Parameters at run time

    Hi All,
             We want to write a adapter module that reads the Adapter type and the file name which the adapter picks up, directly from Adapter parameters at runtime and then our adapter module which is being used in the receiver adapter would read these parameters and use them for further processing.
    Now the question is how to read the adapter type and the file name that the sender adapter picks up? I am sure a adapter module is being used internally by SAP that holds these parameters, but which internal adapter module does this and how to access it's parameters so that we can use them in our scenario.
    Regards,
    XIer
    Edited by: XIer on Jan 9, 2008 12:36 AM

    Check the file adapter FAQ. There is a SAP note with the file adapter FAQ that descirbes how the filename can be read with in a module.
    The code looks like something like this,
                   Hashtable mp =
                        (Hashtable) inputModuleData.getSupplementalData(
                             "module.parameters");
                   String strFileName = "";
                   strFileName = (String) mp.get("FileName");
    Regards
    Bhavesh

  • NotSerializableException reading file from configuration adapter

    Hi!
    When I try to access a file with config.getFile() that is stored in VA configuration adapter I get a P4BaseRuntimeException with an underlying NotSerializableException.
    This is what I'm doing:
    Context ctx = new InitialContext();
    ConfigurationRuntimeInterface configInterface = 
         (ConfigurationRuntimeInterface)ctx.lookup("configuration");
    cfgContext      = configInterface.getConfigurationContext();
    cfgHandler      = cfgContext.getConfigurationHandler();
    config     = cfgHandler.openConfiguration(path, ConfigurationHandler.READ_ACCESS);
    boolean exists     = config.existsFile(filename);
    InputStream is = config.getFile(filename);  // this is where the exception occurs
    I've omitted handling for InconsistentReadException in this post, to keep the code short.
    The existence check with config.existsFile() returns true, so configuration path and filename seem to be ok. However, config.getFile() throws a NotSerializableException.
    So, how can I read a file from configuration adapter? What is my mistake?
    Thanks for your help,
    Frank

    hi frank,
    in addition to the above content
    u can refer the how to use the  config.getFile()
    http://kickjava.com/src/org/apache/commons/configuration/reloading/FileChangedReloadingStrategy.java.htm
    let me know u need any further info
    bvr

  • How to configure the services(WDA) in ESS with EHP7

    Hi Experts,
    I have a requirement to configure ESS/MSS in R/3 . fisrt time am going to configure the ESS/MSS in R/3 with  EHP7.currently we are using
    ECC6.0  EHP7 with SP 2 and portal 7.4 can any one help me out which business functions need to be activate and which components need to activate.
    How to configure the service in launch pad with WDA.please guide me the step by step procedure.
    Please share the config guide if anyone have.

    hi sap scn ,
    Tips & Recommendations for customizing ESS Menu (WD ABAP) -   ess launchpad
    Summary of configuration options in ESS Personal Information scenario  -personal information
    go to t-code lpd_cust see ROLE ESS and INSTNACE MENU ...Clcik it and copy to Z launchpad and drag and drop the services which u want and use it
    if any other revert back again 

  • How to configure Mail Services in B1

    Hi All,
    I want to cinfigure the mail services in SAP B1 currently I am using SAP 2007 SP00 PL 12 My client wants that the daily reports and the Sales order should be mailed by B1 to cuntomer mail id. PLease tell the process to how to configure mail services in B1.
    Thanks & Regards
    pankaj Sharma.

    Hi Pankaj Sharma,
    The suggestion above would be a good solution to you.  However, if you do not want to use this add-on, you may just configure SBO-Mailer to perform the task. You may check all available setting for the mailer and read through Administrator Guide for how to set it up.
    Thanks,
    Gordon

  • How to configure mail service in DRM 11.1.2.3.500

    How to configure mail service in DRM 11.1.2.3.500.
    There is a feature in Workflow Models to Notify users by sending mail.
    Can anyone help me find from where to configure mail service.

    Hi,
    If you open up the Configuration Console on the DRM Server you should be able to navigate to the second tab called "Host Machines".
    From there, select SMTP Server - and enter the details for your SMTP server. You've now configured DRM to send emails... now you just need to add it into your workflows...

Maybe you are looking for

  • ADF Desktop Integration : How to delete the table in Excel?

    Hi, I am using Jdev 11.1.1.3.0 and Excel 2007 for Oracle ADF DI, I had created an ADF table using pageDef file in the excel. Now I wanted to delete that table and use a different pageDef file. I could not find a way to delete that table. I deleted fu

  • Valuation Group and Tolerance Group - FS00

    Hi all, Can someone please tell me what the field 'valuation group' and 'tolerance group' are used for? I've found a brief description online, but if you could provide me with an example that would be great. thanks,

  • Getting started with 8i Lite Trial

    I have a copy of 8i Lite that I downloaded from the Oracle site and I have a few questions that I have not been able to answer in the documentation. I want to use this in conjunction with Codewarrior on a Palm platformave a Symbol 1740 Palm-based sca

  • How to build a Labview driver for a USB device?

    I have purchased a USB Hall probe (a device that measures magnetic fields) and now I need to build a LabVIEW driver for it (the company that sells this device did not build drivers for it, to keep the price down I suppose). The USB device does come w

  • An Additional plea for HELPPPPP, trying to import HDV files from a disc.

    A co-worker of mine has copied HDV files of an event onto a DVD as a .mov file. When I import them into FCP it has a red line above the clip indicating it needs to be rendered. When I try to render it, the progress box blinks on then off and it doesn