How to set Logging properties through commandline ?

I am using the 1.4 logging framwework. The properites for logging can be specified in a file. What if, i
want to define my properties through commandline e,g
java -D java.util.loggin.fileHandler.level=SEVERE
The above doesnt work. Is there any other way ??
Any reply will be much - appreciated.

I guess nobody has started using Logging framework of
JDK 1.4.. ???

Similar Messages

  • ERPI: how to set up drill through from Planning to EBS

    Hi,
    When you guys know how to set up drill through from Planning to EBS through ERPI ??
    I encountered the following message when I tried to drill :
    no drill through reports found at this location
    I think I didn't set up the drill through functionality properly.
    Regards,
    Eddy

    Can you check the log file for any errors? Also, check if the drill regions are created in the application. You can navigate to process details in ERPI and select the show log link for the corresponding process id. That should indicate if the drill regions were created on the target.
    Thanks,
    Bala

  • How to set the properties

    If I want to use java ORB to visit Visibroker ORB , how to set the Properties for init ?? can you help me ?
    thanks !

    System.setProperty("org.omg.CORBA.ORBClass","com.inprise.vbroker.orb.ORB");
    System.setProperty("org.omg.CORBA.ORBSingletonClass","com.inprise.vbroker.orb.ORB");You can get some examples here:
    http://maris.site.lv/ejb.html
    best regards,
    Maris Orbidans

  • How to set Password change through BSP Application

    Hello All
    Before dropping my question i will explain you what was the Real scenario, i am using WAD 3.50 Version and server is BW 3.0B.we are not using portal, and Enduser will view the reports in the browser through the WAD execute Http link.
    Question.
    whenever the enduser uses Http link of web template in the browser, he will connect through VPN and they can able view the reports. the question is That Some system Enduser won't have SAPGUI in their system so they wants to change the password because they won't know even if it is expire. is it possble to set password change system through BSP Application in the WEB Templates
    Please Help me how to set Change Password in the browser for the WAD Application.

    right now when the user calls the BW report url , he is prompted for authentication via pop up right?
    to enable password change option in the log on screen use system logon for BEX service in sicf.
    go to transaction SICF and navigate to sap/bw/bex
    double click on node Bex.
    in the resulting window, go to error pages tab and under that in log on errors tab choose "System log on radiobutton" save and now try calling a webtemplte.
    Regards
    Raja

  • How to set CORS properties for BLOB Storage using node?

    Hi - I just got started with Azure using a Node-based web site and mobile services.
    I am following various documentation in order to provide an API for users to upload images via a time-restricted SAS for the BLOB Storage.
    In order to upload my image, I need to set the CORS configuration for the BLOB Storage. Unfortunately this cannot be done via the management portal.
    I'm unclear as to how to accomplish this. I'm considering using the startup.js file in my mobile service to make a post request to the BLOB Storage REST API:
    http://msdn.microsoft.com/en-us/library/windowsazure/hh452235.aspx
    Are there appropriate methods in the Node SDK to make this easier, especially the signing part?
    What is the recommended way for setting CORS properties for the BLOB Storage via Node?
    Thanks for your help
    Stefan

    Unfortunately Node SDK does not support CORS functionality yet. Your option would be to write code which consumes the REST API for setting CORS. Not sure if it helps but there's a free tool out there written by my company which you can use to set CORS
    on your storage account. More information about this tool can be found here:
    http://blog.cynapta.com/2013/12/cynapta-azure-cors-helper-free-tool-to-manage-cors-rules-for-windows-azure-blob-storage/
    Hope this helps.

  • ATG 10.1.2 . How to set BCC password through CIM?

    I'm new to 10.1.2 version, trying to installing and configure it properly to learn it. With CIM I configured and set Publishing, Production and Staging instances.
    I ran BCC after installation (http://localhost:8180/atg/bcc) and was prompted for password - admin/admin or merchandising/merchandising set by default in previous ATG versions didn't work in 10.1.
    I learned from ATGInstallGuide that there is no default passwords preset in 10.1.2 and I have to set them though CIM. (Or ACC)
    Here what is says:
    *"Through CIM. During the post-installation setup process, CIM prompts you to set the passwords for the*
    *default profiles that your environment requires "*
    I do remember I was once asked one for password for merchandising user only, and the password I set didn't allow me into BCC, so probably it was for something else.
    Please, advise how to set BCC passwords for default account (admin, merchandising and etc) in CIM? I don't see this option in CIM - I everything in CIM and didn't find it
    Just in case there is the list of options CIM provides me after running:
    [1] Database Configuration - Done
    [2] Server Instance Configuration - Done
    [3] Application Assembly & Deployment - Done
    [P] Product Selection - Done (Oracle ATG Commerce Reference Store &
    ATG-Endeca Integration & ATG Site Administration)
    [A] Select Application Server - Done (JBoss)
    *[C] Custom CIM Plugin Launcher
    I'm still not able to open BCC application
    Edited by: 994398 on Mar 17, 2013 5:36 PM
    Edited by: 994398 on Mar 17, 2013 5:37 PM

    CIM will ask for new passwords when you select Create Schema and Import data. If you have forgotten the pwd given by you, you can reset it.
    Check the below threads regarding similar issue.
    ATG 10.1.1 BCC -Default password for admin
    not able to login into ATG Dyn admin
    Cheers
    R

  • Labels pointing to pie slices with lines (or how 2 set chart properties in code behind)

    I want to be able to create lines outside of my pie chart with labels and have those lines drawn to connect to the pie chart.  I saw that this can be done in code behind in the following thread:
    MSDN thread on lines to pie slices
    But my problem is I never declared an instance of my chart when I am using my code behind.  My code that makes the reports visible is basically (but not completely) the following:
    ReportDataSet.Tables.Add(ReportDataTable)
    ReportViewer.Visible = True
    Dim ReportDataSource As ReportDataSource = New ReportDataSource("ReportDataSource", ReportDataSet.Tables(0))
    ReportViewer.LocalReport.ReportPath = ReportToDisplay.RDLCFileName
    ReportViewer.LocalReport.DataSources.Clear()
    ReportViewer.LocalReport.DataSources.Add(ReportDataSource)
    ReportDataSource.Name = ReportToDisplay.DataSetName
    ReportViewer.DataBind()
    ReportViewer.LocalReport.Refresh()
    ReportViewer.ShowReportBody = True
    ReportViewer.Width = RVWidth
    ReportViewer.Height = RVHeight
    So how do I set chart properties for my report given the above code?  As long as I can set my chart properties with the above code, I should be able to get this to work given the above thread and the link to the Label-Outside-of-Pie and Line-Color properties
    (or whatever) info on Microsoft's info page

    Hello,
    Based on your description, you want to design a
    pie chart with outside lables and pie line inside a .rdlc report. If so, you can add the Chart report item into the report after open a client report definition (.rdlc) file in graphical design mode. And then Set the
    PieLabelStyle property and PieLineColor property. Please refer to the following screen shot:
    The link your post above it about the
    Chart Web server control. As pre my undersntand, you cannot reference a Web server control inside .rdlc file.
    If you have any question about using Chart Web server control, you can post a question on
    Chart Controls for .NET Framework forum.
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here. 
    Fanny Liu
    TechNet Community Support

  • How to set ALV properties?

    Hi,
    I have some difficulties with an ALV grid report.
    The program is too difficult for using the alv refresh method then we use the submit method to the program.
    Using the submmit method users will lost their layout (filters,...). I found a FM REUSE_ALV_GRID_LAYOUT_INFO_GET which return all the properties of an ALV.
    All this informations are sent in memory using export to memory. The informations are well returned.
    I create the event END_OF_LIST in which I call the FM REUSE_ALV_GRID_LAYOUT_INFO_SET after importing the ALV properties. But no change on the ALV have been done... (no filter...)
    Must i use an other event or an other FM?
    Help!
    Thanks.
    END_OF_LIST:
       CLEAR    :  ws_layout,
                   wt_fieldcat,
                   wt_sort,
                   wt_filter,
                   ws_grid_scroll,
                   ws_variant,
                   wt_marked_columns,
                   wt_filtered_entries,
                   wt_fieldcat_backend,
                   ws_print.
       REFRESH  :  wt_fieldcat,
                   wt_sort,
                   wt_filter,
                   wt_marked_columns,
                   wt_filtered_entries,
                   wt_fieldcat_backend.
       IMPORT ws_layout = ws_layout FROM MEMORY ID 'ZLAYOUT'.
       CHECK sy-subrc EQ 0.
       IMPORT wt_fieldcat = wt_fieldcat FROM MEMORY ID 'ZFIELDCAT'.
         FROM MEMORY ID 'ZFILTERED_ENTRIES'.
       IMPORT wt_fieldcat_backend = wt_fieldcat_backend
         FROM MEMORY ID 'ZFIELDCAT_BACKEND'.
       CLEAR  gs_layout.
       gs_layout  =  ws_layout.
       CALL FUNCTION 'REUSE_ALV_GRID_LAYOUT_INFO_SET'
         EXPORTING
           is_layout      = gs_layout
           it_fieldcat    = wt_fieldcat
           it_sort        = wt_sort
           it_filter      = wt_filter
           is_grid_scroll = ws_grid_scroll
           is_print       = ws_print.

    Hi,
    the post you indicates to me is the good way to refresh an ALV but this not my case. We can not use the good way that is the problem.
    The way you put me in is not so wrong!
    I try to use an event with a sy-ucomm and refresh the ALV with the rs_selfield-refresh = 'X' and its worksssssssss.
    The the question now how to refresh an ALV by this way:
    EVENT sy-ucomm.
    form f_command_alv using fip_ucomm
                               fip_selfield type kkblo_selfield.
       case fip_ucomm.
         when 'ZREFRESH'.
           perform f_refresh.
         when 'TEST'.
           perform f_set_alv using rs_selfield.
       endcase.
    EVENT ENDOF_LIST:_
    form end_of_list.
        PERFORM f_set_alv.
    endform.                    "end_of_list
    The difficulty is how to set rs_selfield-refresh to X in the second case or another way to refresh!
    David31
    Edited by: David31 on Apr 3, 2009 11:33 AM

  • Help Please: how to set JDBC properties for data encryption in BC4J

    Hello,
    I am trying to implement JDBC Thin Driver Support for Data Encryption and Integrity.
    With java.sql.Connection and java.util.Properties, one would do something like the following code:
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Properties props = new Properties();
    int level = AnoServices.REQUIRED;
    props.put("oracle.net.encryption_client", Service.getLevelString(level));
    props.put("oracle.net.encryption_types_client", "( RC4_40 )");
    props.put("oracle.net.crypto_checksum_client",Service.getLevelString(level));
    props.put("oracle.net.crypto_checksum_types_client", "( MD5 )");
    Connection conn = DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:main", props);
    But, how can we do this with BC4J objects? Can we set this properties via EnvInfoProvider class? Please help. Thank you very much in advance.
    Zhirong

    Hi,
    Try adding the code in the PBO part of your custom program used for the custom screen which you have created and added inside the BADI.
    Regards,
    Harish

  • How to set image properties ?

    Dear All,
    I need your help to set image properties like (Title , Subject , Comments .... )
    thanks

    NVidia writes the DDS file format plugin, you need to talk to them about it.

  • How to set Custom Properties in PDF

    Hi,
    We are using BIP embedded in EBS R12.
    For post-processing of PDF files, we need to embed information in PDF files which can be read by a script.
    There is Customer Properties section in every PDF file (File > Properties > Custom (tab)) where information may be stored in Name-Value pair where in Name will be a predefined information while value should coming from XML data file.
    I could not find any help/guide which demonstrates how to insert custome properties in PDF file generated from RTF template in EBS. Is this capability available in BIP?
    Please share your thoughts on this.
    br.

    You may be able to make changes to the web.xml for Infoview to handle that.
    For infoview questions you will need to create a forum post in the [Enterprise Admin forum|BI Platform;
    Edited by: Jason Everly on Aug 16, 2010 10:01 AM

  • How to set log filename dynamically

    Hi all!
    Could anybody give me a hint how I can set file name for log4j dynamically.
    I have a log4j.properties file:
    log4j.rootCategory=debug, stdout, R
    #### First appender writes to console
    log4j.appender.stdout=org.apache.log4j.ConsoleAppender
    log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
    # Pattern to output the caller's file name and line number.
    log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %-6p [%c{1}] %m%n
    #### Second appender writes to a file
    log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
    log4j.appender.R.DatePattern='.'yyyy-MM-dd
    log4j.appender.R.File=Myfilename.log
    log4j.appender.R.MaxFileSize=10000KB
    log4j.appender.R.MaxBackupIndex=1
    log4j.appender.R.layout=org.apache.log4j.PatternLayout
    log4j.appender.R.layout.ConversionPattern=%d{ABSOLUTE} %-6p [%c{1}] %m%nand following code in my class:
    Logger LOGGER = Logger.getLogger(MyClass.class);
    File logFile = new File("newFilename.log");
                logFile.createNewFile();
                FileAppender r = (FileAppender)LOGGER.getAppender("R");
                r.setFile(logFile.getAbsolutePath());
                r.activateOptions();Unfortunately it does not work as r is NULL.
    It throws java.lang.NullPointerException.
    Could anybody help me?

    I wouldn't try to mess with the file name. I'd use logging the way it is intended - with the correct log file name configured.
    Even if you successfully do that, what do you suppose will happen when the log "rolls over"? Do you expect it to honor the fact that you've changed the base file name? I would expect it is going to fail when it closes the log, renames it using the rolling pattern, and creates a new log.

  • How to set FTP parameters through Module Processor?

    Hi
    We read parameters set in the communication channel of an adapter through method getSupplementalData("module.parameters") of com.sap.aii.af.mp.module.ModuleData.
    I have following question regarding reading/writing configuration data, set in communication channel for a File adapter:
    1) How can I read the FTP Connection Parameters in a module of a module processor?
    2) Is it possible to update FTP parameters at Module Processor level for Receiver Adapter?
    3) If update of parameters through Module Processor is not possible, then is there some other way I can set the FTP parameters?
    Regards
    Vijendra

    HI Vijendra,
    Check out this -
    https://websmp202.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202
    https://media.sdn.sap.com/SDNTV/main.asp?mediaId=130
    <i>2) Is it possible to update FTP parameters at Module Processor level for Receiver Adapter?</i>
    You can not dynamically determine the FTP server etc. In the Receiver Adapter, Module is called first, then control is given XI Adapter to output the file into FileSystems. You can modify the Payload.
    For more~
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cd/5af7c0c994e24fb0d0088443513de2/frameset.htm
    Hope this helps,
    Regards,
    Morothy

  • How to set the properties of plots in XY graph via VI Scripting

    Hi,
    Is there any way out to change the properties of XY graph plots through VI Scripting? 
    From main VI, I create an XY graph in another VI through VI scripting. I now want to change the Plot legend names, and their styles etc. I notice that these properties can be set up in the new VI (See screen shot Graph Property Node in NEW VI.jpg). However, I couldn't see these properties by calling the property node of XY graph reference in main VI (see screen shot ).
    Thanks for the due response.
    Regards
    HB
    Solved!
    Go to Solution.
    Attachments:
    Graph Property Node in NEW VI.jpg ‏1527 KB
    Graph properties in main VI.jpg ‏959 KB

    Hello HB,
    I see plot.names when I scroll down a bit further. No scripting required.
    Hope this helps.
    Uli
    Attachments:
    plot.names.png ‏74 KB

  • How to set Displayed Properties?

    I want to set different Displayed Properties for folder and documents in my layout.How can I archieve that?
    Best Regards!

    Hello,
    Depending on your requirement, you will have to change your Collection Renderer and Resource Renderer.
    http://help.sap.com/saphelp_nw04/helpdata/en/79/a1d23e6b2c3d67e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/87/41389793deac4f92696f38378e56fb/frameset.htm
    It seems we have posted at the same time, for your requirement, Resource Renderer should do this.
    But if you want to hide some properties which are exisiting on folders! then even Resource Renderer cannot solve this.
    As you have one Resource Renderer per <b>flavor</b>, you will set same Visible Properties for both Folder and File. If the property does not exist on Folder/File, it just shows empty property. But you cannot hide exisiting properties depending on if the resource is File/Folder.
    Here only a custom implemented Resource Renderer can solve your problem.
    Hope this helps...
    Greertings,
    Praveen Gudapati
    p.s. Points are always welcome for helpful answers
    Message was edited by:
            Praveen Gudapati

Maybe you are looking for

  • Panel is not getting refreshed.i see a jam of old and new graph and lines

    hi friends i am attaching my code .when i adjust the slider position the size of the graph will increase(scaling).when i scroll to see the entire graph the screen is not getting refreshed properly. no leads ..can be 3,12 ...try any arbitary ...(store

  • 2011 Macbook pro painfully slow, but CPU usage is almost nothing

    I brought this macbook almost a year ago now and expect that my warranty has almost run out. At first the computer was fine and i could run almost every program on the computer without effecting performance, the almost suddenly the computer became sl

  • Microsoft Visual C++ Runtime Library Error on Windows 7

    So I am having a problem and believe that it is Virus or malware whatever related. upon start up i get a pop up that states "Runtime Error! Program: C:\Program ... This application has requested the Runtime to terminate it in an unusual way. Please c

  • I can't get sound on my old Premiere Elements Files

    I had an old windows laptop....which I had Premiere elements 2 on.  I had some rendered files.... they have come over to Premiere Elements 12 and they are playing, but I have no sound.  The sound is on on the computer and but not when I playback. I a

  • af:table with 2 sets of data

    Hi All, I have an af table below thats being populated via #{jpabean.myEntityList}. My requirement is to have a search function on this. I created an input text as below that takes the search value, and set the return data which will be #{jpabean.myE