Java exec() child termination problem

Hello,
I am trying to use exec() to launch a java application from a Java Swing GUI. The problem is that If any of the applications call System.exit() or Runtime.exit(), all applications will terminate. How do I prevent the GUI from closing when the child closes? I have attached the code I am using for reference.
Thanks in advance
  public void COmpileAndRun()
        String command = "javac Driver.java";
        try
            Runtime rt = Runtime.getRuntime(); //Process process = new ProcessBuilder(command).start();
            Process proc = rt.exec( command ); //Process process = new ProcessBuilder(command).start();
            InputStream stderr = proc.getErrorStream();
            InputStreamReader isr = new InputStreamReader(stderr);
            BufferedReader br = new BufferedReader(isr);
            String line = null;
            System.out.println("<ERROR>");
            while ( (line = br.readLine()) != null)
                System.out.println(line);
            System.out.println("</ERROR>");
            int exitVal = proc.waitFor();
            System.out.println("Process exitValue: " + exitVal);
            if( exitVal == 0 )
                command = "java Driver";
                proc = rt.exec( command );
                stderr = proc.getErrorStream();
                isr = new InputStreamReader(stderr);
                br = new BufferedReader(isr);
                line = null;
                System.out.println("<ERROR>");
                while ( (line = br.readLine()) != null)
                    System.out.println(line);
                System.out.println("</ERROR>");
                exitVal = proc.waitFor();
                System.out.println("Process exitValue: " + exitVal);
        } catch (Throwable t)
            t.printStackTrace();
}

String[] command =
   "java",
   "-cp",
   "my_class_path", // No extra quoting needed here
   "org.jetel.main.runGraph",
   "param1",
   "param2",
   "param3" // etc
Process process = Runtime.getRuntime().exec(command);

Similar Messages

  • Gnome: Error re-scanning registry , child terminated by signal

    This started happening after updating two days ago. I have no idea what actually causes this error nor how to fix it. Running any Gnome application that needs gstreamer (especially gnome-settings-daemon!) will fail with error:
    Error re-scanning registry , child terminated by signal
    For example, running gnome-settings-daemon --no-daemon --debug I get http://pastebin.archlinux.fr/358611
    Stuff I have tried: Reinstall gconf, gnome, gnome-extras, all gstreamer stuff - futile attempts.
    mv .gnome .gnome2 .gconf .gconfd to somewhere else - futile attempts.
    Anybody got any ideas?

    I had problems with xfburn and brasero but i see that totem also won't start. Me too it happened since an update some days ago.
    with totem i get the "child terminated by signal" and with xfburn i get "failed to initialize gstreamer"
    Seem this guy had the same problem:
    http://bbs.archlinux.org/viewtopic.php?id=62291
    Last edited by BeRReGoN (2009-09-10 02:47:37)

  • Unable to call getVariableData from java exec

    Hi,
    I am trying to call getVariableData("inFile") from a java exec. However, I get the following error:
    <2005-01-18 11:40:37,506> <DEBUG> <default.collaxa.cube.engine> <bpel._1_0.SyncHello__BPEL4WS_BIN$$BPELC_BxExe22::perform> error thrown
    com.collaxa.cube.engine.types.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}javaException}
    messageType: {{http://schemas.oracle.com/bpel/extension}javaException}
    code: {null}
    summary: {null}
    detail: {null}
    at com.collaxa.cube.engine.ext.wmp.BPELXExecWMP.__executeStatements(BPELXExecWMP.java:66)
    at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:154)
    at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3215)
    at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1636)
    In the .bpel file, I have declared the variable as follows:
    <variable name="inFile" type="xsd:string"/>
    I have assigned values to this variable in two different ways (using the assign tag and also through a java exec call):
    <assign>
    <copy>
    <from expression="'inFile.txt'"/>
    <to variable="inFile"/>
    </copy>
    </assign>
    OR alternatively:
    setVariableData("inFile", new String("inFile.txt"));
    After this I attempt to call (this is the part that throws the error):
    CubeDOMElement el = (CubeDOMElement) getVariableData("inFile");
    The strange thing is that I am able to get the variable from inside an assign activity as follows:
    <assign name="setOutputVars">
    <copy>
    <from expression="bpws:getVariableData('inFile')"/>
    <to variable="output" part="payload"
    query="/outputMessage"/>
    </copy>
    </assign>
    This assign works perfectly and outputs the correct value.
    Any suggestions would be greatly appreciated.
    Thanks.

    I have a similar problem, but I try to retreive a complex object.
    The assign activity successfully copy data to the variable 'DMSPollingInput'.
    Here is my code:
    Element element = (Element) getVariableData("DMSPollingInput");
    System.out.println("Receive Poll and execute enqueue ");
    if(element==null) System.out.println("element is null ");
    else System.out.println("element is not null ");
    IDmsPollingsCollection requests =
    IDmsPollingsCollectionFactory.createFacade(element);
    if(requests==null) System.out.println("requests is null ");
    else System.out.println("requests is not null ");
    List dmsPollings = requests.getIDmsPollings();
    int count = dmsPollings.size();
    System.out.println("Poll size: " + count);
    The count always equals to 0.
    Please help

  • XML Parser Error in bpel java exec code

    hi,
    When BPEL PM is loading processes from the deploy directory, the following exception is thrown. Any thoughts on why this XML error is being thrown ? Also, this problem is not consistently reproducible.
    Thanks,
    Ravikiran
    bpel<Line 232, Column 72>: XML-24523: (Error) Invalid value 'NotifyFoo' for attribute: 'name'.
    [Potential fix]: Fix the invalid XML.
    at com.collaxa.cube.lang.compiler.CubeProcessor.validateServerSide(CubeProcessor.java:1156)
    at com.collaxa.cube.lang.compiler.CubeProcessor.transformServerSide(CubeProcessor.java:627)
    at com.collaxa.cube.lang.compiler.CubeParserHelper.compileServerSide(CubeParserHelper.java:132)
    at com.collaxa.cube.engine.deployment.CubeProcessFactory.generateProcessClass(CubeProcessFactory.java:239)
    39,0-1 10%

    One more piece of information that may be relevant. There are 4 BPEL processes that are deployed (copied into deploy directory) that all have "NotifyFoo" java exec element. Is it that somehow some parser is seeing this "name" attribute "NotifyFoo" refered to in two processes as being used twice in the same process? Perhaps this is because the element is a Java code ?
    Thanks,
    Ravikiran

  • The JAVA program for "Philosopher Problem"

    When I learn the book of "Operating Systems (Design and Implementation)"(written by Andrew S.Tanenbaum), I try to write a program for the "Philosopher Problem" . In the book there is a sample of this problem in C language, and I write it in JAVA. The following is my program, I have tested it. It is correct, but maybe it is not the most efficient way to solve the problem. Can you think out a more efficient program in JAVA to solve this problem?
    * Philosopher Eating Problem
    * @author mubin
    * @version 1.0
    public class PhilosopherEating {
    //Philosophers' number
    private final static int PHER_NUM = 20;
    //Philosophers' state
    private volatile static int[] pherState = new int[PHER_NUM];
    //THINKING
    private final static int THINKING = 0;
    //HUNGRY
    private final static int HUNGRY = 1;
    //EATING
    private final static int EATING = 2;
    //Philosophers thread group
    public static Philosopher[] philosophers = new Philosopher[PHER_NUM];
    //finish indicator
    public volatile static boolean finished =false;
    //thread lock
    public static Object threadLock = new Object();
    public PhilosopherEating() {
    * Philosopher class
    * @author mubin
    * @version 1.0
    public static class Philosopher extends Thread{
    int pherNo ;
    public Philosopher(int no){
    this.pherNo = no;
    public void run(){
    while(!PhilosopherEating.finished){
    think();
    takeForks(this.pherNo);
    eat();
    putForks(this.pherNo);
    * Thinking
    private void think(){
    System.out.println("Philosopher"+this.pherNo+"is thinking...");
    try {
    Thread.sleep( (int)(Math.random()*100));
    }catch (Exception ex) {
    ex.printStackTrace(System.out);
    * Eating
    private void eat(){
    System.out.println("Philosopher"+this.pherNo+"is eating...");
    try {
    Thread.sleep( (int)(Math.random()*100));
    }catch (Exception ex) {
    ex.printStackTrace(System.out);
    * Take the fork
    private void takeForks(int no){
    //System.out.println("takeForks:no:"+no);
    synchronized (threadLock) {
    pherState[no] = HUNGRY;
    testPher(no);
    * Put down the fork
    private void putForks(int no){
    //System.out.println("putForks:no:"+no);
    synchronized (threadLock) {
    pherState[no] = THINKING;
    if( pherState[getLeft()]==HUNGRY ){
    philosophers[getLeft()].interrupt();
    if( pherState[getRight()]==HUNGRY ){
    philosophers[getRight()].interrupt();
    * Return the NO. of philosopher who is sitting at the left side of this philosopher
    * @return the NO. of the left philosopher
    private int getLeft(){
    int ret = (pherNo-1)<0? PHER_NUM-1 : (pherNo-1);
    return ret;
    * Return the NO. of philosopher who is sitting at the right side of this philosopher
    * @return the NO. of the right philosopher
    private int getRight(){
    int ret = (pherNo+1)>=PHER_NUM ? 0 :(pherNo+1);
    return ret;
    private void testPher(int no){
    while(true){
    if(pherState[no]==HUNGRY
    &&pherState[getLeft()]!=EATING
    &&pherState[getRight()]!=EATING) {
    pherState[no] = EATING;
    //Print and check the philosophers' state
    printPher(pherState);
    return;
    }else{
    try {
    System.out.println(" Philosopher "+this.pherNo+"is waiting a fork");
    threadLock.wait();
    }catch (java.lang.InterruptedException ex) {
    System.out.println(" Philosopher "+this.pherNo+"is interrupted and woken up to take fork");
    //when it is interrupted, do nothing. Just let it continue!
    }//end of while(true)
    * Print and check the philosophers' state.
    * To insure there are no two philosophers sit side by side
    * are eating at the same time.
    private static void printPher(int[] phers){
    System.out.print(" philosophers' state��");
    for (int i = 0; i < phers.length; i++) {
    System.out.print(" "+phers);
    System.out.println("");
    for (int i = 0; i < phers.length-1; i++) {
    if (phers[i]==EATING && phers[i+1]==EATING){
    System.err.println(i+" and "+(i+1)+"two of philosophers sitted side by side are eating at the same time!");
    if (phers[0]==EATING && phers[PHER_NUM-1]==EATING){
    System.err.println("0 and "+PHER_NUM+"two of philosophers sitted side by side are eating at the same time!");
    public static void main(String[] args) {
    for (int i = 0; i < PHER_NUM; i++) {
    PhilosopherEating.pherState[i] = THINKING;
    PhilosopherEating aPhilosopherEating = new PhilosopherEating();
    for (int i = 0; i < PHER_NUM; i++) {
    philosophers[i] = new Philosopher(i);
    philosophers[i].start();
    try {
    Thread.sleep(30000);
    catch (InterruptedException ex) {
    ex.printStackTrace(System.out);
    //End all the threads of philosophers
    PhilosopherEating.finished = true;

    this problem is about learning how to use threads/synchronise objects etc, the efficiency of the code isn't really an issue, if that's what you mean. As for the efficiency of the solution, it's very hard to tell how efficient it is, but as long as all the philosphers get to eat there's no problem. I haven't really scrutized your code, but I'm not sure that you have a deadlock free solution: as long as it is possible for all the phils to pick up one fork at the same time there's a problem, and it seems from your code that each philosopher will pick up "his" fork. Again, I could be wrong, I haven't really looked. If you haven't come up with a solution, try drawing it on paper and working it out, or if you're lazy a quick google will probably give you the answer, but I'm pretty sure nobody here will :)

  • Database termination Problem

    Hi every body ..plz help me on this..
    We are facing database termination problem in ECC6 production syste.
    Database: Oracle 10.2, O/S: Windows 2003. Spam  :27, SP level 13.
    Error is:
    Errors in file f:\oracle\p02\saptrace\background\p02_ckpt_6520.trc:
    ORA-00206: error in writing (block 3, # blocks 1) of control file
    ORA-00202: control file: 'D:\ORACLE\P02\ORIGLOGB\CNTRL\CNTRLP02.DBF'
    ORA-27072: File I/O error
    OSD-04008: WriteFile() failure, unable to write to file
    O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.
    When we are performing backup then data base termination occuring freequently.
    Give right solution as early as possible.
    Thanks,
    Nani.

    Hi,
    Have a look at below snote which actually speaks about the oracle error codes
    Snote :  546006
    within the Snote it says :-
    " If you cannot access a database file (for instance a data file, control file or RedoLog) for whatever reason, an ORA-270xx appears. The actual cause comes from additional error messages (usually in the operating system) that occur on ORA-270xx. "
    And as per your last update
    " ORA-00206: error in writing (block 3, # blocks 1) of control file
    ORA-00202: control file: 'D:\ORACLE\P02\ORIGLOGB\CNTRL\CNTRLP02.DBF' "
    i think there is problem accessing the database control file. Hence you  are facing the above problem.
    I think if you recreate your control file i think, it should resolve the problem.
    Hope it will be helpful to resolve your problem.
    Rgds
    Radhakrishna D S

  • BI setup: WebAS ABAP Setting - Java to ABAP communication problem

    Hello,
    i've got a problem during intallation of BI in Netweaver 2004s. The Diagnostics & Support Desktop Tool reports errors in WebAS ABAP Settings. These errors are:
    - "Web Template Validation failed due Java to ABAP communication problem (return code:ERSBOLAP018)"  with the suggested solution "Check Connector Connection of System Object in Portal System Landscape". What does it mean?
    - "Call ABAP->Java for function RSWR_RFC_SERVICE_TEST failed for destination <destination>" and "Call ABAP->Java for function RSRD_MAP_TO_PORTAL_USERS failed for destination <destination>" with suggested solution "Check the data of the destination in transaction SM59. Check that the target host is running and has registered a program id in the gateway." Run of transaction SM59 returns no errors.
    Further i've take a look in the log 'dev_jrfc.trc' and there i found the errors:
    - Exception thrown by application running in JCo Server
    java.lang.RuntimeException: Bean RSRD_MAP_TO_PORTAL_USERS not found on host <host>
    - Exception thrown by application running in JCo Server
    java.lang.RuntimeException: Bean RSWR_RFC_SERVICE_TEST not found on host  <host>
    - Exception thrown by application running in JCo Server
    java.lang.RuntimeException: Bean RSWR_PREEXECUTION_PROXY not found on host  <host>
    Can these errors be the cause of the WebAS ABAP Setting error displayed in the Diagnostics & Support Desktop Tool? How they can be solved?
    Thanks for your help,
    Martin

    Hello Chetan,
    thanks for your response. Maybe i've described my problem not clear enough. There is no problem of installation and usage of support & dektop tool, but of installation of BI. The support & dektop tool indicates the errors described above with no other hints. My questions is, if anybody knows, what is the cause of the errors and what i must do, to install BI correctly.
    Cheers,
    Martin

  • Java node 'server0' terminated with exit code 2150 after JSPM patches

    Dear Experts,
    We want to install SAP Netweaver 7.3 EHP1.
    After applying patches SP11 from JSPM utility we tried to restart the SAP Java instances from SAP MMC.
    But it failed to start with error code :
    *** LOG => SfCJavaVm: exit hook is called. (rc = 2150)
    *** ERROR => Java node 'server0' terminated with exit code 2150.
    *** To resolve the issue, we restarted machine, Database services, SAP services but it still did not start.
    *** Let us know if you need any other trace file for debugging.
    Below is the log file:
    stdout log file:-
    stdout/stderr redirection
    node name   : server0
    host name   : INPUNEME01
    system name : ME2
    system nr.  : 00
    started at  : Thu Jul 17 00:10:29 2014
    JVMX version - Jun 22 2014 00:31:35 - 61_REL - optU - windows amd64 - 6 - bas2:220276 (mixed mode)
    (CompilerOracle read from file C:\usr\sap\ME2\J00\exe\sapjvm_6\jre\.hotspot_compiler)
    The active factory is : com.sap.engine.boot.loader.StandardClassLoaderFactory
    Class loading cache information loaded from package index [C:\usr\sap\ME2\J00\j2ee\cluster\bin\index.list]
    Reading manager properties from [kernelProperties.bin] file
       Checked the data for [16] ms
       Objects read for [109] ms
       Substituted the values for [94] ms
    Finished reading kernel objects for [203] ms
    Startup mode [NORMAL] and action [NONE] read
    AS Java version [7.31.3710.148365.20111012091351] is starting server process [ID3448650] on host [INPUNEME01.India.***.com] ...
    Loading [LogManager]... [109] ms
    Loading [PoolManager]... [0] ms
    Loading [ApplicationThreadManager]... 2.296: [GC2.296: [ParNew: 343552K->8912K(381696K), 0.0251348 secs] 343557K->8917K(2059008K), 0.0253589 secs] [Times: user=0.03 sys=0.03, real=0.02 secs]
    [125] ms
    Loading [ThreadManager]... [32] ms
    Loading [ClassLoaderManager]... [31] ms
    Loading [ClusterManager]... [485] ms
    Loading [LockingManager]... [63] ms
    Loading [ConfigurationManager]... [1624] ms
    Loading [CacheManager]... [141] ms
    Loading [DatabaseManager]... [547] ms
    Loading [SessionManager]... [515] ms
    Loading [LicensingManager]... [32] ms
    Loading [ServiceManager]...
    Initialize components for : 94 ms.
    Resolve components for : 31 ms.
    Load components for 969 ms.
    Loading services.
    Calculate startup service set for 266 ms.
      Service [tc~je~content~classification~handler] started. [16] ms / [0] CPU ms
      Service [tc~je~sca~ws.plugin] started. [16] ms / [0] CPU ms
      Service [engine.lm.log.facade] started. [62] ms / [0] CPU ms
      Service [engine.dsr.facade] started. [62] ms / [0] CPU ms
      Service [webservices] started. [62] ms / [0] CPU ms
      Service [tc~je~security~api] started. [62] ms / [0] CPU ms
      Service [tc~je~cross~api] started. [62] ms / [0] CPU ms
      Service [tc~je~mngt_model~srv] started. [62] ms / [0] CPU ms
      Service [r3startup] started. [62] ms / [0] CPU ms
      Service [security.destination.facade] started. [62] ms / [0] CPU ms
      Service [tc~esi~uddi~content~handler] started. [62] ms / [0] CPU ms
      Service [tc~je~sca~jco.plugin] started. [110] ms / [0] CPU ms
      Service [jmx_notification] started. [140] ms / [15] CPU ms
      Service [cluster] started. [125] ms / [0] CPU ms
      Service [runtimeinfo] started. [109] ms / [15] CPU ms
      Service [memory] started. [297] ms / [31] CPU ms
      Service [timeout] started. [297] ms / [15] CPU ms
      Service [userstore] started. [297] ms / [0] CPU ms
      Service [tc~sec~destinations~provider] started. [344] ms / [171] CPU ms
      Service [cross] start ================= ERROR =================
      CSN Component [BC-JAS-COR-RMT], DC Name [sap.com/cross]
    java.lang.NoSuchFieldError: ipaddress
    at com.sap.bc.proj.jstartup.fca.FCAProperties.init1(Native Method)
    at com.sap.bc.proj.jstartup.fca.FCAProperties.init(FCAProperties.java:54)
    at com.sap.engine.services.cross.fca.FCAConnectorImpl.<init>(FCAConnectorImpl.java:101)
    at com.sap.engine.services.cross.CrossFrame.start(CrossFrame.java:82)
    at com.sap.engine.core.service630.container.ServiceRunner.startFrame(ServiceRunner.java:165)
    at com.sap.engine.core.service630.container.ServiceRunner.startService(ServiceRunner.java:118)
    at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:65)
    at com.sap.engine.frame.core.thread.Task.run(Task.java:73)
    at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:178)
    at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:316)
    FATAL: Critical shutdown with exit code [2150] was requested due to [AS Java cannot be started; core service [cross] failed to start]
    Heap
    par new generation   reserved 419840K, committed 419840K, used 298078K [0x000000013fe70000, 0x0000000159870000, 0x0000000159870000)
      eden space 343552K,  84% used [0x000000013fe70000, 0x00000001518d3970, 0x0000000154df0000)
      from space 38144K,  23% used [0x0000000157330000, 0x0000000157be4038, 0x0000000159870000)
      to   space 38144K,   0% used [0x0000000154df0000, 0x0000000154df0000, 0x0000000157330000)
    concurrent mark-sweep generation reserved 1677312K, committed 1677312K, used 60K [0x0000000159870000, 0x00000001bfe70000, 0x00000001bfe70000)
    concurrent-mark-sweep perm gen reserved 1048576K, committed 1048576K, used 31907K [0x00000001bfe70000, 0x00000001ffe70000, 0x00000001ffe70000)
    stdout/stderr redirection
    node name   : server0
    host name   : INPUNEME01
    system name : ME2
    system nr.  : 00
    started at  : Thu Jul 17 00:10:46 2014
    JVMX version - Jun 22 2014 00:31:35 - 61_REL - optU - windows amd64 - 6 - bas2:220276 (mixed mode)
    (CompilerOracle read from file C:\usr\sap\ME2\J00\exe\sapjvm_6\jre\.hotspot_compiler)
    The active factory is : com.sap.engine.boot.loader.StandardClassLoaderFactory
    Class loading cache information loaded from package index [C:\usr\sap\ME2\J00\j2ee\cluster\bin\index.list]
    Reading manager properties from [kernelProperties.bin] file
       Checked the data for [16] ms
       Objects read for [188] ms
       Substituted the values for [78] ms
    Finished reading kernel objects for [266] ms
    Startup mode [NORMAL] and action [NONE] read
    AS Java version [7.31.3710.148365.20111012091351] is starting server process [ID3448650] on host [INPUNEME01.India.***.com] ...
    Loading [LogManager]... [109] ms
    Loading [PoolManager]... [0] ms
    Loading [ApplicationThreadManager]... 2.406: [GC2.406: [ParNew: 343552K->8913K(381696K), 0.0187920 secs] 343557K->8919K(2059008K), 0.0190498 secs] [Times: user=0.06 sys=0.00, real=0.02 secs]
    [141] ms
    Loading [ThreadManager]... [31] ms
    Loading [ClassLoaderManager]... [94] ms
    Loading [ClusterManager]... [454] ms
    Loading [LockingManager]... [47] ms
    Loading [ConfigurationManager]... [1578] ms
    Loading [CacheManager]... [78] ms
    Loading [DatabaseManager]... [344] ms
    Loading [SessionManager]... [296] ms
    Loading [LicensingManager]... [16] ms
    Loading [ServiceManager]...
    Initialize components for : 78 ms.
    Resolve components for : 16 ms.
    Load components for 703 ms.
    Loading services.
    Calculate startup service set for 172 ms.
      Service [webservices] started. [16] ms / [0] CPU ms
      Service [tc~esi~uddi~content~handler] started. [16] ms / [0] CPU ms
      Service [tc~je~content~classification~handler] started. [16] ms / [0] CPU ms
      Service [tc~je~sca~ws.plugin] started. [16] ms / [0] CPU ms
      Service [r3startup] started. [16] ms / [0] CPU ms
      Service [tc~je~cross~api] started. [31] ms / [0] CPU ms
      Service [tc~je~security~api] started. [47] ms / [0] CPU ms
      Service [engine.dsr.facade] started. [47] ms / [0] CPU ms
      Service [engine.lm.log.facade] started. [47] ms / [0] CPU ms
      Service [security.destination.facade] started. [47] ms / [0] CPU ms
      Service [tc~je~mngt_model~srv] started. [47] ms / [0] CPU ms
      Service [cluster] started. [62] ms / [15] CPU ms
      Service [tc~je~sca~jco.plugin] started. [62] ms / [0] CPU ms
      Service [jmx_notification] started. [46] ms / [0] CPU ms
      Service [runtimeinfo] started. [62] ms / [0] CPU ms
      Service [memory] started. [172] ms / [15] CPU ms
      Service [tc~sec~destinations~provider] started. [234] ms / [109] CPU ms
      Service [timeout] started. [266] ms / [31] CPU ms
      Service [log_configurator] started. [312] ms / [46] CPU ms
      Service [userstore] started. [312] ms / [31] CPU ms
      Service [cross] start ================= ERROR =================
      CSN Component [BC-JAS-COR-RMT], DC Name [sap.com/cross]
    java.lang.NoSuchFieldError: ipaddress
    at com.sap.bc.proj.jstartup.fca.FCAProperties.init1(Native Method)
    at com.sap.bc.proj.jstartup.fca.FCAProperties.init(FCAProperties.java:54)
    at com.sap.engine.services.cross.fca.FCAConnectorImpl.<init>(FCAConnectorImpl.java:101)
    at com.sap.engine.services.cross.CrossFrame.start(CrossFrame.java:82)
    at com.sap.engine.core.service630.container.ServiceRunner.startFrame(ServiceRunner.java:165)
    at com.sap.engine.core.service630.container.ServiceRunner.startService(ServiceRunner.java:118)
    at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:65)
    at com.sap.engine.frame.core.thread.Task.run(Task.java:73)
    at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:178)
    at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:316)
    FATAL: Critical shutdown with exit code [2150] was requested due to [AS Java cannot be started; core service [cross] failed to start]
    Heap
    par new generation   reserved 419840K, committed 419840K, used 298923K [0x000000013fe70000, 0x0000000159870000, 0x0000000159870000)
      eden space 343552K,  84% used [0x000000013fe70000, 0x00000001519a6a18, 0x0000000154df0000)
      from space 38144K,  23% used [0x0000000157330000, 0x0000000157be45b8, 0x0000000159870000)
      to   space 38144K,   0% used [0x0000000154df0000, 0x0000000154df0000, 0x0000000157330000)
    concurrent mark-sweep generation reserved 1677312K, committed 1677312K, used 60K [0x0000000159870000, 0x00000001bfe70000, 0x00000001bfe70000)
    concurrent-mark-sweep perm gen reserved 1048576K, committed 1048576K, used 31359K [0x00000001bfe70000, 0x00000001ffe70000, 0x00000001ffe70000)
      Service [locking] started. [47] ms / [0] CPU ms
    stdout/stderr redirection
    node name   : server0
    host name   : INPUNEME01
    system name : ME2
    system nr.  : 00
    started at  : Thu Jul 17 00:11:02 2014
    JVMX version - Jun 22 2014 00:31:35 - 61_REL - optU - windows amd64 - 6 - bas2:220276 (mixed mode)
    (CompilerOracle read from file C:\usr\sap\ME2\J00\exe\sapjvm_6\jre\.hotspot_compiler)
    The active factory is : com.sap.engine.boot.loader.StandardClassLoaderFactory
    Class loading cache information loaded from package index [C:\usr\sap\ME2\J00\j2ee\cluster\bin\index.list]
    Reading manager properties from [kernelProperties.bin] file
       Checked the data for [16] ms
       Objects read for [110] ms
       Substituted the values for [93] ms
    Finished reading kernel objects for [203] ms
    Startup mode [NORMAL] and action [NONE] read
    AS Java version [7.31.3710.148365.20111012091351] is starting server process [ID3448650] on host [INPUNEME01.India.***.com] ...
    Loading [LogManager]... [109] ms
    Loading [PoolManager]... [0] ms
    Loading [ApplicationThreadManager]... 2.297: [GC2.297: [ParNew: 343552K->9136K(381696K), 0.0230809 secs] 343557K->9142K(2059008K), 0.0233963 secs] [Times: user=0.06 sys=0.00, real=0.02 secs]
    [125] ms
    Loading [ThreadManager]... [31] ms
    Loading [ClassLoaderManager]... [16] ms
    Loading [ClusterManager]... [501] ms
    Loading [LockingManager]... [62] ms
    Loading [ConfigurationManager]... [1500] ms
    Loading [CacheManager]... [125] ms
    Loading [DatabaseManager]... [453] ms
    Loading [SessionManager]... [406] ms
    Loading [LicensingManager]... [32] ms
    Loading [ServiceManager]...
    Initialize components for : 110 ms.
    Resolve components for : 32 ms.
    Load components for 953 ms.
    Loading services.
    Calculate startup service set for 265 ms.
      Service [tc~je~security~api] started. [16] ms / [0] CPU ms
      Service [webservices] started. [16] ms / [15] CPU ms
      Service [engine.lm.log.facade] started. [0] ms / [0] CPU ms
      Service [tc~je~sca~ws.plugin] started. [0] ms / [0] CPU ms
      Service [engine.dsr.facade] started. [0] ms / [0] CPU ms
      Service [r3startup] started. [0] ms / [0] CPU ms
      Service [tc~je~cross~api] started. [0] ms / [0] CPU ms
      Service [security.destination.facade] started. [32] ms / [0] CPU ms
      Service [tc~esi~uddi~content~handler] started. [32] ms / [0] CPU ms
      Service [tc~je~content~classification~handler] started. [32] ms / [0] CPU ms
      Service [tc~je~mngt_model~srv] started. [32] ms / [0] CPU ms
      Service [tc~je~sca~jco.plugin] started. [47] ms / [15] CPU ms
      Service [jmx_notification] started. [125] ms / [31] CPU ms
      Service [runtimeinfo] started. [109] ms / [15] CPU ms
      Service [cluster] started. [109] ms / [0] CPU ms
      Service [userstore] started. [156] ms / [15] CPU ms
      Service [cross] start ================= ERROR =================
      CSN Component [BC-JAS-COR-RMT], DC Name [sap.com/cross]
    java.lang.NoSuchFieldError: ipaddress
    at com.sap.bc.proj.jstartup.fca.FCAProperties.init1(Native Method)
    at com.sap.bc.proj.jstartup.fca.FCAProperties.init(FCAProperties.java:54)
    at com.sap.engine.services.cross.fca.FCAConnectorImpl.<init>(FCAConnectorImpl.java:101)
    at com.sap.engine.services.cross.CrossFrame.start(CrossFrame.java:82)
    at com.sap.engine.core.service630.container.ServiceRunner.startFrame(ServiceRunner.java:165)
    at com.sap.engine.core.service630.container.ServiceRunner.startService(ServiceRunner.java:118)
    at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:65)
    at com.sap.engine.frame.core.thread.Task.run(Task.java:73)
    at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:178)
    at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:316)
      Service [timeout] started. [235] ms / [31] CPU ms
    FATAL: Critical shutdown with exit code [2150] was requested due to [AS Java cannot be started; core service [cross] failed to start]
    Heap
    par new generation   reserved 419840K, committed 419840K, used 275035K [0x000000013fe70000, 0x0000000159870000, 0x0000000159870000)
      eden space 343552K,  77% used [0x000000013fe70000, 0x000000015021acd0, 0x0000000154df0000)
      from space 38144K,  23% used [0x0000000157330000, 0x0000000157c1c238, 0x0000000159870000)
      to   space 38144K,   0% used [0x0000000154df0000, 0x0000000154df0000, 0x0000000157330000)
    concurrent mark-sweep generation reserved 1677312K, committed 1677312K, used 59K [0x0000000159870000, 0x00000001bfe70000, 0x00000001bfe70000)
    concurrent-mark-sweep perm gen reserved 1048576K, committed 1048576K, used 29998K [0x00000001bfe70000, 0x00000001ffe70000, 0x00000001ffe70000)
      Service [memory] started. [312] ms / [46] CPU ms
    stdout/stderr redirection
    node name   : server0
    host name   : INPUNEME01
    system name : ME2
    system nr.  : 00
    started at  : Thu Jul 17 00:11:18 2014
    JVMX version - Jun 22 2014 00:31:35 - 61_REL - optU - windows amd64 - 6 - bas2:220276 (mixed mode)
    (CompilerOracle read from file C:\usr\sap\ME2\J00\exe\sapjvm_6\jre\.hotspot_compiler)
    The active factory is : com.sap.engine.boot.loader.StandardClassLoaderFactory
    Class loading cache information loaded from package index [C:\usr\sap\ME2\J00\j2ee\cluster\bin\index.list]
    Reading manager properties from [kernelProperties.bin] file
       Checked the data for [15] ms
       Objects read for [109] ms
       Substituted the values for [94] ms
    Finished reading kernel objects for [203] ms
    Startup mode [NORMAL] and action [NONE] read
    AS Java version [7.31.3710.148365.20111012091351] is starting server process [ID3448650] on host [INPUNEME01.India.***.com] ...
    Loading [LogManager]... [94] ms
    Loading [PoolManager]... [16] ms
    Loading [ApplicationThreadManager]... 2.267: [GC2.268: [ParNew: 343552K->9051K(381696K), 0.0218818 secs] 343557K->9057K(2059008K), 0.0221899 secs] [Times: user=0.06 sys=0.00, real=0.02 secs]
    [156] ms
    Loading [ThreadManager]... [31] ms
    Loading [ClassLoaderManager]... [16] ms
    Loading [ClusterManager]... [485] ms
    Loading [LockingManager]... [62] ms
    Loading [ConfigurationManager]... [1297] ms
    Loading [CacheManager]... [141] ms
    Loading [DatabaseManager]... [437] ms
    Loading [SessionManager]... [406] ms
    Loading [LicensingManager]... [16] ms
    Loading [ServiceManager]...
    Initialize components for : 110 ms.
    Resolve components for : 31 ms.
    Load components for 953 ms.
    Loading services.
    Calculate startup service set for 265 ms.
      Service [engine.lm.log.facade] started. [16] ms / [0] CPU ms
      Service [tc~esi~uddi~content~handler] started. [16] ms / [0] CPU ms
      Service [tc~je~mngt_model~srv] started. [16] ms / [0] CPU ms
      Service [webservices] started. [16] ms / [0] CPU ms
      Service [engine.dsr.facade] started. [16] ms / [0] CPU ms
      Service [tc~je~cross~api] started. [16] ms / [0] CPU ms
      Service [r3startup] started. [32] ms / [0] CPU ms
      Service [tc~je~security~api] started. [32] ms / [0] CPU ms
      Service [security.destination.facade] started. [32] ms / [0] CPU ms
      Service [tc~je~content~classification~handler] started. [16] ms / [0] CPU ms
      Service [tc~je~sca~ws.plugin] started. [16] ms / [0] CPU ms
      Service [runtimeinfo] started. [47] ms / [15] CPU ms
      Service [tc~je~sca~jco.plugin] started. [47] ms / [0] CPU ms
      Service [jmx_notification] started. [63] ms / [0] CPU ms
      Service [cluster] started. [47] ms / [15] CPU ms
      Service [timeout] started. [172] ms / [93] CPU ms
      Service [userstore] started. [140] ms / [31] CPU ms
      Service [memory] started. [172] ms / [15] CPU ms
      Service [cross] start ================= ERROR =================
      CSN Component [BC-JAS-COR-RMT], DC Name [sap.com/cross]
    java.lang.NoSuchFieldError: ipaddress
    at com.sap.bc.proj.jstartup.fca.FCAProperties.init1(Native Method)
    at com.sap.bc.proj.jstartup.fca.FCAProperties.init(FCAProperties.java:54)
    at com.sap.engine.services.cross.fca.FCAConnectorImpl.<init>(FCAConnectorImpl.java:101)
    at com.sap.engine.services.cross.CrossFrame.start(CrossFrame.java:82)
    at com.sap.engine.core.service630.container.ServiceRunner.startFrame(ServiceRunner.java:165)
    at com.sap.engine.core.service630.container.ServiceRunner.startService(ServiceRunner.java:118)
    at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:65)
    at com.sap.engine.frame.core.thread.Task.run(Task.java:73)
    at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:178)
    at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:316)
    FATAL: Critical shutdown with exit code [2150] was requested due to [AS Java cannot be started; core service [cross] failed to start]
    Heap
    par new generation   reserved 419840K, committed 419840K, used 277992K [0x000000013fe70000, 0x0000000159870000, 0x0000000159870000)
      eden space 343552K,  78% used [0x000000013fe70000, 0x0000000150513298, 0x0000000154df0000)
      from space 38144K,  23% used [0x0000000157330000, 0x0000000157c06fd0, 0x0000000159870000)
      to   space 38144K,   0% used [0x0000000154df0000, 0x0000000154df0000, 0x0000000157330000)
    concurrent mark-sweep generation reserved 1677312K, committed 1677312K, used 59K [0x0000000159870000, 0x00000001bfe70000, 0x00000001bfe70000)
    concurrent-mark-sweep perm gen reserved 1048576K, committed 1048576K, used 30982K [0x00000001bfe70000, 0x00000001ffe70000, 0x00000001ffe70000)
    Thanks and Regards,
    Muddassar Khan

    Hi Muddassar,
    Hope you are doing good.
    A new note has been released exclusively for this issue. Please see:
    note 1937296 - SUM fails at start-shadow-instance-dm step. This is not
    an issue with the SCAs and more with the kernel employed.
    You will need to make sure that you are on the latest kernel so that
    this can be resolved.
    The below links will help you if there are any queries with the
    kernel update procedure
    SAP Note No. 1636252 - Installing a 7.20 kernel in SAP Web AS
                           7.00/7.01/7.10/7.11
    SAP Note No. 1629598 - SAP Kernel 720 will replace older
                           kernel versions
    SAP Note No. 19466   - Downloading SAP kernel patches
    Also check:
    <http://scn.sap.com/docs/DOC-1206>
    (for Manual Kernel Upgrade)
    and
    <http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/11219>
    (for kernel upgrade using JSPM)
    Thank you and have a nice day!
    Kind Regards,
    Hemanth

  • Weird Terminal problem with AIX

    Hi,
    I have kind of an odd problem with the Terminal.app that I hope someone can assist me in figuring out.
    I'm connecting to an AIX 5.3 server and the top portion of the window is always "cut off". It's there, it's just one screen up in the buffer and I can't figure out why. I can connect with iTerm and things display appropriately.
    Below is a link to a side by side picture of Terminal.app (left) and iTerm (right). If I scroll up in the Terminal.app buffer, I can see the missing lines from the top of the screen.
    http://picasaweb.google.com/andy.black10/Misc#5407855064094337554
    Thanks,
    Andy

    Minor point: would you please fill in your Forum profile information, at least the Mac OS X operating system version.
    I'm currently using Leopard and I can reproduce this problem in Terminal vs iTerm. I used your script output (thank you) in order to generate the escape sequences.
    BY THE WAY, if the script output contains any sensitive login info, you might want to change your password on the Pharamcy OSU system
    It looks like there is a Terminal problem handling Scrolling Regions as set by <esc>[1;24r. It looks like <esc>[0J is not erasing from the current cursor position to the end of the display, but rather it starts the erase above the current cursor position. The erase behavior without a scrolling region appears better, but not perfect.
    I would encourage you to file a bug with Apple at either:
    <http://www.apple.com/feedback/macosx.html>
    or
    <http://bugreporter.apple.com>
    Free ADC (Apple Developer Connection) account needed for BugReporter
    The BugReporter would be better.
    If you want, I have a little script that can be used to demonstrate the problem
    #!/usr/bin/env bash
    echo -e "e[1;24re[He[0Je[He[0Je[?6he[1;24re[He[0Jc"
    for j in {1..3}
    do
    echo BEFORE should remain on screen $j $j $j $j $j
    done
    for j in {4..23}
    do
    echo FILLER should be erased $j $j $j $j $j
    done
    echo -e "e[4;24re[He[0Jc"
    for j in {4..23} # our next command prompt will be 24th line
    do
    echo AFTER should remain on screen $j $j $j $j $j
    done
    Here is example output from Terminal:
    BEFORE should remain on screen 1 1 1 1 1
    AFTER should remain on screen 4 4 4 4 4
    AFTER should remain on screen 5 5 5 5 5
    AFTER should remain on screen 6 6 6 6 6
    AFTER should remain on screen 7 7 7 7 7
    AFTER should remain on screen 8 8 8 8 8
    AFTER should remain on screen 9 9 9 9 9
    AFTER should remain on screen 10 10 10 10 10
    AFTER should remain on screen 11 11 11 11 11
    AFTER should remain on screen 12 12 12 12 12
    AFTER should remain on screen 13 13 13 13 13
    AFTER should remain on screen 14 14 14 14 14
    AFTER should remain on screen 15 15 15 15 15
    AFTER should remain on screen 16 16 16 16 16
    AFTER should remain on screen 17 17 17 17 17
    AFTER should remain on screen 18 18 18 18 18
    AFTER should remain on screen 19 19 19 19 19
    AFTER should remain on screen 20 20 20 20 20
    AFTER should remain on screen 21 21 21 21 21
    AFTER should remain on screen 22 22 22 22 22
    AFTER should remain on screen 23 23 23 23 23
    and here is example output from iTerm:
    BEFORE should remain on screen 1 1 1 1 1
    BEFORE should remain on screen 2 2 2 2 2
    BEFORE should remain on screen 3 3 3 3 3
    AFTER should remain on screen 4 4 4 4 4
    AFTER should remain on screen 5 5 5 5 5
    AFTER should remain on screen 6 6 6 6 6
    AFTER should remain on screen 7 7 7 7 7
    AFTER should remain on screen 8 8 8 8 8
    AFTER should remain on screen 9 9 9 9 9
    AFTER should remain on screen 10 10 10 10 10
    AFTER should remain on screen 11 11 11 11 11
    AFTER should remain on screen 12 12 12 12 12
    AFTER should remain on screen 13 13 13 13 13
    AFTER should remain on screen 14 14 14 14 14
    AFTER should remain on screen 15 15 15 15 15
    AFTER should remain on screen 16 16 16 16 16
    AFTER should remain on screen 17 17 17 17 17
    AFTER should remain on screen 18 18 18 18 18
    AFTER should remain on screen 19 19 19 19 19
    AFTER should remain on screen 20 20 20 20 20
    AFTER should remain on screen 21 21 21 21 21
    AFTER should remain on screen 22 22 22 22 22
    AFTER should remain on screen 23 23 23 23 23

  • Java exec question

    If i start a command with java exec and i want to terminate the command from running how to i do this?
    what i am doing now is i wait 5 seconds and if there is no output from the command i ask for exitValue() which throws an exception which i catch.
    This causes my main function to exit, but my two command output readers threads continue to read because the process is still alive.
    How do i kill the process? i tried to use destroy but its depreciated. Thanks in advance for the help.

    Tommaso wrote:
    I got my self so confused with depreciated methods like stop()Again, there is a significant difference between depreciated and deprecated.
    http://www.thefreedictionary.com/Depreciated
    http://www.thefreedictionary.com/Deprecated

  • Running Worldcraft with Wine (or OpenGL in child window problem)

    Hi!, I'm trying to run Worldcraft (the Half life map editing tool) with wine (version 0.9.30), everything works fine except when I choose to display a 3D view on one of the viewports  (3D views uses OpenGL to render the scene), when I do this, the whole window turns black, and flickers (showing some portion of the original window) when I hit the mouse button of move the window.
    This seems to be the Opengl in child window problem that was supposedly fixed in wine 0.9.28, but, well.. it happens    This happens also with Lightwave 8.0.
    Can anyone try and see if this happens to you as well?  or.. well. does anybody knows how to fix it?
    thanks a lot!
    silencer

    Thanks Nephastos, but I'm trying to run Worldcraft, not Warcraft Worldcraft is a world editing tool for Half-Life.
    I uploaded it to my server if anyone would like to try and see if it works for you (as it is an issue that should be solved by now, I think),  you can download it from http://www.darkdesigns.com.ar/worldcraft3.exe
    Thanks a lot
    silencer

  • Connect Java to native terminal (Solaris specifically)

    How can I connect to the native terminal through my own Java application?
    Calling my processes using Runtime.exec does not always work because the processes usually know it is not a terminal.
    Is there a way in Java to call a child as if through the terminal, or is there a way in Solaris to call a middle man process that calls the next child as if through the terminal?

    gimbal2 wrote:
    generally that is done by actually invoking the shell through runtime.exec(). I don't know what the main shell is under solaris, but under windows you would invoke CMD and under Linux you could invoke BASH for example.
    Start your adventures by reading the four pages of this article carefully:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    The fourth page shows an example of how to invoke the DIR command on windows.I started reading that document, I believe I already have all that under my belt. Perhaps I was too breif in my original question.
    If you run "ps -ef | more" in Solaris, it will show you one window-full of text at a time. If you resize your window, "|more" adjusts accordingly. That is because a terminal will tell the client height and width. That is one of the features of a terminal.
    If I went and ran "cp -i", it would ask if I wanted to replace any files I might be overwriting. But if I did it through System.exec() it would just overwrite because there is no terminal. (even if running through a shell like sh/bash)
    "prstat -a" (Solaris) will also detect if there is a terminal and provide underlined column headers.
    Java 6 has a Terminal object that is permitted to be null.
    What I really want is to make these processes think they are in a terminal. I am not too particular with window height/width and don't care much about underlines/bold/blink/strike/colors. (of course better to have these than to not :) )
    So how can I tell these processes they are in a terminal?

  • Runtime.exec child process - C program, I/O blocked???

    Hi i'm meeting this interesting problem. I am running a simple C app from a Java app as a child process. I want to read/write both the Input and Output before the child process is finished but especially the output of the C app seems to be bloked before the process is finsished and thus i can not make any dialogue with the app when needed?
    Any ideas...., here's the source
    try
    String[] command={"cmd","/c","prog.exe"};
                   Runtime rt = Runtime.getRuntime();
    Process proc = rt.exec(command);
    InputStream stderr = proc.getInputStream();
    /*String str="123";
    BufferedOutputStream bufStr= (BufferedOutputStream) proc.getOutputStream();
    bufStr.write(123);
    bufStr.flush();*/
    InputStreamReader isr = new InputStreamReader(stderr);
    BufferedReader br = new BufferedReader(isr);
    String line = null;
    while ( (line = br.readLine()) != null)
    System.out.println(line);
    PrintWriter out = new PrintWriter(new OutputStreamWriter(proc.getOutputStream()), true);
    out.write("qwer");
    out.flush();
    int exitVal = proc.waitFor();
    System.out.println("Process exitValue: " + exitVal);
    } catch (Throwable t)
    Another thing - when it reaches to reading the output of the C app , the execution of main is suspended and it hangs indefinitely....?
    thanks a lot , it really bugs me.....

    As for
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-
    traps.html?page=4 ,
    i have read it a couple of times and digested it:),
    tryed a couple of things but i can't say anything
    there solves my problem. If you have anything
    particular in your mind please, please specifuy or
    quote in the post....How can I ! You don't show your latest code and your original code needed changing so that it implemented the guidelines in the reference.
    >
    And one more thing , i am pretty sure that the
    problem is in the fact that the .exe prog blocks its
    out stream until finishing, i'm working on why and
    how to undo it....Since I don't have access to the source code of your exe and I don't have the source code of your java and I don't have your problem with executing any of my exe files then I can't comment. And, yes my exe files do write to stdin, read from stdout and read from stderr. I also use the same approach with perl and python scripts.

  • Access Violation when using java in windows terminal session

    Hi,
    we have 2 ms Windows Terminal Servers with Windows 2k3 Enterprise x64 (Intel). I installed Sun JRE version 6 update 5 for windows 64 bit. Everything is working properly when i am using the terminal server as priviledged user (i.e. domain administrator). But as restricted user the browser crashes instantly if I am trying to view a java applet in any browser. Java creates an error log on my desktop which I feel free to post here:
    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7d8e6189, pid=9392, tid=5968
    # Java VM: Java HotSpot(TM) Client VM (10.0-b19 mixed mode, sharing windows-x86)
    # Problematic frame:
    # C [Secur32.dll+0x16189]
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    --------------- T H R E A D ---------------
    Current thread (0x05d87400): JavaThread "main" [_thread_in_native, id=5968, stack(0x05b40000,0x05c40000)]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
    Registers:
    EAX=0x00000000, EBX=0x05c38614, ECX=0x00000016, EDX=0x00000000
    ESP=0x05c383a8, EBP=0x05c38608, ESI=0x00000000, EDI=0x05c385a8
    EIP=0x7d8e6189, EFLAGS=0x00010246
    Top of Stack: (sp=0x05c383a8)
    0x05c383a8: 0055c5c6 00000000 00500028 00000002
    0x05c383b8: 000024b0 00000000 00001750 00000000
    0x05c383c8: 010e940e 00000000 00000000 00000000
    0x05c383d8: 00000021 c0000022 00000001 00000000
    0x05c383e8: 00000000 00000000 116e4bc8 00000000
    0x05c383f8: 00000000 00000000 00000000 00000000
    0x05c38408: 00000000 00000000 00000000 00000000
    0x05c38418: 00000000 00000000 00000000 00000000
    Instructions: (pc=0x7d8e6189)
    0x7d8e6179: 00 00 8b 85 f0 fd ff ff 6a 16 8b f0 59 8d 7d a0
    0x7d8e6189: f3 a5 8b 4d a4 89 48 04 8b 4d a8 89 48 08 66 8b
    Stack: [0x05b40000,0x05c40000], sp=0x05c383a8, free space=992k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [Secur32.dll+0x16189]
    C [Secur32.dll+0x19c78]
    C [deploy.dll+0x29e3]
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::StubRoutines (1)
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::StubRoutines (1)
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::StubRoutines (1)
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x09883400 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=1452, stack(0x09d30000,0x09e30000)]
    0x09870800 JavaThread "CacheCleanUpThread" daemon [_thread_blocked, id=1476, stack(0x09a70000,0x09b70000)]
    0x08956800 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=10004, stack(0x09730000,0x09830000)]
    0x08948800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=7812, stack(0x095f0000,0x096f0000)]
    0x08946800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=408, stack(0x09370000,0x09470000)]
    0x0888e800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=876, stack(0x090e0000,0x091e0000)]
    0x08889c00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=7148, stack(0x08fa0000,0x090a0000)]
    0x08888c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=3600, stack(0x08e60000,0x08f60000)]
    0x08887c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4732, stack(0x08d20000,0x08e20000)]
    0x08880000 JavaThread "Finalizer" daemon [_thread_blocked, id=2552, stack(0x08be0000,0x08ce0000)]
    0x0887f000 JavaThread "Reference Handler" daemon [_thread_blocked, id=3356, stack(0x08aa0000,0x08ba0000)]
    =>0x05d87400 JavaThread "main" [_thread_in_native, id=5968, stack(0x05b40000,0x05c40000)]
    Other Threads:
    0x0887dc00 VMThread [stack: 0x08960000,0x08a60000] [id=1792]
    0x08891400 WatcherThread [stack: 0x09220000,0x09320000] [id=7192]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 960K, used 461K [0x23d70000, 0x23e70000, 0x24250000)
    eden space 896K, 44% used [0x23d70000, 0x23dd3698, 0x23e50000)
    from space 64K, 100% used [0x23e60000, 0x23e70000, 0x23e70000)
    to space 64K, 0% used [0x23e50000, 0x23e50000, 0x23e60000)
    tenured generation total 4096K, used 341K [0x24250000, 0x24650000, 0x27d70000)
    the space 4096K, 8% used [0x24250000, 0x242a5748, 0x242a5800, 0x24650000)
    compacting perm gen total 12288K, used 1165K [0x27d70000, 0x28970000, 0x2bd70000)
    the space 12288K, 9% used [0x27d70000, 0x27e936d0, 0x27e93800, 0x28970000)
    ro space 8192K, 62% used [0x2bd70000, 0x2c272a28, 0x2c272c00, 0x2c570000)
    rw space 12288K, 52% used [0x2c570000, 0x2cbb86b8, 0x2cbb8800, 0x2d170000)
    Dynamic libraries:
    0x00400000 - 0x0049b000      C:\Program Files (x86)\Internet Explorer\iexplore.exe
    0x7d600000 - 0x7d6f0000      C:\WINDOWS\system32\ntdll.dll
    0x7d4c0000 - 0x7d5f0000      C:\WINDOWS\syswow64\kernel32.dll
    0x00550000 - 0x005eb000      C:\WINDOWS\syswow64\ADVAPI32.dll
    0x7da20000 - 0x7db00000      C:\WINDOWS\syswow64\RPCRT4.dll
    0x7d8d0000 - 0x7d920000      C:\WINDOWS\syswow64\Secur32.dll
    0x7d800000 - 0x7d890000      C:\WINDOWS\syswow64\GDI32.dll
    0x7d930000 - 0x7da00000      C:\WINDOWS\syswow64\USER32.dll
    0x77ba0000 - 0x77bfa000      C:\WINDOWS\syswow64\msvcrt.dll
    0x005f0000 - 0x00642000      C:\WINDOWS\syswow64\SHLWAPI.dll
    0x7c8d0000 - 0x7d0cf000      C:\WINDOWS\syswow64\SHELL32.dll
    0x77670000 - 0x777a9000      C:\WINDOWS\syswow64\ole32.dll
    0x46b90000 - 0x46cb7000      C:\WINDOWS\syswow64\urlmon.dll
    0x00650000 - 0x006db000      C:\WINDOWS\syswow64\OLEAUT32.dll
    0x46300000 - 0x46345000      C:\WINDOWS\syswow64\iertutil.dll
    0x77b90000 - 0x77b98000      C:\WINDOWS\syswow64\VERSION.dll
    0x7dee0000 - 0x7df40000      C:\WINDOWS\system32\IMM32.DLL
    0x7dbd0000 - 0x7dcd3000      C:\WINDOWS\WinSxS\WOW64_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.3959_x-ww_5FA17F4E\comctl32.dll
    0x46350000 - 0x4691d000      C:\WINDOWS\system32\IEFRAME.dll
    0x76b70000 - 0x76b7b000      C:\WINDOWS\system32\PSAPI.DLL
    0x7df50000 - 0x7dfc0000      C:\WINDOWS\system32\UxTheme.dll
    0x4b3c0000 - 0x4b410000      C:\WINDOWS\SysWOW64\MSCTF.dll
    0x10000000 - 0x10011000      D:\programme\hardcopy\HcDLL2_19_Win32.dll
    0x02130000 - 0x023f5000      C:\WINDOWS\system32\xpsp2res.dll
    0x75e60000 - 0x75e87000      C:\WINDOWS\system32\apphelp.dll
    0x4dc30000 - 0x4dc5e000      C:\WINDOWS\system32\msctfime.ime
    0x02560000 - 0x0258f000      C:\WINDOWS\system32\IEUI.dll
    0x76280000 - 0x76285000      C:\WINDOWS\system32\MSIMG32.dll
    0x4dd60000 - 0x4df07000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.3790.3959_x-ww_8251BDDE\gdiplus.dll
    0x47150000 - 0x47171000      C:\WINDOWS\system32\xmllite.dll
    0x777b0000 - 0x77833000      C:\WINDOWS\system32\CLBCatQ.DLL
    0x77010000 - 0x770d6000      C:\WINDOWS\system32\COMRes.dll
    0x744c0000 - 0x744eb000      C:\WINDOWS\SysWOW64\msimtf.dll
    0x77b00000 - 0x77b54000      C:\WINDOWS\System32\cscui.dll
    0x76520000 - 0x7653d000      C:\WINDOWS\System32\CSCDLL.dll
    0x770e0000 - 0x771e8000      C:\WINDOWS\system32\SETUPAPI.dll
    0x325c0000 - 0x325d2000      D:\programme\OFFICE11\msohev.dll
    0x77980000 - 0x77af3000      C:\WINDOWS\SysWow64\shdocvw.dll
    0x761b0000 - 0x76243000      C:\WINDOWS\syswow64\CRYPT32.dll
    0x76190000 - 0x761a2000      C:\WINDOWS\syswow64\MSASN1.dll
    0x75360000 - 0x753de000      C:\WINDOWS\syswow64\CRYPTUI.dll
    0x76bb0000 - 0x76bdb000      C:\WINDOWS\syswow64\WINTRUST.dll
    0x76c10000 - 0x76c38000      C:\WINDOWS\syswow64\imagehlp.dll
    0x71c40000 - 0x71c97000      C:\WINDOWS\syswow64\NETAPI32.dll
    0x76f10000 - 0x76f3e000      C:\WINDOWS\syswow64\WLDAP32.dll
    0x032e0000 - 0x0332a000      C:\Program Files (x86)\Internet Explorer\ieproxy.dll
    0x75da0000 - 0x75e5d000      C:\WINDOWS\system32\SXS.DLL
    0x46a70000 - 0x46b3f000      C:\WINDOWS\syswow64\WININET.dll
    0x03690000 - 0x03699000      C:\WINDOWS\syswow64\Normaliz.dll
    0x74540000 - 0x745d3000      C:\WINDOWS\system32\MLANG.dll
    0x71c00000 - 0x71c17000      C:\WINDOWS\system32\ws2_32.dll
    0x71bf0000 - 0x71bf8000      C:\WINDOWS\system32\WS2HELP.dll
    0x75f30000 - 0x75fcd000      C:\Program Files (x86)\Internet Explorer\mui\0407\shdoclc.dll
    0x77530000 - 0x775c7000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_5.82.3790.3959_x-ww_78FCF8D0\COMCTL32.dll
    0x7db30000 - 0x7dbb0000      C:\WINDOWS\system32\mswsock.dll
    0x5f270000 - 0x5f2ca000      C:\WINDOWS\system32\hnetcfg.dll
    0x71ae0000 - 0x71ae8000      C:\WINDOWS\System32\wshtcpip.dll
    0x76e90000 - 0x76ecf000      C:\WINDOWS\system32\RASAPI32.dll
    0x76e40000 - 0x76e52000      C:\WINDOWS\system32\rasman.dll
    0x76e60000 - 0x76e8f000      C:\WINDOWS\system32\TAPI32.dll
    0x76e30000 - 0x76e3c000      C:\WINDOWS\system32\rtutils.dll
    0x76aa0000 - 0x76acd000      C:\WINDOWS\system32\WINMM.dll
    0x71bc0000 - 0x71bc8000      C:\WINDOWS\system32\rdpsnd.dll
    0x771f0000 - 0x77201000      C:\WINDOWS\system32\WINSTA.dll
    0x76920000 - 0x769e2000      C:\WINDOWS\system32\USERENV.dll
    0x722f0000 - 0x722f5000      C:\WINDOWS\system32\sensapi.dll
    0x76f80000 - 0x76f85000      C:\WINDOWS\system32\rasadhlp.dll
    0x76ed0000 - 0x76efa000      C:\WINDOWS\system32\DNSAPI.dll
    0x76f70000 - 0x76f77000      C:\WINDOWS\System32\winrnr.dll
    0x71d00000 - 0x71d1c000      C:\WINDOWS\SysWOW64\actxprxy.dll
    0x71e00000 - 0x71e14000      C:\WINDOWS\system32\msapsspc.dll
    0x78080000 - 0x78091000      C:\WINDOWS\system32\MSVCRT40.dll
    0x71e20000 - 0x71e70000      C:\WINDOWS\system32\msnsspc.dll
    0x76c90000 - 0x76cb7000      C:\WINDOWS\SysWOW64\msv1_0.DLL
    0x76cf0000 - 0x76d0a000      C:\WINDOWS\system32\iphlpapi.dll
    0x46d00000 - 0x47073000      C:\WINDOWS\system32\mshtml.dll
    0x03e90000 - 0x03eb9000      C:\WINDOWS\system32\msls31.dll
    0x46990000 - 0x469f0000      C:\WINDOWS\system32\ieapfltr.dll
    0x03fe0000 - 0x04001000      C:\WINDOWS\system32\NTMARTA.DLL
    0x7e020000 - 0x7e02f000      C:\WINDOWS\system32\SAMLIB.dll
    0x63380000 - 0x633f8000      C:\WINDOWS\SysWOW64\jscript.dll
    0x04910000 - 0x04975000      C:\WINDOWS\SysWow64\Macromed\Flash\SWFlash.ocx
    0x762b0000 - 0x762f9000      C:\WINDOWS\syswow64\comdlg32.dll
    0x049d0000 - 0x04a02000      C:\WINDOWS\system32\iepeers.dll
    0x73070000 - 0x73097000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x1b000000 - 0x1b00c000      C:\WINDOWS\system32\ImgUtil.dll
    0x1b060000 - 0x1b06e000      C:\WINDOWS\system32\pngfilt.dll
    0x058b0000 - 0x058bc000      D:\programme\hardcopy\hardcopy.dll
    0x461f0000 - 0x46267000      C:\WINDOWS\system32\mshtmled.dll
    0x5def0000 - 0x5defe000      C:\WINDOWS\system32\pstorec.dll
    0x76a80000 - 0x76a92000      C:\WINDOWS\system32\ATL.DLL
    0x71f60000 - 0x71f64000      C:\WINDOWS\system32\security.dll
    0x68000000 - 0x68035000      C:\WINDOWS\system32\rsaenh.dll
    0x6d6b0000 - 0x6d6d1000      C:\Program Files (x86)\Java\jre1.6.0_05\bin\npjpi160_05.dll
    0x7c340000 - 0x7c396000      C:\Program Files (x86)\Java\jre1.6.0_05\bin\msvcr71.dll
    0x6d400000 - 0x6d41b000      C:\Program Files (x86)\Java\jre1.6.0_05\bin\jpiexp.dll
    0x6d1b0000 - 0x6d1c1000      C:\Program Files (x86)\Java\jre1.6.0_05\bin\deploy.dll
    0x71bb0000 - 0x71bb9000      C:\WINDOWS\system32\wsock32.dll
    0x6d450000 - 0x6d474000      C:\Program Files (x86)\Java\jre1.6.0_05\bin\jpishare.dll
    0x6d7c0000 - 0x6da10000      C:\PROGRA~2\Java\JRE16~2.0_0\bin\client\jvm.dll
    0x6d270000 - 0x6d278000      C:\PROGRA~2\Java\JRE16~2.0_0\bin\hpi.dll
    0x6d770000 - 0x6d77c000      C:\PROGRA~2\Java\JRE16~2.0_0\bin\verify.dll
    0x6d310000 - 0x6d32f000      C:\PROGRA~2\Java\JRE16~2.0_0\bin\java.dll
    0x6d7b0000 - 0x6d7bf000      C:\PROGRA~2\Java\JRE16~2.0_0\bin\zip.dll
    0x6d000000 - 0x6d12e000      C:\Program Files (x86)\Java\jre1.6.0_05\bin\awt.dll
    0x73860000 - 0x738ac000      C:\WINDOWS\system32\ddraw.dll
    0x73b30000 - 0x73b36000      C:\WINDOWS\system32\DCIMAN32.dll
    0x6d210000 - 0x6d263000      C:\Program Files (x86)\Java\jre1.6.0_05\bin\fontmanager.dll
    0x6d3e0000 - 0x6d3f8000      C:\Program Files (x86)\Java\jre1.6.0_05\bin\jpicom.dll
    VM Arguments:
    jvm_args: -Xbootclasspath/a:C:\PROGRA~2\Java\JRE16~2.0_0\lib\deploy.jar;C:\PROGRA~2\Java\JRE16~2.0_0\lib\plugin.jar -Xmx64m -Djavaplugin.maxHeapSize=64m -Xverify:remote -Djavaplugin.version=1.6.0_05 -Djavaplugin.nodotversion=160_05 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~2\Java\JRE16~2.0_0 -Djavaplugin.vm.options=-Djava.class.path=C:\PROGRA~2\Java\JRE16~2.0_0\classes -Xbootclasspath/a:C:\PROGRA~2\Java\JRE16~2.0_0\lib\deploy.jar;C:\PROGRA~2\Java\JRE16~2.0_0\lib\plugin.jar -Xmx64m -Djavaplugin.maxHeapSize=64m -Xverify:remote -Djavaplugin.version=1.6.0_05 -Djavaplugin.nodotversion=160_05 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~2\Java\JRE16~2.0_0
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    PATH=C:\PROGRA~2\Java\JRE16~2.0_0\bin;C:\Program Files\Internet Explorer;;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;.
    USERNAME=testuser
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=EM64T Family 6 Model 15 Stepping 7, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows Server 2003 family Build 3790 Service Pack 2
    CPU:total 8 (4 cores per cpu, 1 threads per core) family 6 model 15 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
    Memory: 4k page, physical 4194303k(4194303k free), swap 4194303k(4194303k free)
    vm_info: Java HotSpot(TM) Client VM (10.0-b19) for windows-x86 JRE (1.6.0_05-b13), built on Feb 22 2008 01:16:53 by "java_re" with MS VC++ 7.1
    time: Fri Mar 07 08:16:00 2008
    elapsed time: 3 seconds
    Does anyone have a clue what is the cause of this error? For the first time I thought that there is a problem with the 64 bit environment, but if this would be the case the applets should not be working as administrator too. As non priviledged user the error occures on ANY java applet so I think there must be a general problem.
    Regards,
    Sebastian

    I decided that even if I found the update, another could easily break it. I instead downloaded and installed the Early Access JRE ( 1.6.0_10-ea ) located at https://jdk6.dev.java.net/6uNea.html. It resolved the problem, and all other applications have tested okay with it. I figured I am at risk either way, so I might as well move forward knowing it will become more stable, than step back and create security holes in the OS.

  • Execute an external java program with Runtime, problem with classpath

    Hi,
    I m calling an external java program by the command:
    Runtime.getRuntime().exec("java -classpath \"library/*\" org.mypackage.TestMainProgram param1 c:/input/files c:/output/files");All my classes are stored in the relative directory "library", and it contains ONLY .jar files. However, I keep getting errors like:
    "java.lang.NoClassDefFoundError: library/antlr/jarCaused by: java.lang.ClassNotFoundException: library.antlr.jar     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)Could not find the main class: library/antlr.jar. Program will exit.Exception in thread "main" where "antlr.jar" is a jar file in "library". It is there but still the program keeps complaining it cannot be found. The problem applies to any jars in "library", ie.., if i have "mylib.jar" then it will complain "NoClassDefFoundError: library/mylib/jar".
    Could anyone give some pointers please?
    Many thanks!
    Edited by: 836590 on 14-Feb-2011 09:03

    836590 wrote:
    Hi,
    I m calling an external java program by the command:
    Runtime.getRuntime().exec("java -classpath \"library/*\" org.mypackage.TestMainProgram param1 c:/input/files c:/output/files");All my classes are stored in the relative directory "library", and it contains ONLY .jar files. However, I keep getting errors like:
    "java.lang.NoClassDefFoundError: library/antlr/jarCaused by: java.lang.ClassNotFoundException: library.antlr.jar     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)Could not find the main class: library/antlr.jar. Program will exit.Exception in thread "main" where "antlr.jar" is a jar file in "library". It is there but still the program keeps complaining it cannot be found. The problem applies to any jars in "library", ie.., if i have "mylib.jar" then it will complain "NoClassDefFoundError: library/mylib/jar".
    Could anyone give some pointers please?
    Many thanks!
    Edited by: 836590 on 14-Feb-2011 09:03First, if you run from the command line
    java -classpath "library/*" org.mypackage.TestMainProgram param1 c:/input/files c:/output/filesfrom the parent directory of library, does it work?
    Despite what I said to Kayaman about Runtime.exec not expanding the asterisk, it looks like that's what's happening, so that you're getting
    java -claspath library/aaaa_something_before_antlr.jar library/antlr.jar library/bbb.jar library/ccc.jar  org.mypackage.TestMainProgram param1 c:/input/files c:/output/filesThat is, it *is* expanding the asterisk to a list of files in the directory, and the first one is being taken as the classpath, and the second one--library/antlr.jar is being taken as the class to execute. I'm certain this doesn't happen on Linux, so it must be a Windows thing.
    Two suggestions:
    1) Try single quotes instead of double.
    2) Try the exec that takes an array
    Runtime.getRuntime().exec(new String[] {"java", "-classpath", "'library/*'", "org.mypackage.TestMainProgram", "param1", "c:/input/files", "c:/output/files");Edited by: jverd on Feb 14, 2011 9:41 AM

Maybe you are looking for

  • FAX and Output Filename

    Does anyone know if it's possible to output the actual OutputFileName from the transformation builder? I want to print a document in PDF and sent it by FAX. I have a fax machine which is able to scan a directory, picking up a txt file, and it expects

  • AVCHD in Ae CS5 is a sad joke.

    Ok! AVCHD footage is playing perfectly in Premiere cs5 due to  Mercury. But no Mercury in AE C5 makes scrubbing the CTI such a difficult  task! And don't think my 8 core workstation is to blame. The  strange thing is that RAM preview is reeealy fast!

  • Read binary file in LabVIEW 2012

    Hi, Have anyoune experienced problems reading binary files in 2012 previously saved in 2010. As shown on attached image, the same VI is opened in 2010 and 2012 reading the same binary file containing the data structure "ProcessList IN". I suspect it

  • Error in Generating maskfile

    i've got an error in generating maskfile. i used the command : maskgen cref <Directory>\filename.jca it shows an error message i.e :Package 0xa0:0x00:0x00:0x00:0x62:0x01:0x01 1.0 imported by applet is missing can any body knows how to use makgen in t

  • Deployment order in 6.0

    I'm sure this has been covered before but is there anyway to dictate the deployment order of EJB's contained in a single EAR file? Or does WL use some default scheme - alphanumeric sorting, order in the applications.xml file?? Thanks Tom