Process never ends

Hi,
I'm developing -fixing somebody application- a SuperWaba application. SuperWaba is a poor minor release of Java Runtime. I'm transforming SQL Scripts into PDB files -i hate PDB files.
I make a Class that extends MainWindow that is called by Waba Applet. Waba Applet extends Java Applet -I hope so. When I run my class from the shell (cmd, over a Windows XP), an Applet Window appears and execute without erros my script transforming a SQL script in one or multiple pdb files (depending number of create sentences).
But, when i call my script from a PHP Script -i really hate this app, PHP + Java + ASP + Visual Basic ... can you believe it ? - the PHP Script launch Java, but Java app never ends blocking my PHP script. I think there is a problem in Applet Window creation, because there is no window or display to launch the app.
There is a way to run an Applet in background with no visualization ?
THX 4 Ur HELP

i really appreciate your help but i forgot to explain the problem
First, i decide to create a simple Java App that uses the PDBDriver JAR, but the #~"$%" Jar uses something from the Applet. When I run my class it launch these error.
java.lang.NullPointerException
        at java.applet.Applet.getCodeBase(Unknown Source)
        at waba.applet.JavaBridge.openOutputStream(JavaBridge.java:533)
        at waba.applet.JavaBridge.writeBytes(JavaBridge.java:588)
        at waba.io.NativeMethods4JDK.catalogClose(NativeMethods4JDK.java:824)
        at waba.io.NativeMethods4JDK$CatalogBag.finalize(NativeMethods4JDK.java: 674)
        at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
        at java.lang.ref.Finalizer.runFinalizer(Unknown Source)
        at java.lang.ref.Finalizer.access$100(Unknown Source)
        at java.lang.ref.Finalizer$3.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
#2- url: file://localhost/nullfile.pdb
found under localhost: file://localhost/nullfile.pdb
file not found

Similar Messages

  • I created a new administrator USER account. I deleted the original one but the process never ends. It's been 3 days now.

    I created a new administrator USER account. I deleted the original one but the process never ends. It's been 3 days now. And I can't close preferences window or turn off the computer.
    It's stays in the "deleting" but I can't cancel it or close the window.
    What can I do?

    Here are two screen shots to show you what I am seeing.  The first screen shot shows it allowing me to select (highlighted in blue) my admin user (which is what I am locced in as).  The second screen shot shows it allowing me to select the "Guest" user (highlighted in blue).  However when I click on the user "Orion" nothing happens.  It will not change to highlight that user.

  • Controlling "CMD.EXE" via Process - Never ends?

    I'm trying to write a Java program that parses a text file & executes various command promt commands (I'm trying to keep it platform independant, because I know Lin/Un/nix users who would find this userful as well). I found a small tutorial on the web which gave an example of:
    Process p = Runtime.getRuntime().exec("<YOUR COMMAND HERE>");
    BufferedReader stdInput = new BufferedReader(new InputStreamReader(p.getInputStream()));
    BufferedWriter stdOutput = new BufferedWriter(new OutputStreamWriter(p.getOutputStream()));
    BufferedReader stdErr = new BufferedReader(new InputStreamReader(p.getInputStream()));
    Now; I have inserted "cmd.exe" for <YOUR COMMAND HERE>. If I write a command out to stdOutput, the first command executes, but not subsequent ones. Small segment looks like:
    while (line != null) {
    stdOutput.write("mkdir \"" + new_folder + "\"\n");
    stdOutput.flush();
    line = file_reader.readLine();
    This is an abridged version of my ode, but thats the problem. I get the first folder created, the process never terminates and I've tried emptying out the stdInput & stdErr bufferes, but it still won't execute subsequent commands issued to stdOutput.
    Can someone help me? I'd rather not write this all to a .BAT/.sh file :(

    I am quite perplexed now! I have just tried the following code on my PC, and have ended up with the most annoying two folders under my C:\ drive!
    import java.io.*;
    public class Cmd {
        public static void main(String[] args) {
            try {
                Process p = Runtime.getRuntime().exec("cmd.exe");
                BufferedReader stdInput = new BufferedReader(new InputStreamReader(p.getInputStream()));
                BufferedWriter stdOutput = new BufferedWriter(new OutputStreamWriter(p.getOutputStream()));
                BufferedReader stdErr = new BufferedReader(new InputStreamReader(p.getInputStream()));
    //            System.out.println(stdInput.readLine());
    //            System.out.println(stdInput.readLine());
    //            System.out.println(stdInput.readLine());
                stdOutput.write("mkdir \"c:\\folder1\"\n");
                stdOutput.flush();
    //            System.out.println(stdInput.readLine());
                stdOutput.write("mkdir \"c:\\folder2\"\n");
                stdOutput.flush();
    //            System.out.println(stdInput.readLine());
            } catch (IOException e) {
                e.printStackTrace();
    Perlexion over! Since you had your code in a loop I tried the same. I saw that in a loop creating 10 folders, the code created only two. See below the code that fixed this problem:
    import java.io.*;
    public class Cmd {
        public static void main(String[] args) {
            try {
                Process p = Runtime.getRuntime().exec("cmd.exe");
                BufferedReader stdInput = new BufferedReader(new InputStreamReader(p.getInputStream()));
                BufferedWriter stdOutput = new BufferedWriter(new OutputStreamWriter(p.getOutputStream()));
                BufferedReader stdErr = new BufferedReader(new InputStreamReader(p.getInputStream()));
                System.out.println(stdInput.readLine());
                System.out.println(stdInput.readLine());
                System.out.println(stdInput.readLine());
                stdOutput.write("mkdir \"c:\\folder1\"\n");
                stdOutput.flush();
                System.out.println(stdInput.readLine());
                stdOutput.write("mkdir \"c:\\folder2\"\n");
                stdOutput.flush();
                System.out.println(stdInput.readLine());
            } catch (IOException e) {
                e.printStackTrace();
    }Commenting out different combinations of System.outs gives different results.
    In summary: it is important that you match the correct number of output lines from the CMD.EXE output stream with readLines.
    I didn't like how the wording came out, but you get the gist.
    HTH,
    Manuel Amago.

  • Burning process never ends

    When I try to burn a CD, everything works fine until it begins "finishing" the disc. This process never actually finishes. I've let it run for more than an hour. I've ruined a handful of CDs already

    Had that a while ago, too with an old version of iTunes. I do not know why this happened. Although iTunes told me that it is still finishing the disc, I stopped that process and got the disc out of it's drive and I was surprised that the disc played fine.
    If you use an old version, try to update your iTunes.
      Windows XP   iPod mini 2nd gen.

  • Should NTP Processes Never End?

    For my NTP needs, I've installed openntpd, removed /etc/cron.hourly/adjtime, and added this line to my crontab,
    * * * * * ntpd -s && hwclock -w > /dev/null 2>&1 && rm /var/lib/hwclock/adjtime
    It works like a charm; however, I have noticed that the ntpd processes never seem to complete. Here's a snippet from my "ps aux" output,
    root 11746 0.0 0.0 18196 468 ? Ss 02:10 0:00 ntpd -s
    ntp 11764 0.0 0.0 13984 860 ? S 02:11 0:00 ntpd -s
    root 11769 0.0 0.0 18196 344 ? Ss 02:11 0:00 ntpd -s
    ntp 11780 0.0 0.0 13984 860 ? S 02:12 0:00 ntpd -s
    root 11785 0.0 0.0 18196 340 ? Ss 02:12 0:00 ntpd -s
    ntp 11796 0.0 0.0 13984 860 ? S 02:13 0:00 ntpd -s
    root 11801 0.0 0.0 18196 344 ? Ss 02:13 0:00 ntpd -s
    ntp 11916 0.0 0.0 13984 860 ? S 02:14 0:00 ntpd -s
    And if I pipe the ps aux output through grep and wc, I see that there are over a thousand unended ntp-related processes after running the machine for 9 hours,
    [root@reformedtube ~]# uptime ; ps aux | grep ntp | wc -l
    02:25:19 up 9:01, 1 user, load average: 0.06, 0.02, 0.00
    1084
    Does anyone have any ideas?

    Yes you are completely right, I normally run it in a terminal so I forgot about that (I should have read the man page better ).
    You would need to do something like:
    ntpd -d -s & sleep 5 && pkill -n ntpd
    EDIT: or even:
    ntpd -d -s & sleep 5 && kill $!
    Last edited by quigybo (2010-06-21 11:39:01)

  • Is the iTunes Match Updating (Library) Process Never Ending For You Too?

    I think that I added about 1200 songs to my iTunes Library over the past 3 days. A lot of those songs are obscure and are certainly NOT in the iTunes store so it will have to upload them, but this latest updating process is going so slow it seems like it might be stuck. I rebooted my system and started iTunes again. Maybe this will help. What's odd is that the process seems to linger near the end of 'Step 2: Matching Your Songs With Songs in The iTunes Store' indefinitely--which seems odd. I would think that if it was an 'uploading issue' that 'Step 3: Uploading artwork and remaining songs' would be where the process would hang up and not on Step 2, which should seemingly fly by.
    Has anyone else experienced this hang nail with iTunes Match?
    We have good speed broadband (cable supplied) Internet service through Time Warner.

    ST67 wrote:
    Going forward, I think Apple needs an iCoud/iTunes Match 'System Status Page' that users can check before they undergo big uploads at home.. Dropbox and many other Cloud-Based Services do that and I think Apple could certainly benefit from cluing in their customer base in Real Time.
    http://www.apple.com/support/icloud/systemstatus/
    But notice the date and status.  I also heard from phone support that this is really for iCloud and not necessarily iTunes Match itself.   I agree that they should extend this out to iTM as well - would make a lot of sense and would avoid the confusion we are experiencing.

  • PFI Compilation never ends

    Hi,
    I have been developping my app since 2 month now and I never had any problem with creating test ipas (ie:target = ipa-test). But when I decided to create my final build for the app store (target = ipa-app-store) the process never ends.
    I run the compilation and it seems to be doing something (I can see the temp files and hear the fans) but it just doesn't stop. I tried many times and usually kill the process after an hour or so.
    I know that other people had a similar problem but I didn't find any official answer for it. Is it a bug? Does it have a workaround?
    I'm on a Mac with Snow Leopard and tried to build the ipa from both Flash CS5 and a custom ant build.
    I would really appreciate some feedback about it.
    Cheers,
    Ben

    First and foremost, compiling for iOS takes a lot of resources, it cannot be compared to packaging for Android, because the process is completely different, AIR on Android runs interpreted code, while on iOS it is native code, before deciding the compilation is stuck you should check the java/adt processes aren't doing anything. It's been said future AIR versions will reduce iOS compilation times.
    Second, I've seen iOS compilation fail and take forever only when using certain ANEs and Flash Builder versions. FB doesn't take too well certain ANE warnings and errors, and instead of ignoring or finishing the process showing some alert, it just sits there making you wait forever. If you are using ANEs in your project, you should isolate the problematic one, and then determine what may be the cause... if some problem with the iOS SDK used with your AIR SDK, if the ANE is causing some unimportant warnings but your IDE doesn't like them, etc.

  • When I open iTunes , iTunes Match started to process step 1. Always same process and never ending

    When I open iTunes , iTunes Match started to process step 1. Always same process and never ending...
    I tried some suggestions but I cant fix my problem. Do you have any knowladge about this problem?

    For the past few months, and several iTunes upgrades, iTunes Match spends some time in Step 1 "Gathering" and sending information to Apple. Then Step 2 runs through the first 2092 of 2094 pretty quickly. Jumps to 2094. And then immediatly back to Step 1 again.
    Repeat every 5 minutes or so until Match is manually turned off.

  • Warp Stabilizer analysis process stopping and never ends (AE CC 2014)

    I'm running the latest 2014 AE CC and I've been getting this issue running Warp Stabilizer on my clips.  Intermittently, warp stabilizer analysis process would stop at certain frame and never ends.  I have to quit / kill AE.
    I'm running AE on 15" retina macbook pro 2013 with dedicated nvidia 750M video card, 16GB of RAM and plenty of disk space (over half a terabyte left), running Yosemite 10.10.2.
    Has anyone experienced this?  How do I solve this issue?

    "During the analysis and solving stages, the Warp Stabilizer effect and 3D Camera Tracker effect use memory outside of the pool shared by After Effects and Premiere Pro. Therefore, you can allocate more memory to the analysis and solving phases for these effects by increasing the RAM Reserved For Other Applications value in the Memory & Multiprocessing preferences."
    Thank you for that link.  I'm going to check the "RAM Reserved For Other Applications" and increase the value if it's too low.

  • Loading plsql_proxy.jar takes so long..never ends

    Hello people,
    I´m deploying a proxy cliente using command,
    jpub -u SCOTT/SCOTT -sysuser SCOTT/SCOTT -proxywsdl=any_wsdl -endpoint=any
    then the executing process stay in Load plsql_proxy.jar for a long time. it looks like never ends.
    plsql_wrapper.sql
    plsql_dropper.sql
    plsql_grant.sql
    plsql_revoke.sql
    Executing plsql_dropper.sql
    Executing plsql_wrapper.sql
    loading sqlj/lib/dbwsclient.jar (about 5 minutes)...
    Loading plsql_proxy.jar......................
    the execution process looks like stopped at this here and doesn´t throw any exception.
    I´ll be grateful the soon answer.
    Rodius
    anybody knows how long takes the proxy client generation process?

    I have this issue also, with images from my D70 (~6 megapixels) ... no solution, except that when it happens, quitting and re-launching Aperture seems to clear it up for a while, at least until it happens again.
    Given that you have almost twice the RAM and four times the CPU cores that I have, I suspect this is a software issue, and not one of insufficient hardware resources.  :-)

  • Initial Time Machine Backup never ends

    Hi all folks,
    I try to backup my PB12 Disc (120 GB) to a external 500 GB Disc, connected via FW400, but the backup never ends, I think.
    The backup starts with 100MB/min but after 20h (80GB are store to a external Disc) it slow down to 1MB/min.
    With the "Activity Monitor" I see only some disc activities and a "mds" and "mdworker" process use some cpu time only (more than 10%).
    Where can I get some detail information, a log file, about the Time Machine activity from.
    Thanks for any help,
    Lutz

    Hi all folks,
    the initial Backup ends after 2 days (nice to to see, :-(),
    but on the boot volume I can go the time walk only.
    I split my disc into two partitions, sorry.
    Bye, Lutz
    p.s.
    With CCC I spend 4-6 hours to back up my disks only (100GB).

  • Verity vspider.exe process never stops and sucks system resources

    I'm running a scheduled task to index a site on a Win2k3 server running CF8. I'm having a problem where the vspider.exe process never stops and sucks up system resources, slowing my whole server down. It actually is doing quite a bit of work... I'm directing the output into a log file, and I'm getting 300 K of information and it seems to be walking the site just fine. But it ends up not finishing the job and running forever. I have to open the task manager to terminate the process and then the server runs better.
    Any ideas?

    I have not found an answer to this problem, though it hasn't been a problem lately. I now send the output of the vspider.exe process to a log file and can check the status of the index job. I index nightly, so if the process is running at anytime, I can look at the results of the index job in my log file. This might give some clues. I have a feeling I had a corrupt index and vspider was choking. Try rebuilding your index from scratch.

  • Sync never ends

    I have a new 32mb Touch. I originally synced it while on vacation with PC #1, and it worked perfectly. Now I am home, and I have attempted to sync it with PC #2.
    I tried several times to sync to PC #2, and each time it would successfully transfer all (or most) of my media, but the sync process would never end.
    I am using iTunes 7.6.1.9, and my Touch is version 1.1.3 with Software Upgrade.
    I even went so far as to do a total restore of the Touch, but this doesn't seem to fix the problem.
    Any advice would be appreciated.

    I ended up calling Apple, and they had me completely reformat the iPod. This seemed to fix the problem.

  • UT acquisition never ends

    I have had thi issue in the past and
    TAC provided me a patch under bug id CSCtd49439 but I seem to
    have the same problem again
    I have this acquisition runnng since the 9th and it as never stopped and I don't know why it is showing 45855 hosts, the most we have less than 10000 hosts. Can anyone tell me what cuould be wrong with my server?
    I'm running LMS3.2 on Solaris 10.
    Acquisition status Running
    Acquisition type Major
    Acquisition start time 09 Oct 2010, 05:00:00 EDT
    Last Acquisition end time 08 Oct 2010, 07:44:01 EDT
    Number of acquisitions 1155
    Number of host entries 45855
    Number of duplicate MAC 21341
    Number of duplicate IP 89
    Number of CCM hosts 0
    Number of IP phone entries 0
    Last campus data collection completed at  11 Oct 2010, 12:14:33 EDT
    Campus data collection status  Idle

    A never-ending UT acquisition is not the same as the problem described by CSCtd49439.  That would also not account for an inflated number of end hosts.  Without knowing the exact details of the end hosts, I do know we had an old bug in Campus 4.x where UT would generate perpetual duplicates.  This was fixed in 4.0.11, but one would need to reinitialize the ANI database to remove the duplicates.  If this is an upgrade from LMS 2.6, then perhaps you still have old, stale data.  Running this command would fix that:
    NMSROOT/bin/perl NMSROOT/campus/bin/reintdb.pl -ut
    As for the never-ending UT, check to see if the UTMajorAcquisition process is still running.  If so, contact TAC, and they can walk you through the process to get a thread dump from this process.  That will help identify what the process is doing and whether or not this is some kind of deadlock, or a configuration issue.

  • Csimport that never ends

    Good morning,
    I am trying to import an ics calendar.
    This calendar has been export with csexport.
    The csexport takes a few seconds.
    But the csimport never ends (after several hours).
    There are 8000 events.
    A truss an the process show almost no nothing except:
    truss -p 16176
    brk(0x01B92320) = 0
    brk(0x01BA4320) = 0
    brk(0x01BB6320) = 0
    brk(0x01BC8320) = 0
    brk(0x01BDA320) = 0
    brk(0x01BEC320) = 0
    I have open call 70642348 because I am stuck.
    Would you know what I could do else to to import this ics file
    or to trace the problem?
    Thanks in advance for your help.

    Hi,
    I do not have other system, but I can provide you the ics file.
    You should immediatly see my problem.
    What I have find out also is that if I export with csexport rather than uwc,
    I do not have this problem although the files are very similar.It might be good to provide both .ics files on the Sun support call -- the calendar exported from uwc, and exported using csexport.
    Thanks.
    --Wei Yee                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for