Program hangs on exit

Hi Everyone,
I'm having trouble with the java virtual machine or maybe some class may be causing this too. Windows and everything else completely hangs once I exit from my program.
This just happens with some programs. I have been working on a project for a couply of weeks now, and there was absolutely nothing wrong. Then today the program starts to hang on exit. I have seen this happen with other programs as well, even demos i have downloaded from java.sun.com
Like I said, the programs works fine, just when you exit your stuck.
I have tried both exit methods which have worked fine in the past:
addWindowListener(new WindowAdapter()
               public void windowClosing(WindowEvent e)
                    System.exit(0);
as well as:
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
I believe I set up the exit properly, since it has been working for the last couple of weeks and in all my other projects.
I can't seem to isolate what change to the program caused this. I thought it might just be an increase in size of the program, but even small demos from java.sun.com crash on exit.
If anybody has any ideas why this is happening can you please help me, i would really appreciate it.
I should mention I run Windows XP, and I have j2dsk1.4.1
Thanks in advance for any reply's.
Arie Trouw

I have also experienced this problem. The "easiest" way to reproduce it is to get JHotDraw 5.3 and just run up the sample app on Windows XP. Windows XP will hang when you attempt to exit the application(making it difficult to work out exactly what caused the hang). Running under a debugger (Eclipse) the hang is on System.exit, not the window.dispose or anything earlier. I can confirm that this is a problem with
1.4.1-b21 and with
1.4.1_01-b01 (the most recently available download).
I can also confirm that this is not a problem with the 1.3.1_04 or 07 releases.
Using the -Dsun.java2d.noddraw=true flag gets rid of the problem for me on 1.4.1_01-b01 (thank you jbisotti).

Similar Messages

  • DW CS3 Hangs on exit

    Has anyone else experienced a recent phenomenon where DW CS3 Hangs on exiting with Vista. This is new and started without any new extensions, but possibly after some windows updates. I'm running Vista Home Premium x64 with UAC off, and the error is:
    The program Dreamweaver.exe version 9.0.0.3481 stopped interacting with Windows and was closed.
    The Event ID is 1002 with a Task Category of 101.
    Everything works fine except when I am done working and try to close the program.

    Yes, it's starting happening for me 'recently'.  It started happening on my laptop running Vista.
    I've moved from XP to Windows 7 Ultimate on my desktop and it now happens there as well.
    This week, I moved from Vista to Windows 7 Home Premium (fresh install) on my laptop and it is still happening.
    I have found that if you open Dreamweaver and immediately close it without opening any files then it is ok, but if you open any file, close it, then close Dreamweaver then it just hangs. If you click the Windows close icon a few times then you get the 'look for solution', 'wait' or 'close immediately' options. If you view the crash details it says:
    Description:
      A problem caused this program to stop interacting with Windows.
    Problem signature:
      Problem Event Name: AppHangB1
      Application Name: Dreamweaver.exe
      Application Version: 9.0.0.3481
      Application Timestamp: 4600622f
      Hang Signature: 1e91
      Hang Type: 0
      OS Version: 6.1.7600.2.0.0.768.3
      Locale ID: 2057

  • My j2me program hangs --need help

    hi.my program hangs whenever i run my midlet and i get a message like this
    Warning: To avoid potential deadlock, operations that may block, such as
    networking, should be performed in a different thread than the
    commandAction() handler.
    below is my codes
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import java.io.*;
    import javax.microedition.io.file.*;
    import javax.microedition.io.*;
    public class TCPClient extends MIDlet implements CommandListener ,ItemCommandListener {
    private Display display;
    private Form form;
    private Command exit,set;
    private TextField txtField;
    private ChoiceGroup sImage;
    private int sIndex;
    private String strTxtField;
    private Image image;
    public TCPClient(){
    display=Display.getDisplay(this);
    form=new Form("TCPClient");
    txtField=new TextField("type what u want to send",null,30,TextField.ANY);
    sImage= new ChoiceGroup("pls select", Choice.EXCLUSIVE);
    sImage.append("no image",null); //=0
    sImage.append("image",null);  //=1
    exit=new Command("Exit",Command.EXIT,1);             //1= highest priority,
    form.append(txtField);
    form.append(sImage);
    form.addCommand(exit);
    form.setCommandListener(this);
    try{
         Image image= Image.createImage("/send.jpg");
         ImageItem imageItem=new ImageItem(null,image,Item.LAYOUT_CENTER ,null,Item.BUTTON);
         set =new Command("Set", Command.ITEM, 1);
         imageItem.setDefaultCommand( set);
         imageItem.setItemCommandListener(this);
         form.append(imageItem);
         }//end of try
    catch(IOException e){System.out.println("button error");}
         }// end of constructor
    public void startApp(){
    System.out.println("midlet started");
    ItemStateListener listener = new MyStateListener();
    form.setItemStateListener(listener);// register for events
            display.setCurrent(form);
    public void pauseApp(){}
    public void destroyApp(boolean unconditional){}
    public void commandAction(Command c, Displayable s){
    if(c==exit){
              destroyApp(false);
              notifyDestroyed();
    }  // end of commandAction
    public void commandAction(Command c, Item item){
    if(c==set){
         strTxtField=txtField.getString();
    System.out.println(strTxtField);
    try {
                      String filename = "file:///root1/commands.txt";
                              byte[] data = strTxtField.getBytes();
                    FileConnection filecon = (FileConnection)Connector.open(filename,Connector.READ_WRITE);
                    // Always check whether the file or directory exists.
                    if(!filecon.exists()) {
                       filecon.create();
                        OutputStream outputStream = filecon.openOutputStream();
                                           outputStream.write(data);
                                           outputStream.close();
                    filecon.close();
                 } catch(IOException ioe) {
               }//end of set
    }//emd of commandAction method
         private class MyStateListener implements ItemStateListener
                     boolean pictureIsShown=false; //Remember the state
                        int pictureIndex; //Remember the index
                     public void itemStateChanged(Item item)
                             if(item==sImage){
                                  sIndex=sImage.getSelectedIndex();
                                  switch(sIndex){
                                       case 0:System.out.println(sIndex);
                                              if (!pictureIsShown){
                                                        form.delete(pictureIndex);}
                                      break; // end of case0
                                       case 1:System.out.println(sIndex);
                                       if (!pictureIsShown){
                                           try{
                                             ImageItem logo= new ImageItem("",Image.createImage ("/misa.jpg"),      ImageItem.LAYOUT_CENTER,"");
                                       pictureIndex=form.append(logo);
                                       System.out.println("success");
                                       catch(IOException e)
                                       {System.out.println("error");}}//end of if
                                       break;
                                default: System.out.println("kiss my ___");
                                       }//end of switch
                                  }//end of if
                                //do something
                     }//donttouch
    }whenever it runs,it would hangs if i enable it to read my codes.
    any help/advise is greatly appreciate.thanks

    Hi
    Use thread while creating a connection -
    http://forum.java.sun.com/thread.jspa?threadID=5119680
    Check this link, ll get an idea - how you can use thread?
    Rohan Chandane

  • Applet leaves cmd prompt hanging afr exit under 1.3.1_02, ok under 1.2.2

    Subject: Applet leaves cmd prompt hanging afr exit under 1.3.1_02, ok under 1.2.2
    I am working with examples from a Java book. My applets leaving the command promt hanging after closing them by clicking the X in the upper left corner. I am running Windows NT 4.0, svc pack 6.
    After the applet is ended the command window hangs and won't respond to ctrl-c. If I attempt to close the command window a message box appears saying the command window is unable to respond to the end request (busy or waiting) and gives me the option to wait / end / cancel.
    This has happened with all the applet examples I have tried and some Sun JAI examples.
    Here is an example from a Java primer:
    import java.applet.Applet;
    import java.awt.Graphics;
    <applet code="AppletLifecycle" width=300 height=50>
    </applet>
    public class AppletLifecycle extends Applet {
    String str = "";
    public void init() {
    str += "init; ";
    public void start() {
    str += "start; ";
    public void stop() {
    str += "stop; ";
    public void destroy() {
    System.out.println("destroy");
    public void paint(Graphics g) {
    g.drawString(str, 10, 25);
    import java.applet.*;
    import java.awt.*;
    <applet code="FirstApplet" width=400 height=400>
    </applet>
    public class FirstApplet extends Applet {
    public void paint(Graphics g) {
    g.drawString("This is my first applet!", 20, 200);
    After compling, from the command line I enter:
    C:> appletviewer AppletLifecycle.java (or AppletLifecycle.htm)
    The applet comes up correctly.
    If I close the applet by clicking the X in the upper right corner
    - the applet window goes blank
    - "destroy" appears in the command window
    - the command session is hung and will not respond to a ctrl-c to end the application
    I either have to use task manager to kill the command session or click on the X in the upper right corner of the command window. Task manger says the command session is "not responding". Either way I get the message that the application cannot respond to the end task request (may be busy, waiting for a response, etc.) and the option to wait / end / cancel.
    Under Java 1.2.2 after closing the applet the command session is "waiting" ("hung") until a ctrl-c is typed. Then the DOS promt returns and the command session is free.
    This behavior is consistent with several of the applets in this text book.
    I first encountered this problem when working with examples in the JAI (java advanced imaging) package from Sun. These samples run as applications and display an image. They work correctly but hang when I attempt to close them. I have tried the examples only under 1.3.1_02.
    Can anyone help me figure this out?
    Thanks
    Bill

    The book says that the destory method is is called when an applet is closed.
    If the applet does not have a destroy method then the default destoy method
    the the Applet class is called. Is that wrong or am I not understanding.The book and your understanding is correct. It's just that my experience has indicated that overriding the destroy method is not a good idea. The applet's stop method is called (by the appletviewer or a web browser) when it's ready to close or move onto another document, so any cleanup that you need to do should be done in the stop method. As far as browsers go, IE destroy the applet when you move to another document but Netscape 4+ only call the destroy method when the browser window is closed but there is no guarantee that NN4 will ever call the destroy method. That's the reason why I don't recommend overriding the destroy method -- but as long as you know what is in store for you, you can do anything you want.
    BTW, I've compiled and tested the AppletLifecycle.java program on my JDK1.3.1 and it works with the appletviewer, IE5.5 and NN4.7. I have no trouble stoping the program from the MS-DOS window with a CTRL-C or click the little x on the upper right corner of the display. I do know that when I upgraded to 1.3.1_02, all my applets mysteriously stopped working so I went back to 1.3.1 -- maybe that's the reason why you're left hanging.
    V.V.

  • SAP on V6R1 - ABAP Import:Program 'Migration Monitor' exits with error code

    Hello,
    We are doing an installation of SAP NW 7.01 SR1 on V6R1.
    <br>
    We were getting error in SAPAPPL2.TSK.bck we merged the files with following command:R3load --merge_only <TSK file> and refering sap note:Note 455195 - R3load: Use of TSK files.
    <br>
    We are again getting error in following steps:
    <br>
    sapinst.log
    <br>
    <br>WARNING 2009-09-30 23:25:28.477
    Execution of the command "Y:\QOpenSys\QIBM\ProdData\JavaVM\jdk14\64bit\bin\java -classpath migmon.jar -showversion -Xmx1024m com.sap.inst.migmon.imp.ImportMonitor -sapinst" finished with return code 103. Output:
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)
    IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 OS400 ppc64-64 j9ap64142sr13-20090310 (JIT enabled)
    J9VM - 20090309_31291_BHdSMr
    JIT  - 20090210_1447ifx1_r8
    GC   - 200902_24)
    I<br>mport Monitor jobs: running 1, waiting 27, completed 0, failed 0, total 28.
    <br>Loading of 'SAPNTAB' import package: OK
    <br>Import Monitor jobs: running 0, waiting 27, completed 1, failed 0, total 28.
    Import Monitor jobs: running 1, waiting 26, completed 1, failed 0, total 28.<br>
    Import Monitor jobs: running 2, waiting 25, completed 1, failed 0, total 28.<br>
    Import Monitor jobs: running 3, waiting 24, completed 1, failed 0, total 28.<br>
    Loading of 'DOKCLU' import package: OK
    Import Monitor jobs: running 2, waiting 24, completed 2, failed 0, total 28.<br>
    Import Monitor jobs: running 3, waiting 23, completed 2, failed 0, total 28.<br>
    Loading of 'SAPAPPL1' import package: OK
    Import Monitor jobs: running 2, waiting 23, completed 3, failed 0, total 28.<br>
    Import Monitor jobs: running 3, waiting 22, completed 3, failed 0, total 28.<br>
    Loading of 'SAPAPPL2' import package: ERROR
    Import Monitor jobs: running 2, waiting 22, completed 3, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 21, completed 3, failed 1, total 28.<br>
    Loading of 'DD03L' import package: OK
    Import Monitor jobs: running 2, waiting 21, completed 4, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 20, completed 4, failed 1, total 28.<br>
    Loading of 'SCPRSVALS' import package: OK
    Import Monitor jobs: running 2, waiting 20, completed 5, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 19, completed 5, failed 1, total 28.<br>
    Loading of 'SAPSDIC' import package: OK
    Import Monitor jobs: running 2, waiting 19, completed 6, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 18, completed 6, failed 1, total 28.<br>
    Loading of 'SCPRVALS' import package: OK
    Import Monitor jobs: running 2, waiting 18, completed 7, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 17, completed 7, failed 1, total 28.<br>
    Loading of 'SAPSSRC' import package: OK
    Import Monitor jobs: running 2, waiting 17, completed 8, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 16, completed 8, failed 1, total 28.<br>
    Loading of 'FUPARAREF' import package: OK
    Import Monitor jobs: running 2, waiting 16, completed 9, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 15, completed 9, failed 1, total 28.<br>
    Loading of 'TODIR' import package: OK
    Import Monitor jobs: running 2, waiting 15, completed 10, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 14, completed 10, failed 1, total 28.<br>
    Loading of 'SEOSUBCODF' import package: OK
    Import Monitor jobs: running 2, waiting 14, completed 11, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 13, completed 11, failed 1, total 28.<br>
    Loading of 'E071K' import package: OK
    Import Monitor jobs: running 2, waiting 13, completed 12, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 12, completed 12, failed 1, total 28.<br>
    Loading of 'SAPPOOL' import package: OK
    Import Monitor jobs: running 2, waiting 12, completed 13, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 11, completed 13, failed 1, total 28.<br>
    Loading of 'SAPSPROT' import package: OK
    Import Monitor jobs: running 2, waiting 11, completed 14, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 10, completed 14, failed 1, total 28.<br>
    Loading of 'SAPSDOCU' import package: OK
    Import Monitor jobs: running 2, waiting 10, completed 15, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 9, completed 15, failed 1, total 28.<br>
    Loading of 'SAPCLUST' import package: OK
    Import Monitor jobs: running 2, waiting 9, completed 16, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 8, completed 16, failed 1, total 28.<br>
    Loading of 'SAPSLOAD' import package: OK
    Import Monitor jobs: running 2, waiting 8, completed 17, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 7, completed 17, failed 1, total 28.<br>
    Loading of 'SAPSLEXC' import package: OK
    Import Monitor jobs: running 2, waiting 7, completed 18, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 6, completed 18, failed 1, total 28.<br>
    Loading of 'SAPUSER' import package: OK
    Import Monitor jobs: running 2, waiting 6, completed 19, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 5, completed 19, failed 1, total 28.<br>
    Loading of 'SAPDDIM' import package: OK
    Import Monitor jobs: running 2, waiting 5, completed 20, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 4, completed 20, failed 1, total 28.<br>
    Loading of 'SAPDFACT' import package: OK
    Import Monitor jobs: running 2, waiting 4, completed 21, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 3, completed 21, failed 1, total 28.<br>
    Loading of 'SAPDODS' import package: OK
    Import Monitor jobs: running 2, waiting 3, completed 22, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 2, completed 22, failed 1, total 28.<br>
    Loading of 'SAPUSER1' import package: OK
    Import Monitor jobs: running 2, waiting 2, completed 23, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 1, completed 23, failed 1, total 28.<br>
    Loading of 'SAP0000' import package: OK
    Import Monitor jobs: running 2, waiting 1, completed 24, failed 1, total 28.<br>
    Loading of 'SAPAPPL0' import package: OK
    Import Monitor jobs: running 1, waiting 1, completed 25, failed 1, total 28.<br>
    Loading of 'SAPSSEXC' import package: OK
    Import Monitor jobs: running 0, waiting 1, completed 26, failed 1, total 28.<br>
    <br>
    WARNING[E] 2009-09-30 23:25:28.524
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log,
    <br>
    ERROR 2009-09-30 23:25:28.914
    FCO-00011  The step runMigrationMonitor with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR .
    <br>
    <br>import_monitor.log.
    <br>****************************************************************************************************************************************************
    <br>INFO: 2009-09-30 23:26:33 com.sap.inst.migmon.LoadTask run
    Loading of 'SAP0000' import package is successfully completed.
    <br>
    INFO: 2009-09-30 23:30:31 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPAPPL0' import package is successfully completed.
    <br>
    INFO: 2009-09-30 23:31:16 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPSSEXC' import package is successfully completed.
    <br>
    WARNING: 2009-09-30 23:31:31
    Cannot start import of packages with views because not all import packages with tables are loaded successfully.
    WARNING: 2009-09-30 23:31:31
    1 error(s) during processing of packages.
    INFO: 2009-09-30 23:31:31
    Import Monitor is stopped.
    <br>*************************************************************************************************************************************************
    <br>SAPAPPL02.LOG
    <br>**************************************************************************************************************************************************
    <br>TVV1 in *LIBL type *FILE not found. MSGID= Job=015908/SAPINST/QJVAEXEC
    (IMP) INFO: a failed DROP attempt is not necessarily a problem
    (DB) INFO: TVV1 created #20091001110304
    <br>
    (DB) INFO: TVV1 deleted/truncated #20091001110304
    <br>
    (IMP) INFO: import of TVV1 completed (0 rows) #20091001110304
    <br>
    (DB) ERROR: DDL statement failed<br>
    (ALTER TABLE "TVV1" DROP PRIMARY KEY )<br>
    DbSlExecute: rc = 99<br>
      (SQL error -539)<br>
      error message returned by DbSl:
    Table TVV1 in R3E04DATA does not have a primary or unique key. MSGID= Job=015908/SAPINST/QJVAEXEC
    Your inputs will help a lot.
    Regards,
    Prasad

    Hello,
    We are doing an installation of SAP NW 7.01 SR1 on V6R1.
    <br>
    We were getting error in SAPAPPL2.TSK.bck we merged the files with following command:R3load --merge_only <TSK file> and refering sap note:Note 455195 - R3load: Use of TSK files.
    <br>
    We are again getting error in following steps:
    <br>
    sapinst.log
    <br>
    <br>WARNING 2009-09-30 23:25:28.477
    Execution of the command "Y:\QOpenSys\QIBM\ProdData\JavaVM\jdk14\64bit\bin\java -classpath migmon.jar -showversion -Xmx1024m com.sap.inst.migmon.imp.ImportMonitor -sapinst" finished with return code 103. Output:
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)
    IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 OS400 ppc64-64 j9ap64142sr13-20090310 (JIT enabled)
    J9VM - 20090309_31291_BHdSMr
    JIT  - 20090210_1447ifx1_r8
    GC   - 200902_24)
    I<br>mport Monitor jobs: running 1, waiting 27, completed 0, failed 0, total 28.
    <br>Loading of 'SAPNTAB' import package: OK
    <br>Import Monitor jobs: running 0, waiting 27, completed 1, failed 0, total 28.
    Import Monitor jobs: running 1, waiting 26, completed 1, failed 0, total 28.<br>
    Import Monitor jobs: running 2, waiting 25, completed 1, failed 0, total 28.<br>
    Import Monitor jobs: running 3, waiting 24, completed 1, failed 0, total 28.<br>
    Loading of 'DOKCLU' import package: OK
    Import Monitor jobs: running 2, waiting 24, completed 2, failed 0, total 28.<br>
    Import Monitor jobs: running 3, waiting 23, completed 2, failed 0, total 28.<br>
    Loading of 'SAPAPPL1' import package: OK
    Import Monitor jobs: running 2, waiting 23, completed 3, failed 0, total 28.<br>
    Import Monitor jobs: running 3, waiting 22, completed 3, failed 0, total 28.<br>
    Loading of 'SAPAPPL2' import package: ERROR
    Import Monitor jobs: running 2, waiting 22, completed 3, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 21, completed 3, failed 1, total 28.<br>
    Loading of 'DD03L' import package: OK
    Import Monitor jobs: running 2, waiting 21, completed 4, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 20, completed 4, failed 1, total 28.<br>
    Loading of 'SCPRSVALS' import package: OK
    Import Monitor jobs: running 2, waiting 20, completed 5, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 19, completed 5, failed 1, total 28.<br>
    Loading of 'SAPSDIC' import package: OK
    Import Monitor jobs: running 2, waiting 19, completed 6, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 18, completed 6, failed 1, total 28.<br>
    Loading of 'SCPRVALS' import package: OK
    Import Monitor jobs: running 2, waiting 18, completed 7, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 17, completed 7, failed 1, total 28.<br>
    Loading of 'SAPSSRC' import package: OK
    Import Monitor jobs: running 2, waiting 17, completed 8, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 16, completed 8, failed 1, total 28.<br>
    Loading of 'FUPARAREF' import package: OK
    Import Monitor jobs: running 2, waiting 16, completed 9, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 15, completed 9, failed 1, total 28.<br>
    Loading of 'TODIR' import package: OK
    Import Monitor jobs: running 2, waiting 15, completed 10, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 14, completed 10, failed 1, total 28.<br>
    Loading of 'SEOSUBCODF' import package: OK
    Import Monitor jobs: running 2, waiting 14, completed 11, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 13, completed 11, failed 1, total 28.<br>
    Loading of 'E071K' import package: OK
    Import Monitor jobs: running 2, waiting 13, completed 12, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 12, completed 12, failed 1, total 28.<br>
    Loading of 'SAPPOOL' import package: OK
    Import Monitor jobs: running 2, waiting 12, completed 13, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 11, completed 13, failed 1, total 28.<br>
    Loading of 'SAPSPROT' import package: OK
    Import Monitor jobs: running 2, waiting 11, completed 14, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 10, completed 14, failed 1, total 28.<br>
    Loading of 'SAPSDOCU' import package: OK
    Import Monitor jobs: running 2, waiting 10, completed 15, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 9, completed 15, failed 1, total 28.<br>
    Loading of 'SAPCLUST' import package: OK
    Import Monitor jobs: running 2, waiting 9, completed 16, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 8, completed 16, failed 1, total 28.<br>
    Loading of 'SAPSLOAD' import package: OK
    Import Monitor jobs: running 2, waiting 8, completed 17, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 7, completed 17, failed 1, total 28.<br>
    Loading of 'SAPSLEXC' import package: OK
    Import Monitor jobs: running 2, waiting 7, completed 18, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 6, completed 18, failed 1, total 28.<br>
    Loading of 'SAPUSER' import package: OK
    Import Monitor jobs: running 2, waiting 6, completed 19, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 5, completed 19, failed 1, total 28.<br>
    Loading of 'SAPDDIM' import package: OK
    Import Monitor jobs: running 2, waiting 5, completed 20, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 4, completed 20, failed 1, total 28.<br>
    Loading of 'SAPDFACT' import package: OK
    Import Monitor jobs: running 2, waiting 4, completed 21, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 3, completed 21, failed 1, total 28.<br>
    Loading of 'SAPDODS' import package: OK
    Import Monitor jobs: running 2, waiting 3, completed 22, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 2, completed 22, failed 1, total 28.<br>
    Loading of 'SAPUSER1' import package: OK
    Import Monitor jobs: running 2, waiting 2, completed 23, failed 1, total 28.<br>
    Import Monitor jobs: running 3, waiting 1, completed 23, failed 1, total 28.<br>
    Loading of 'SAP0000' import package: OK
    Import Monitor jobs: running 2, waiting 1, completed 24, failed 1, total 28.<br>
    Loading of 'SAPAPPL0' import package: OK
    Import Monitor jobs: running 1, waiting 1, completed 25, failed 1, total 28.<br>
    Loading of 'SAPSSEXC' import package: OK
    Import Monitor jobs: running 0, waiting 1, completed 26, failed 1, total 28.<br>
    <br>
    WARNING[E] 2009-09-30 23:25:28.524
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log,
    <br>
    ERROR 2009-09-30 23:25:28.914
    FCO-00011  The step runMigrationMonitor with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR .
    <br>
    <br>import_monitor.log.
    <br>****************************************************************************************************************************************************
    <br>INFO: 2009-09-30 23:26:33 com.sap.inst.migmon.LoadTask run
    Loading of 'SAP0000' import package is successfully completed.
    <br>
    INFO: 2009-09-30 23:30:31 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPAPPL0' import package is successfully completed.
    <br>
    INFO: 2009-09-30 23:31:16 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPSSEXC' import package is successfully completed.
    <br>
    WARNING: 2009-09-30 23:31:31
    Cannot start import of packages with views because not all import packages with tables are loaded successfully.
    WARNING: 2009-09-30 23:31:31
    1 error(s) during processing of packages.
    INFO: 2009-09-30 23:31:31
    Import Monitor is stopped.
    <br>*************************************************************************************************************************************************
    <br>SAPAPPL02.LOG
    <br>**************************************************************************************************************************************************
    <br>TVV1 in *LIBL type *FILE not found. MSGID= Job=015908/SAPINST/QJVAEXEC
    (IMP) INFO: a failed DROP attempt is not necessarily a problem
    (DB) INFO: TVV1 created #20091001110304
    <br>
    (DB) INFO: TVV1 deleted/truncated #20091001110304
    <br>
    (IMP) INFO: import of TVV1 completed (0 rows) #20091001110304
    <br>
    (DB) ERROR: DDL statement failed<br>
    (ALTER TABLE "TVV1" DROP PRIMARY KEY )<br>
    DbSlExecute: rc = 99<br>
      (SQL error -539)<br>
      error message returned by DbSl:
    Table TVV1 in R3E04DATA does not have a primary or unique key. MSGID= Job=015908/SAPINST/QJVAEXEC
    Your inputs will help a lot.
    Regards,
    Prasad

  • When I plug my headphones into the headphone/optical out jack programs hang

    I have an iMac 20 inch LCD. On the back their is a jack with a picture of headphones, but it is also labeled as "optical out". I plug my headphones in and they work. Great. That is not my problem today.
    My problem is that whenever I plug the headphones in or unplug them, iTunes (and other apps using audio) hangs and when I try to adjust the volume with the keyboard buttons nothing happens for 15 seconds or more and then the volume changes, not that anything is able to play. If I wait for a minute or so then all my applications start working fine again and I am able to hear my music and adjust the volume.
    What in the world is going on?
    1.8 Ghz G5 1.25GB RAM   Mac OS X (10.3.9)  

    Thank you. That is good information.
    Does this mean that there is nothing I can do about the delay? When I think of a delay, I think of maybe 10 seconds. I am having to wait for a minute or more for my audio to switch. While I wait, I have no audio and any audio program hangs. Is there a setting I can change? It seems rather ridiculous that I have to wait so long just to switch from internal speakers to headphones.
    It is like this on other Mac machines? Or it is just my iMac? I hate to compare Mac to Windows, but on Windows or Linux computers the switch is instantaneous.

  • Could not find main class. Program will now exit. *SIGH*.....

    At first I thought it was just my own programs that I created with netbeans that had this problem; however, even the demo programs under the sdk folder give me this problem when i try to run them. Virtual Machine Loader will just come up with pop up saying "Could not find the main class. Program will not exit"
    I am a fairly competent programmer, not new to java. But I am new to guis in java, and using netbeans to create them. The program I am creating gives me this error with javaw and with java it will tell me NoClassDef for grouplayout. I checked the manifest file it looks alright:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.0
    Created-By: 10.0-b19 (Sun Microsystems Inc.)
    Main-Class: desktopapplication2.DesktopApplication2
    Class-Path: lib/appframework-1.0.3.jar lib/swing-worker-1.1.jar lib/swing-layout-1.0.1.jar lib/ant-swing.jar lib/SwingSet2.jar lib/swing-layout-1.0.3.jar
    X-COMMENT: Main-Class will be added automatically by build
    }(brackets not included)
    I am sort of lost.... Do I need to install ant separately?
    I feel like there may be some classpath issues?
    I have java 1.6 update 4 and netbeans 6.0
    I am completely lost I have been working on fixing this for the past 2 or 3 days now, and reading up all the information.
    Note: This is just a standard desktop application.
    Also I just thought of something. If I have install the development kit do I also need to install the framework or whatever for 6.0 separately? Meaning installing the latest version of jvm. Sorry if this isn't clear i forgot what it is called.
    Sorry if this sounds like a beginner question or something, but I am going crazy. If i am having this much trouble running my own program i really hope distributing files won't be this much of a nightmare....

    Please become familar with resources at the NetBeans site. There are tutorials and FAQs that cover usage of NB, and how to do things like you're asking.
    See my reply in this thread for more information
    http://forum.java.sun.com/thread.jspa?threadID=5270931&tstart=0

  • Regarding how to find out a program is User Exit/executable

    Hi,
    Can anybody tell me how can we find wether a particular program is used in executable program (or) user exit program?
    One thing we can find out is wether the program type is 'I' or 'R' etc..
    Thanks in advance.
    Thanks,
    Deep.

    Hi...
    See the following links..
    it helps you a lot..
    how can we C the USER_EXITS in Z programs
    how can we find the list of user exits for a transaction
    How to find the active user exits in my client
    How to find user exits for a transaction
    Hope it helps you...
    Let me know if u have any more doubt...
    Reward points if useful......
    Suresh.......

  • Problem with program hanging randomly on certain commands from win 7 pro client to SB Server

    Having a problem with program hanging randomly on certain commands from Win-7 Pro Client to SB Server Both 64-Bit
    Five other slower XP-Pro 32 Bit systems though they are older and slower systems do not seem to hang as readily if at all.
    It has been very frustrating as the Client-System, SB-Server and Program should work w/o any hitches, but this seems to work fine @ times and then hang randomly.
    Would appreciate any and all suggestions in assisting.... JimBAgde-MSS  

    You can try this, as I have had similar problems with another MS Access .MDB file and slow access before. This fixed my problem for me. On the slow computer, make sure the program is set to see the .mdb file via UNC path, not a mapped drive letter. ex.
    USE:  \\yourserver\shared\dental\file.mdb
    DO NOT: S:\\shared\dental\file.mdb
    hope this helps

  • Upgraded to FCPX 10.2 - Program hanging

    I updated to 10.2 and now the program hangs anytime I try to play a clip.
    Anyone else dealing with this?
    MacBook Pro (Retina, 13-inch, Late 2013)
    2.8 GHz Intel Core i7
    OSX 10.10.3

    Open System Preferences.

  • Program hangs when instantiating a DataSource

    Hello everyone !
    I am sorry to disturb you with a silly question. I have done some research but I am unable to solve this by myself. I am a JMF beginner, and I am trying to stream wav files with the RTP protocol. Sadly, I can't get to create a DataSource, because the program hangs here :
    public Streamer(String rtpaddress, String filepath)
            mediaLocator = new MediaLocator(rtpaddress);
            System.out.println("-> Created media locator: '" +
                           mediaLocator + "'");
              try
                   URL url;
                   url = new URL("http://127.0.0.1/sound.wav");
                   DataSource source = Manager.createDataSource(
                          new MediaLocator(url)); // Program hangs here!
                  System.out.println("-> Created data source: '" +
                                         url + "'");
                 // set the data source.
                 setDataSource(source);
                 System.out.println("-> Set the data source on the transmitter");
                 // start the processor
                 mediaProcessor.start();
                 // open and start the data sink
                 dataSink.open();
                 dataSink.start();
              catch (Exception e)
                    { // Exceptions, etc... }I am quite sure my mistake is obvious : still, I have spent a lot of time trying to figure it out and I haven't.
    Thanks in advance for your help !

    Welcome to the Sun forums.
    >
    I am sorry to disturb you with a silly question. I have done some research but I am unable to solve this by myself. I am a JMF beginner, and I am trying to stream wav files with the RTP protocol. Sadly, I can't get to create a DataSource, because the program hangs here :>'here' where exactly?
    Does the output include any or all of..
    "-> Created media locator: '" + mediaLocator + "'"
    "-> Created data source: 'http://127.0.0.1/sound.wav'"
    "-> Set the data source on the transmitter"?
    >
              catch (Exception e)
    { // Exceptions, etc... }
    // Exceptions, etc... ?
    What happens here? An ideal situation would [dump the stack trace|http://pscode.org/javafaq.html#stacktrace]..
    e.printStackTrace();

  • [1.1.2.25.79] Program hangs after starting long runnin SQL with parameters

    Hello Forum,
    I'm currently tuning some SQLs with parameters that run some minutes. When I enter the SQL in the worksheet and press F9, SQL Developer asks for the parameters. But after clicking "Apply" (or whatever it is called in the english version, I'm using german ;-)
    I get the elapsed time of 0.018 seconds displayed and the whole program hangs until the SQL is completed. The elapsed time is not updated so I don't get the real elapsed time.
    I run SQL Developer against an Oracle 9.2 Database on Win2k. The client runs WinXP.
    I hope this is not a double post but searching the forum for "parameters" gave too many hits to check. ;-)
    Regards,
    dhalek

    Sqldev hangs when issuing an action that requires the previous action to be completed first.
    Sqldev could open a new connection for this, or at least display a message telling the action isn't possible until the previous one completes, instead of just hanging. Vote for the requests for this on the SQL Developer Exchange if you want this getting addressed sooner.
    Thanks,
    K.

  • Program won't exit when reading in gif?!?

    Hi,
    I have written a class (see code below) that has a single method to read in two gifs, superimpose them, add text and then write the result to a jpeg file.
    I test this in a simple main method (again see below). javac test.java, java test
    The problem is that the program will not terminate. The final System.out.println() command is displayed in the terminal. It has to be halted with ctrl+c.
    I have traced the problem to the image being read in! If I comment out the images being read in - in the MapMaker constructor (also commenting out where the images are used) - the program terminates correctly.
    There are no exceptions flying around either!
    Any ideas? I guess some system resource isn't being cleared, but don't know how to do this!
    I can't use System.exit() because this class will be used in a .jsp page that will use the jpeg created!
    Thanks in advance
    Matt
    MapMaker.java:
    import java.awt.*;
    import java.awt.event.*;
    import com.sun.image.codec.jpeg.*;
    import java.awt.image.BufferedImage;
    import java.awt.image.DataBuffer;
    import java.awt.geom.AffineTransform;
    import java.io.*;
    import javax.swing.*;
    import java.awt.MediaTracker;
    import java.awt.Canvas;
    public class MapMaker extends Canvas implements java.io.Serializable{
    private Image arrow;
    // Read in the 2 .gif files of the arrow and the map
    public MapMaker() {
    // When commenting out these lines, the program works fine
    arrow = Toolkit.getDefaultToolkit().getImage ("arrow2.gif");
    try {
    MediaTracker tracker = new MediaTracker(this);
    tracker.addImage(arrow, 0);
    tracker.waitForID(0);
    } catch (InterruptedException e) {
    System.out.println("Interrupted exception caught ");
    e.printStackTrace();
    // createMap generates a .jpg file fo the map with an
    // arrow and wind direction
    public void createMap() {
    // Create a new Buffered image and associated Graphics 2D object
    // Draw to the Graphics 2D object
    BufferedImage bi = new BufferedImage(200,200,BufferedImage.TYPE_INT_RGB);
    Graphics2D big = bi.createGraphics();
    // Set the rendering hints
    big.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
    RenderingHints.VALUE_ANTIALIAS_ON);
    big.setRenderingHint(RenderingHints.KEY_RENDERING,
    RenderingHints.VALUE_RENDER_QUALITY);
    big.setBackground(Color.white);
    big.clearRect(0, 0, 200, 200);
    // Here I would add the images to big
    // Add text
    big.setFont(new Font("Dialog", Font.BOLD, 12));
    big.setColor(Color.green);
    big.drawString("12", 138, 128);
    try {
    // write the buffered image to a jpg file
    File file = new File("test.jpg");
    FileOutputStream out = new FileOutputStream(file);
         // encodes bi as a JPEG data stream
    JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
    JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam(bi);
    param.setQuality(1.0f, false);
    encoder.setJPEGEncodeParam(param);
    encoder.encode(bi);
    out.close();
    } catch (Exception ex) {
    System.out.println("Failure to write JPEG file");
    return;
    } // createMap
    // This tests the above class
    import MapMaker;
    import java.io.IOException;
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.math.BigDecimal;
    public class test {
    public static final void main( String args[] ) {
    try{
    System.out.println("Making new MapMaker object");
    MapMaker mapMaker = new MapMaker();
    System.out.println("Making new map");
    mapMaker.createMap();
    System.out.println("Finished making the new map");
    catch (Exception e){
    System.out.println("Top level exceptions\n");
    e.printStackTrace();
    System.out.println("All the way");
    return;
    }

    If anyones interested. It turns out that this is a feature!
    When windows resources (i.e. reading in an image) are used. Java programs won't exit automatically.
    They have to be closed with System.exit()

  • FUNCTION SXPG_COMMAND_EXECUTE External program terminated with exit code 2

    HI,
    I am using the below Function Module
    gv_ap = '/nfs/ficheiros/FicheiroExtraccaoSIF/outbox'
    CALL FUNCTION 'SXPG_COMMAND_EXECUTE'                 
          EXPORTING                                       
               commandname                   = 'Z_LS'     
               additional_parameters         = gv_ap      
          TABLES                                          
               exec_protocol                 = t_fich     
          EXCEPTIONS                                      
               no_permission                 = 1          
               command_not_found             = 2          
               parameters_too_long           = 3          
               security_risk                 = 4          
               wrong_check_call_interface    = 5          
               program_start_error           = 6          
               program_termination_error     = 7          
               x_error                       = 8          
               parameter_expected            = 9          
               too_many_parameters           = 10         
               illegal_command               = 11         
               wrong_asynchronous_parameters = 12         
               cant_enq_tbtco_entry          = 13         
               jobcount_generation_error     = 14         
               OTHERS                        = 15.        
    with this folder '/nfs/ficheiros/FicheiroExtraccaoSIF/outbox' return the error:
    /nfs/ficheiros/FicheiroExtraccaoSIF/outbox not found and
    External program terminated with exit code 2
    but if i map other directory the function return the files and folders that directory have.
    Anyone could help me.
    Thanks and Regards.
    Eduardo Paiva

    Hi,
    Yes i have read access to this directory and the command 'Z_LS' exists.
    Best Regards,
    Eduardo Paiva

  • Java Program Hangs

    Hi,
    I am running into a strange problem. We have scheduled a Java program to using BQPlus scheduler. The program hangs some time at a particular statement, while most of the time it works. If we run it directly from command line it always works.
    The statement where program hangs some time uses the put method of Properties object. I do not see any thing there which should make the program hang (Database connection or file read write).
    I am using java version "1.4.2_02" on AIX
    Any help on how to further investigate would be great!
    Abhinav

    Here is the code that hangs. It hangs on the following statement:
    props.put(APIConst.TAG_JDBC_URL, ApplicationProperties.JREPORT_TAG_JDBC_URL);
    ReportConfig reportConfig= ReportConfigFactory.instance.getReportConfig(repBean.getReportName());
              if(reportConfig==null){
                   throw new IllegalStateException ("The report configuration for " +
                             "the name=" + repBean.getReportName() + " " +
                             "could not be found. Please " +
                             "check the reportconfig.xml file");
              Properties props = new Properties();
              String pdfFileName;
              if(logger.isDebugEnabled()){
                   logger.debug("Report is going to be generated for config=:\n \t" + 
                             reportConfig.getName());
              logger.info("Before putting properties values");
              props.put(APIConst.TAG_JDBC_DRIVER,ApplicationProperties.JREPORT_TAG_JDBC_DRIVER);
              logger.info("Setting property value for ApplicationProperties.JREPORT_TAG_JDBC_DRIVER "+ApplicationProperties.JREPORT_TAG_JDBC_DRIVER);
              props.put(APIConst.TAG_JDBC_URL, ApplicationProperties.JREPORT_TAG_JDBC_URL);
              logger.info("Setting property value for ApplicationProperties.JREPORT_TAG_JDBC_URL "+ApplicationProperties.JREPORT_TAG_JDBC_URL);
              props.put(APIConst.TAG_DB_USER,ApplicationProperties.JREPORT_TAG_DB_USER);
              logger.info("Setting property value for ApplicationProperties.JREPORT_TAG_DB_USER "+ApplicationProperties.JREPORT_TAG_DB_USER);
              props.put(APIConst.TAG_DB_PSWD,ApplicationProperties.JREPORT_TAG_DB_PSWD);          
              logger.info("Setting property value for ApplicationProperties.JREPORT_TAG_DB_PSWD "+ApplicationProperties.JREPORT_TAG_DB_PSWD);
              props.put(APIConst.TAG_TASK_CLASS, APIConst.TASK_TO_FILE);     
              logger.info("Setting property value for APIConst.TASK_TO_FILE "+APIConst.TASK_TO_FILE);
              props.put(APIConst.TAG_CATALOG, reportConfig.getCatalog());
              logger.info("Setting property value for reportConfig.getCatalog() "+reportConfig.getCatalog());
              props.put(APIConst.TAG_REPORT, reportConfig.getCls());
              logger.info("Setting property value for reportConfig.getCls() "+reportConfig.getCls());
              props.put(APIConst.TAG_TO_DISK, String.valueOf(true));
              logger.info("Setting property value for String.valueOf(true) "+String.valueOf(true));
              props.put(APIConst.TAG_TO_PDF, String.valueOf(true));
              logger.info("Setting property value for String.valueOf(true)"+String.valueOf(true));
              //Set to disk type is "1" which means publish to real disk path, default is "0"
              //which means publish to JReport Server resource path
              logger.info("After setting the db related properties");
              //check for printer setting values

Maybe you are looking for

  • Albums there...then not there in iTunes Music Store???

    Say, I was shopping in iTunes and noticed that an album I purchased last week, "Workin' with the Miles Davis Quintet," isn't there today. Moreover, an album that iTunes suggested to me, "Cookin' with the Miles Davis Quintet" isn't there either. Has a

  • Change position Contact or Home text in Flash Gallery

    Perhaps I overlooked a possibillity, but I want to change the position of the Contact (or Home) text (in de upper right corner of a Lightroom Flash Gallery) to the left upper corner. Or to the center. Anyone any idea how to realise this? Thanks in ad

  • FRM 40034: cannot attach the library file

    I got this message when try to run the DEVELOPER 2000 demo program after installed it on a NTserver,how can i solve this problem? thanks null

  • Intercompany process u0096 MM u0096 SD

    Intercompany process – MM – SD We need to implement a fluw than consist in: The subsidiary A create a Purchases order to other company B of the same group. We should like this purchases order creates automatically a sales order at B Company. Also the

  • Add-on installed in PS cc but not in PS cc 2014 ?

    Add-on installed in PS cc but how transfer this to PS cc 2014 ?