# NoAwtpath-2007-03-26-2027-Failure.txt UTF-8             dh:2007-03-26
#
# Transcript of a Run using OdmJava.bat 0.03 which does not set the PATH
# environment variable for finding awt.dll.  This is used to confirm what
# the behavior of OdmClicker and OdmJniBind.application are when the
# odmjni100.dll cannot find awt.dll.
#
# The file NoAwtPath-2007-03-26-2026-Failure.png show the display as it
# was before the failure was acknowledged and the application closed.  This
# is the transcript at the point where control is returned to the console.
#
# It appears that the "Unable to Locate Component" is a Windows message,
# with the Java exception occuring when the LoadLibrary of odmjni100 fails.
#
# This failure resulted from removing the jre\bin directory from the
# PATH that is set in OdmJava.bat.  We are looking for a way to find the
# library without having to modify the environment PATH variable.
#
# This transcript is for comparison with locating awt.dll a different way
# confirming when it is working.

20:23:45.81 C:\MyProjects\java\ODMdev\info\odma\odmjni100\test\CheckSwing> RunSwingApp.bat OdmClicker
**   RunSwingApp.bat 0.00 PERFORMING OdmClicker SWING APPLICATION
*    OdmJava.bat 0.02 ESTABLISH JAVA ENVIRONMENT FOR ODMJNI
         Using the Java SDK installed at C:\Program Files\Java\jdk1.5.0_09
         Using package class path at C:\MyProjects\java\ODMdev
         and default package path info\odma\odmjni100

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: C:\MyProjects\java\ODMdev\info\odma\odmjni100\odmjni100.dll: Can't find dependent libraries
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at info.odma.odmjni100.OdmJniBind.<clinit>(OdmJniBind.java:242)
        at OdmClicker.actionPerformed(OdmClicker.java:109)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.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)

20:26:56.51 C:\MyProjects\java\ODMdev\info\odma\odmjni100\test\CheckSwing>

# $Header: /ODMdev/info/odma/odmjni100/test/Deploy05/NoAwtPath-2007-03-26-2027-Failure.txt 2     07-03-26 21:54 Orcmid $

#          *** end of NoAwtPath-2007-03-26-2027-Failure.text ***
