To Save in Lookout the State file from the application

I need that the program loads the variable values when start up like when it was written or designed. Also, I need that a autotuning process in the application loads and saves by program the values found for 4 valuables, so when the application is started up again, will hold the result of the last autotuning and all the rest like when was written the application. I think to save the State File aafter the autotuning can be a way.
How get this? Other ways?

JTJams is absolutely right! You don't want to depend on the state file for mission-critical settings. DataTable and the XLS file is a good approach.
Having said that, would like to add the following for completeness: the state file can be used for not-so-critical settings. As you know, the L4T file gets saved automatically; every hour by default. You can however make this as low as 1 minute. It also gets saved when the process is closed.
One trick you can do (as explained in the online help), for a particular process whose state you want to preserve: bring the process to the right state, go into its properties and uncheck the "Save state file every..." check-box. Close the process thus saving its L4T file. Now, change the file-permissions
on this L4T to read-only. From now on the process gets loaded with this state.
My two cents..
Regards,
Khalid

Similar Messages

  • How to save my emails and adressbook files from an old ibook?

    How to save my emails and adressbook files from an old ibook (bought around 2002) ?
    The screen from the old ibook doesn´t work anymore (logicboard problem I guess).
    I saved everything else with starting it in target modus. That worked fine.
    I want to delete the files after that as well, because I wanna give away the old ibook and don´t want anyone to read my emails!
    Little helpers I have:
    A running MacBook
    External Screen (and cables to connect)
    Fire Wire Cable

    Don't know how helpful this will be but I often copy mail from one computer to another, I drag the mail from the mail window to the other computers drop box, then from the other computer double click it and mail asks me what I want to do with it, of course without a screen you'd need to use back to my mac.
    If you don't have back to my mac running, you could set up a second user account on the newer mac, import everything via target mode as suggested by c above, and then drag the mail to the first user account drop box.

  • Waiting data file from another application

    Hi,
    I would appreciate your help with the following problem:
    I am executing an application from within my java application as a process and waiting until it finishes. I need the results file from that application to be read from within mine. The problem is that this application creates other processes that dump the results files long after its main process has informed my application about its successfull execution. The question is, how can I be sure that the particular result files are already written to the end and closed by those hidden for me processes.
    Thank you in advance!

    If I understood well, you're saying that :
    1) you have to wait for the results before proceeding with your application, and you do not have control over the writing processes so that you cannot use some kind of async notification (e.g JMS),
    2) Even when your app is informed of the success of the operation, at that exact time you are not getting the result files you need to proceed. So being informed of success and being able to proceed happen at different times ?
    In that case, the one solution that comes to mind is 'polling' :
    When you're being informed of success, spawn a separate thread (to prevent app freezing) that continuously polls the result files in a while loop.Or, if you don't want to waste CPU cycles, make the thread sleep for a while and try again at regular intervals.
    Less than perfect solution, but I don't see any other alternative ..
    You'll then have to figure out what to do with your app while you're trying to get the results...
    Hope this helps a bit.

  • Utility to extract ADS file from Planning application

    Hi,
    We had a Planning System 9.3 Classic application. We wanted to create a replica of the same as an EPMA application. We used a utility to extract ADS file from classic application. Post that the classic application has locked i.e we are not able to edit it. All dimensions are in view mode. Kindly let us know how to revert back in edit mode for classic application.
    Thanks and Regards,
    Meenal Dhall

    Hi,
    I think you have come across the bug in the EPMA extractor, if I remember correctly it changes a value in a table which stops you editing in classic.
    You can resolve this looking at your planning system database.
    There is a table called HSPSYS_PROPERTIES.
    The field property_id is the application id, you find what application it relates to by looking at HSPSYS_APPLICATION
    Once you know the id for your application
    In the table HSPSYS_PROPERTIES look for a row with EDIT_DIM_ENABLED and change the value in the next field from false to true
    Restart planning and you should be able to edit again.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Running exe files from java applications

    Hello All,
    Is it possible to run executable files from java applications?
    I need to run an exe file on the client from the server machine, the exe could reside on either the server or any other machine on the LAN. Is it possible to specify the path of where the exe resides, and run it on a client machine?

    HI,
    I tried to launch a MS Word application using runtime.exec but it gives me some problem
    The foll. code to launch a txt file using notepad works.
    Runtime rt = Runtime.getRuntime();
    String[] callAndArgs = {"notepad.exe","C:\\coo7\\wizard.txt"};
    Process child = rt.exec(callAndArgs);
    However, oif I try to launch a MS Word application, it asks for the entire path of WINWORD.exe, (unlike just specifying notepad.exe as the first argument in String[] callAndArgs) and this can vary from one machine to another.. how do I get around this?
    The foll. code snippet works but the complete path of where WINWORD.exe might be installed on any machine, is not fixed:-(
    Runtime rt = Runtime.getRuntime();
    String[] callAndArgs = {"C:\\Program Files\\Office\\Office10\\WINWORD.exe","C:\\coo7\\wizard.doc"};
    Process child = rt.exec(callAndArgs);
    Any idea/suggestions pls..

  • How to pull all the txt files from an application server to oracle server

    hi
    i got some 30 txt files on java application server. i have two questions
    1) can java guys will be able to move those files to some oracle directory that will be used by create external table command.
    2) can oracle do that using a stored procedure ..but then for it i think i have to create ftppkg and ftpbdy and call and connect each time...
    which one is better and why?
    regards
    raj

    Hi,
    You can create procedure to move file from application server to oracle server.
    Code for list all files in directory
    ops$tkyte@8i> GRANT JAVAUSERPRIV to ops$tkyte
      2  /
    Grant succeeded.
    That grant must be given to the owner of the procedure..  Allows them to read
    directories.
    ops$tkyte@8i> create global temporary table DIR_LIST
      2  ( filename varchar2(255) )
      3  on commit delete rows
      4  /
    Table created.
    ops$tkyte@8i> create or replace
      2     and compile java source named "DirList"
      3  as
      4  import java.io.*;
      5  import java.sql.*;
      6 
      7  public class DirList
      8  {
      9  public static void getList(String directory)
    10                     throws SQLException
    11  {
    12      File path = new File( directory );
    13      String[] list = path.list();
    14      String element;
    15 
    16      for(int i = 0; i < list.length; i++)
    17      {
    18          element = list;
    19 #sql { INSERT INTO DIR_LIST (FILENAME)
    20 VALUES (:element) };
    21 }
    22 }
    23
    24 }
    25 /
    Java created.
    ops$tkyte@8i>
    ops$tkyte@8i> create or replace
    2 procedure get_dir_list( p_directory in varchar2 )
    3 as language java
    4 name 'DirList.getList( java.lang.String )';
    5 /
    Procedure created.
    ops$tkyte@8i>
    ops$tkyte@8i> exec get_dir_list( '/tmp' );
    PL/SQL procedure successfully completed.
    ops$tkyte@8i> select * from dir_list where rownum < 5;
    FILENAME
    data.dat
    .rpc_door
    .pcmcia
    ps_data
    http://asktom.oracle.com/pls/asktom/f?p=100:11:3597961203953876::::P11_QUESTION_ID:439619916584

  • Java.util.logging: write to one log file from many application (classes)

    I have a menuapp to launch many applications, all running in same JVM and i want to add logging information to them, using java.util.logging.
    Intention is to redirect the logginginfo to a specific file within the menuapp. Then i want all logging from all applications written in same file. Finally, if needed (but i don't think it is), i will include code to write logging to specific file per app (class). The latter is probably not neccessary because there are tools to analyse the logging-files and allow to select filters on specific classes only.
    The applications are in their own packages/jars and contain following logging-code:
            // Redirect error output
            try {
                myHandler = new FileHandler("myLogging.xml",1000000,2);
            } catch (IOException e) {
              System.out.println("Could not create file. Using the console handler");
            myLogger.addHandler(myHandler);
            myLogger.info("Our first logging message");
            myLogger.severe("Something terrible happened");
            ...When i launch the menuapplication, it writes info to "myLogging.xml.0"
    but when i launch an application, the app writes info to "myLogging.xml.0.1"
    I already tried to leave out the creation of a new Filehandler (try/catch block in code above) but it doesn't help.
    Is it possible to write loginfo to same specific file?

    You should open/close it somehow at every write from different processes.
    But I personally prefer different file names to your forced merging, though.

  • Finding and retrieving an XML file from an application and an applet

    I have a problem.
    I have data stored in an XML file. I want to be able to call that file and store it into a document object from an application standing alone on a computer as weel as from an applet that would be running over the web.
    I don't know how to do this.
    When I use a relative path name for the application it attaches the path of the folder that contains java.exe. I could do something with the class path but this wouldn't help the end user of the application on a different computer. For similar reasons I don't want to hard code because I don't know where the final applet will be stored.
    I have a table that holds, sorts and filters the data so I want the table to collect the data, I don't want to dictate the path from the applet or the application, I want a method that is consistant with both scenarios.
    Can anyone offer some advice?

    I've just finished trying it out, here is what I did:
    String xmlDocName="filename.xml";
    java.net.URL fileURL=this.getClass().getResource(xmlDocName);
    private final String fileName = fileURL.toString().substring(6);
    The substring removes the "file:/" from the URL.
    This works fine in the IDE, I have even stored the xml file in a lower folder e.g. package_folder/xml_folder/filename.xml and replaced the xmlDocName with "xml_folder/filename.xml" and it worked fine.
    I haven't tried it in an applet because I'm running IE and as you are well aware there are problems with swing and IE applets. But you answer deserves the Duke Dollars, thank you very much.

  • Write HTML Files from java application

    Hello,
    i have to write HTML files from a java application.
    I am asking if anybody can give me a hint about a good simple solution (library) which can do some of the job for me.
    i know FOP for example is good to create pdf or html from xml, but i dont want to go via xml.
    the sites i need are really very simple presents emails.
    body and maybe a link for next and pervious.
    however, thank you in advance.
    a little hint will also help :)
    Sako.

    That, too, is my question.
    Be the "server" local or remote, wouldn't JSPs still
    be the easier solution? No. it will not. because you need a server. Server for a stand alone application is not esier. according to who said JSPs are easy?
    Its very very difficult.
    >
    When answering, please clarify. I'm a bit of a newbie
    here. :)To get sence about how hard is JSP, check Struts. this is very good open source Framework to simplify the JSPs. but it still complecated enough.
    or Tapestry my lovely open srouce Framework.
    its easier than Struts. but sill complecated because of the documentation.
    All in all, using JSP is the purpose of Java in the internet. but not for me. My application will not be available in the internet, i.e. no server, i.e. no need for JSP.
    i hope that helps a little.

  • Best way to create SVG file from drawing application?

    I am developing a drawing application that allow the users to draw and edit static two dimensional images such as Rectangles, Ellipses and Text. I have a superclass SVGShape that contains all the common features of a shape such as x1, x2, color etc. I then have SVGRectangle as a subclass of SVGShape.
    I want to know what would be the best way to create an SVG file from this? An idea I have at the minute is to have an abstract method getSVG() in the SVGShape class, and then implement the method in the subclasses. I will then create a new class called SVGManager which iterates through the list of shapes (Btw I'm using MVC, my shapes are stored in a Collection) and uses the getSVG() mehtod in each shape to build up a SVG file.
    What do you think of this? Any better ideas?
    Thanks guys

    I used a visitor for this in a similar project, so that when the svg library is used in a applet or browser and the writing functionality isn't required, it may be omitted from the bundle.
    Pete

  • Bat files from java application..its urgent pls help me

    hi
    My java application tries to execute the bat file, the code followes
    Runtime runs = Runtime.getRuntime();
              runs.exec("e:/customisation/test.bat");
    The bat file contains commands to copy files from one folder to another
    and some dos commands, but the commands are not executing. If i tried the bat file with some exe's like notepad its working well, but not working with dos commands.
    thanks in advance
    nisam

    Hi
    Your batch file will be working actually. But no output will be seen in the console window.
    For example I had created a batch file with the folowing code
    echo This is test
    copy test.bat test1.bat
    pause
    Even though I can't see the messages in the console, it executed when called using
    Runtime runs = Runtime.getRuntime();
    runs.exec("hi.bat");
    where hi.bat contains the above code.
    If you want to see the output messages also in the console, you have to redirect the outputstream to the current console. One such class this does is available somewhere in Java(I don't exactly remember :-( ). I think it is StreamPluginThread.java
    Regards

  • Running .bat files from java applications

    Has anyone tried to run a .bat file from a java application?
    I know I can run java commands by getting the application's runtime, but I've a number of *.bat files I like to run from the application without having to extract the commands from the .bat files.
    thks,

    Crikey! You were answered very shortly after you posted your question, and you STILL haven't bothered to come back. And are you going to create a new userid the next time you ask a question, since bat2004 seems tied to this particular question?

  • Ho to publisg .php files from oracle Applications R 12

    Hi,
    My requirement it to publish .php files from our E-Business R12 (12.1.3) application server. please provide the steps and confiuration settings to be done for this. Below are the deatils of our environment.
    OS : RedHat Linux 5
    DB : 11.1.07
    applicaton : 12.1.3
    Thanks.
    Edited by: 906610 on Jan 7, 2012 10:59 PM

    Could you please inform do we have scope to call .php pages from E-Business?I am not sure if this is possible (supported) as I have never seen any document that talks about this -- Please log a SR to confirm.
    Thanks,
    Hussein

  • New Lightroom catalog always selects and includes some files from folder Applications/Mail/Contents/Resources. Why? Mac Mini OS X 10.10.1. Lightroom 5.7

    Whenever I create a new catalog, Lightroom selects and includes some, but not all,  TIFF files from the folder Applications/Mail/Contents/Resources. Why does it do this: I don't select this folder to be included. Mac mini OS X 10.10.1. Lightroom 5.7.
    Help much appreciated.
    Regards
    Dan O'Neill

    Whenever I create a new catalog, Lightroom selects and includes some, but not all,  TIFF files from the folder Applications/Mail/Contents/Resources. Why does it do this: I don't select this folder to be included. Mac mini OS X 10.10.1. Lightroom 5.7.
    Help much appreciated.
    Regards
    Dan O'Neill

  • Generate .PDF file from BlackBerry application

    Hai,
    Can anyone explain or give me some idea on generating pdf file in blackberry application programatically...
    Thanks in advance.
    Regards
    Ratheesh R Kurup

    hi Kiriakos,
    which version are you using ?
    please test this with reports 9i since PDF support
    has been enhanced there.
    to test i would suggest to run the report from rwclient
    as well and specify desformat=pdf and to a generate to
    file within builder to see if the same behavior occurs.
    if this problem reproduces there as well i suggest
    to contact oracle support to log the problem.
    regards,
    christian

Maybe you are looking for

  • Transition not 'sticking' to end of timeline

    I am able to drag my 'Cross Dissolve' into my movie in between segments, but I dont seem to be able to stick it onto the end of a segment (but I can sometimes). I can't work out why it works in some clips and not in others?!

  • Tocuh Pad Pat

    I wonder. If the ipod has the rights to the circular touchpad, and no one else can use it...how come the vertical touch pad used in the zen touch is used by other brands...why didn't they take the rights to that? Or what.

  • Advice a good book or on line source

    Hello everyone! In our small company we have no IT staff so I try to do my best with MS Access VBA, MS-SQL and SharePoint Online Plan 1. Can you please advice me good book or on-line source to understand better lists, web part page and connections be

  • Error message with pop-up of PDF

    I often create links that will pop-up a PDF in a new window. I use good ole Open Popup 2 for this. It works fine in Safari.  However with Explorer I get this message "Cannot use Adobe Reader to view PDF in your web browser. Reader will now exit"  The

  • Where is the standby file method/property in SMO.Database

    Hello, I'm trying to locate the method / property in SMO.Database for StandByFile (undo backup file). I'm able to set it during a restore using SMO.Restore.StandByFile, but I'm currently building a empty DB from the properties of an exisitng DB and t