Java.exe (j2re1.4.0) can't init C:\WINNT\system32\DDRAW.dll

Our app is running on jre 1.3.1_01. When we try j2re 1.4.0 we get the following dialog:
java.exe - DLL Initialization Failed
Initialization of the dynamic link library C:\WINNT\System32\ddraw.dll failed. The process is terminating abnormally.
It occurs when the application attempts to paint the splash screen for our server application. It also occurs with our client GUI.
This is the same for 6 different machines running Windows NT 4.0 service packs 5 and 6.
I don't want to make this a bug yet because it seems to work on my laptop with exactly the same software. We have sync'd the environment and verified the classpaths.

I've seen potentially related problems on NT4-SP6a with J2RE 1.4.2_01. I did not get the "can't init" error that you are discussing, but I have seen other problems related to "ddraw.dll". When I run Swing applications that use viewports, scrolling causes very bad repainting problems. I think this is related to "ddraw.dll" because of the "BIT_BLIT" optimization for repainting.
Also, when I ran the Java application after running some other sequence of applications (I have not been able to duplicate the startup sequence), Java crashed with the message below rather than repainting poorly. This crash was repeatable -- I repeated it four times with identical exception traces. The stack trace indicates that the failure is in "blitWindowGraphics", and the problem was detected inside of "ddraw.dll".
I'm including this in this thred in the hopes that somebody can find a thread of commonality and fix the root cause of these "ddraw.dll" problems.
NOTE: I have not found a workaround to the problems I'm having --- I cannot run Java GUI applications on this PC.
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x77132F58
Function=DllCanUnloadNow+0x665
Library=C:\WINNT\System32\ddraw.dll
Current Java thread:
     at sun.awt.windows.Win32Renderer.devCopyArea(Native Method)
     at sun.awt.windows.Win32SurfaceData.copyArea(Unknown Source)
     at sun.java2d.SunGraphics2D.copyArea(Unknown Source)
     at javax.swing.JViewport.blitWindowGraphics(Unknown Source)
     at javax.swing.JViewport.blitDoubleBuffered(Unknown Source)
     at javax.swing.JViewport.windowBlitPaint(Unknown Source)
     at javax.swing.JViewport.setViewPosition(Unknown Source)
     at com.sun.javaws.ui.general.GeneralUtilities$4.run(Unknown Source)
     at java.awt.event.InvocationEvent.dispatch(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.Dialog$1.run(Unknown Source)
     at java.awt.Dialog.show(Unknown Source)
     at com.sun.javaws.ui.general.GeneralUtilities.showAboutDialog(Unknown Source)
     at com.sun.javaws.ui.player.Player$13.actionPerformed(Unknown Source)
     at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
     at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
     at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
     at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
     at javax.swing.AbstractButton.doClick(Unknown Source)
     at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
     at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
     at java.awt.Component.processMouseEvent(Unknown Source)
     at java.awt.Component.processEvent(Unknown Source)
     at java.awt.Container.processEvent(Unknown Source)
     at java.awt.Component.dispatchEventImpl(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Window.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
Dynamic libraries:
0x00400000 - 0x00407000      D:\jre\j2re1.4.2_01\bin\javaw.exe
0x77F60000 - 0x77FBE000      C:\WINNT\System32\ntdll.dll
0x77DC0000 - 0x77DFF000      C:\WINNT\system32\ADVAPI32.dll
0x77F00000 - 0x77F5E000      C:\WINNT\system32\KERNEL32.dll
0x77E70000 - 0x77EC5000      C:\WINNT\system32\USER32.dll
0x77ED0000 - 0x77EFC000      C:\WINNT\system32\GDI32.dll
0x77E10000 - 0x77E67000      C:\WINNT\system32\RPCRT4.dll
0x78000000 - 0x78040000      C:\WINNT\system32\MSVCRT.dll
0x08000000 - 0x08136000      D:\jre\j2re1.4.2_01\bin\client\jvm.dll
0x77FD0000 - 0x77FFA000      C:\WINNT\System32\WINMM.dll
0x77FC0000 - 0x77FC8000      C:\WINNT\System32\mmdrv.dll
0x74BD0000 - 0x74BE7000      C:\WINNT\System32\SNDBLST.DLL
0x716F0000 - 0x7177A000      C:\WINNT\system32\COMCTL32.dll
0x10000000 - 0x10007000      D:\jre\j2re1.4.2_01\bin\hpi.dll
0x00910000 - 0x0091E000      D:\jre\j2re1.4.2_01\bin\verify.dll
0x00920000 - 0x00938000      D:\jre\j2re1.4.2_01\bin\java.dll
0x00940000 - 0x0094D000      D:\jre\j2re1.4.2_01\bin\zip.dll
0x18270000 - 0x1837F000      D:\jre\j2re1.4.2_01\bin\awt.dll
0x77C00000 - 0x77C18000      C:\WINNT\System32\WINSPOOL.DRV
0x76AB0000 - 0x76AB5000      C:\WINNT\System32\IMM32.dll
0x77B20000 - 0x77BD1000      C:\WINNT\system32\ole32.dll
0x18380000 - 0x183D0000      D:\jre\j2re1.4.2_01\bin\fontmanager.dll
0x77130000 - 0x77156000      C:\WINNT\System32\ddraw.dll
0x18650000 - 0x1865A000      D:\jre\j2re1.4.2_01\javaws\javawspl.dll
0x77C40000 - 0x77D7C000      C:\WINNT\system32\SHELL32.dll
0x18C40000 - 0x18C5E000      D:\jre\j2re1.4.2_01\bin\jpeg.dll
0x18C60000 - 0x18C6F000      D:\jre\j2re1.4.2_01\bin\net.dll
0x776B0000 - 0x776C4000      C:\WINNT\system32\WS2_32.dll
0x776A0000 - 0x776A7000      C:\WINNT\system32\WS2HELP.dll
0x74FF0000 - 0x74FFE000      C:\WINNT\System32\rnr20.dll
0x77660000 - 0x7766F000      C:\WINNT\system32\msafd.dll
0x77690000 - 0x77699000      C:\WINNT\System32\wshtcpip.dll
0x776D0000 - 0x776D8000      C:\WINNT\system32\WSOCK32.dll
0x71280000 - 0x71286000      C:\WINNT\system32\MSIDLE.DLL
0x77BF0000 - 0x77BF7000      C:\WINNT\System32\rpcltc1.dll
0x75360000 - 0x75367000      C:\WINNT\System32\rasadhlp.dll
0x76AC0000 - 0x76ADD000      C:\WINNT\System32\imagehlp.dll
0x731B0000 - 0x731BA000      C:\WINNT\System32\PSAPI.DLL
Heap at VM Abort:
Heap
def new generation total 576K, used 408K [0x10010000, 0x100b0000, 0x104f0000)
eden space 512K, 79% used [0x10010000, 0x10076340, 0x10090000)
from space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000)
tenured generation total 2136K, used 1280K [0x104f0000, 0x10706000, 0x14010000)
the space 2136K, 59% used [0x104f0000, 0x10630030, 0x10630200, 0x10706000)
compacting perm gen total 6656K, used 6474K [0x14010000, 0x14690000, 0x18010000)
the space 6656K, 97% used [0x14010000, 0x14662a48, 0x14662c00, 0x14690000)
Local Time = Tue Nov 25 21:44:39 2003
Elapsed Time = 26
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode)

Similar Messages

  • Classpath and java.exe, help me, guys

    if i don't use -classpath for java.exe, what else i can do which affects -classpath or class enviromnent?
    thx

    You can set the classpath in your system environment or in your IDE (if you use one)

  • Java.exe - power hungary program?

    Ok, this is a very weird problem (I think). A few times now, I've run a java program (using java <classname>) and my computer (top of the line Dell Inspiron 9100, very fast, 1 gb of RAM) has slowed considerably. To put it in perspective, I've rendered a video using Premier, at the same time as playing Counter-Strike, with no noticable decline in performance. Now, for the real proof, I've used Task Manager every time to find the problem. Every time java.exe has been using greater then 95% of my CPU. It has Hyper Threading, and Both CPU's are hitting 100%. It's a very fast jump from normal operating to ~100%, and it'll platue there, until I close the java.exe process. I can't imagine why it's doing this, can you? Should I be using any sort of arguments in the command. I also (the last time, I can't remember the others) was using a batch file to run my program. Will THAT effect anything? (I've never in my years dealing with computers, seen a shortcut/batch file clobber the CPU).
    Ok, the other program factors. At the time this happened, I was running a Server I wrote for a game I'm making. I was also running the client (both are threaded) at the same time (well duh, when else would I run the client thwap). I can provide code for both, if need be, they're short enough. I have run both at the same time before, and did here for about two minutes before I noticed the CPU acting up.
    Any thoughts are appreciated, solutions even more so :) Thanks for your time!

    I was assuming that it was the "author of <classname>'s fault, namely, me. But the circumstances are weird, and I can't duplicate them. Here's an update.
    I just re-ran the combination of my two programs, and while one spiked to 73% when it loaded (the GUI client), neither of them took much CPU. It ran at about 15% the entire time kI was testing (and running some music, and browser). This is completly normal. So, I tested using multiple copies of the Client, multiple servers, and neither had the desired (or rather, undesired) effect. I tested running one from jGRASP< one from the Batch file. I tested both from the batch file, no luck. I'm completely stumped. Yes, I am running the latest 1.4, not going up to 1.5 (or should I say 5, or perhaps Tiger?) until it's out of Beta. This has happened, by my account, 4 times in the past, and it's always been with classes I use a lot. Now it's seemin to me that its some weird case that my classes are just eating java.exe, but I can't imagine how. Here's my two thread (i.e. the classes, minus the initializers).
        public class Server implements Runnable
           public void run()
             while(connected)
                try
                   socket = serverSocket.accept();
                   socket.setSoTimeout(200);
                   new Player(socket, me);
                   numberOfPlayers++;
                   System.out.println("New player " + numberOfPlayers + "!!\n" + socket.getInetAddress());
                    catch(IOException e)
                      e.printStackTrace();
        public class Player implements Runnable
           public void run()
             while(socket.isConnected())
                try
                   String toPrint = input.readLine();
                   System.out.println(toPrint);
                    catch(IOException e)
    }No, so far I don't actually talk to the Player class, it just creates itself. The Client class is just a GUI that accepts input from a Menu, or textField (not implemented yet, save to copy the text to a Text Area). If you select connect, you connect to my server, and it asks for a name. That's all I have so far, and I can't see that either of the threads would cause a problem. ANy suggestions appreciated. Thanks

  • Change Java.exe to some other name

    I have jdk1.6.0 installed on my machine with jre1.6.0
    when i am running any application its process is running default java.exe
    java.exe in Task Manager.
    How to change the java.exe name to java1.exe .

    Rename the exe on the disk.
    There are utilities in Unix which allow you to change the name a process appears to have. But since you said .exe, I guess you're using Windows.
    I've done this very successfully before. I have n batch files as part of a product which start different components of the project, each one does something like this...
    if exists ..\jre\bin\blah.exe goto blahexists
    copy ..\jre\bin\java.exe ..\jre\bin\blah.exe
    :blahexists
    ..\jre\bin\blah.exe -cp blah blah
    In that way, each batch file can dynamically create a new .exe as approprate and the Windows task manager will show you blah.exe (and foo.exe and myserver.exe) instead of java.exe, which means you can kill them! :-)

  • Compiled successfully, but can't use java.exe

    Hi all,
    I could compile Hello.java with javac successfully, and the Hello.class was created. But when I run with java, it gave me an error :(
    For example:
    javac Hello.java
    compiled successfully, Hello.class was created java Hello
    gave me an error: Exception in thread "main" java.lang.NoClassDefFoundError: Hello
    I'm sure the code was correct, because I could run it in BlueJ and JCreator. I just can't run it in command prompt. The .class was compiled in command prompt. So, why wouldn't java.exe work in the command prompt?
    Thanks

    The earlier post is correct - the problem is the classpath.
    Change to the directory that contains Hello.java and verify that it exists and is correctly named. Then use this command:
    java -classpath . Hello
    IMPORTANT: include the period and the surrounding spaces.
    Learn about finding classes and setting the classpath here:
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/index.html#general

  • Trouble with java.exe

    I'm new to using Java, here is my problem, I'm running windows XP professional, I've download and installed j2re1.4.1, when I try to open Java.exe, a DOS command screen opens and closes and nothing else happens, when I try to open one of the games that came with it nothing happens. What am I doing wrong? Please help.

    you can't 'open' java.exe
    That file represents the Java interpreter. It must be passed a valid .class file that contains a main() function.
    Check out the java tutorial on how to write and run java apps.

  • Error in deployment:java.lang.NullPointerException:sdu name can not be null

    HI Everyone!
        I try to deploy my web dynpro project to SAP J2EE engine. Configuration about SAP J2EE Engine is OK, but there is an error during the deployment. Here is the deployment trace:
    2007-6-28 14:56:27 /userOut/daView_category (com.sap.ide.eclipse.deployer.DVBaseLog) [Thread[Deploy Thread,6,main]] INFO: deployment trace
    14:56:24.207 [info  #300]  [#4]: Trying to connect to 'secude-vmcn0001:50004' as 'administrator'
    14:56:24.207 [debug #100]  [#4]: Session::getContext.[ B E G I N ].timerId=16
    14:56:25.161 [debug #100]  [#4]: Session::getContext.[ E N D ].timerId=[id:#16, elapsed: 954 ms.]
    14:56:25.161 [info  #300]  [#4]: Connected to 'secude-vmcn0001:50004' as 'administrator'
    14:56:25.161 [debug #100]  [#4]: DeployProcessor::ctor:New deploy processor created.deployerId=4
    14:56:25.161 [info  #300]  [#4]: +++++ Starting  D E P L O Y action +++++
    14:56:25.161 [info  #300]  [#4]: Selected archives for deployment
    14:56:25.161 [info  #300]  [#4]: D:\NetWeaverWorkspace\Workspace\Dashboard\Dashboard.ear
    14:56:25.536 [debug #100]  [#4]: DeployProcessor::deploy:going to generate Session id, deployerId=4
    14:56:25.755 [debug #100]  [#4]: DeployProcessor::deploy:got Session id='14',time:[id:#17, elapsed: 594 ms.], deployerId=4
    14:56:25.974 [info  #300]  [#4]: Upload archives to the server.Remote upload path is 'C:\SAP\JP1\JC00\j2ee\cluster\server0\temp\tcbldeploy_controller\archives\14'
    14:56:25.974 [debug #300]  [#4]: DeployProcessor::uploadItemsToServer:Going to upload 'D:\NetWeaverWorkspace\Workspace\Dashboard\Dashboard.ear' on the server.deployerId=4
    14:56:26.427 [info  #300]  [#4]: File 'D:\NetWeaverWorkspace\Workspace\Dashboard\Dashboard.ear' uploaded successfully as 'C:/SAP/JP1/JC00/j2ee/cluster/server0/temp/tcbldeploy_controller/archives/14/Dashboard.ear'. Time:[id:#18, elapsed: 453 ms.]
    14:56:26.427 [info  #300]  [#4]: Archives uploaded.time:[#18: 0.453 sec]
    14:56:26.427 [debug #100]  [#4]: DeployProcessor::deployItems:enter.timerId=19, deployerId=4
    14:56:26.427 [debug #100]  [#4]: DeployProcessor::internalCreateAndInitDeployer:get deployer from server, deployerId=4
    14:56:26.427 [debug #100]  [#4]: DeployProcessor::internalCreateAndInitDeployer:deployer get successfully:[id:#20, elapsed: 0 ms.], deployerId=4
    14:56:26.630 [info  #300]  [#4]: component version handling rule is UpdateAllVersions
    14:56:26.849 [info  #300]  [#4]: Error strategies:
    14:56:26.849 [debug #100]  [#4]: DeployProcessor::internalCreateAndInitDeployer:deployer initialized sucessfully:[id:#20, elapsed: 422 ms.], deployerId=4
    14:56:26.849 [debug #100]  [#4]: DeployProcessor::internalCreateAndInitDeployer:total time:[#20: 0.422 sec], deployerId=4
    14:56:26.849 [info  #300]  [#4]: Starting deployment
    14:56:27.177 [debug #100]  [#4]: DeployProcessor::internalMapSdus:sduMapperVisitor.setCompositeDeploymentItem(null),remoteSdu=name: 'null', vendor: 'null', location: 'LOKAL', version: '0.2007.06.28.14.28.59', software type: 'J2EE', dependencies: '[]'
    14:56:27.177 [debug #300]  [#4]: DeployProcessor::deployItems:finally.Total Time:[#19: 0.75 sec], deployerId=4
    14:56:27.177 [info  #300]  [#4]: +++++ End  D E P L O Y action +++++
    And here is the exception detail:
    2007-6-28 14:56:27 /userOut/daView_category (com.sap.ide.eclipse.deployer.DVBaseLog) [Thread[Deploy Thread,6,main]] ERROR: java.lang.NullPointerException: sdu name can not be null.
         at com.sap.engine.services.dc.api.model.impl.SduImpl.<init>(SduImpl.java:39)
         at com.sap.engine.services.dc.api.model.impl.SdaImpl.<init>(SdaImpl.java:51)
         at com.sap.engine.services.dc.api.model.impl.ModelFactoryImpl.createSda(ModelFactoryImpl.java:43)
         at com.sap.engine.services.dc.api.model.SduMapperVisitor.createSda(SduMapperVisitor.java:52)
         at com.sap.engine.services.dc.api.model.SduMapperVisitor.visit(SduMapperVisitor.java:64)
         at com.sap.engine.services.dc.repo.impl.SdaImpl.accept(SdaImpl.java:136)
         at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.internalMapSdus(DeployProcessorImpl.java:704)
         at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:487)
         at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deploy(DeployProcessorImpl.java:155)
         at com.sap.ide.eclipse.deployer.dc.deploy.DeployProcessor70.deploy(DeployProcessor70.java:185)
         at com.sap.ide.eclipse.sdm.threading.DCDeployThread.run(DCDeployThread.java:115)
    It seems that there is something wrong about 'SDU', but i don't know what is it, and i can not find the answer both in sdn.sap.com and here.
    Anyone can help me on this?
    Thanks in Advance,
    MK

    Hi Sumit,
        Thank you for your concern.
    Below is a trace file on my server:
    C:\SAP\JP1\JC00\j2ee\cluster\server0\log\defaultTrace.0.trc
    #1.5 #000C296B3F6A000D0000000200000A3000EF90978C2E8C29#1183013784131#/System/Server/Deployment##com.sap.engine.services.tcxblxdeploy_controller#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Info#1#com.sap.engine.services.tcxblxdeploy_controller#Plain###The session id 14 is associated with correlator id 67431500000169001. Use this correlator id to filter the trace and log messages.#
    #1.5 #000C296B3F6A000D0000000300000A3000EF90978C2E8C29#1183013784131#/System/Server/Deployment##com.sap.engine.services.tcxblxdeploy_controller#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Info#1#com.sap.engine.services.tcxblxdeploy_controller#Plain###++++++++++++++ Starting deployment ++++++++++++++#
    #1.5 #000C296B3F6A000D0000000400000A3000EF90978C2E8C29#1183013784131#/System/Server/Deployment##com.sap.engine.services.tcxblxdeploy_controller#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Info#1#com.sap.engine.services.tcxblxdeploy_controller#Plain###Archives specified for deployment are: #
    #1.5 #000C296B3F6A000D0000000500000A3000EF90978C2E8C29#1183013784131#/System/Server/Deployment##com.sap.engine.services.tcxblxdeploy_controller#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Info#1#com.sap.engine.services.tcxblxdeploy_controller#Plain###C:/SAP/JP1/JC00/j2ee/cluster/server0/temp/tcbldeploy_controller/archives/14/Dashboard.ear#
    #1.5 #000C296B3F6A000D0000000600000A3000EF90978C2E8C29#1183013784131#/System/Server/Deployment##com.sap.engine.services.tcxblxdeploy_controller#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Info#1#com.sap.engine.services.tcxblxdeploy_controller#Plain###Start loading archives ...#
    #1.5 #000C296B3F6A000D0000000700000A3000EF90978C2E8C29#1183013784147#/System/Server/Deployment##com.sap.engine.services.tcxblxdeploy_controller#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Info#1#com.sap.engine.services.tcxblxdeploy_controller#Plain###Archives are loaded.#
    #1.5 #000C296B3F6A000D0000000800000A3000EF90978C2E8C29#1183013784147#/System/Server/Deployment##com.sap.engine.services.tcxblxdeploy_controller#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Info#1#com.sap.engine.services.tcxblxdeploy_controller#Plain###Error Handling Action: 'UndeploymentAction', Error Handling Strategy: 'OnErrorStop'.
    Error Handling Action: 'DeploymentAction', Error Handling Strategy: 'OnErrorStop'.
    Error Handling Action: 'PrerequisitesCheckAction', Error Handling Strategy: 'OnErrorStop'.
    Version Handling Rule: 'UpdateAllVersions'.
    Deployment Strategy: 'normal deploy strategy'.
    Life Cycle Deployment Strategy: 'bulk deploy strategy'.
    There are no batch filters specified.#
    #1.5 #000C296B3F6A000D0000000900000A3000EF90978C2E8C29#1183013784194#/System/Server/Deployment##com.sap.engine.services.tcxblxdeploy_controller#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Info#1#com.sap.engine.services.tcxblxdeploy_controller#Plain###The batch for session id 14 will be executed with normal parallelism strategy.#
    #1.5 #000C296B3F6A000D0000000A00000A3000EF90978C2E8C29#1183013784272#/System/Server/Services/Deploy##com.sap.engine.services.deploy#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Warning#1#com.sap.engine.services.deploy#Plain###A component loader with name sap.com/tcwddispwda doesn't exist, because is stopped or not deployed.#
    #1.5 #000C296B3F6A000D0000000B00000A3000EF90978C2E8C29#1183013784272#/System/Server/Services/Deploy##com.sap.engine.services.deploy#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Warning#1#com.sap.engine.services.deploy#Plain###A component loader with name library:tcddicddicruntime doesn't exist, because is stopped or not deployed.#
    #1.5 #000C296B3F6A000D0000000C00000A3000EF90978C2E8C29#1183013784272#/System/Server/Services/Deploy##com.sap.engine.services.deploy#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Warning#1#com.sap.engine.services.deploy#Plain###A component loader with name library:com.sap.aii.util.rb doesn't exist, because is stopped or not deployed.#
    #1.5 #000C296B3F6A000D0000000D00000A3000EF90978C2E8C29#1183013784272#/System/Server/Services/Deploy##com.sap.engine.services.deploy#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Warning#1#com.sap.engine.services.deploy#Plain###A component loader with name library:com.sap.aii.util.xml doesn't exist, because is stopped or not deployed.#
    #1.5 #000C296B3F6A000D0000000E00000A3000EF90978C2E8C29#1183013784272#/System/Server/Services/Deploy##com.sap.engine.services.deploy#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Warning#1#com.sap.engine.services.deploy#Plain###A component loader with name library:com.sap.aii.proxy.framework doesn't exist, because is stopped or not deployed.#
    #1.5 #000C296B3F6A000D0000000F00000A3000EF90978C2E8C29#1183013784272#/System/Server/Services/Deploy##com.sap.engine.services.deploy#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Warning#1#com.sap.engine.services.deploy#Plain###A component loader with name library:tc~cmi doesn't exist, because is stopped or not deployed.#
    #1.5 #000C296B3F6A000D0000001000000A3000EF90978C2E8C29#1183013784272#/System/Server/Services/Deploy##com.sap.engine.services.deploy#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Warning#1#com.sap.engine.services.deploy#Plain###A component loader with name library:com.sap.aii.util.misc doesn't exist, because is stopped or not deployed.#
    #1.5 #000C296B3F6A000D0000001100000A3000EF90978C2E8C29#1183013784272#/System/Server/Services/Deploy##com.sap.engine.services.deploy#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Warning#1#com.sap.engine.services.deploy#Plain###A component loader with name library:tcddicddicservices doesn't exist, because is stopped or not deployed.#
    #1.5 #000C296B3F6A000D0000001200000A3000EF90978C2E8C29#1183013784272#/System/Server/Services/Deploy##com.sap.engine.services.deploy#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Warning#1#com.sap.engine.services.deploy#Plain###A component loader with name library:tcgraphicsigs doesn't exist, because is stopped or not deployed.#
    #1.5 #000C296B3F6A000D0000001300000A3000EF90978C2E8C29#1183013784366#/System/Server/Services/Deploy##com.sap.engine.services.deploy#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Warning#1#com.sap.engine.services.deploy#Plain###JLinEE validation of application local/Dashboard returned result
    WARNINGS:
    References Test: Count of deploy time references (described in META-INF/SAP_MANIFEST.MF) and runtime references (described in META-INF/application-j2ee-engine.xml) does not match., file: Dashboard.ear, column 0, line 0, severity: warning
    References Test: There are no matching deploy time references (described in META-INF/SAP_MANIFEST.MF) for the following runtime references [sap.com/tcwddispwda, sap.com/com.sap.mw.jco, sap.com/tcddicddicruntime, sap.com/com.sap.aii.util.rb, sap.com/com.sap.aii.util.xml, sap.com/webservices_lib, sap.com/com.sap.aii.proxy.framework, sap.com/sapxmltoolkit, sap.com/tccmi, sap.com/com.sap.security.api.sda, sap.com/com.sap.util.monitor.jarm, sap.com/com.sap.aii.util.misc, sap.com/tcddicddicservices, sap.com/com.sap.lcr.api.cimclient, sap.com/tcgraphics~igs, sap.com/sld] (described in the META-INF/application-j2ee-engine.xml)., file: Dashboard.ear, column 0, line 0, severity: warning
    #1.5 #000C296B3F6A000D0000001400000A3000EF90978C2E8C29#1183013784366#/System/Server/Services/Deploy##com.sap.engine.services.deploy#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Error#1#com.sap.engine.services.deploy#Plain#Exception while validating application local/Dashboard.
    No one of the [] containers, which processed it, returned deployed component names.
    The registered containers in this moment were [com.sap.security.ume, app_libraries_container, Cache Configuration Upload, servlet_jsp, dbcontentcontainer, connector, Cluster File System, JMSConnector, appclient, dbschemacontainer, orpersistence, JDBCConnector, EJBContainer, webservices_container, scheduler~container].
    Possible reasons :
         1.An AS Java service, which is providing a container, is stopped or not deployed.
         2.The containers, which processed it, are not implemented correct. They deployed or started initially the application, but didn't return deployed components in the application deployment info.###
    #1.5 #000C296B3F6A000D0000001700000A3000EF90978C2E8C29#1183013784366#/System/Server/Services/Deploy##com.sap.engine.services.deploy#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Error#1#com.sap.engine.services.deploy#Plain#Exception in operation deploy with application local/Dashboard.###
    #1.5 #000C296B3F6A000D0000001B00000A3000EF90978C2E8C29#1183013784397#/System/Server##java.lang.Package#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Error#1#java.lang.Package#Java#error.action.filter#com/sap/engine/services/mngt_model/localization.properties#Exception thrown by Action Filter: com.sap.engine.services.mngt_model.spi.ActionFilteringException: com.sap.engine.services.deploy.server.utils.DSRemoteException: Application local/Dashboard is not deployed..Action will not be delivered to domain: connector. Action is: APPLICATION_DEPLOYED#3#com.sap.engine.services.mngt_model.plugins.ApplicationActionFilter@d46ed0#connector#APPLICATION_DEPLOYED#
    #1.5 #000C296B3F6A000D0000001D00000A3000EF90978C2E8C29#1183013784397#/System/Server##java.lang.Package#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Error#1#java.lang.Package#Java#error.action.filter#com/sap/engine/services/mngt_model/localization.properties#Exception thrown by Action Filter: com.sap.engine.services.mngt_model.spi.ActionFilteringException: com.sap.engine.services.deploy.server.utils.DSRemoteException: Application local/Dashboard is not deployed..Action will not be delivered to domain: servlet_jsp. Action is: APPLICATION_DEPLOYED#3#com.sap.engine.services.mngt_model.plugins.ApplicationActionFilter@d46ed0#servlet_jsp#APPLICATION_DEPLOYED#
    #1.5 #000C296B3F6A000D0000001F00000A3000EF90978C2E8C29#1183013784397#/System/Server##java.lang.Package#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Error#1#java.lang.Package#Java#error.action.filter#com/sap/engine/services/mngt_model/localization.properties#Exception thrown by Action Filter: com.sap.engine.services.mngt_model.spi.ActionFilteringException: com.sap.engine.services.deploy.server.utils.DSRemoteException: Application local/Dashboard is not deployed..Action will not be delivered to domain: appclient. Action is: APPLICATION_DEPLOYED#3#com.sap.engine.services.mngt_model.plugins.ApplicationActionFilter@d46ed0#appclient#APPLICATION_DEPLOYED#
    #1.5 #000C296B3F6A000D0000002100000A3000EF90978C2E8C29#1183013784397#/System/Server##java.lang.Package#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Error#1#java.lang.Package#Java#error.action.filter#com/sap/engine/services/mngt_model/localization.properties#Exception thrown by Action Filter: com.sap.engine.services.mngt_model.spi.ActionFilteringException: com.sap.engine.services.deploy.server.utils.DSRemoteException: Application local/Dashboard is not deployed..Action will not be delivered to domain: dbpool. Action is: APPLICATION_DEPLOYED#3#com.sap.engine.services.mngt_model.plugins.ApplicationActionFilter@d46ed0#dbpool#APPLICATION_DEPLOYED#
    #1.5 #000C296B3F6A000D0000002300000A3000EF90978C2E8C29#1183013784397#/System/Server##java.lang.Package#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Error#1#java.lang.Package#Java#error.action.filter#com/sap/engine/services/mngt_model/localization.properties#Exception thrown by Action Filter: com.sap.engine.services.mngt_model.spi.ActionFilteringException: com.sap.engine.services.deploy.server.utils.DSRemoteException: Application local/Dashboard is not deployed..Action will not be delivered to domain: jmsconnector. Action is: APPLICATION_DEPLOYED#3#com.sap.engine.services.mngt_model.plugins.ApplicationActionFilter@d46ed0#jmsconnector#APPLICATION_DEPLOYED#
    #1.5 #000C296B3F6A000D0000002500000A3000EF90978C2E8C29#1183013784397#/System/Server/Services/Deploy##com.sap.engine.services.deploy#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Error#1#com.sap.engine.services.deploy#Plain#Exception while validating application local/Dashboard.
    No one of the [] containers, which processed it, returned deployed component names.
    The registered containers in this moment were [com.sap.security.ume, app_libraries_container, Cache Configuration Upload, servlet_jsp, dbcontentcontainer, connector, Cluster File System, JMSConnector, appclient, dbschemacontainer, orpersistence, JDBCConnector, EJBContainer, webservices_container, scheduler~container].
    Possible reasons :
         1.An AS Java service, which is providing a container, is stopped or not deployed.
         2.The containers, which processed it, are not implemented correct. They deployed or started initially the application, but didn't return deployed components in the application deployment info.###
    #1.5 #000C296B3F6A000D0000002800000A3000EF90978C2E8C29#1183013784397#/System/Server/Deployment##com.sap.engine.services.tcxblxdeploy_controller#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Error#1#com.sap.engine.services.tcxblxdeploy_controller#Plain#An error occurred while deploying the deployment item 'local_Dashboard'.###
    #1.5 #000C296B3F6A000D0000002B00000A3000EF90978C2E8C29#1183013784428#/System/Server/Deployment##com.sap.engine.services.tcxblxdeploy_controller#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Info#1#com.sap.engine.services.tcxblxdeploy_controller#Plain###Unlocking the Deploy.#
    #1.5 #000C296B3F6A000D0000002C00000A3000EF90978C2E8C29#1183013784428#/System/Server/Deployment##com.sap.engine.services.tcxblxdeploy_controller#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Error#1#com.sap.engine.services.tcxblxdeploy_controller#Plain#An error occurred while deploying the deployment item 'local_Dashboard'.; nested exception is:
         java.rmi.RemoteException:  class com.sap.engine.services.dc.gd.DeliveryException: An error occurred during deployment of sdu id: local_Dashboard
    sdu file path: C:\SAP\JP1\JC00\j2ee\cluster\server0\temp\tcbldeploy_controller\archives\14\Dashboard.ear
    version status: NEW
    deployment status: Admitted
    description:
              1. Error:
    Error occurred while deploying ear file C:\SAP\JP1\JC00\j2ee\cluster\server0\temp\tcbldeploy_controller\archives\14\Dashboard.ear.
    Reason: Exception while validating application local/Dashboard.
    No one of the [] containers, which processed it, returned deployed component names.
    The registered containers in this moment were [com.sap.security.ume, app_libraries_container, Cache Configuration Upload, servlet_jsp, dbcontentcontainer, connector, Cluster File System, JMSConnector, appclient, dbschemacontainer, orpersistence, JDBCConnector, EJBContainer, webservices_container, scheduler~container].
    Possible reasons :
         1.An AS Java service, which is providing a container, is stopped or not deployed.
         2.The containers, which processed it, are not implemented correct. They deployed or started initially the application, but didn't return deployed components in the application deployment info.
    . Cannot deploy it.; nested exception is:
         java.rmi.RemoteException:  class com.sap.engine.services.deploy.server.utils.DSRemoteException: Error occurred while deploying ear file C:\SAP\JP1\JC00\j2ee\cluster\server0\temp\tcbldeploy_controller\archives\14\Dashboard.ear.
    Reason: Exception while validating application local/Dashboard.
    No one of the [] containers, which processed it, returned deployed component names.
    The registered containers in this moment were [com.sap.security.ume, app_libraries_container, Cache Configuration Upload, servlet_jsp, dbcontentcontainer, connector, Cluster File System, JMSConnector, appclient, dbschemacontainer, orpersistence, JDBCConnector, EJBContainer, webservices_container, scheduler~container].
    Possible reasons :
         1.An AS Java service, which is providing a container, is stopped or not deployed.
         2.The containers, which processed it, are not implemented correct. They deployed or started initially the application, but didn't return deployed components in the application deployment info.###
    #1.5 #000C296B3F6A000D0000002F00000A3000EF90978C2E8C29#1183013784428#/System/Server/Deployment##com.sap.engine.services.tcxblxdeploy_controller#Administrator#4#####Thread[RMI/IIOP Worker [3],5,Dedicated_Application_Thread]##0#0#Info#1#com.sap.engine.services.tcxblxdeploy_controller#Plain###Deployment has finished#
    Thanks,
    MK

  • Console window doesn't show on second start of java.exe

    I am building restart capability into my product.
    When the product is started for the first time, it is started through a Windows EXE using a ShellExecuteEx method. I simply launch "java.exe" with my classpath, etc. My Windows console window shows up and I am happy.
    When a do a restart of the app, I am inside of the original JVM. I have access to the exact same commandline that I used in the EXE to launch "java.exe" originally.
    With the restart, I simply call Runtime.getRuntime().exec(commandline) and pass in the exact same commandline that I passed in when I did this in the EXE. However, when I do this from within the JVM, I do not get my Windows console window. This is not good.
    Does anybody understandn what is going on here and how I can remedy this?
    Thanks in advance for your help!

    I'm not sure what is happening in your case.
    Do the images initially show in "Tools > Page Info > Media" or is that always with size 0px?
    Quote: ''but if i click on same link second time than size gets right and image is shown under preview box.''
    Is that with clicking on the web page?
    Can you load the images via the links that you see in "Tools > Page Info > Media" without any problems?
    Do you see the request for those images in the Network tab in the Web Console (Firefox/Tools > Web Developer) and what is the server response in that case?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Please help me. Cant located the Path of java.exe ???

    I have Windows 7 64bit OS. I download all softwares in 64 bit version.I just download Oracle sql developer
    4.0 (4.0.0.13.80) and jdk 7 u45 with netbeans 7.4 and i also download jre 7, all software are successfully installed on my system. but when i open sql developer ,it prompt for path of java.exe but i cant find the path. in "C:\programs files\jdk7\bin\" but there is no .exe files.
    please help me or guide me , what to do???
    I installed all the softwares successfully. but i can't understand where the problems is ?

    The easiest thing to do is download this:
    "Windows 64-bit - zip file includes the JDK 7"
    When you run the EXE, it won't prompt for anything, it will just run.
    In fact, if you have the JDK properly installed on Windows, the exe won't prompt for the location of Java anymore, so it sounds like you may have an install problem with your Netbeans install?

  • An unhandled win32 exception occured in java.exe , While running JNI

    I'm trying to use JNI to call 3rd party VB DLL , like this
    JNI <> VC++ DLL <> VB DLL
    In VC++DLL ,I have function(named Open) that call 3 function in VBDLL
    I have tested c++ code this function (by copy it and paste in normal vc++ project) ,and It works !
    But when I call this function(Open) via JNI , I've got "An unhandled win32 exception occured in java.exe" by Visual Studio Just-in-Time Debugger !!
    I think the problem is in the 3rd function that I call in Open, because when I remove the 3rd function It doesn't raise any exception.
    Before I do this, I alrealdy test every function in VBDLL in VB Project , and they work fine (Include the 3rd function that I think It cause exception).
    Can anybody tell me what's going on here ?
    or anything that I can do to fine What cause this problem ?
    Thanks in advance ^^
    Edited by: voteforpedro on Sep 2, 2008 4:18 AM

    You either have a pointer problem or you are calling the 3rd party library in an unexpected fashion.
    In terms of testing the most likely reason is that it wasn't tested enough. Moving/changing code modifies the layout in memory which can expose previously hidden pointer problems.

  • My Applet crashes java.exe to crash

    Ok, I'm not sure why, but on some computers my applet is making java.exe crash. When i attach a debugger to java.exe when it crashes I see a "Access Violation Error". The oddest part is that while one computer will crash and another identical computer with the exact same setup wont. The crash happens the moment the applet starts.
    Now I've done just about everything i could to figure this out. I've installed uninstalled and reinstalled java. I've run ram, hard drive, cpu, ect tests all reporting no problem. I've disabled anti-virus and did the uninstall and reinstall again. I've installed older versions of the java. I've resigned my jar file, created a new key and then resigned. Practically the only thing i have not done and is not a viable solution is reformat/replace the computers. So I'm left thinking it might be something in the applet that is causing it.
    It could be in the applet parameters but i doubt it.
    Pram fp is about 5,000 characters long
    Pram VerfyType is about 1 character long
    Pram Arg1 is a max of 11 characters long
    Pram Arg2 is a max of 11 characters long
    This applet is meant to interact with a program on the computer that connects to a variety of fingerprint scanners that we use and passes information form the internal site to the scanner and vice versa. So it just starts a loop back socket. For the loop back socket, i have tired 127.0.0.1 and localhost which still yield the same result.
    Here is the applet. It's very simple.
    import javax.imageio.ImageIO;
    import javax.swing.*;
    import java.awt.Image;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.PrintWriter;
    import java.net.MalformedURLException;
    import java.net.Socket;
    import java.net.URL;
    import java.net.UnknownHostException;
    import java.security.AccessController;
    import java.security.PrivilegedAction;
    public class Verify extends JApplet {
         private static final long serialVersionUID = 908206045464466336L;
         public JLabel jLabel1;
        public jPanel jPanel1;
        public String Template = "";
        public String VerfyType = "";
        public String Arg1 = "";
        public String Arg2 = "";
        public Thread t;
        Socket socket = null;
        public void stop()
             jPanel1.threadRun = false;
             if (socket != null)
                  try {
                        socket.close();
                   } catch (IOException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
         public void init()
            //Execute a job on the event-dispatching thread:
            try {
                javax.swing.SwingUtilities.invokeAndWait(new Runnable() {
                    public void run() {
                         Template = getParameter("fp").trim();
                         VerfyType = getParameter("VerfyType").trim();
                         Arg1 = getParameter("Arg1").trim();
                         Arg2 = getParameter("Arg2").trim();
                         initComponents();
            } catch (Exception e) {
                System.err.println("getParameter didn't successfully complete");
            StartVerify();
        private void initComponents() {
              jPanel1 = new jPanel();
              jLabel1 = new JLabel();
              jPanel1.setPreferredSize(new java.awt.Dimension(66, 66));
              jPanel1.setBackground(new java.awt.Color(255, 255, 255));
              jLabel1.setText("Initializing Please Wait.");
            setBackground(new java.awt.Color(255, 255, 255));
            javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
            jPanel1.setLayout(jPanel1Layout);
            jPanel1Layout.setHorizontalGroup(
                jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 66, Short.MAX_VALUE)
            jPanel1Layout.setVerticalGroup(
                jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 66, Short.MAX_VALUE)
            jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(layout.createSequentialGroup()
                            .addContainerGap()
                            .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 536, Short.MAX_VALUE))
                        .addGroup(layout.createSequentialGroup()
                            .addGap(224, 224, 224)
                            .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addContainerGap())
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jLabel1)
                    .addContainerGap(116, Short.MAX_VALUE))
        public void StartVerify()
             t = new Thread() {
              public void run()
                  AccessController.doPrivileged(new PrivilegedAction() {
                  public Object run()
                            PrintWriter out = null;
                            BufferedReader in = null;
                            try {
                                socket = new Socket("localhost", 4001);
                                out = new PrintWriter(socket.getOutputStream(), true);
                                in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
                            } catch (UnknownHostException e) {
                                 jLabel1.setText("Unkown Host Error.");
                                return null;
                            } catch (IOException e) {
                                 jLabel1.setText("Unable to get communication streams..");
                                return null;
                            String reponse = "";
                            try {
                                reponse = in.readLine();
                                if (reponse.equalsIgnoreCase("cmd"))
                                    out.write("v\n");
                                    out.flush();
                                    reponse = in.readLine();
                                    if (reponse.equalsIgnoreCase("send"))
                                        out.write(Template+"\n");
                                        out.flush();
                                        reponse = in.readLine();
                                        if (reponse.equalsIgnoreCase("finger"))
                                             jLabel1.setText("Please Have the client place their finger on the scanner.");
                                             while (true)
                                                  reponse = in.readLine();
                                                  if (!reponse.equalsIgnoreCase("pulse"))
                                                       break;
                                            if (reponse.equalsIgnoreCase("good"))
                                                try {
                                                     DoRedirect();
                                                    socket.close();
                                                } catch (IOException ex) {
                                            else if (reponse.equalsIgnoreCase("bad"))
                                                           int _return = LoopTellCanceled(socket, out, in);
                                            else
                                                 jLabel1.setText("Unexpected response from finger print server.");
                                        else
                                             jLabel1.setText("Unexpected response from finger print server.");
                                    else
                                         jLabel1.setText("Unexpected response from finger print server.");
                                else
                                     jLabel1.setText("Unexpected response from finger print server.");
                            catch (IOException ex)
                                 jLabel1.setText("We lost connection to the finger print reader.");
                                 System.err.println(ex);
                            try {
                                out.close();
                                in.close();
                                socket.close();
                            } catch (IOException e) {
                                System.err.println("Couldn't get I/O for the connection");
                                return null;
                            return null;
            t.start();
        private int LoopTellCanceled(Socket socket, PrintWriter out, BufferedReader in)
             int res = JOptionPane.showConfirmDialog(null, "Incorrect Finger Print. Would you like to try again?", "Finger Print was Bad", JOptionPane.YES_NO_OPTION);
             while (res == JOptionPane.YES_OPTION)
                String reponse = "";
                try {
                    out.write("v\n");
                    out.flush();
                    reponse = in.readLine();
                    if (reponse.equalsIgnoreCase("send"))
                        out.write(Template+"\n");
                        out.flush();
                        reponse = in.readLine();
                        if (reponse.equalsIgnoreCase("finger"))
                             jLabel1.setText("Please Have the client place their finger on the scanner.");
                             while (true)
                                  reponse = in.readLine();
                                  if (!reponse.equalsIgnoreCase("pulse"))
                                       break;
                            if (reponse.equalsIgnoreCase("good"))
                                try {
                                     DoRedirect();
                                    socket.close();
                                } catch (IOException ex) {
                            else
                                 res = JOptionPane.showConfirmDialog(null, "Incorrect Finger Print. Would you like to try again?", "Finger Print was Bad", JOptionPane.YES_NO_OPTION);
                } catch (IOException ex) {
                     System.err.println(ex);
             return res;
        public void DoRedirect()
              try
                   if (Arg1.equalsIgnoreCase(""))
                        getAppletContext().showDocument(new URL("javascript: fprintVerified("+VerfyType+");"));
                   else
                        if (Arg2.equalsIgnoreCase(""))
                             getAppletContext().showDocument(new URL("javascript: fprintVerified("+VerfyType+", "+Arg1+");"));
                        else
                             getAppletContext().showDocument(new URL("javascript: fprintVerified("+VerfyType+", "+Arg1+", "+Arg2+");"));
              catch (MalformedURLException ex)
                   ex.printStackTrace();
    }Edited by: Pyromanci on Mar 1, 2011 7:58 AM

    What does your error console report? - Which one? Browser, PC, ect
    How about your java console say? - I have no clue what it could be saying since java.exe crashes the moment the applet starts the console is no longer accessible.
    What browser and version? - Firefox v3.6.13
    Have you tried a different one? - Yes Ie 6,7, and 8. Though the site the applet runs form was designed specifically for firefox (internal site)
    Have you tried Appletviewer? - Yes applet runs as intended.
    Did you give the Applet permission? I know you said you signed it - did it all go right? - Yes. Gave me the usual response of will expire in x months

  • How do I update Java.exe?

    I'm using Secunia CSI, which detects out of date software on my PC.  It flagged Java.exe in december as out of date becuase Java 6 update 30 was release do to a security update.  My local install by my browser updated itself via the Java updater just fine.  BUT, secunia shows me that CS5 installed not 1 but 3 copies of Java, 1 in programdata\user\..blah blah..\JVM\, 1 in Dreamweaver\JVM and 1 in Flash Catalyst\jre, all version 16 or 18.  The forums tell me to run jucheck.exe in the folder, but that says 'latest version installed'  which I know is wrong by looking at the properties for java.exe in any of those 3 folders. 
    How do I update those installs?
    I called adobe support and they said 'Java is a third party tool, we don't support it', even though they are the ones who installed it.
    If I install java from a download from Java.com, in one of the places above by changing the default install location, it orphans the primary install by my browser.
    Any ideas?  I can't be the only one who has an outdated version.

    I'm using Secunia CSI, which detects out of date software on my PC.  It flagged Java.exe in december as out of date becuase Java 6 update 30 was release do to a security update.  My local install by my browser updated itself via the Java updater just fine.  BUT, secunia shows me that CS5 installed not 1 but 3 copies of Java, 1 in programdata\user\..blah blah..\JVM\, 1 in Dreamweaver\JVM and 1 in Flash Catalyst\jre, all version 16 or 18.  The forums tell me to run jucheck.exe in the folder, but that says 'latest version installed'  which I know is wrong by looking at the properties for java.exe in any of those 3 folders. 
    How do I update those installs?
    I called adobe support and they said 'Java is a third party tool, we don't support it', even though they are the ones who installed it.
    If I install java from a download from Java.com, in one of the places above by changing the default install location, it orphans the primary install by my browser.
    Any ideas?  I can't be the only one who has an outdated version.

  • ARGENT:error in java.exe operating server (after updating remote dbase)

    Hello,
    I am getting big trouble in java.exe which is running server program.
    interface : swings
    windows: NT 4.0
    database: MS access97
    jdk 1.3 (jsdk2)
    Dr. watson of NT reporting the error in java.exe(of server) that application error has occured and this is happening every time after i update or write something into the database. Currently i am doing it on localhost m/c.Error: "the instruction at "0x77b3cd19"
    referenced memory at 0x77b3cd19".The memory could be read/"
    //server code
    import java.rmi.*;
    import java.rmi.server.*;
    public class LoginServer {
    public LoginServer() {
    try {
    Login c = new LoginImpl();
    Naming.rebind("login", c);
    } catch (Exception e) {
    System.out.println("Trouble: " + e);
    public static void main(String args[]) {
    new LoginServer();
    //Remote functions implementation
    import java.rmi.*;
    import java.rmi.server.*;
    import java.sql.*;
    public class LoginImpl extends UnicastRemoteObject implements Login
    public LoginImpl() throws RemoteException
    super();
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
    } catch(Exception e) { System.err.print("Exception: ");
    System.err.println(e.getMessage());}
    //register new user take name and password as arguement and creates
    // new user and set status OFF (ie user not logged in)
    public int NewUser(String n,String p) throws RemoteException
    String url = "jdbc:odbc:Authentic";
    int i=2;
    Connection con;
    Statement stmt;
    ResultSet rs;
    try {
    con = DriverManager.getConnection(url, "anything", "anything");
    stmt=con.createStatement();
    rs = stmt.executeQuery("SELECT NAME FROM TAUTHENTIC");
    while (rs.next()) {
    String nam = rs.getString("NAME");
    if((n.equalsIgnoreCase(nam)))
    i=1;
    rs.close();
    stmt.close();
    con.close();
    break;
    f (i==2) {
    stmt.executeUpdate("INSERT INTO TAUTHENTIC "+"VALUES'"+n+"','"+p+"','OFF')");
    i=3;
    rs.close();
    stmt.close();
    con.close();
    } catch(SQLException ex) {
    System.err.println("SQLException: " + ex.getMessage());
    return i;
    //verifying usre and password and then checking status if off turns on else cant verify.
    public int VerifyUser(String s,String p) throws RemoteException
    { int i=0;
    String url="jdbc:odbc:Authentic";
    String status="OFF";
    Connection con;
    Statement stmt;
    ResultSet rs;
    try {
    con = DriverManager.getConnection(url, "anything", "anything");
    stmt=con.createStatement();
    rs = stmt.executeQuery("SELECT NAME, PASSWORD, STATUS FROM AUTHENTIC");
    while (rs.next()) {
    String nam = rs.getString("NAME");
    String pas = rs.getString("PASSWORD");
    String sta=rs.getString("STATUS");
    if((s.equalsIgnoreCase(nam))&&(p.compareTo(pas)==0))
    if(status.compareTo(sta)!=0)
    {i=5; break;}
    if((s.equalsIgnoreCase(nam))&&(p.compareTo(pas)==0)&&(status.compareTo(sta)==0))
    System.out.println("Hi " +nam + " you are in our stock program now");
    i=1;
    break;
    if(i==0)
    System.out.println("Sorry either user dont exist or invalid user name or password");
    rs.close();
    stmt.close();
    con.close();
    } catch(SQLException ex) {
    System.err.println("SQLException: " + ex.getMessage());
    return i;
    //changes status each time user logged in or logged off
    public void cstatus(String name,String status) throws RemoteException
    String url="jdbc:odbc:Authentic";
    Connection con;
    Statement stmt;
    try {
    con = DriverManager.getConnection(url, "anything", "anything");
    stmt=con.createStatement();
    stmt.executeUpdate("UPDATE TAUTHENTIC SET STATUS ='" + status + "' WHERE NAME LIKE '" + name + "'");
    stmt.close();
    con.close();
    catch(Exception ex){ System.out.println("Exception: "+ex.getMessage());}
    i have used swings to call these functions. Updation is happwning but also bringing runtime server application halt.
    //if u need i can mail u my GUI client file from where i am making my RMI connections. my email is [email protected]. Please reply back as soon as possible as i am working on a java project of software agents and have to complete it by this month.
    thanx and bye for now

    Format this mess.
    http://forum.java.sun.com/faq.jsp#format

  • Java.exe problem

    Hi,
    Would anybody please help me with this problem.
    I tried to execute java.exe with the command: java -Djava.library.path=E:\Program Files\Testing TestApp, it threw exception could not find the the path since there is a blank space between Program Files. I tried to put quotation marks around them, I got same problem. Java command seemed like did not like space. If I move my lib to new place e.g Test and execute my TestApp with the command: java -Djava.library.path=E:\Test TestApp, it worked fine. How can I solve this problem without remove space in the path.
    Thanks
    Hung

    i think you want to point to your programe classes.
    if so use
    java -classpath "E:\Program Files\Testing" TestApp
    because
    java.library.path contains many pathes related to JRE.
    D:\Java\sdk\jre\bin;.;C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Java\sdk;D:\Java\sdk\bin;D:\Java\J2EE\bin;D:\Java\WSDP\bin;D:\Program Files\Microsoft Visual Studio\VC98\bin;C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin;C:\Program Files\SSH Communications Security\SSH Secure Shell
    try this
    System.out.println(System.getProperty("java.library.path"));-Best regards,
    mnmmm

  • "java.lang.UnsatisfiedLinkError" happen when I use java.exe in command line

    When I use Eclipse 3.01 to run the program it has any problem.But If I use the command line "java -classpath D:\Java_prj\Java\NativeMethod\out com.bruce.nativemethod.HelloNative",a error message will appear below:
    java.lang.UnsatisfiedLinkError: no ./out/com/bruce/nativemethod/ in java.library.path
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403)
         at java.lang.Runtime.loadLibrary0(Runtime.java:788)
         at java.lang.System.loadLibrary(System.java:832)
         at com.bruce.nativemethod.HelloNative.<clinit>(HelloNative.java:21)My HelloNative.dll and HelloNative.class has all been putted in D:\Java_prj\Java\NativeMethod\out\com\bruce\nativemethod.
    My all source code is here:
    //HelloNative.java
    package com.bruce.nativemethod;
    import java.util.*;
    public class HelloNative{
         public static native void greeting();
         //Load the library
         static {
              System.loadLibrary("./out/com/bruce/nativemethod/HelloNative");
              //System.loadLibrary("HelloNative");
         public static void main(String args[]) {
              HelloNative.greeting();
    //HelloNative.c
    #include "HelloNative.h"
    #include <stdio.h>
    JNIEXPORT void JNICALL Java_com_bruce_nativemethod_HelloNative_greeting(JNIEnv* env,
        jclass cl)
        printf("Hello world!\n");
    //HelloNative.h
    //Generated by javah.exe
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include <jni.h>
    /* Header for class HelloNative */
    #ifndef _Included_HelloNative
    #define _Included_HelloNative
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class:     HelloNative
    * Method:    greeting
    * Signature: ()V
    JNIEXPORT void JNICALL Java_HelloNative_greeting
      (JNIEnv *, jclass);
    #ifdef __cplusplus
    #endif
    #endifI thinked the code is not problem.But why I can't not run it use java.exe tool in command line?

    Thanks everybody! My problem has been solved.The path "./out/com/bruce/nativemethod/HelloNative" is right because it can run in Eclipse 3.01.I don't agree use the absolute path.If do so,it may not use in another machine. The problem is when I use the "java -classpath D:\Java_prj\Java\NativeMethod com.bruce.nativemethod.HelloNative" in the command line windows,I have putted it the C:\ directory to excute.laterly,I putted the command in the D:\Java_prj\Java\NativeMethod,the result "Hello world!" is appear.

Maybe you are looking for

  • Passing column values to another tab if check box selected in that row

    Hi I have the following requirement. I have a table that gets populated by a web service. Have added one more field to it which is a check box. Th requirement is that I need to pass the values of column (say id) from each row which has it's check box

  • Launch Server in JBuilder

    Hi, I try to launch a managed Weblogic Server in JBuilder (to debug) and I have this error: Starting WebLogic Server .... Connecting to http://localhost:7001... The WebLogic Server did not start up properly. Exception raised: java.lang.ArrayIndexOutO

  • Photoshop CC2014 and Windows 8 - click "drag" problem

    Hey there! So, I have recently started using the latest version of Photoshop CC2014 under windows 8.1 and I'm having this weird problem. I'm using a Cintiq 24HD touch with latest drivers, and touch disabled. I have also disable any kind of click and

  • How to disable full screen advertisements on samsung brightside?

    I started getting full screen ads on my samsung brightside.  I now get 2-3 per day, and I have option of dismissing or viewing them. How can I turn this annoying feature off?  I didnt perform any software updates to alter the phone.  Why is it all of

  • What's the best way to learn CSS

    I have been using tables for years and using CSS for text and backgrounds. I still use tables to position but am ready to move away from that? What's the best source for learning CSS? Thanks, Michael