Question on runtime enviornment

Pls tell me what is Runtime enviornment in Process Integration and also tell me what is the role of runtime enviornment in it.pls reply  soon

Hello
Please do not use this forum for such basic questions. This forum is for PI developers who have at least a rudimentary knowledge of the component. If you want to learn about PI this is not the correct place to do so.
This thread will be locked.
Regards
XI/PI Moderator

Similar Messages

  • Not able to get rid of security-related questions in runtime

    Hi,
    I am simply using NetBeans 6.0.1 and the emulator QwertyDevice and the emulator platform WTK 2.5.2 for CLDC.
    I have chosen Alias as trusted in the signing option in the project configuration page. however still I am getting security confirmation questions in runtime to access the local files for instance.
    Would anyone please advise me how to get rid of that?
    Also I have deployed the application on SonyEricsson k800i and would like to get rid of the security confirmations on that device as well. What is the guideline?
    Thank you

    Right clicking on it is not even an option, just hovering over it seems to induce a "nuclear" reset of the whole desktop and graphic card on the iMac.
    Have meanwhile found a possible solution by erasing the dock preference file in the user/library/preferences folder to reset the dock to it's default state. Will try this out through a Skype conversation with that Buddy.
    Was seen here :
    https://discussions.apple.com/message/16447109#16447109
    Thank you for stepping in. Good to know that people are still willing to help in this community.
    Greetz to the UK from France

  • Putting own custom Writer class in the runtime enviornment of JSP

    Hello All:
    i have a doubt that i have made my own JSPWriter class and i want to use this class to be loaded in the runtime enviornment of the tomcat to get a custom output that is required by me .... for this i have written my own PageContext and through it i am instanciating this writer and successfully using it but is it the right procedure or i shall somehow need to follow some other procedure to get the task done. Another doubt that i have is if i load my suitable classes and in the runtime enviornment, will it effect the other applications that are running on the server ... and what ahould be the ways to overcome this .... is they follow the same procedure as i have then i think they are not supposed to face any problem ... kindly give me suggestions as i am in need of finding a solution as soon as possible ...
    One another thing that i need to ask is that if we want to read the contents that are being sent to the client brower through the JSP then how to get that .....
    I hope you will try to understand my urgency..
    thanks in advance
    Dodo

    Please read http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Servlets8.html#82361 on filters and response wrappers. The advantage to this approach is that you can target your replacement writer to specific web resources and capture output.

  • Questions on Runtime systems

    Hi to all
    I have two questions:
    1)
    SAP says do not use the system where the JDI s installed as runtime system, I suppose in order to avoid the CMS deadlock described in note 754143. Right ?
    Suppose we have three system D (develop), T (test) and P (Pro). Teh JDI is instaleld in D. We define the track Development with the runtime systems T as "test" and P as "production".
    As I understood the deploy on the D system happen automatically as soon the activation is triggered into the Dev Studio IF the system D is used as runtime system.
    Please could you clarify how we can keep aligned the D environment with the system T and P from the point of view of he deployment if we cannot use the D system as runtime environment ?
    2) Suppose we have three system D (develop), T (test) and P (Pro). Teh JDI is instaleld in D.
    We defined the tracks DEVELOP and MAINTENANCE, connected by a 'repair' connection.
    If I understood weel the DEVELOP track and the MAINTENANCE track should have the Development and the Test runtime system in exchanged order:
    the system indicated as Test for the DEVELOP track has to be indicated as Develop for the Maintenance track.
    Then the runtime Production system has to be defined for the DEVELOP track only ?
    Regards

    Hi, thanks H. for the info.
    I understood the MAINTAIN track and the DEVELOP track MUST to have different runtime systems.
    We need at least, (minimun), 3 different systems (development1 and test on the DEVELOP track and development2 on the MAINTEN track) in order to maintain an old relese of SC while a new release is in progress, right ?
    It's then responsability of the 'connection repair' defined between the tracks to move the software from the DEVELOP track to the MAINTEN track.
    Please, in which moment of the DEVELOP track the software will be copied also to the MAINTEN track ?
    New question about the Consolidation phase.
    At the beginning we configured ONLY the runtime development for the DEVELOP track. So the work o teh developers was deployed automatically on that system as they activate their activities into the Developer studio.
    As traiing we released the activities and we saw them into teh Consolidation tab queue ready for transport (NO Consolidation runtime system was in place).
    Anyway we selected them and run the import. The CMS said it gone well.
    After that the activities of the developers were into the Assebly tab queue.
    My dubt is that after the import we saw our application working fine on the envirnment indicated as runtime develop system.
    I need to clarify if this is the correct behaviour:
    A) In this case using only the development runtime system into a track it does not have sense to relase the activities.
    The development activity then end at that point and there is nothing else to do into the CMS.
    If you need at that point the SCA of your work, to import them elewhere you can find it under the ../Jtrans directory (on condition that you reeased them)
    Right?
    B) It's an bug of the CMS to allow to run the import from the Consolidation tab while there is no consolidation runtime registered ?
    Or it do not represents a real, physical import of software but only a logical step needed to move ahead the sw ?
    we suppose when we run the import from the Consolidation tab queue we overwritten again the application on the development runtime system, but I'm not sure of that.

  • Question on Runtime TID and MSDID

    hi all,
    I have been researching the cor-relation between TID > MSGID and IDOC created on backend system.
    How can i corelate all of them and say that a particular TID is related to MSGID and "a" particular IDOC on the R/3 side.
    I would also like to know that for IDOCS when TID is created at Runtime, does the same TID exist for IDOC going to backend system or does it get changed as it passes from AE > IE.
    thanks
    tony

    Hello
    Please do not use this forum for such basic questions. This forum is for PI developers who have at least a rudimentary knowledge of the component. If you want to learn about PI this is not the correct place to do so.
    This thread will be locked.
    Regards
    XI/PI Moderator

  • Question about Runtime.exec

    Rob,
    Thanks for your help.
    I asked a question about a weird Exception on Nov 14, and you told me that I am
    using Runtime.exec to start an external process, and that process is crashing.
    I am a green-hand on Weblogic, and I am trying to enhancing a project developped
    by another person, so I am not familiar with some concepts yet.
    Could you please give me some simple explanation about Runtime.exec and external
    process?
    I found two methods that uses "Runtime" from two classes as following, could you
    help me to see whether or not there is something wrong with the usage of Runtime?
    Thank you very much.
    private int runShellCommand(String command) {
    int exitVal = -1;
    try {
    File runDir = new File(runDirectory);
    String[] env = new String[0];
    Runtime rt = Runtime.getRuntime();
                   double start = System.currentTimeMillis();
    Process proc = rt.exec(command, env, runDir);
    // Capture output in separate thread
    ThreadedStreamReader error = new ThreadedStreamReader(proc.getErrorStream(),
    "ERROR");
    ThreadedStreamReader output = new ThreadedStreamReader(proc.getInputStream(),
    "OUTPUT");
    error.start();
    output.start();
    exitVal = proc.waitFor();
    if (logger.isDebugEnabled()) {
         double runtime = (System.currentTimeMillis() - start) / 1000.0;
         logger.info("run " + runId + " " + command + " finished in " + runtime
    + " seconds");
    } catch (IOException e) {
    logger.fatal("DOE-2 failed \n" + e.getMessage());
    } catch (InterruptedException e) {
    e.printStackTrace();
    return exitVal;
    public static void main(String[] args) throws Exception, InterruptedException
    final Doe2MessageServer server = new Doe2MessageServer();
    while(!connected) {
    Thread.sleep(1000);
    logger.info("Attempting to start JMS service ...");
                   try {
              server.init();
                   } catch (Exception ex) {
    // shutdown hook to close JMS connection
    Runtime.getRuntime().addShutdownHook(
    new Thread() {
    public void run() {
    server.finalize();
    server.receiveMessage();

    Runtime.exec is a J2SE API. It's not really specific to WLS.
    You can read about it here:
    http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Runtime.html
    It looks like you are starting a JMS Server in a separate process and
    that process is crashing.
    (You could of course just use WLS's JMS Server instead :>)
    -- Rob
    Iris Qu wrote:
    Rob,
    Thanks for your help.
    I asked a question about a weird Exception on Nov 14, and you told me that I am
    using Runtime.exec to start an external process, and that process is crashing.
    I am a green-hand on Weblogic, and I am trying to enhancing a project developped
    by another person, so I am not familiar with some concepts yet.
    Could you please give me some simple explanation about Runtime.exec and external
    process?
    I found two methods that uses "Runtime" from two classes as following, could you
    help me to see whether or not there is something wrong with the usage of Runtime?
    Thank you very much.
    private int runShellCommand(String command) {
    int exitVal = -1;
    try {
    File runDir = new File(runDirectory);
    String[] env = new String[0];
    Runtime rt = Runtime.getRuntime();
                   double start = System.currentTimeMillis();
    Process proc = rt.exec(command, env, runDir);
    // Capture output in separate thread
    ThreadedStreamReader error = new ThreadedStreamReader(proc.getErrorStream(),
    "ERROR");
    ThreadedStreamReader output = new ThreadedStreamReader(proc.getInputStream(),
    "OUTPUT");
    error.start();
    output.start();
    exitVal = proc.waitFor();
    if (logger.isDebugEnabled()) {
         double runtime = (System.currentTimeMillis() - start) / 1000.0;
         logger.info("run " + runId + " " + command + " finished in " + runtime
    + " seconds");
    } catch (IOException e) {
    logger.fatal("DOE-2 failed \n" + e.getMessage());
    } catch (InterruptedException e) {
    e.printStackTrace();
    return exitVal;
    public static void main(String[] args) throws Exception, InterruptedException
    final Doe2MessageServer server = new Doe2MessageServer();
    while(!connected) {
    Thread.sleep(1000);
    logger.info("Attempting to start JMS service ...");
                   try {
              server.init();
                   } catch (Exception ex) {
    // shutdown hook to close JMS connection
    Runtime.getRuntime().addShutdownHook(
    new Thread() {
    public void run() {
    server.finalize();
    server.receiveMessage();

  • Questions on Runtime.exec

    Currently i need to backup a file from the current directory to a Archive directory. So to rename the file in the current directory then move it or copy it into the Archive directory.
    My question is can Runtime.exec () run 2 commands
    first will be "cmd /c start rename A*.zip A_01.zip"
    second will be "cmd /c copy A_01.zip newfolder\A_01.zip" ?
    Reason why i dun wan to run 2 .exec() statement is that i dun wan too many popout screens.
    Hope I can get my solution here.
    Thanks

    don't know whether it works on windoze too, but on unix you can execute several commands seperated by an ";". perhaps this works for exec() too (?)
    so far,
    stefan g.

  • Question About Runtime Class Not Found Exception

    Good Morning!
    I have a very simple test class that I am using to debug a class loader issue with log4j. I can compile my class. I put the class in a jar file with a manifest that points to the class with the main method. The log4j .jar file is in the .\lib directory, below the test1.jar file. I have fussed around with different variations of -cp & -classpath, without success. I can not figure out why the runtime environment can not load the org.apache.log4j.Logger class.
    What is wrong with the way that I am setting up the runtime environment?
    Thank you!
    ==========================
    source:
    import org.apache.log4j.Logger;
    public class Test1 {
        static Logger logger = Logger.getLogger(Test1.class);
        public static void main(String[] args) {
            System.out.println("Hello World");
    }===========================
    compilation:
    X:\test>javac -classpath .\;.\lib\log4j-1.2.14.jar Test1.java
    jar:
    X:\test>jar -cvmf .\META-INF\MANIFEST.MF test1.jar .\*.class
    added manifest
    adding: Test1.class(in = 627) (out= 380)(deflated 39%)
    MANIFEST.MF:
    Manifest-Version: 1.0
    Created-By: 1.5.0_11 (Sun Microsystems Inc.)
    Main-Class: Test1
    ==========================
    .\lib:
    X:\test>dir .\lib
    Volume in drive X is Storage
    Volume Serial Number is 5871-E6FF
    Directory of X:\test\lib
    11/25/2009 10:19 PM <DIR> .
    11/25/2009 10:19 PM <DIR> ..
    11/25/2009 10:05 AM 367,444 log4j-1.2.14.jar
    1 File(s) 367,444 bytes
    2 Dir(s) 27,042,570,240 bytes free
    X:\test>
    run:
    X:\test>java -client -classpath .\;.\lib\log4j-1.2.14.jar -jar test1.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Logger
    at Test1.<clinit>(Test1.java:6)
    Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    ... 1 more
    Could not find the main class: Test1. Program will exit.
    X:\test>

    Fussing around with the -classpath parameters won't do anything, because they are ignored when the -jar parameter is present. Running an executable jar means that you specified the classpath in the jar's manifest. Which you didn't do. You need a Class-Path entry in the manifest which provides the path to the log4j.jar file relative to your executable jar.

  • Simple java question, help please

    please help
    -i am just starting out in java and im havin an early problem. Im trying to run a small java script from a commant prompt but im getting the following error after i enter this command at my prompt
    c:\javatest>javac HelloARP.java
    javac is not as an internal or external command, operable program or batch file.
    when i enter
    c:\java -version
    i get the following message: registry key software\javasoft\java runtime enviornment\current version has value of 1.1 but 1.4 is requiured
    error: could not find java.dll
    error: could not find java 2 runtime enviornment
    -im sure this is a simple error on my part. all im trying to do is run my first lil program that i saved in notepad, its only 5 lines long. here is the lil test program im trying to execute
    class HelloARP {
    public static void main (String[] arguments) {
    System.out.println("What's good ARP?");
    - all responses and help are welcomed. Thank you ahead of time for anyone that can help me get started.

    Hi
    First of all uninstall your current JDK installation, if you can get to the registry delete the registry entries for the old version of java which was there on your machine.
    Now do a fresh install of your j2sdk1.4.1, make sure that you will install the JRE with the J2SDK1.4.1.
    Once you are done, set your classpath in autoexec.bat if you are using Windows 95/98
    or set your environment variables if you are using Win NT/2000/XP.
    If using solaris or other unix flavors see the included installation instructions provided.
    Let me if you face the same problem.
    Thanks
    Swaraj

  • Runtime compilation

    Hi Forte-users,
    I have a question about runtime compilation . Under what conditions does Forte
    compile a method at runtime. My logical conclusion would be Forte complies
    stuff that has been changed or has a direct impact due to the change, but this
    is not true as I found out the hardway that it even compiles methods or objects
    that are residing in some other Projects which are not even supplier to the
    Project that one had made changes to.
    Please let me know what the criteria that Forte uses to decide whether a
    methods needs to be complied runtime or not. Is there any way to stop run-time
    compilation?
    Thanks
    Mihir Chitre

    Example?
    var myFunc:Function;
    myFunc = function()
    var i:int = 5;
    trace(i);
    //works fine
    myFunc = "function(){ var i:int = 5; trace(i);}";
    //TypeError: Error #1034: Type Coercion failed: cannot
    convert "function(){ var i:int = 5; trace(i);}" to Function.
    // at Sandbox_fla::MainTimeline/Sandbox_fla::frame1()
    myFunc = (Function)("function(){ var i:int = 5; trace(i);}");
    //EvalError: Error #1066: The form function('function body')
    is not supported.
    // at Sandbox_fla::MainTimeline/Sandbox_fla::frame1()
    myFunc();

  • Problem executing file through Runtime.exec

    Hi,
    i am trying to execute a java programem using the the following line
    Runtime.exec("java Myclass");
    But no response for it.
    Anybody help me.
    Jossy

    As required by forum protocol for people who ask questions about Runtime.exec I am posting the standard link:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • Import Question Pool

    I am using Captive 3. I am creating a final exam project
    compiled from questions from previous individual Captivate 3
    projects. I have been successful in importing 6 question pools into
    the final examp project. When I attempt to add (import) a 7th
    question pool, the application "stops responding" ... I receive the
    following message:
    "Adobe Captivate has stopped working...A problem caused the
    program to stop wroking correctly. Windows will close the program
    and notify you if a solution is available."
    I have not received any response from Windows, and I have not
    received a call back from Adobe Tech Support, so I am seeking any
    assistance that the Forum community may provide.
    Thanks for your help. I am using Windows Vista with Adobe
    Captivate 3.
    Etrainer13

    Question Pools usually ARE external SWF files that are imported at runtime into the main SWF.  That's the way Captivate builds them by default.
    However, I suspect you're hoping to do something more dynamic like import totally different questions at runtime, right?

  • Runtime.exec() causes app to hang

    Hello all, I'm having an issue with the Runtime.exec() and I'm hoping someone in the forum can shed some light on it for me.
    My application currently includes the capability for my end users to run a variety of reports, all of which are written in SQR (BRIO reporting language). Since my application is in Java ( and all the reports were written for a previous application), I use the Runtime.exec() call to launch the SQR viewer application. The problem I'm having is this: When I run the code below in my development environment (using a front end framework from Oracle (JDeveloper)), everything works fine. When I deploy my application to a jar file, the application runs fine until the code below is called. At this point the application hangs terribly and my CPU usage is maxed out by my app. The process for the report is created but is unable to garner the necessary resources to run because my application is using them all. If I kill my application, the report process then runs as expected.
    Why would the same code run fine in development but not when deployed to a jar file?
    The following is the code in question:
        try {
          Runtime rt = Runtime.getRuntime();
          Process proc = rt.exec(sDrive + "\\SQR6\\SQRW " + sDrive + "\\SQR6\\REPORTS\\" + repName + ".SQT " + sConn + " -RT -FC:\\SPL\\ -C -ZIV");
          InputStream stderr = proc.getErrorStream();
          InputStreamReader isr = new InputStreamReader(stderr);
          BufferedReader br = new BufferedReader(isr);
          String line = null;
          while ( (line = br.readLine()) != null)
            System.out.println(line);
          int exitVal = proc.waitFor();
        catch (Throwable ie)
          ie.printStackTrace();
        }    All thoughts and suggestions are welcomed.
    Thanx in advance,
    eribs4e

    So you either tried adding a reader for stdout, or you're sure that nothing is produced on stdout? And you're sure it's not expecting anything on stdin?
    You say your app runs fine up to that code, and then eats all the CPU right? Sounds like a spin lock. One possibility is that it's something like this: br = bufferedReaderForStdOut;
    while ( (line = br.readLine()) != null)
            System.out.println(line);
    while ((line = br.readLine() == null); Not that I expect that you have precisely that in your code, but I suspect the problem may actually be a spin-lock that precedes the code you've posted. I don't see anything obviously wrong with what you have, so if there's a problem in your code, it's probably in what you haven't shown.

  • Runtime.getruntime().exec and text

    I have an application called Truck Scale. This application has a requirement to talk with devices such as a scale indicator, zebra printer, message boards, rf readers and okidata 395 printers. In this application, we have these devices hooked to a serial mux such as a digi and we are using the JAVA COMM API. However, we are having issues with java comm api where all the data that should be transmitted to the port is not being transmitted. We can however transmitt correctly to the port using the unix shell. I would like to forgo using the Java Comm API and execute everything that needs to send or read info for a port via the unix shell. I know I can do this using the runtime.getruntime().exec. However, my issue arises with oki395. The output that needs to be send via the port (not using lp due to overhead of the unix spooler), is formatted text. When I pass the unix command, the formatted text, and my port to the runtime enviornment via the String array, my formatted text loose all of its formatting including newlines. How can I address this issue with the runtime.getruntime().exec.

    Yes, I can send a new line the port correctly from a command line.
    Here is an example of the text file.
    CROSS PLAINS TN 37049 2549
    MATERIAL SPREAD NOT GUARNTEED.NO PERSONAL CHECKS..
    615-654-9942 TOLL FREE 877-654-9942
    Date: 07/21/2009 02:47:31
    Job No: TC1
    Q Num::
    Cust No: 37206728 Src Num::
    Sold To: CROSS PLAINS UNITED METHODIST CHURCH
    Address: 7665 HIGHWAY 25 E
    CROSS PLAINS,TN 37049
    Ord By:
    Ord No: Rate Zone:
    Location: testing changes
    This text is build using a class we created called textTicket which has each line define as a string with the appropriate newlines and tabs on eac line. As soon as this object is added to the string array and is passed to exec to execute the unix command to pipe it out to the port, the textTicket loses its formatting.

  • Runtime compatibility?

    I hope someone can help me to answer this question:
    Forms Runtime Compatibility mode is set to 4.5, how can I change the setting to 5.0?
    Regards Roar

    You can set Form Module property Runtime Compatibility Mode to 5.0.

Maybe you are looking for

  • BAPI for changing components of a item in purchase order

    Hi All, I am working in VMS. In that i deal with Assembly purchase orders. There will be only one line item for such type PO's and there can be any number of components for that item.     Now from the module pool screen i need to update the batch det

  • Button not working on PDF

    I've a button which should add instance of a subform on click event using following script - xfa.host.messageBox("adding instance", "Warning", 3); Detail.Blank_Page.ItemSet.instanceManager.addInstance(1); Detail.Blank_Page.execInitialize(); When I cl

  • Purchased ringtones disappeared after update to IOS 8.1.1 on iPhone 5c

    Hello, could someone help me? I purchased some ringtones from store a week ago, but after update to IOS 8.1.1 all bought songs disappeared from my iPhone 5c. The songs I bought before I visit in store and I can bought and pay it again. Where is the p

  • How can we take print out for challen no. create d by J1INCHLN

    hi,. actually i forgot to take print after running J1INCHLN  . how can we take printout or display without running J1INCHLN . one challen number is created , is there any tcode to view or print. regards. hari priya

  • How to save photos in original size with iPhoto?

    I import my DSLM pictures (4000x3000) per camera connection kit to iPad. I would like to edit the pictures (in Photo Stream) with Photos and iPhotos, but both apps automatically reduce the picture size  to my iPad resolution when saving - which is no