Spawning another java process after System.exit(0);

Hi everyone
I have an application that Im trying to test. Unfortunately one of these tests requires me to spawn another java process after a System.exit(0); has executed. Since this exits the VM its proving very difficult. Does anyone know of a way to restart the VM after the System.exit has run?
Thanks

Hi everyone
I have an application that Im trying to test.
Unfortunately one of these tests requires me to spawn
another java process after a System.exit(0); has
executed. Since this exits the VM its proving very
difficult. Does anyone know of a way to restart the VM
after the System.exit has run?Exactly what do you want to do?
If the application is supposed to only have one exit point then add a security manager and disallow all the other exit points. Then you can use Runtime.exec() to start the second application just before the real exit point.
However note that if there are other calls to System.exit in the application then it is very likely that this will cause some unexpected failures in terms of security exceptions.
You could also use Runtime.addShutdownHook() which would run your second app. The hook would be called as the application exits.
You might want to consider what happens if someone just kills the application (say with 'kill -9' or the windows task manager.) In either of those cases there is nothing that you can do in java to make that second application run.
You might also want to consider why you are doing this in the first place. As suggested a script solution is probably a better solution.

Similar Messages

  • Spawning another sub-process

    All
    A quick workflow question: How do I spawn another child/sub-process from another process of the same item type ?
    Imagine this scenario:
    ItemType : ABC
    Process : EFG
    Start --> Function A ---> Process HIJ ---> Function C ---> End
    Process : HIJ
    Start --> Function D ---> Notify X ---[Timeout]--> Notify Y ---> Re-assign
    One of the options/buttons within the Notify Y will be to start another process EFG of item type ABC.
    Do I simply drag and drop the Process EFG process icon into the diagram of Process HIJ and link it as an outcome of Notify Y ?
    Or is there another way of doing it ?
    Any helps is appreciated ?
    Thanks
    Regards

    Hi everyone
    I have an application that Im trying to test.
    Unfortunately one of these tests requires me to spawn
    another java process after a System.exit(0); has
    executed. Since this exits the VM its proving very
    difficult. Does anyone know of a way to restart the VM
    after the System.exit has run?Exactly what do you want to do?
    If the application is supposed to only have one exit point then add a security manager and disallow all the other exit points. Then you can use Runtime.exec() to start the second application just before the real exit point.
    However note that if there are other calls to System.exit in the application then it is very likely that this will cause some unexpected failures in terms of security exceptions.
    You could also use Runtime.addShutdownHook() which would run your second app. The hook would be called as the application exits.
    You might want to consider what happens if someone just kills the application (say with 'kill -9' or the windows task manager.) In either of those cases there is nothing that you can do in java to make that second application run.
    You might also want to consider why you are doing this in the first place. As suggested a script solution is probably a better solution.

  • Starting New process (continous) from another java process

    Hi,
    I am running into a trouble in starting a new java process (continous process it is like daemon process ) from another java process.
    Eg;
    Caller.java runs on one JVM instance, from this Caller.java i need to start a daemon java process ConnectionManager.java (My caller.java should have to know whether ConnectionManager was successfully started as a seperate java process or not)
    Also Caller.java has to stop ConnectionManager.java(which is running as seperate process)
    Any help would be appeciated.
    Thank you very much.

    First of all the design is unusual. Your issue is basically intercommunication between two processes written in java. There are various ways to do that:
    1. Use Persistent system(File/Database) : Easiest but have external dependency.
    2. Use RPC calls both JVM,s little bit complex.
    3. Run new JVM in debug mode and connect on bootstrap port.
    4. Communicate using Sockets.
    Whatever suits you...

  • Spawn a java process using runtime.exec() method

    Hi,
    This is my first post in this forum. I have a small problem. I am trying to spawn a java process using Runtime.getRuntime().exec() method in Solaris. However, there is no result in this check the follwoing program.
    /* Program Starts here */
    import java.io.*;
    public class Test {
    public static void main(String args[]) {
    String cmd[] = {"java", "-version"};
    Runtime runtime = Runtime.getRuntime();
    try{
    Process proc = runtime.exec(cmd);
    }catch(Exception ioException){
    ioException.printStackTrace();
    /* Program ends here */
    There is neither any exception nor any result.
    The result I am expecting is it should print the following:
    java version "1.4.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
    Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
    Please help me out in this regard
    Thanks in advance
    Chotu.

    Yes your right. It is proc.getInputStream() or proc.getErrorStream(). That is what I get for trying to use my memory instead of looking it up. Though hopefully the OP would have seen the return type of the other methods and figured it out.

  • Process in memory after System.exit(0)

    I still see the process in memory after I exit the app. Do you think it is a JWS side effect?
    Platform: W2K
    Cheers,
    Ivan

    Ivan,
    when you enable the 'java console' in Java Web Start->Preferences->Advanced->Show Java Console, you'll notice that you run into a java.security.accessControlException.
    To avoid that, sign your jar file(s) and add the following to your jnlp file :
    <security>
    <all-permissions>
    </security>
    and it will work as expected!
    Regards,
    Patrick

  • Keep external process alive after System.exit(0)

    I wish to start Outlook from my Java program and have my own program exit normally but keep alive the Outlook process. Besides, I am not interested in input/output/error streams.
    public class OutlookStarter {
         public static void main(String[] args) throws Exception {
              new ProcessBuilder("cmd", "/c",
                        "\"C:\\Program Files\\Microsoft Office\\Office14\\outlook.exe\"")
                        .start();
    }When I run this when Outlook is not started, my program will not exit until I close Outlook.
    I really do not want to close Outlook just to exit my program (my real program has a Swing GUI and users must be able to close it).
    Also when I run this when Outlook is already started, somehow my program DOES exit without closing the new Outlook window.
    EDIT: I can add System.exit(0) and behavior is the same. I can use Runtime.getRuntime().exec and behavior is the same.
    Edited by: Strider80 on Jan 12, 2011 7:27 AM

    Strider80 wrote:
    I wish to start Outlook from my Java program and have my own program exit normally but keep alive the Outlook process. Besides, I am not interested in input/output/error streams.
    public class OutlookStarter {
         public static void main(String[] args) throws Exception {
              new ProcessBuilder("cmd", "/c",
                        "\"C:\\Program Files\\Microsoft Office\\Office14\\outlook.exe\"")
                        .start();
    Did you try using [url http://www.computerhope.com/starthlp.htm]start ^[url http://www.computerhope.com/starthlp.htm]Microsoft DOS and command prompt^ ?
              new ProcessBuilder("cmd", "/c",
                        "start \"C:\\Program Files\\Microsoft Office\\Office14\\outlook.exe\"")
                        .start();

  • Why in COM, set smth true, stays true even after System.exit?

    I am using "Jacob" to do COM calls. When I alter the "ShowAll" property of Word.Application and I set it to true, it will then forever be true even if I exit the application AND quit the word application. If I set it to false, the same thing happens, it will always be so. The code to call/set this is:
    (NOTE: This uses classes I made to wrap the Dispatch calls)
    Word wordApp = new Word();
    Documents docs = wordApp.getDocuments();
    Document doc = docs.open("D:\\JavaProjects\\Test.doc");
    //GET VIEW
    View wordView = wordApp.getActiveWindow().getView();
    //PRINT THE VIEW PROPERTIES
    System.out.println("Show All: " + wordApp.getActiveWindow().getView().isShowAll());
    System.out.println("Show Paragraphs: " + wordApp.getActiveWindow().getView().isShowParagraphs());
    //SET THE VIEW PROPERTIES
    wordView.setShowAll(false);
    wordView.setShowParagraphs(true);
    //PRINT THEM AGAIN
    System.out.println("Show All: " + wordApp.getActiveWindow().getView().isShowAll());
    System.out.println("Show Paragraphs: " + wordApp.getActiveWindow().getView().isShowParagraphs());
    doc.close(Document.DO_NOT_SAVE);
    wordApp.quit(new Variant[] {});
    System.exit(0);The actual Dispatch calls are:
    //NO IDEA WHY THIS IS, BUT SHOWALL = TRUE IS -1, AND FALSE IS 0
    private final static int SHOW_ALL_TRUE = -1;
    private final static int SHOW_ALL_FALSE = 0;
    /** SETSHOWPARAGRAPHS **
    * Sets the property (boolean) ShowParagraphs.
    public void setShowParagraphs(boolean showParagraphs)
         Dispatch.put(this, "ShowParagraphs", new Boolean(showParagraphs));
    /** ISSHOWPARAGRAPHS **
    * Returns Boolean of whether or not this is set to show paragraphs.
    public boolean isShowParagraphs()
         return getBooleanValue(Dispatch.get(this, "ShowParagraphs"));
    private boolean getBooleanValue(Variant variantBoolean)
         //MAKE IT AN INTEGER AND GET ITS int VALUE
         int intVariant = new Integer(variantBoolean.toString()).intValue();
         //RETURN IF IS SHOW ALL
         return (intVariant == View.SHOW_ALL_TRUE);
    }I'm wondering if the problem is that I get back either -1 or 0 and if maybe that means something else?

    1: Properties persistence is not a DEFECT but a FEATURE . It was implemented in MS Word so users could change MS word WITHOUT HAVING TO DO IT EACH TIME THEY START IT UP.
    2: Don't you intialise all your variables in your code after you instanciated them ? I am sure you do so and therefore the persitence feature you described should not be annoying you at all. It is not necessary to intialise variables in the BASIC langage but that does not mean you should not do it.
    3: (-1) was chosen arbitrary by Microsoft as the TRUE value for Boolean datatype and 0 the value for FALSE when they designed Visual Basic. This is not a problem if you write code properly
    I recommend you test bool variable in any langages using the following test:
    (myBool <> 0)
    HAVE A THINK ABOUT IT
    Finally,
    you need to understand what you are working with before you complain about it.
    Argument for Argument sake is not good and if you think MS word is a bad program just don't use it. go and write your own word processor in JAVA.
    GOOD LUCK
    I WISH TO APOLOGISE FOR ANY POSSIBLE SPELLING OR GRAMMATICAL MISTAKES I COULD HAVE MADE IN THIS REPLY. ENGLISH NOT BEING MY FIRST LANGUAGE.

  • How to access another java process?

    I run two java process, A and B, any possiblity to access process A from process B?
    Process A and B are started with class's main method.
    Thanks.

    masijade. wrote:
    georgemc wrote:
    laguna8 wrote:
    Socket will not be appropriate for my case.
    My case is: I write a document editor (just like UltraEdit), after starting the editor, there is one process running, then I right click a file and choose to open that file with my editor, it starts another editor process. What I want now is just to open that file with the editor that has already run.Don't see why sockets aren't appropriate there. Why did you dismiss them?Because he wants a single pre-finished method call answer, maybe? ;-)Teh Codez!! Indeed. It's pretty obvious that there's an entire subsection of forum users who automatically dismiss any reply which doesn't include code. If we produce an exhaustive list of all the methods by which IPC can be achieved, however archaic, he'll dismiss the lot, and then spend the rest of his life pondering this simple problem

  • Read sharing violation after System.exit in oracle lite DLL

    I am using JRE 1.3 and successfully managed running some sql statements over jdbc.
    When the java class is finished (implicit exit) then no error appears.
    When I exit the code using System.exit(0) there is a windows dialog
    showing a read access error AFTER the java class finished.
    probably there is some cleanup the oracle DLL wants to do after the JVM exited?
    Please help mailto:[email protected]
    The sample code below can be used.
    * Title:
    * Description:
    * Copyright: Copyright (c) 2001
    * Company:
    * @author Ivan Motsch
    * @version 1.0
    import java.util.*;
    import java.io.*;
    import java.sql.*;
    public class TestOracleLite{
    public TestOracleLite(){
         public void start(){
              Statement stm=null;
              Connection conn=null;
              try{
                   Properties p=new Properties();
                   p.setProperty("user","system");
                   p.setProperty("password","manager");
                   p.setProperty("DataDirectory","..\\..\\..\\TEMP\\ora4\\db");
                   p.setProperty("Database","ORS");
                   p.setProperty("IsolationLevel","Read Committed");
                   p.setProperty("Autocommit","Off");
                   p.setProperty("CursorType","Forward Only");
                   String ps=getPropertiesAsString(p);
              Class.forName("oracle.lite.poljdbc.POLJDBCDriver");
                   conn=DriverManager.getConnection("jdbc:polite:whatever"+ps);
                   execSql(conn,
                        "drop table test1 cascade"
                   execSql(conn,
                        "create table test1(pk number(32),ncol number(32),scol varchar2(2000),dcol date,rcol long raw)"
                   conn.commit();
                   execSql(conn,
                        "insert into test1(pk,ncol,scol,dcol,rcol) values(?,?,?,?,?)",
                        new Object[]{new Integer(1),new Integer(1111),"Test Text",new java.sql.Date(System.currentTimeMillis()),new byte[]{0,1,2,3,4,5,6,7,8,9,10}}
                   conn.commit();
                   readSql(conn,"select * from test1");
              catch(Exception e){
              e.printStackTrace();
              finally{
                   if(conn!=null){
                        try{
                        conn.close();
                             conn=null;
                        catch(Exception e){e.printStackTrace();}
         private static String getPropertiesAsString(Properties p){
              StringBuffer buf=new StringBuffer();
         for(Iterator it=p.keySet().iterator();it.hasNext();){
              String key=(String)it.next();
                   String val=p.getProperty(key);
                   buf.append(";"+key+"="+val);
              return buf.toString();
         public boolean execSql(Connection conn,String s){
              return execSql(conn,s,(Collection)null);
         public boolean execSql(Connection conn,String s,Object[] binds){
              ArrayList list=new ArrayList();
              if(binds!=null) list.addAll(Arrays.asList(binds));
         return execSql(conn,s,list);
         public boolean execSql(Connection conn,String text,Collection binds){
              PreparedStatement stm=null;
              try{
                   stm=conn.prepareStatement(text);
                   if(binds!=null){
                        int i=1;
                        for(Iterator it=binds.iterator();it.hasNext();){
                             Object o=it.next();
                             if(o==null){
                                  stm.setNull(i,Types.VARCHAR);
                             else if(o instanceof byte[]){
                                  stm.setBytes(i,(byte[])o);
                             else{
                                  stm.setObject(i,o);
                             i++;
                   boolean b=stm.execute();
                   System.out.println("status: "+(b?"ok":"failed"));
                   return b;
              catch(SQLException e){
                   System.out.println("status: "+"error"+" "+e);
                   return false;
              finally{
                   if(stm!=null) try{stm.close();}catch(Exception e){}
         public boolean readSql(Connection conn,String text){
              PreparedStatement stm=null;
              try{
                   stm=conn.prepareStatement(text);
                   ResultSet rs=stm.executeQuery();
                   ResultSetMetaData meta=rs.getMetaData();
                   System.out.print("col: ");
                   for(int i=1,n=meta.getColumnCount();i<=n;i++){
                        System.out.print(""+meta.getColumnName(i)+", ");
                   System.out.println();
                   while(rs.next()){
                        System.out.print("row: ");
                   for(int i=1,n=meta.getColumnCount();i<=n;i++){
                             System.out.print(""+rs.getObject(i)+", ");
                        System.out.println();
                   return true;
              catch(SQLException e){
                   System.out.println("status: "+"error"+" "+e);
                   return false;
              finally{
                   if(stm!=null) try{stm.close();}catch(Exception e){}
         static public void main(String[] args) {
              TestOracleLite t=new TestOracleLite();
              t.start();
              t=null;
              System.exit(0);

    Hi
    After system copy you need to do post system copy activities...
    Please follow according to the installation Guide..
    for example: your sld connection of your new system will be pointing to your source system. So you need to go to VA where in you can find SLD Data Supplier and change the host name, port no relavent to this  i.e. your destination system...i.e.
    new system.. In the same way you can follow doing the post installation activites will solve your issue.
    Regards
    Hari

  • NoClassDefFoundError after System.exit() is called.

    I have found a strange condition with JDK 1.4.2_05 and could not find a bug which relates to it.
    I have multiple threads running, when I shutdown, I call all the threads to shutdown and finally in main I call System.exit(0).
    The strange thing is that one shutdown I get a NoClassDefFoundError for a class which will load fine if loaded before shutting down.
    This occurs as the class in question is only needed to perform a shutdown, and in fact the attempt to load it comes after the main thread has finished.
    The workaround has been to create an instance of the class when the application is started rather than during shutdown.
    Does anyone seen this behaviour?

    java.lang.NoClassDefFoundError: com/cantor/framework/run/impl/ShutdownRMB
         at com.can.framework.run.RunnerManagerBean.shutdown(RunnerManagerBean.java:147)
         at com.can.framework.layer.VanillaBean.shutdown(VanillaBean.java:278)
         at com.can.main.Main.main(Main.java:135)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)

  • Post processing after system copy from standalone to cluster enviornment

    Hi,
    I have done a system copy(Backup restore method) from a standalone quality BW (QBW) system to cluster environment (TBW).
    The steps I have followed as follows.
    . setup the machines in the cluster environment  ( Windows 2003 EE server,sql 2005 SP3)
    . Backup the current database in the source system
    . Given a different SID (TBW) during the System copy installation .its a dual stack installation.
    . Restore the database in the target system and select the back up restore method during the system copy database installation step.
    .The installation completed successfully and i m having some doubts regarding the post processing steps after this .
    We want to retain the same client in the target system ,for this i need to rename the  logical name .Kindly assist me for changing the logical name for the extraction of BW delta process from extraction server to BW system and also the other steps I have to follow after system copy.
    Thanks
    Arun Padikkal

    Hi Arun,
    You should probably post this question in a basis forum.
    Cheers,
    Diego

  • Killing a Java process from another Java process

    Hi
    Is there a possible way of sending a SIGINT, SIGKILL, or any other signal from a Java process running in one JVM, to a java process running in a different JVM on the same machine.
    I've the signal handlers written in my process and they do respond to singals (e.g. on pressing Ctrl-C) on the console, but i want to write a separate program that sends this signal to the first process.
    Any ideas?
    Thanks in advance and regards
    Kashif

    The answer, as always, is that Java can't do operating-system-specific things like that, but you can use JNI to do it. However, if your code created the Java process you want to kill, via Process p = Runtime.getRuntime().exec(...), then you can use p.destroy() to kill it.

  • Behavior of integration process after system restart

    Hello,
    we have an integration process used for correlation of two asychronous messages.
    So if the first message is sent out, the second message that should be correlated will arrive approx. 5 hours later.
    What would happen if the system is restarted after the first message is sent out, but before the second message comes in? Are all active process instances deleted during a system restart or is there some kind of persistence mechanism?
    Thank you for your advice.

    Hi Florian,
    please have a look at oss notes from my blog
    /people/michal.krawczyk2/blog/2006/06/27/xi-who-said-he-cannot-be-stopped-bpm-jim--sp17
    Regards,
    Michal Krawczyk

  • Spawning a Java process

    hey,
    I have no idea if this is possible, but i have my fingers
    crossed.
    So what i want to do is create an instance of a java object
    that extracts some data from a database and then emails it to a
    specified email address.
    I want CF to create the java object, set all the variables
    and then finish. Ie i don't want CF to wait for the extraction to
    complete.
    Is there anyway that i can do this? I'm thinking no, but its
    worth asking.
    Cheers Bec.

    > ...an instance of a java object that extracts some data
    from a database
    > and then emails it to a specified email address.
    <cfcomponent>
    <cfquery>
    </cfquery>
    <cfmail>
    </cfmail>
    </cfcomponent>

  • J2ee engine does not start up after system copy

    Dear All,
    I have done a system copy of BW3.5 (NW04). I installed the BW.3.5 and then replaced the data and control files.
    This has ABAP + java.
    Now after system copy when i am starting the server, the J2ee instance doesnt start up.
    ABAP is running and DB is up too.
    I am getting the following error in log_bootstrap file:-
    Exception occured:
    com.sap.engine.bootstrap.SynchronizationException: Database initialization failed! Check database properties!
            at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:422)
            at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:144)
            at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:813)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    ==[ Caused by: ]==----
    com.sap.engine.bootstrap.SynchronizationException: No such Dialog Instance (ID1125100) in the database! Check
    database consistency or local Bootstrap properties!
            at com.sap.engine.bootstrap.Synchronizer.getElementType(Synchronizer.java:81)
            at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:420)
            at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:144)
            at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:813)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    [Aug 26, 2008 2:00:26 PM ] [Bootstrap module]> Problem occured while performing synchronization.
    [Aug 26, 2008 2:00:42 PM ] -
    [Aug 26, 2008 2:00:42 PM ] Bootstrap MODE:
    [Aug 26, 2008 2:00:42 PM ] <INSTANCE GLOBALS>
    [Aug 26, 2008 2:00:42 PM ]  determined by parameter [ID0011251].
    [Aug 26, 2008 2:00:42 PM ] -
    [Aug 26, 2008 2:00:46 PM ] Exception occured:
    com.sap.engine.frame.core.configuration.NameNotFoundException: A configuration with the path "cluster_data/di
    spatcher/ID1125100" does not exist.
            at com.sap.engine.core.configuration.impl.ConfigurationDataCacheAllImpl.getSubConfiguration(Configura
    tionDataCacheAllImpl.java:107)
            at com.sap.engine.core.configuration.impl.ReadAccessConfiguration.getSubConfiguration(ReadAccessConfi
    guration.java:715)
            at com.sap.engine.bootstrap.Synchronizer.getConfiguration(Synchronizer.java:365)
            at com.sap.engine.bootstrap.Synchronizer.getElementType(Synchronizer.java:78)
            at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:420)
            at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:144)
            at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:813)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    What could the problem?. Do I need to do some other settings for system copy of JVA instance?
    Kindly help
    Thanks
    Tajinder

    Hi,
    I already checked that note. It did not help.
    I am pasting mine dev_jcontrol file:--
    trc file: "/usr/sap/BD1/DVEBMGS00/work/dev_jcontrol", trc level: 1, release: "640"
    node name   : jcontrol
    pid         : 868524
    system name : BD1
    system nr.  : 00
    started at  : Tue Aug 26 16:27:10 2008
    arguments   :
        arg[00] : jcontrol
        arg[01] : pf=/usr/sap/BD1/SYS/profile/BD1_DVEBMGS00_BWQAS
        arg[02] : -DSAPSTART=1
        arg[03] : -DCONNECT_PORT=64380
        arg[04] : -DLISTEN_PORT=64381
        arg[05] : -DSAPSYSTEM=00
        arg[06] : -DSAPSYSTEMNAME=BD1
        arg[07] : -DSAPMYNAME=BWQAS_BD1_00
        arg[08] : -DSAPPROFILE=/usr/sap/BD1/SYS/profile/BD1_DVEBMGS00_BWQAS
        arg[09] : -DFRFC_FALLBACK=ON
        arg[10] : -DFRFC_FALLBACK_HOST=localhost
    JStartupReadInstanceProperties: read instance properties [/usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.proper
    ties:/usr/sap/BD1/DVEBMGS00/SDM/program/config/sdm_jstartup.properties]
    -> ms host    : BWQAS
    -> ms port    : 3601
    -> OS libs    : /usr/sap/BD1/DVEBMGS00/j2ee/os_libs
    -> Admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Used property files
    -> files [00] : /usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.properties
    -> files [01] : /usr/sap/BD1/DVEBMGS00/SDM/program/config/sdm_jstartup.properties
    Instance properties
    -> ms host    : BWQAS
    -> ms port    : 3601
    -> os libs    : /usr/sap/BD1/DVEBMGS00/j2ee/os_libs
    -> admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Bootstrap nodes
    -> [00] bootstrap            : /usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.properties
    -> [01] bootstrap_ID1125100  : /usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.properties
    -> [02] bootstrap_ID1125150  : /usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.properties
    Worker nodes
    -> [00] ID1125100            : /usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.properties
    -> [01] ID1125150            : /usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.properties
    -> [02] sdm                  : /usr/sap/BD1/DVEBMGS00/SDM/program/config/sdm_jstartup.properties
    [Thr 01] Tue Aug 26 16:27:10 2008
    [Thr 01] SigISetDefaultAction : default handling for signal 20
    [Thr 01] JControlExecuteBootstrap: execute bootstrap process [bootstrap]
    [Thr 258] JControlDPMessageFunc: Thread 258 started as handler thread for R/3 dispatcher messages.
    [Thr 01] *** WARNING => Maximum Java heap size specified twice (through maxHeapSize and in javaParameters) -
    using -Xmx512m [jstartxx_mt. 2282]
    [Thr 01] [Node: bootstrap] java home is set by profile parameter
            Java Home: /usr/java14_64
    JStartupIReadSection: read node properties [bootstrap]
    -> node name       : bootstrap
    -> node type       : bootstrap
    -> java path       : /usr/java14_64
    -> java parameters : -Djco.jarm=1 -Djco.jarm=1
    -> java vm version : J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142-20060421 (SR5) (JIT enabl
    ed: jitc)
    -> java vm vendor  : Classic VM (IBM Corporation)
    -> java vm type    : <default>
    -> java vm cpu     : ppc64
    -> heap size       : 512M
    -> root path       : /usr/sap/BD1/DVEBMGS00/j2ee/cluster
    -> class path      : ./bootstrap/launcher.jar
    -> OS libs path    : /usr/sap/BD1/DVEBMGS00/j2ee/os_libs
    -> main class      : com.sap.engine.offline.OfflineToolStart
    -> framework class : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class  : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path  : /usr/sap/BD1/DVEBMGS00/j2ee/os_libs/jstartup.jar
    -> parameters      : com.sap.engine.bootstrap.Bootstrap ./bootstrap ID0011251
    -> debuggable      : yes
    -> debug mode      : no
    -> debug port      : 60000
    -> shutdown timeout: 120000
    JStartupStartJLaunch: program = /usr/sap/BD1/DVEBMGS00/j2ee/os_libs/jlaunch
    -> arg[00] = /usr/sap/BD1/DVEBMGS00/j2ee/os_libs/jlaunch
    -> arg[01] = pf=/usr/sap/BD1/SYS/profile/BD1_DVEBMGS00_BWQAS
    -> arg[02] = -DSAPINFO=BD1_00_bootstrap
    -> arg[03] = -file=/usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.properties
    -> arg[04] = -nodeName=bootstrap
    -> arg[05] = -nodeId=-1
    -> arg[06] = -syncSem=12582961
    -> arg[07] = -jvmOutFile=/usr/sap/BD1/DVEBMGS00/work/jvm_bootstrap.out
    -> arg[08] = -stdOutFile=/usr/sap/BD1/DVEBMGS00/work/std_bootstrap.out
    -> arg[09] = -locOutFile=/usr/sap/BD1/DVEBMGS00/work/dev_bootstrap
    -> arg[08] = -stdOutFile=/usr/sap/BD1/DVEBMGS00/work/std_bootstrap.out
    -> arg[09] = -locOutFile=/usr/sap/BD1/DVEBMGS00/work/dev_bootstrap
    -> arg[10] = -mode=BOOTSTRAP
    -> arg[11] = pf=/usr/sap/BD1/SYS/profile/BD1_DVEBMGS00_BWQAS
    -> arg[12] = -DSAPSTART=1
    -> arg[13] = -DCONNECT_PORT=64382
    -> arg[14] = -DLISTEN_PORT=64381
    -> arg[15] = -DSAPSYSTEM=00
    -> arg[16] = -DSAPSYSTEMNAME=BD1
    -> arg[17] = -DSAPMYNAME=BWQAS_BD1_00
    -> arg[18] = -DSAPPROFILE=/usr/sap/BD1/SYS/profile/BD1_DVEBMGS00_BWQAS
    -> arg[19] = -DFRFC_FALLBACK=ON
    -> arg[20] = -DFRFC_FALLBACK_HOST=localhost
    -> lib path = LIBPATH=/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:/usr/sap/B
    D1/DVEBMGS00/j2ee/os_libs:/usr/sap/BD1/SYS/exe/run:/usr/sap/BD1/SYS/exe/runU:/usr/lib:/usr/sap/BD1/DVEBMGS00/
    j2ee/os_libs:/usr/sap/BD1/DVEBMGS00/j2ee/os_libs:/usr/lib:/lib:/usr/sap/BD1/SYS/exe/run:/usr/sap/BD1/SYS/exe/
    runU
    -> exe path = PATH=/usr/java14_64/bin:/usr/sap/BD1/DVEBMGS00/j2ee/os_libs:/oracle/BD1/920_64/bin:/usr/java14_
    64/bin:/home/bd1adm:/usr/sap/BD1/SYS/exe/runU:/usr/sap/BD1/SYS/exe/run:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home
    /bd1adm/bin:/usr/bin/X11:/sbin:.
    [Thr 01] JStartupICreateProcess: fork process (pid 893002)
    [Thr 01] Tue Aug 26 16:27:18 2008
    [Thr 01] *** ERROR => invalid return code of process [bootstrap] (exitcode=66) [jstartxx_mt. 1433]
    [Thr 01] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc=66)
    [Thr 01] JControlCloseProgram: started (exitcode = 66)
    [Thr 01] JControlCloseProgram: good bye... (exitcode=66)
    DO i have to change the some settingdsin any file for java instance after system copy.
    Thanks
    Tajinder

Maybe you are looking for

  • How to clean 4622 rollers makes blk line down side when scan

    1

  • ORA-01033: Recovering database

    Hi, I have 2 database running on my local system ( Windows-XP, Oracle 10g ). After abrupt shutdown of the system, one of my DB is throwing an error ORA-01033 ORACLE initialization or shutdown in progress. So I tried with below given things to fix the

  • Handling null in table

    Hi All, String NoOfPositions = row.getAttribute("NoOfPositions").toString(); when NoOfPositions contain null (blank) then it throws null pointer exception. By which way shall i handle this exception.

  • Ipod in car...aux. in or transmitter

    The external input is in the back of my car CD player, and would be a big hassle to access for plugging in my iPod. So I'm wondering if I should just get an FM transmitter for it...Is there a quality loss? Are they all the same? thanks.

  • Get More Info for NetConnection.Connect.Failed Error?

    I have a single server that runs IIS and FMS, both on port 80.  The server has two internal IPs assigned to it, one for IIS and the other for FMS.  I also have two static public IPs.  My router maps one public IP to IIS' internal IP and likewise for