Dialogs and JDK1.6.0_10

Hm. I have seen this like four times now; a user opens a dialog in any form (JDialog or glasspane) on top of a JFrame, the EDT is blocked and a new event pump is installed to continue painting, as things should be. However the dialog is not drawn and the frame freezes since you cannot close the dialog. Has anyone else had such an experience?
Naturally this happens very rarely, like once or twice a week (with an average of 25 active users at any time). But if it happens and I pull the stack trace, I do not see anything wrong. AFAIK from the trace, the dialog should have been visible... A stack trace is below:
Full thread dump Java HotSpot(TM) Client VM (11.0-b15 mixed mode):
"Foxtrot Multi Worker Thread Runner #1" daemon prio=6 tid=0x4d410400 nid=0x6d8 in Object.wait() [0x4edbf000..0x4edbfb14]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:485)
        at foxtrot.workers.SingleWorkerThread.takeTask(SingleWorkerThread.java:132)
        - locked <0x07cbe9c8> (a foxtrot.workers.MultiWorkerThread)
        at foxtrot.workers.SingleWorkerThread.run(SingleWorkerThread.java:180)
        at java.lang.Thread.run(Unknown Source)
"Thread-5 StateChecker" prio=6 tid=0x4d429400 nid=0x250 waiting on condition [0x4e35f000..0x4e35fd14]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at nl.reinders.Reinders.run(Reinders.java:2186)
        at java.lang.Thread.run(Unknown Source)
"ESTOS Timeouter" prio=6 tid=0x4d432400 nid=0x7c waiting on condition [0x4e2bf000..0x4e2bfa94]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at org.tbee.util.ThreadUtil.sleepForced(ThreadUtil.java:244)
        at org.tbee.util.ThreadUtil.sleepForced(ThreadUtil.java:224)
        at nl.reinders.estos.EstosWrapper.timeouter(EstosWrapper.java:863)
        at nl.reinders.estos.EstosWrapper.access$100(EstosWrapper.java:47)
        at nl.reinders.estos.EstosWrapper$2.run(EstosWrapper.java:832)
        at java.lang.Thread.run(Unknown Source)
"ESTOS Dispatcher" prio=6 tid=0x4d4a4800 nid=0x114 runnable [0x4e26f000..0x4e26fa14]
   java.lang.Thread.State: RUNNABLE
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(Unknown Source)
        at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
        at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
        at sun.nio.cs.StreamDecoder.read(Unknown Source)
        - locked <0x0742a760> (a java.io.InputStreamReader)
        at java.io.InputStreamReader.read(Unknown Source)
        at java.io.BufferedReader.fill(Unknown Source)
        at java.io.BufferedReader.readLine(Unknown Source)
        - locked <0x0742a760> (a java.io.InputStreamReader)
        at java.io.BufferedReader.readLine(Unknown Source)
        at nl.reinders.estos.EstosWrapper.dispatch(EstosWrapper.java:748)
        at nl.reinders.estos.EstosWrapper.access$000(EstosWrapper.java:47)
        at nl.reinders.estos.EstosWrapper$1.run(EstosWrapper.java:714)
        at java.lang.Thread.run(Unknown Source)
"D3D Screen Updater" daemon prio=8 tid=0x4d32e000 nid=0xccc in Object.wait() [0x4dc4f000..0x4dc4fb14]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at sun.java2d.d3d.D3DScreenUpdateManager.run(Unknown Source)
        - locked <0x068fbc18> (a java.lang.Object)
        at java.lang.Thread.run(Unknown Source)
"TimerQueue" daemon prio=6 tid=0x4d31c400 nid=0xe00 in Object.wait() [0x4dbff000..0x4dbffb94]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at javax.swing.TimerQueue.run(Unknown Source)
        - locked <0x069f81d8> (a javax.swing.TimerQueue)
        at java.lang.Thread.run(Unknown Source)
"AWT-EventQueue-1" prio=6 tid=0x4d23b800 nid=0xd64 in Object.wait() [0x4d69e000..0x4d69fd14]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:485)
        at java.awt.EventQueue.getNextEvent(Unknown Source)
        - locked <0x068b8a20> (a org.tbee.swing.EventQueue)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.Dialog$1.run(Unknown Source)
        at java.awt.Dialog$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Dialog.show(Unknown Source)
        at java.awt.Component.show(Unknown Source)
        at java.awt.Component.setVisible(Unknown Source)
        at java.awt.Window.setVisible(Unknown Source)
        at java.awt.Dialog.setVisible(Unknown Source)
        at org.tbee.swing.jpa.JpaEntitySearchBuilder.searchDialog(JpaEntitySearchBuilder.java:1670)
        at org.tbee.swing.jpa.JpaEntitySearchBuilder.searchSingleDialog(JpaEntitySearchBuilder.java:1403)
        at org.tbee.swing.jpa.JpaObjectNavigatorBar$11.actionPerformed(JpaObjectNavigatorBar.java:239)
        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.JToggleButton$ToggleButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at java.awt.AWTEventMulticaster.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 org.tbee.swing.EventQueue.dispatchEvent(EventQueue.java:83)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(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)
"DestroyJavaVM" prio=6 tid=0x002b6800 nid=0x718 waiting on condition [0x00000000..0x0090fd4c]
   java.lang.Thread.State: RUNNABLE
"AWT-Windows" daemon prio=6 tid=0x38df4000 nid=0x814 runnable [0x390bf000..0x390bfa94]
   java.lang.Thread.State: RUNNABLE
        at sun.awt.windows.WToolkit.eventLoop(Native Method)
        at sun.awt.windows.WToolkit.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
"AWT-Shutdown" prio=6 tid=0x38df2800 nid=0x138 in Object.wait() [0x3906f000..0x3906fb94]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:485)
        at sun.awt.AWTAutoShutdown.run(Unknown Source)
        - locked <0x06893fa0> (a java.lang.Object)
        at java.lang.Thread.run(Unknown Source)
"Java2D Disposer" daemon prio=10 tid=0x38df1800 nid=0xd6c in Object.wait() [0x3901f000..0x3901fb14]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(Unknown Source)
        - locked <0x068a4478> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(Unknown Source)
        at sun.java2d.Disposer.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
"Low Memory Detector" daemon prio=6 tid=0x38d81800 nid=0xac runnable [0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE
"CompilerThread0" daemon prio=10 tid=0x38d92000 nid=0xf34 waiting on condition [0x00000000..0x38eef9bc]
   java.lang.Thread.State: RUNNABLE
"Attach Listener" daemon prio=10 tid=0x38a7d000 nid=0xd18 runnable [0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE
"Signal Dispatcher" daemon prio=10 tid=0x38a7bc00 nid=0xa60 waiting on condition [0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE
"Finalizer" daemon prio=8 tid=0x38a6c000 nid=0x98c in Object.wait() [0x38bdf000..0x38bdfa94]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(Unknown Source)
        - locked <0x065c2d40> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(Unknown Source)
        at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
"Reference Handler" daemon prio=10 tid=0x38a67800 nid=0xac4 in Object.wait() [0x38b8f000..0x38b8fb14]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:485)
        at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
        - locked <0x065c2dc8> (a java.lang.ref.Reference$Lock)
"VM Thread" prio=10 tid=0x38a62800 nid=0x5fc runnable
"VM Periodic Task Thread" prio=10 tid=0x38cd3800 nid=0x9dc waiting on condition
JNI global references: 2883
Heap
def new generation   total 9600K, used 4976K [0x02aa0000, 0x03500000, 0x065b0000)
  eden space 8576K,  55% used [0x02aa0000, 0x02f3f720, 0x03300000)
  from space 1024K,  23% used [0x03400000, 0x0343c910, 0x03500000)
  to   space 1024K,   0% used [0x03300000, 0x03300000, 0x03400000)
tenured generation   total 127084K, used 56180K [0x065b0000, 0x0e1cb000, 0x32aa0000)
   the space 127084K,  44% used [0x065b0000, 0x09c8d388, 0x09c8d400, 0x0e1cb000)
compacting perm gen  total 36096K, used 35877K [0x32aa0000, 0x34de0000, 0x36aa0000)
   the space 36096K,  99% used [0x32aa0000, 0x34da9560, 0x34da9600, 0x34de0000)
No shared spaces configured.Do note that the AWT-EventQueue-1 has installed a new event pump like it should for a new JDialog. The org.tbee.swing.EventQueue does nothing more than examining mouse click and uses that to install a popup menu on any swing component (copy, paste, etc). It has been used unchanged for two years now. The change would be the JRE.
I've rolled back to 1.6.0_01, since that is what was used before and I'll monitor if the problem goes away.

Hi,
I've experienced something very similar to what you describe under JRE 1.6.0_10. I've rolled back to 1.6.0_03 and this appears to work thus far. When displaying a JDialog sometimes the dialog contents do not paint - the border is drawn but the contents of the dialog are not. JButtons present on the dialog work when clicked but are not drawn. Operation continues as normal when the dialog is closed and if the user closes the dialog and re-opens it then the problem does not repeat. The problem is very intermittent, occuring every couple days.
We're using XP on Dell Optiplex PCs in case there is some link to the hardware here?
I'd be very grateful if you would let me know if you manage to identify the cause of this problem. I will of course do the same. I'd really like to be able to ship my software with JRE 1.6.0_10 or later as these releases fix a long standing bug in the JFileChooser.
Best regards

Similar Messages

  • No JRMC  found in JRockit  R27.2.0-jdk1.5.0_10 / bin

    Hi
    I want to do JRA recording to check memory usage.
    WLS 9.2
    Oracle Solaris on SPARC (32-bit)
    but when I open :-
    R27.2.0-jdk1.5.0_10 /bin there no jrmc file to start JRA recording.
    Is there any other way to do JRA recording ?
    below is the folder structure :-
    rwxr-xr-x 1 bea bea 1789 Nov 10 2006 java-rmi.cgi
    -rwxr-xr-x 1 bea bea 189160 Nov 10 2006 unpack200
    -rwxr-xr-x 1 bea bea 66696 Mar 21 2007 jrcmd
    -rwxr-xr-x 1 bea bea 66768 Mar 21 2007 appletviewer
    -rwxr-xr-x 1 bea bea 66784 Mar 21 2007 extcheck
    -rwxr-xr-x 1 bea bea 66808 Mar 21 2007 idlj
    -rwxr-xr-x 1 bea bea 66776 Mar 21 2007 jar
    -rwxr-xr-x 1 bea bea 66784 Mar 21 2007 jarsigner
    -rwxr-xr-x 1 bea bea 66152 Mar 21 2007 java
    -rwxr-xr-x 1 bea bea 66808 Mar 21 2007 javac
    -rwxr-xr-x 1 bea bea 66784 Mar 21 2007 javadoc
    -rwxr-xr-x 1 bea bea 66784 Mar 21 2007 javah
    -rwxr-xr-x 1 bea bea 66776 Mar 21 2007 javap
    -rwxr-xr-x 1 bea bea 66808 Mar 21 2007 jdb
    -rwxr-xr-x 1 bea bea 66784 Mar 21 2007 keytool
    -rwxr-xr-x 1 bea bea 66784 Mar 21 2007 native2ascii
    -rwxr-xr-x 1 bea bea 69432 Mar 21 2007 orbd
    -rwxr-xr-x 1 bea bea 66784 Mar 21 2007 policytool
    -rwxr-xr-x 1 bea bea 66776 Mar 21 2007 rmic
    -rwxr-xr-x 1 bea bea 66784 Mar 21 2007 rmid
    -rwxr-xr-x 1 bea bea 66784 Mar 21 2007 rmiregistry
    -rwxr-xr-x 1 bea bea 66784 Mar 21 2007 serialver
    -rwxr-xr-x 1 bea bea 66800 Mar 21 2007 servertool
    -rwxr-xr-x 1 bea bea 69432 Mar 21 2007 tnameserv
    -rwxr-xr-x 1 bea bea 66776 Mar 21 2007 apt
    -rwxr-xr-x 1 bea bea 66800 Mar 21 2007 jconsole
    -rwxr-xr-x 1 bea bea 66776 Mar 21 2007 jps
    -rwxr-xr-x 1 bea bea 66776 Mar 21 2007 jstat
    -rwxr-xr-x 1 bea bea 66776 Mar 21 2007 jstatd
    -rwxr-xr-x 1 bea bea 66792 Mar 21 2007 pack200
    drwxr-xr-x 3 bea bea 1024 Mar 21 2007 .
    drwxr-xr-x 2 bea bea 1024 Mar 21 2007 sparcv9
    drwxr-xr-x 9 bea bea 512 Jun 25 2007 ..
    Thanks in advance..... :)

    WLS : 9.2
    Platform : Solaris is 32 bit.
    Is the case that with JRockit jdk1.5.0_10 (Release R27.2) JRockit Mission Control is not supported?JRMC works. But there is no JRMC GUI application for Solaries (because the Eclipse RCP libraries are unavailable on that platform). You can enable the JRMC server on the Solaris machine (start JRockit with the appropriate -Xmanagement flag) and connect remotely from a Windows or Linux desktop.
    When checked with supported configuration could see JRockit Mission Control 3.1.0 is for Solaris 64 bit.Yes. JRockit JVM including JRMC server. No JRMC GUI.
    Henrik

  • JDeveloper 3.1 and JDK1.2.2: are they REALLY compliant?

    Hi,
    I've already been developing in JDev 3.0 using Java 1.1.8 for a few months and have a number of EJB's deployed in an Oracle8i 8.1.5 database. These are accessed by a servlet which is called from a C++ application in order to populate the db tables. I'm using Java Webserver 2.0 and everything works fine.
    I've been upgrading to Java 2 with JDev 3.1, Oracle 8i R2, and JDK1.2.2. Everything again works fine when I am testing and debugging in the JDev 3.1 IDE but when I deploy to the Web server, my context lookup for the EJB published name freezes, returns an error status to the C++ app but does not display any error/exception msgs in the server console/log files.
    On investigating I found that the java.exe bundled with JDev 3.1 as the JDK1.2.2 version is actually NOT the java.exe that has been dispatched with the release version of JDK1.2.2! There are however two files in the bin directory of the JDK1.2.2 called oldjava.exe and oldjavaw.exe which correspond to the ones bundled with JDev 3.1?
    Could someone please explain what is going on? As it stands at the moment the version of java.exe with JDK1.2.2 does not work for my EJB's but if I replace it with the oldjava.exe, it works fine. Does this mean that JDev 3.1 is NOT actually JDK1.2.2 compliant or have I done something wrong?
    This is potentially a major problem for our projects so if anyone at Oracle has any info it would be greatly appreciated.
    Cheers
    Dave

    David,
    I changed Sun Java 1.2.2 VM to JDeveloper 3.0 1.1.8 VM and now I get this:
    [Root exception is java.lang.ClassNotFoundException: EJBBibles.BibleSearchHomeHelper]javax.naming.Na
    mingException: Unknown reasons
    at oracle.aurora.jndi.sess_iiop.SessionCtx._activate(SessionCtx.java:82)
    at oracle.aurora.jndi.sess_iiop.SessionCtx.activate(SessionCtx.java:276)
    at oracle.aurora.jndi.sess_iiop.ServiceCtx.lookup(ServiceCtx.java:320)
    at oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(sess_iiopURLContext.java:215)
    at oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(sess_iiopURLContext.java:201)
    at javax.naming.InitialContext.lookup(InitialContext.java:288)
    at EJBBiblesServlet.Servlet1.init(Servlet1.java:36)
    at org.apache.tomcat.core.ServletWrapper.initServlet(ServletWrapper.java:315)
    at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:445)
    at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597)
    at org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHand
    ler.java:160)
    at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
    at java.lang.Thread.run(Thread.java:466)
    If I use JDev 1.2 VM, I get this:
    javax.naming.NotContextException: fumaca:2481:eatg/test/BibleSearchRemote
    java.lang.Object oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(javax.naming.Name)
    java.lang.Object oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(java.lang.String)
    java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
    void EJBBiblesServlet.Servlet1.init(javax.servlet.ServletConfig)
    void org.apache.tomcat.core.ServletWrapper.initServlet()
    void org.apache.tomcat.core.ServletWrapper.handleRequest(org.apache.tomcat.core.Request, org
    .apache.tomcat.core.Response)
    void org.apache.tomcat.core.ServletWrapper.handleRequest(org.apache.tomcat.core.HttpServletR
    equestFacade, org.apache.tomcat.core.HttpServletResponseFacade)
    void org.apache.tomcat.servlets.InvokerServlet.service(javax.servlet.http.HttpServletRequest
    , javax.servlet.http.HttpServletResponse)
    void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.Serv
    letResponse)
    void org.apache.tomcat.core.ServletWrapper.handleRequest(org.apache.tomcat.core.Request, org
    .apache.tomcat.core.Response)
    void org.apache.tomcat.core.ContextManager.service(org.apache.tomcat.core.Request, org.apach
    e.tomcat.core.Response)
    void org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(org.apache.tomca
    t.service.TcpConnection, java.lang.Object[])
    void org.apache.tomcat.service.TcpConnectionThread.run()
    void java.lang.Thread.run()
    Which means that there is a difference relative to the VM version.
    All the names are correct on 8i deployment. And all necessary files are on classpath, (including the EJB source and generated jars, that are also in the /lib on the context dochome).
    Any thoughts?
    Thanks,
    Eduardo
    null

  • How to add new UI(buttons,checkbox) item in preexisting option dialog and extension in indesign?

    I want to add new UI item in preexisting option dialog and Extension what i have to do ??
    eg:if i select interactivity sub menu item in object menu than I select change to button and in this dialog I want add new menu with the add to object menu(at the bottom) or new input text field .
    for doing such is there any api available to access  there inbuilt dialog or panel or any scripting solution ??

    This doesn't look possible. To define a Dialog or a panel, you need to add the resource definitions of the required widgets to the resource definition of the Dialog/Panel. Duplication of a resouce gives errors on compilation. I might be wrong as I'm new to plug-in developemnt, but most likely this will not be possible.
    Regards
    maddy1907

  • Log4j and jdk1.5

    log4j-1.2.8 and jdk1.5
    they don't seem to work together? too many errors/warnings
    any solutions?

    hehe
    thats a good solution thnx :)
    what i actually meant to ask was ... is there a way for jdk1.5 to work with log4j

  • Using Forms 10.1.2.3 and JRE1.6.0_10, web.show_document pops window behind

    Hello everyone, we are using Forms 10.1.2.3 and JRE1.6.0_10. We have separateFrame=true. We noticed when we open another browser using web.show_document('xxxx','_blank'), for example to our online help, the window pops behind the Forms MDI window. In previous versions of java it always popped in front of it like you would expect. We are using XP and IE7. It also acted the same way on Vista with IE7 as well. Has anyone else encountered this or found a workaround?

    As far as the dll goes, our dll is written in C and uses I guess windows api calls to start whatever task we need. (I didnt write it). As far as the forms code goes, we use the webutil_c_api calls. Here's a sample of the function I call from forms:
    FUNCTION StartTask ( pStartin varchar2, pCommandline varchar2, perrormessage in out varchar2) return number IS
              StartIn varchar2(255) := pStartIn;
              Commandline varchar2(1000) := pCommandline;
              Errmsg varchar2(2000):='$$';
         rc pls_integer;
              f_handle WEBUTIL_C_API.FUNCTIONHANDLE;
              args Webutil_c_api.parameterlist;
              param1 Webutil_c_api.ParameterHandle;
              param2 Webutil_c_api.ParameterHandle;
              param3 Webutil_c_api.ParameterHandle;
         begin
              --debuglog('calling StartTask local');
              f_handle := WEBUTIL_C_API.register_function('ClientUtils.dll','StartTask');
              args := WEBUTIL_C_API.create_parameter_list;
         param1 := WEBUTIL_C_API.add_parameter(args,WEBUTIL_C_API.C_CHAR_PTR
              ,WEBUTIL_C_API.PARAM_INOUT,StartIn, 255);
              param2 := WEBUTIL_C_API.add_parameter(args,WEBUTIL_C_API.C_CHAR_PTR
              ,WEBUTIL_C_API.PARAM_INOUT,Commandline, 1000);
              param3:= WEBUTIL_C_API.add_parameter(args,WEBUTIL_C_API.C_CHAR_PTR
              ,WEBUTIL_C_API.PARAM_INOUT,Errmsg, 2000);          
              rc := WEBUTIL_C_API.Invoke_Int(     'ClientUtils.dll','StartTask',args);     
              perrormessage := WEBUTIL_C_API.GET_PARAMETER_STRING(args,param3);
         WEBUTIL_C_API.Destroy_Parameter_List(args);
         WEBUTIL_C_API.Deregister_Function(f_handle);                                                                                
         return rc;
         END;

  • Show File Open Dialog and get File

    Am creating a document where I want to prompt the user with the File Open dialog box and when a file is selected, I want to get that file and attach to the document. I know the scripting allows files to be attached but how do I display the dialog and then attach using the script.
    Will greatly appreciate the help.
    Am using Adobe LiveCycle Designer 7
    Thanks
    Nilesh!

    Hi Nilesh,
    You can use the getDataObject method of the Adobe document object. Below is a sample script that you can attach to the click event of a button to see how it works. For more information on importDataObject and getDataObject go to
    http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/javascript/AcroJS.pdf
    SAMPLE
    ======
    //Get a handle to the Adobe document object
    var doc = event.target;
    //Display a file dialog box and assign the name Attachment to the
    //DataObject that contains the selected file.
    doc.importDataObject("Attachment");
    //Get the DataObject and store it in MyData
    var MyData = doc.getDataObject("Attachment");
    //Clear and display the console window
    console.show();
    console.clear();
    //Output the properties of the DataObject
    for (var i in MyData) console.println("MyData." + i + "=" + MyData[i]);
    Trevor

  • Photoshop crashes at the "import pdf" dialog, and causes the OS to be unstable.

    After using InDesign and Photoshop for some time... Photoshop crashes at the "import pdf" dialog, and causes the entire system to be slow and unstable.
    I have recently upgraded to CS6 from CS3. I'm using the current version of OSX Mountain Lion on an early 2008 Mac Pro.

    An application cannot bring down the operating system on Mac or Windows unless something is very, very wrong with the system.
    If you did an upgrade install of Mountain Lion my first suggestion would be to back up your data, deactivate your applications and then do a clean install.
    Bob

  • Weblogic NT Service 4.5.1 and Jdk1.2.2

    I am trying to set up the Weblogic NT Service with 4.5.1 SP9 and
    jdk1.2.2.
    When I use t3config to set up my JAVA_HOME with e:\jdk1.2.2 instead of
    using the -jre 1.2 I get an error saying that javai.dll can't be found.
    The problem is javai.dll is a jdk1.1.7B module. Has anyone else had
    this problem.
    Thanks,
    Mike Ball
    [email protected]

    It doesn't even get that far, java.exe can't start because it is looking for
    a jdk1.1.7b dll
    Mauricio Del Moral wrote:
    Trying setting
    -Djava.library.path=d:\weblogic\bin
    when server starts.
    I think you had jdk1.1.7B installed before, right?.
    Michael Ball <[email protected]> wrote:
    I am trying to set up the Weblogic NT Service with 4.5.1 SP9 and
    jdk1.2.2.
    When I use t3config to set up my JAVA_HOME with e:\jdk1.2.2 instead of
    using the -jre 1.2 I get an error saying that javai.dll can't be found.
    The problem is javai.dll is a jdk1.1.7B module. Has anyone else had
    this problem.
    Thanks,
    Mike Ball
    [email protected]

  • SQL 2008 R2: Microsoft SQL Server Management Studio cannot shut down because a modal dialog is active. Close the active dialog and try again

    When starting SQL Server 2008 R2 it hangs , and I cannot exit...so when  trying to logoff to reset I get the following "Microsoft SQL Server Management Studio cannot shut down because a modal dialog is active. Close the active dialog and try again"Any
    ideas?

    Big edit...
    I have 2008 R2 SP2 installed on my Windows 7 Machine which is also fully updated.  The marked answer above is clearly not the solution.
    The fix I had posted before did not work.  It appeared to work temporarily, but now I am back to the same invisible dialogue.  I have not been able to identify any pattern by which this is triggered.  I can have an entire day without this
    issue and then it appears the next.
    The invisible modal dialogue is definitely the connection dialogue.  The only way out is to hit the escape key to close it, but then I am no better off without an ability to connect to a server.  The dialogue is still invisible when I re-open it.
    However, even as I type this post, I have just gotten the dialogue to appear after restarting Management Studio, hitting escape, then clicking connect again.  That same pattern failed just minutes ago numerous times.  Again, I can't find any pattern.
    See you in the clock tower.

  • Provider in Dialog and Travel Expenses Control

    Hi,
    My Requirement: I want to have free form manual input to specify the name of the provider or merchant or supplier or vendor as there are expense types whose list cannot be maintained. For eg. If there is a business dinner, I want to type the name of the restaurant where dinner took place.
    This is because the Travel and Expense department can successfully audit not only the amount but where you spend that amount.
    Can you tell me which field to enable in Dialog and Travel Expense Control? From my research, I think "Description" field in SAP could be used for that function. But I am really unsure about that field and what tables are affected by it.
    Thanks,
    AD

    HI,
    You can use description or you can use additional information field for entering the details.
    Hope this helps.
    Regards,
    S.Srikanth

  • Difference between jdk1.3 and jdk1.4 and jdk1.5

    Hi All
    1: I wud like to know the difference between jdk1.3 and jdk1.4 and jdk1.5. I could not recoginze the correct answer for this.. mostly i need the added advantages for version of JDK..
    2: I wud also like to know difference in J2SE and J2EE.
    Thanks in advance

    while I can't tell you exclusively the differences, other than more methods have been added and some have been deprecated, from version to version, that is at least one difference.
    I know several like me are reluctant at the moment to jump on up to 1.5, for fear of (and reasonably so) making their current apps go haywire!
    Mine did just the other day when I tried to upgrade the JDK from 1.4.0 to 1.4.2.12!! It hosed everything.
    J2SE is the Standard Environment, and J2EE is the Enterprise environment, which at the very least allows for things like the java Mail interface, using servlets and classes with the HTTP environment!
    I'm sure many other posters could more accurately and specifically give you some other criterion of differences and advantages.

  • Installation failed with Windows Vista and JDK1.602

    Hi All,
    Appreciate any help to resolve the following installation error on my Windows Vista system with JDK1.602
    Pop-up Error Message:
    The installer is unable to run graphical mode. Please check the value of the DISPLAY environment varibale.
    Thanks,
    CP

    JSE8.1 (based on NetBeans 5.0) is not supported on Vista. You may want to consider using the latest NetBeans 5.5.1. (NetBeans is where all future development is planned for).
    http://forum.java.sun.com/thread.jspa?threadID=5192837
    From the release notes of NB551:
    # Issue #85361: NetBeans 5.5 installer does not start on Windows Vista.
        Description: On systems running Windows Vista, the NetBeans 5.5 installer fails to start
    and a message suggesting running with the "silent" or "console" flag appears.
        Workaround: To correct this, run the installer on JDK 6.0 build 96 or newer.
        If you encounter further difficulties, disable Compatibility Mode manually. You can do
    this by right-clicking the .exe installer file and choosing Properties from the pop-up menu,
    then deselecting Compatibility Mode in the Compatibility tab of the File Properties dialog.
    Note that if Compatibility Mode was turned on automatically, it is necessary to disable it
    for both the current user AND all users. To do so, click the "Show Settings for All Users"
    button, then deselect the Compatibility Mode checkbox in the "Compatibility for All Users"
    dialog.You can try the same workaround for installing jse8.1, to see if that works. But, it is an older version that is not supported on vista and hence my suggestion to consider a later version of NB.

  • My lock screen just shows a black background and a User Name/Password dialog after opening the screen from sleep. How do I get it back to where it blurs my desktop image with the dialog and my account image displayed?

    I'm not sure when it began, but now my Macbook Air only shows a black background and a User Name and Password dialog box when I wake it from sleep. It used to show my desktop background blurred with my user name and icon displayed with only a text field for entering my password. I'm currently using Yosemite (OS X 10.10.1) and all updates have been done. Any help or suggestions would be greatly appreciated as I know this isn't a real problem, just an annoyance since I couldn't find how to change it back in the System Preferences.

    I just have to point out that after looking at a related post (https://discussions.apple.com/message/22661092#22661092), it brought to memory that my issue most certainly began happening after I added some DoD certificates to the keychain. This obviously has something to do with it, but it still leaves me wondering what actually causes this to happen. :/

  • JDev 10.1.3 and JDK1.2.2 use javac problem

    I have an old application that I need to compile in 1.2.2, and have tried the "use javac" checkbox on the project properties compile page. The compiler seems to run, but there is an intential error in the code. I put it there, because the class file didn't seem to get generated. I tried this on command line, and apparently '-source' is an invalid option in 1.2.2.
    E:\jdk1.2.2\bin\javac.exe -J-mx512m -verbose -source 1.2 -target 1.2 -encoding Cp1252 -g -classpath E:\jdk1.2.2\jre\lib\rt.jar;E:\jdk1.2.2\jre\lib\i18n.jar;E:\jdk1.2.2\jre\classes;E:\app\codebase;E:\oracle\jdev1013\j2ee\home\lib\ojsp.jar;E:\oracle\jdev1013\j2ee\home\jsp\lib\taglib\ojsputil.jar;E:\oracle\jdev1013\j2ee\home\oc4j.jar;E:\oracle\jdev1013\j2ee\home\lib\oc4j-internal.jar;E:\oracle\jdev1013\j2ee\home\lib\servlet.jar;E:\oracle\jdev1013\jdev\lib\ojc.jar -sourcepath E:\app\src -d E:\PTC\Windchill\codebase @C:\DOCUME~1\gteft\LOCALS~1\Temp\javac30279.tmp
    [1:53:55 PM] Successful compilation: 0 errors, 0 warnings.
    Has anyone else run into this?
    Any help or thoughts on how to adjust this behavior for 1.2.2's javac would be appreciated.

    Thank you for responding. I am aware of (and frustrated by) issues and limitations due to this application's dependancies on an aging platform, and would upgrade if it were my choice. The dependancy is in the vendor's API, and not in code that I can change.
    As the invalid option was not captured as a message or counted as an error, I thought that perhaps this could be a potential issue for using javac with any version.
    I was hoping to see if there were additional settings controlling the command line options that I couldn't find.
    Thanks,
    Greg

Maybe you are looking for