Thread hangs trying to use MoveChildComponentChange to implement drag-n-dro

System: JDeveloper 11.1.1.3 Browser: FF 3.6.6
So I'm trying to implement a drop-n-drop between two components, allowing the user to drag elements between on parent component and another parent component:
I never make it past the commonComponentParent = moveChildComponentChange.add(..) line as the thread hangs (during debugging i dont get an exception it just hangs!!), but the reason that I'm getting this, i think, is because the system is giving a null ChangeManager (cm). Why is the RequestContext giving me a null cm when I so nicely asked it for a valid one?
<af:panelGroupLayout id="pgl1" styleClass="appdock appMenu" layout="horizontal" inlineStyle="margin-left: 0px;">
<af:dropTarget dropListener="#{menuComponent.handleExternalContainerDrag}" actions="MOVE">
<af:dataFlavor flavorClass="javax.faces.component.UIComponent" />
</af:dropTarget>
<tr:outputText value="drop here" />
</af:panelGroupLayout>
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import oracle.adf.view.rich.context.AdfFacesContext;
import oracle.adf.view.rich.datatransfer.DataFlavor;
import oracle.adf.view.rich.datatransfer.Transferable;
import oracle.adf.view.rich.dnd.DnDAction;
import oracle.adf.view.rich.event.DropEvent;
import org.apache.myfaces.trinidad.change.ChangeManager;
import org.apache.myfaces.trinidad.change.MoveChildComponentChange;
import org.apache.myfaces.trinidad.context.RequestContext;
public class MenuComponent {
public DnDAction handleExternalContainerDrag(DropEvent dropEvent){
ChangeManager cm = null;
cm = RequestContext.getCurrentInstance().getChangeManager();
UIComponent commonComponentParent = null;
try {
commonComponentParent = moveChildComponentChange.add(fctx, cm);
moveChildComponentChange.changeComponent(commonComponentParent);
AdfFacesContext adfFacesCtx = AdfFacesContext.getCurrentInstance();
adfFacesCtx.addPartialTarget(commonComponentParent);
} catch (Exception e){
e.printStackTrace();
-Rob

Hi,
did you enable change persistence in the ViewLayer project ? The book you have the sample code from mentions this on page 447 "Enabling Change Persistence in ADF Faces RC Projects". To enable this, just double click the view layer project and then select "ADF View". The check the checkbox to "Enable User Customization"
Frank

Similar Messages

  • Trying to use SQL to implement a VPD policy

    could some please help me with the following code :-
    these are the steps i took. i'm trying to implement a VPD(virtual private database) also know as Fine Grained Accessed on my APEX 3.2.1
    ------ login as SYS
    CREATE USER vpd_admin IDENTIFIED BY Password_1 DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp;
    GRANT CREATE SESSION TO vpd_admin;
    grant create any context to vpd_admin;
    GRANT CREATE PROCEDURE TO vpd_admin;
    grant select on charles.load to vpd_admin;
    grant select on charles.instructor to vpd_admin;
    grant execute on dbms_session to vpd_admin;
    grant execute on dbms_rls to vpd_admin;
    ------ login as vpd_admin
    create or replace context empnum_ctx using set_empnum_ctx_pkg;
    CREATE OR REPLACE PACKAGE set_empnum_ctx_pkg IS
    PROCEDURE set_empnum;
    END;
    CREATE OR REPLACE PACKAGE BODY set_empnum_ctx_pkg IS
    PROCEDURE set_empnum IS
         emp_id NUMBER;
    BEGIN
         SELECT EMPNUM INTO emp_id FROM CHARLES.LOAD
         WHERE upper(username) = nvl(v('APP_USER'), USER);
         DBMS_SESSION.SET_CONTEXT('empnum_ctx', 'empnum', emp_id);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN NULL;
    END;
    END;
    create or replace package vpd_policy as
    function vpd_predicate(schema_name in varchar2, object_name in varchar2)
    return varchar2;
    end;
    create or replace package body vpd_policy as function vpd_predicate(
    schema_name in varchar2 default null, object_name in varchar2 default null)
    return varchar2 as
    BEGIN
         if (USER = 'ADMIN') and (v('APP_USER') is null) or
         (USER = 'MICHAEL.GRAY') and (v('APP_USER') is NULL) then
         return '';
         else
         return '(
              exists (
                   select "INSTRUCTOR"."EMPNUM" as "EMPNUM",
                        "INSTRUCTOR"."FIRSTNAME" as "FIRSTNAME",
                        "INSTRUCTOR"."LASTNAME" as "LASTNAME",
                        "LOAD"."COURSEID" as "COURSEID",
                   "COURSE"."CREDIT" as "CREDIT",
                   "COURSE"."HPW" as "HPW",
                        "LOAD"."CAMPID" as "CAMPID",
                        "LOAD"."YR" as "YR",
                        "INSTRUCTOR"."USERNAME" as "USERNAME",
                        "LOAD"."SEMESTER" as "SEMESTER"
                   from      "COURSE" "COURSE",
                        "INSTRUCTOR" "INSTRUCTOR",
                        "LOAD" "LOAD"
                   where      "INSTRUCTOR"."EMPNUM"="LOAD"."EMPNUM"
                   and      "LOAD"."COURSEID"="COURSE"."COURSEID"
                   and      department_name = (
                             select department_name from departments
                             where upper (assigned_to) = nvl(v('APP_USER'),USER) )
                   or upper(username) = nvl(v('APP_USER'), USER)
         END IF;
    END;
    SQL> show errors
    Errors for PACKAGE BODY VPD_POLICY:
    LINE/COL ERROR
    33/4 PLS-00103: Encountered the symbol "end-of-file" when expecting
    one of the following:
    begin end function package pragma procedure form
    when i reached this point trying to implement the function 'vpd_predicate' i got this error
    any advice will be great,
    thanks

    You didn't specify an END for the package.
    One reason you should always name your END blocks (makes it easier to realize when you've missed one).
    END vpd_predicate;
    END vpd_policy;
    /Also, your package specification doesn't match the body (they need to have identical declarations).
    Also, please format your code like i've done so it's actually readable. Use the tags before and after your code.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • JHBCI Provider trying to use self to verify

    Hi, I'm trying to use the JHBCI provider and it's running into a problem when it executes its self-verification code. The JarVerifier wants to create a Key instance and low and behold it tries to use the JHBCI implementation of Key, so as part of instantiation it attempts to verify itself again and it eats its tail until the stack overflows.
    This is with Tomcat. I've put the JHBCI provider in jre/lib/ext and added it as #2 in my list of Security providers.
    It looks to me from the JHBCI source that they're verifying using the technique described on Sun's website in the article on writing a JCE provider. So what's up? How can I get this to work? I don't necessarily want to put the SunJCE provider first cause I want to use the crypto code from JHBCI.
    This seems like a general problem with any Provider that provides JCE tools used to verify jar files (Keys, Certificates and what not). What's the recommended way to avoid this chicken and eggishness? Is there some sort of classloader business that I'm missing?

    Here's the stack trace, for what it's worth. Note that this sequence repeats itself indefinitely:
    at sun.security.pkcs.PKCS7.parse(PKCS7.java:110)
    at sun.security.pkcs.PKCS7.<init>(PKCS7.java:92)
    at sun.security.util.SignatureFileVerifier.<init>(SignatureFileVerifier.java:64)
    at java.util.jar.JarVerifier.processEntry(JarVerifier.java:261)
    at java.util.jar.JarVerifier.update(JarVerifier.java:194)
    at java.util.jar.JarFile.initializeVerifier(JarFile.java:251)
    at java.util.jar.JarFile.getInputStream(JarFile.java:313)
    at de.cscc.crypto.provider.JHBCI$JarVerifier.verify(JHBCI.java:590)
    at de.cscc.crypto.provider.JHBCI.selfIntegrityChecking(JHBCI.java:486)
    at de.cscc.crypto.provider.RSAKeyFactoryEngine.<init>(RSAKeyFactoryEngine.java:56)
    at sun.reflect.GeneratedConstructorAccessor11.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor
    AccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:306)
    at java.lang.Class.newInstance(Class.java:259)
    at java.security.Security.doGetImpl(Security.java:1136)
    at java.security.Security.doGetImpl(Security.java:1083)
    at java.security.Security.getImpl(Security.java:1044)
    at java.security.KeyFactory.getInstance(KeyFactory.java:108)
    at sun.security.x509.X509Key.buildX509Key(X509Key.java:200)
    at sun.security.x509.X509Key.parse(X509Key.java:150)
    at sun.security.x509.CertificateX509Key.<init>(CertificateX509Key.java:58)
    at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:692)
    at sun.security.x509.X509CertInfo.<init>(X509CertInfo.java:155)
    at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1630)
    at sun.security.x509.X509CertImpl.<init>(X509CertImpl.java:286)
    at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:94
    at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.ja
    va:389)
    at sun.security.pkcs.PKCS7.parseSignedData(PKCS7.java:267)
    at sun.security.pkcs.PKCS7.parse(PKCS7.java:141)

  • I created a Pages document inserting 2 columns using 1) Inspector 2) Layout 3) columns.  How do I decrease the height of the column.  Have tried to use cursor and drag down the top border, but that does not reset the top border.

    I created a Pages document inserting 2 columns using 1) Inspector 2) Layout 3) columns.  How do I decrease the height of the column.  Have tried to use the cursor and drag down the top border, but that does not reset/decrease the top border.

    Set your columns back to one for the moment. In layout mode, insert a Text box. Place it in the upper left corner of your document, and drag down and right to the size of the container for your two columns. Click inside the Text Box, and now bump up your columns to 2. Your two columns are now contained in this resizable Text Box.

  • Office documents not allowed to save back to SharePoint when using the "Save As.." Sharepoint hangs trying to contact the site.

    I have a user who is a Sharepoint site owner (of the site in question) who just received a new machine, but every time she opens a document from our SharePoint site and then tries the "Save As.." option it hangs trying to contact the sharepoint
    site.  The specific message is "Contacting: (insert sharepoint site). Press ESC to cancel." 
    Sometimes when you choose ESC it allows you to save do what Save As should have done, but other times it will hang at Not Responding and freeze the application.  I have tried repairing Office reloading IE and even gave the user a new profile, but nothing
    has fixed it.
    She can do this without any issue on other machines and I have found that even when I log on with my administrative privelidges I have the same issue.  I have one co-worker who was able to get things to function normally however which makes this even
    more frustrating.
    Any suggestions would be welcome.

    Hi,
    Please take a look at this thread, and see if the steps in it also work for you:
    http://answers.microsoft.com/en-us/office/forum/office_2010-word/contacting-server-press-esc-to-cancel/8384c481-bc9f-44b9-bd38-9dd1c7cb9876
    In the Templates and Add-Ins dialog box, see which template is attached to the affected document(s)
    Disable the component of Microsoft Sharepoint Foundation Support via Add/Remove features in Control Panel.
    Hope this helps.
    Thanks,
    Ethan Hua CHN
    TechNet Community Support

  • Event Dispatch Thread Hangs, what is wrong?

    The Event Dispatch Thread Hangs when showing a modal dialog while running a
    SwingWorker Thread.
    I have included my code at the bottom of the page. There are three classes. I have posted a bug report to red hat. But I want to make sure my code is correct.
    My test case just puts the SwingWorker to sleep
    but the problem occurs if I do something real, like connect to a database, etc.
    Also I have tried little different variations of the logic calling
    setVisible(true)/(false) in different places and the same problem occurs.
    It seems to work with Sun JDK, note I am using IcedTea with Fedora Core 8.
    Version-Release number of selected component (if applicable):
    [szakrews@tuxtel ~]$ java -version
    java version "1.7.0"
    IcedTea Runtime Environment (build 1.7.0-b21)
    IcedTea Client VM (build 1.7.0-b21, mixed mode)How reproducible:
    Every couple times.
    javac TestClass2
    java TestClass2eventually it will hang. If it doesn't try again.
    You don't have to wait for the program to finish either.
    The program runs the Dialog 10 times but it never works or fails in the middle, it will either work or fail from the first dialog displayed.
    I have included a thread dump. That is about the most informative information I can get. Neither tracing nor writing a custom ThreadQueue or Drawing Manager to trace events produces any helpful information.
    Actual results:
    The JProccessBar won't move, and the SwingWorker finishes but the done() method is never run. The PROGRAM is not hung however because if I close the dialog then it will continue.
    Expected results:
    The JProccessBar should always move and the SwingWorker should always run the done() method.
    Additional info:
    java thread dump after freeze, taken with kill -s SIGQUIT <pid>
    2008-06-25 12:25:50
    Full thread dump IcedTea Client VM (1.7.0-b21 mixed mode):
    "DestroyJavaVM" prio=10 tid=0x938afc00 nid=0x1419 waiting on condition
    [0x00000000..0x0018a074]
       java.lang.Thread.State: RUNNABLE
    "AWT-EventQueue-0" prio=10 tid=0x938ae400 nid=0x1429 in Object.wait()
    [0x07f96000..0x07f96f04]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x96748f80> (a java.awt.EventQueue)
            at java.lang.Object.wait(Object.java:503)
            at java.awt.EventQueue.getNextEvent(EventQueue.java:485)
            - locked <0x96748f80> (a java.awt.EventQueue)
            at
    java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:248)
            at
    java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:201)
            at
    java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:195)
            at java.awt.Dialog$1.run(Dialog.java:1073)
            at java.awt.Dialog$3.run(Dialog.java:1127)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.awt.Dialog.show(Dialog.java:1125)
            at java.awt.Component.show(Component.java:1456)
            at java.awt.Component.setVisible(Component.java:1408)
            at java.awt.Window.setVisible(Window.java:871)
            at java.awt.Dialog.setVisible(Dialog.java:1012)
            at net.xtel.production.WaitDialog.showWaitDialog(WaitDialog.java:72)
            at net.xtel.production.WaitDialog.showWaitDialog(WaitDialog.java:102)
            at TestClass2.showWait(TestClass2.java:79)
            at TestClass2.createAndShowGUI(TestClass2.java:126)
            at TestClass2.access$0(TestClass2.java:114)
            at TestClass2$3.run(TestClass2.java:138)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:227)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:603)
            at
    java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:276)
            at
    java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:201)
            at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:191)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:186)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:139)
    "AWT-Shutdown" prio=10 tid=0x938ad000 nid=0x1428 in Object.wait()
    [0x03ea7000..0x03ea7f84]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x96749268> (a java.lang.Object)
            at java.lang.Object.wait(Object.java:503)
            at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:281)
            - locked <0x96749268> (a java.lang.Object)
            at java.lang.Thread.run(Thread.java:675)
    "AWT-XAWT" daemon prio=10 tid=0x938a8400 nid=0x1423 runnable
    [0x02ccc000..0x02ccd104]
       java.lang.Thread.State: RUNNABLE
            at sun.awt.X11.XToolkit.waitForEvents(Native Method)
            at sun.awt.X11.XToolkit.run(XToolkit.java:550)
            at sun.awt.X11.XToolkit.run(XToolkit.java:525)
            at java.lang.Thread.run(Thread.java:675)
    "Java2D Disposer" daemon prio=10 tid=0x93854000 nid=0x1421 in Object.wait()
    [0x07aea000..0x07aead84]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x966e7010> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
            - locked <0x966e7010> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:150)
            at sun.java2d.Disposer.run(Disposer.java:143)
            at java.lang.Thread.run(Thread.java:675)
    "Low Memory Detector" daemon prio=10 tid=0x93c15000 nid=0x141f runnable
    [0x00000000..0x00000000]
       java.lang.Thread.State: RUNNABLE
    "CompilerThread0" daemon prio=10 tid=0x93c13400 nid=0x141e waiting on condition
    [0x00000000..0x03a8a954]
       java.lang.Thread.State: RUNNABLE
    "Signal Dispatcher" daemon prio=10 tid=0x93c11c00 nid=0x141d waiting on
    condition [0x00000000..0x00000000]
       java.lang.Thread.State: RUNNABLE
    "Finalizer" daemon prio=10 tid=0x095e7000 nid=0x141c in Object.wait()
    [0x005d2000..0x005d3004]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x966e71d8> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
            - locked <0x966e71d8> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:150)
            at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:177)
    "Reference Handler" daemon prio=10 tid=0x095e2400 nid=0x141b in Object.wait()
    [0x00581000..0x00582084]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x966e7260> (a java.lang.ref.Reference$Lock)
            at java.lang.Object.wait(Object.java:503)
            at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:134)
            - locked <0x966e7260> (a java.lang.ref.Reference$Lock)
    "VM Thread" prio=10 tid=0x095dec00 nid=0x141a runnable
    "VM Periodic Task Thread" prio=10 tid=0x93c17400 nid=0x1420 waiting on condition
    JNI global references: 836
    Heap
    def new generation   total 960K, used 152K [0x93f40000, 0x94040000, 0x966a0000)
      eden space 896K,   9% used [0x93f40000, 0x93f56148, 0x94020000)
      from space 64K, 100% used [0x94020000, 0x94030000, 0x94030000)
      to   space 64K,   0% used [0x94030000, 0x94030000, 0x94040000)
    tenured generation   total 4096K, used 1088K [0x966a0000, 0x96aa0000, 0xb3f40000)
       the space 4096K,  26% used [0x966a0000, 0x967b01b0, 0x967b0200, 0x96aa0000)
    compacting perm gen  total 12288K, used 9169K [0xb3f40000, 0xb4b40000, 0xb7f40000)
       the space 12288K,  74% used [0xb3f40000, 0xb4834740, 0xb4834800, 0xb4b40000)
    No shared spaces configured.CLASS1:
    import java.awt.Dimension;
    import java.awt.Toolkit;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import java.sql.SQLException;
    import java.util.concurrent.ExecutionException;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JOptionPane;
    import javax.swing.JPanel;
    import javax.swing.RepaintManager;
    import javax.swing.SwingUtilities;
    import javax.swing.UIManager;
    import javax.swing.UnsupportedLookAndFeelException;
    public class TestClass2 extends JFrame implements ActionListener {
            /** Action Command for <code>searchbtn</code> */
            public static final String SEARCH_BTN_ACTION = "search_btn_action";
             * Constructor.
            public TestClass2() {
                    setSize(650, 350);
                    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
                    setLocation(screenSize.width / 2 - getSize().width / 2,
                                    screenSize.height / 2 - getSize().height / 2);
                    setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
                    addWindowListener(new WindowAdapter() {
                            @Override
                            public void windowClosing(WindowEvent e) {
                                    exit();
                    JPanel panel = new JPanel();
                    add(panel);
                    setVisible(true);
            @Override
            public void actionPerformed(ActionEvent e) {
                    if (e.getActionCommand().equals(SEARCH_BTN_ACTION)) {
                            JOptionPane.showMessageDialog(this, "Button Pressed");
            public void showWait() {
                    try {
                            WaitDialog.showWaitDialog(this, "Testing...", new SwingWorkerInterface(){
                                    @Override
                                    public Object workToDo() throws Throwable {
                                            Thread.currentThread().sleep(3000);
                                            return null;
                    } catch (InterruptedException e) {
                            // TODO Auto-generated catch block
                            e.printStackTrace();
                    } catch (ExecutionException e) {
                            // TODO Auto-generated catch block
                            e.printStackTrace();
             * Exits the program.
            public void exit(){
                    System.exit(0);
             * Create the GUI and show it. For thread safety, this method should be
             * invoked from the event-dispatching thread.
             * @throws UnsupportedLookAndFeelException
             * @throws IllegalAccessException
             * @throws InstantiationException
             * @throws ClassNotFoundException
             * @throws NullInstanceVariableException
             * @throws SQLException
            private static void createAndShowGUI() {
                    // set look and feel
                    try{
                            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
                            // Create instance of the ProductCatalog
                            TestClass2 root = new TestClass2();
                            for(int i = 0; i < 10; i++){
                                    root.showWait();
                    }catch(Exception e){
                            e.printStackTrace();
             * @param args
             *            this program does not use arguments
            public static void main(String[] args) {
                    SwingUtilities.invokeLater(new Runnable() {
                            public void run() {
                                    createAndShowGUI();
    }CLASS 2:
    import java.awt.Component;
    import java.awt.Frame;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import java.util.concurrent.ExecutionException;
    import javax.swing.JDialog;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JOptionPane;
    import javax.swing.JPanel;
    import javax.swing.JProgressBar;
    import javax.swing.SwingWorker;
    public class WaitDialog extends JDialog {
            private boolean disposed = false;
            private boolean displayed = false;
            private WorkerThread worker = null;
            WaitDialog(Frame parent, String text, SwingWorkerInterface in){
                    super(parent, true);
                    worker = new WorkerThread(in);
                    setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
                    addWindowListener(new WindowAdapter() {
                            @Override
                            public void windowOpened(WindowEvent e) {
                                    worker.execute();
                            @Override
                            public void windowClosing(WindowEvent e) {
                                    disposeWaitDialog();
                    this.setResizable(false);
                    JLabel message = new JLabel();
                    message.setText(text);
                    JProgressBar pb = new JProgressBar();
                    pb.setIndeterminate(true);
                    // set size and location
                    setSize(200, 100);
                    setLocationRelativeTo(parent);
                    JPanel panel = new JPanel();
                    panel.add(message);
                    panel.add(pb);
                    add(panel);
            public void showWaitDialog(){
                    if(displayed == true){
                            return;
                    if(disposed == true){
                            disposed = false;
                            return;
                    disposed = false;
                    displayed = true;
                    setVisible(true);
            public void disposeWaitDialog(){
                    if(disposed == true){
                            return;
                    if(displayed == true){
                            displayed = false;
                            setVisible(false);
                            return;
                    disposed = true;
                    displayed = false;
            public static Object showWaitDialog(Component parent, String text, SwingWorkerInterface in) throws InterruptedException, ExecutionException {
                    WaitDialog waitDialog = null;
                    if (parent == null) {
                            waitDialog = new WaitDialog(JOptionPane.getRootFrame(), text, in);
                    } else {
                            waitDialog = new WaitDialog(JOptionPane.getFrameForComponent(parent), text, in);
                    while(!waitDialog.worker.isDone()){
                            System.out.println("about to show");
                            waitDialog.showWaitDialog();
                            System.out.println("done showing");
                    waitDialog.dispose();
                    return waitDialog.worker.get();
            class WorkerThread extends SwingWorker<Throwable, Void> {
                    private SwingWorkerInterface in = null;
                    WorkerThread(SwingWorkerInterface in){
                            this.in = in;
                    public Throwable doInBackground(){
                                    try {
                                            System.out.println("about to do work");
                                            in.workToDo();
                                            System.out.println("done work no exception");
                                    } catch (Throwable e) {
                                            System.out.println("done work with exception");
                                            return e;
                                    return null;
                    public void done(){
                                    System.out.println("about to dispose");
                                    disposeWaitDialog();
                                    System.out.println("disposed");
    }CLASS 3:
    public interface SwingWorkerInterface {
            public Object workToDo() throws Throwable;
    }

    There's nothing directly wrong with it, but it will
    prevent other threads acquiring the class lock - but
    that may be what you want.True. Although the typical case for code that looks like this would be to use wait--usually the various threads in question require the same lock, so you have to use wait in order for the waiting thread to give it up and allow the other thread to do its work. Hard to say for sure though what he's doing.
    Also, if loading is all that the other thread does, and you're waiting for that thread to die, use join. But then, if that's the case, and you're only waiting for a single other thread, then you might as well just put it all in one thread, as already indicated.

  • How to add timeout for threads which are running  using ThreadPoolExecutor

    I am trying change my existing functionality with ThreadPoolExecutor. I was unable to achieve fully.
    Here is my issue.
    I was creating multiple threads for independent DB update operations. And was calling join with time value on the each thread, for any reason if the db update hangs so that thread should die.
    Now am trying use a nice ThreadPoolExecutor so that it can run and queue the threads nicely. But how do I create the timeout values for the threads which are in the ThreadPool. For any reason if the thread hangs then timeout will take care of killing the thread. When we use execute method submit the runnable task its not guaranteed that thread will run immediately. So when the executor will execute the submitted task is not know.
    Probably I might be wrong some where.
    Thanks.

    Future task = threadPoolExecutor.submit(...);
    //this will block until it finishes or times out.
    task.get(REQUEST_TIMEOUT, TimeUnit.MILLISECONDS);

  • I am trying to use the "App Store" on my Macbook Pro but it will not allow me to open the program. It automatically says, "App Store has closed unexpectedly." Whenever I tell it to reopen, the exact same messege pops up. Computer has all updates.

    I am trying to use the "App Store" on my Macbook Pro but it will not allow me to open the program. It automatically says, "App Store has closed unexpectedly." Whenever I tell it to reopen, the exact same messege pops up. My computer has all of the latest updates from Apple.
    I tried deleting the program then running the software update to try to get the program again but it did not work. Where can I manual download the actual app store program, or fix the one that I have.
    Thanks in advance.
    P.S. Here is the error report:
    Process:         App Store [614]
    Path:            /Applications/App Store.app/Contents/MacOS/App Store
    Identifier:      com.apple.appstore
    Version:         1.0.2 (63.1)
    Build Info:      Firenze-630100~1
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [107]
    Date/Time:       2011-10-09 23:16:25.809 -0600
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
    Interval Since Last Report:          606856 sec
    Crashes Since Last Report:           18
    Per-App Interval Since Last Report:  20 sec
    Per-App Crashes Since Last Report:   18
    Anonymous UUID:                      AD72D7A4-83DA-4BB2-96C0-F182941E3B24
    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Application Specific Information:
    abort() called
    *** Terminating app due to uncaught exception 'NSImageCacheException', reason: 'Cannot lock focus on image <NSImage 0x10038aa70 Size={0, 0} Reps=(
    )>, because it is size zero.'
    *** Call stack at first throw:
        0   CoreFoundation                      0x00007fff862a77b4 __exceptionPreprocess + 180
        1   libobjc.A.dylib                     0x00007fff8190af03 objc_exception_throw + 45
        2   CoreFoundation                      0x00007fff862a75d7 +[NSException raise:format:arguments:] + 103
        3   CoreFoundation                      0x00007fff862a7564 +[NSException raise:format:] + 148
        4   AppKit                              0x00007fff865799cc -[NSImage _lockFocusOnRepresentation:rect:context:hints:flipped:] + 319
        5   AppKit                              0x00007fff86579883 __-[NSImage lockFocusWithRect:context:hints:flipped:]_block_invoke_1 + 100
        6   AppKit                              0x00007fff8650dc1d -[NSImage _usingBestRepresentationForRect:context:hints:body:] + 178
        7   AppKit                              0x00007fff86579809 -[NSImage lockFocusWithRect:context:hints:flipped:] + 289
        8   AppKit                              0x00007fff865796d3 -[NSImage lockFocusFlipped:] + 142
        9   App Store                           0x000000010001c840 0x0 + 4295084096
        10  AppKit                              0x00007fff86502444 -[NSControl drawRect:] + 405
        11  AppKit                              0x00007fff864facc5 -[NSView _drawRect:clip:] + 3390
        12  AppKit                              0x00007fff864f9938 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1325
        13  AppKit                              0x00007fff864f9ca2 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
        14  AppKit                              0x00007fff864f9ca2 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
        15  AppKit                              0x00007fff8651ec5a -[NSToolbarItemViewer _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 301
        16  AppKit                              0x00007fff864f9ca2 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
        17  AppKit                              0x00007fff864f9ca2 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
        18  AppKit                              0x00007fff864f9ca2 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
        19  AppKit                              0x00007fff864f800a -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 767
        20  AppKit                              0x00007fff864f7b2c -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 254
        21  AppKit                              0x00007fff864f43de -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2683
        22  AppKit                              0x00007fff8646dc0e -[NSView displayIfNeeded] + 969
        23  AppKit                              0x00007fff8641f922 -[NSWindow _setFrameCommon:display:stashSize:] + 1895
        24  AppKit                              0x00007fff86435b34 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 787
        25  AppKit                              0x00007fff864357d2 -[NSWindow orderWindow:relativeTo:] + 94
        26  AppKit                              0x00007fff86401974 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1726
        27  AppKit                              0x00007fff863ffa91 loadNib + 226
        28  AppKit                              0x00007fff863ff1a4 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 763
        29  AppKit                              0x00007fff863fedd9 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 326
        30  AppKit                              0x00007fff863fc35b NSApplicationMain + 279
        31  App Store                           0x00000001000013f4 0x0 + 4294972404
    Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
    0   libSystem.B.dylib                 0x00007fff8013c0b6 __kill + 10
    1   libSystem.B.dylib                 0x00007fff801dc9f6 abort + 83
    2   libstdc++.6.dylib                 0x00007fff86e915d2 __tcf_0 + 0
    3   libobjc.A.dylib                   0x00007fff8190eb39 _objc_terminate + 100
    4   libstdc++.6.dylib                 0x00007fff86e8fae1 __cxxabiv1::__terminate(void (*)()) + 11
    5   libstdc++.6.dylib                 0x00007fff86e8fb16 __cxxabiv1::__unexpected(void (*)()) + 0
    6   libstdc++.6.dylib                 0x00007fff86e8fbfc __gxx_exception_cleanup(_Unwind_Reason_Code, _Unwind_Exception*) + 0
    7   libobjc.A.dylib                   0x00007fff8190afa2 object_getIvar + 0
    8   com.apple.CoreFoundation          0x00007fff862ff969 -[NSException raise] + 9
    9   com.apple.AppKit                  0x00007fff8641fbe4 -[NSWindow _setFrameCommon:display:stashSize:] + 2601
    10  com.apple.AppKit                  0x00007fff86435b34 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 787
    11  com.apple.AppKit                  0x00007fff864357d2 -[NSWindow orderWindow:relativeTo:] + 94
    12  com.apple.AppKit                  0x00007fff86401974 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1726
    13  com.apple.AppKit                  0x00007fff863ffa91 loadNib + 226
    14  com.apple.AppKit                  0x00007fff863ff1a4 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 763
    15  com.apple.AppKit                  0x00007fff863fedd9 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 326
    16  com.apple.AppKit                  0x00007fff863fc35b NSApplicationMain + 279
    17  com.apple.appstore                0x00000001000013f4 0x100000000 + 5108
    Thread 1:  Dispatch queue: com.apple.libdispatch-manager
    0   libSystem.B.dylib                 0x00007fff80106c0a kevent + 10
    1   libSystem.B.dylib                 0x00007fff80108add _dispatch_mgr_invoke + 154
    2   libSystem.B.dylib                 0x00007fff801087b4 _dispatch_queue_invoke + 185
    3   libSystem.B.dylib                 0x00007fff801082de _dispatch_worker_thread2 + 252
    4   libSystem.B.dylib                 0x00007fff80107c08 _pthread_wqthread + 353
    5   libSystem.B.dylib                 0x00007fff80107aa5 start_wqthread + 13
    Thread 2:
    0   libSystem.B.dylib                 0x00007fff80107a2a __workq_kernreturn + 10
    1   libSystem.B.dylib                 0x00007fff80107e3c _pthread_wqthread + 917
    2   libSystem.B.dylib                 0x00007fff80107aa5 start_wqthread + 13
    Thread 3:  WebCore: LocalStorage
    0   libSystem.B.dylib                 0x00007fff80128a6a __semwait_signal + 10
    1   libSystem.B.dylib                 0x00007fff8012c881 _pthread_cond_wait + 1286
    2   com.apple.JavaScriptCore          0x00007fff8776e690 ***::ThreadCondition::timedWait(***::Mutex&, double) + 64
    3   com.apple.WebCore                 0x00007fff808da4c1 WebCore::LocalStorageThread::threadEntryPoint() + 177
    4   libSystem.B.dylib                 0x00007fff80126fd6 _pthread_start + 331
    5   libSystem.B.dylib                 0x00007fff80126e89 thread_start + 13
    Thread 4:
    0   libSystem.B.dylib                 0x00007fff80107a2a __workq_kernreturn + 10
    1   libSystem.B.dylib                 0x00007fff80107e3c _pthread_wqthread + 917
    2   libSystem.B.dylib                 0x00007fff80107aa5 start_wqthread + 13
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0x0000000000000000  rbx: 0x00007fff700262f8  rcx: 0x00007fff5fbff348  rdx: 0x0000000000000000
      rdi: 0x0000000000000266  rsi: 0x0000000000000006  rbp: 0x00007fff5fbff360  rsp: 0x00007fff5fbff348
       r8: 0x00007fff70029a60   r9: 0x0000000000000063  r10: 0x00007fff801380fa  r11: 0x0000000000000202
      r12: 0x00007fff8632cb09  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000001
      rip: 0x00007fff8013c0b6  rfl: 0x0000000000000202  cr2: 0x00007fff70d6dfd0
    Binary Images:
           0x100000000 -        0x100044fff  com.apple.appstore 1.0.2 (63.1) <9113B2F3-EC62-24EA-C21A-352621712604> /Applications/App Store.app/Contents/MacOS/App Store
           0x100065000 -        0x10018eff7  com.apple.CommerceKit 1.0 (60.8) <F3B830C2-00E3-FE72-2D65-FDC943EC65EF> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/CommerceKit
        0x7fff5fc00000 -     0x7fff5fc3bdef  dyld 132.1 (???) <B536F2F1-9DF1-3B6C-1C2C-9075EA219A06> /usr/lib/dyld
        0x7fff8004e000 -     0x7fff8006ffff  libresolv.9.dylib 41.0.0 (compatibility 1.0.0) <6993F348-428F-C97E-7A84-7BD2EDC46A62> /usr/lib/libresolv.9.dylib
        0x7fff80070000 -     0x7fff800b1ff7  com.apple.MediaKit 10.4 (486) <5ABA1213-744C-5C65-CA8E-84BE866DB7B4> /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
        0x7fff800b2000 -     0x7fff800c3ff7  libz.1.dylib 1.2.3 (compatibility 1.0.0) <FB5EE53A-0534-0FFA-B2ED-486609433717> /usr/lib/libz.1.dylib
        0x7fff800c4000 -     0x7fff800ecfff  com.apple.DictionaryServices 1.1.2 (1.1.2) <E9269069-93FA-2B71-F9BA-FDDD23C4A65E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
        0x7fff800ed000 -     0x7fff802aefef  libSystem.B.dylib 125.2.11 (compatibility 1.0.0) <9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69> /usr/lib/libSystem.B.dylib
        0x7fff802f3000 -     0x7fff802f5fff  com.apple.print.framework.Print 6.1 (237.1) <CA8564FB-B366-7413-B12E-9892DA3C6157> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
        0x7fff8033c000 -     0x7fff80377fff  com.apple.AE 496.5 (496.5) <208DF391-4DE6-81ED-C697-14A2930D1BC6> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
        0x7fff8038c000 -     0x7fff803cfff7  libRIP.A.dylib 545.0.0 (compatibility 64.0.0) <5FF3D7FD-84D8-C5FA-D640-90BB82EC651D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
        0x7fff803d0000 -     0x7fff8049cfff  com.apple.installframework 596 (596.1) <ED491B89-5D44-533B-5589-622F21EB4D16> /System/Library/PrivateFrameworks/Install.framework/Versions/A/Install
        0x7fff8049d000 -     0x7fff807d1fef  com.apple.CoreServices.CarbonCore 861.39 (861.39) <1386A24D-DD15-5903-057E-4A224FAF580B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
        0x7fff807d2000 -     0x7fff808b7fef  com.apple.DesktopServices 1.5.11 (1.5.11) <39FAA3D2-6863-B5AB-AED9-92D878EA2438> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
        0x7fff808b8000 -     0x7fff818f2fff  com.apple.WebCore 6534 (6534.50) <8B0BB24A-C84C-A4F2-5544-C8071A35BBC5> /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
        0x7fff818f3000 -     0x7fff818f9ff7  com.apple.DiskArbitration 2.3 (2.3) <857F6E43-1EF4-7D53-351B-10DE0A8F992A> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
        0x7fff818fa000 -     0x7fff81900ff7  IOSurface ??? (???) <04EDCEDE-E36F-15F8-DC67-E61E149D2C9A> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
        0x7fff81901000 -     0x7fff819b7ff7  libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <03140531-3B2D-1EBA-DA7F-E12CC8F63969> /usr/lib/libobjc.A.dylib
        0x7fff81aae000 -     0x7fff81ac9ff7  com.apple.openscripting 1.3.1 (???) <FD46A0FE-AC79-3EF7-AB4F-396D376DDE71> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
        0x7fff81aca000 -     0x7fff81adcfe7  libsasl2.2.dylib 3.15.0 (compatibility 3.0.0) <76B83C8D-8EFE-4467-0F75-275648AFED97> /usr/lib/libsasl2.2.dylib
        0x7fff81bdf000 -     0x7fff823e9fe7  libBLAS.dylib 219.0.0 (compatibility 1.0.0) <FC941ECB-71D0-FAE3-DCBF-C5A619E594B8> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
        0x7fff823ea000 -     0x7fff823feff7  com.apple.speech.synthesis.framework 3.10.35 (3.10.35) <621B7415-A0B9-07A7-F313-36BEEDD7B132> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
        0x7fff823ff000 -     0x7fff82448ff7  com.apple.securityinterface 4.0.1 (40418) <E2DC796D-84EC-48F5-34A9-DF614573BE74> /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
        0x7fff82542000 -     0x7fff82548ff7  com.apple.CommerceCore 1.0 (9.1) <3691E9BA-BCF4-98C7-EFEC-78DA6825004E> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/C ommerceCore.framework/Versions/A/CommerceCore
        0x7fff82549000 -     0x7fff82593ff7  com.apple.Metadata 10.6.3 (507.15) <2EF19055-D7AE-4D77-E589-7B71B0BC1E59> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
        0x7fff825a0000 -     0x7fff825b9fff  com.apple.CFOpenDirectory 10.6 (10.6) <CCF79716-7CC6-2520-C6EB-A4F56AD0A207> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
        0x7fff82801000 -     0x7fff82834ff7  libTrueTypeScaler.dylib ??? (???) <69D4A213-45D2-196D-7FF8-B52A31DFD329> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libTrueTypeScaler.dylib
        0x7fff828bd000 -     0x7fff82d00fef  libLAPACK.dylib 219.0.0 (compatibility 1.0.0) <0CC61C98-FF51-67B3-F3D8-C5E430C201A9> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
        0x7fff82d01000 -     0x7fff82d50fef  libTIFF.dylib ??? (???) <1E2593D1-A7F6-84C6-DF8F-0B46AE445926> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
        0x7fff82d51000 -     0x7fff82da4ff7  com.apple.HIServices 1.8.3 (???) <F6E0C7A7-C11D-0096-4DDA-2C77793AA6CD> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
        0x7fff82da5000 -     0x7fff82daafff  libGFXShared.dylib ??? (???) <1D0D3531-9561-632C-D620-1A8652BEF5BC> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.d ylib
        0x7fff82dab000 -     0x7fff82e68fff  com.apple.CoreServices.OSServices 359.2 (359.2) <BBB8888E-18DE-5D09-3C3A-F4C029EC7886> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
        0x7fff82eb1000 -     0x7fff82eeefff  com.apple.LDAPFramework 2.0 (120.1) <16383FF5-0537-6298-73C9-473AEC9C149C> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
        0x7fff82eef000 -     0x7fff82f05fe7  com.apple.MultitouchSupport.framework 207.11 (207.11) <8233CE71-6F8D-8B3C-A0E1-E123F6406163> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/Multit ouchSupport
        0x7fff83083000 -     0x7fff830dcfe7  com.apple.PackageKit 1.1.3 (92) <08D0E1A4-8E59-25E9-7203-49BF7B6112AC> /System/Library/PrivateFrameworks/PackageKit.framework/Versions/A/PackageKit
        0x7fff830dd000 -     0x7fff83117fff  com.apple.bom 10.0 (164) <E5C9AFBD-68C1-197E-72B0-B43295DC87DC> /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
        0x7fff83118000 -     0x7fff83196ff7  com.apple.CoreText 151.10 (???) <54961997-55D8-DC0F-2634-674E452D5A8E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
        0x7fff831e9000 -     0x7fff831eaff7  com.apple.audio.units.AudioUnit 1.6.7 (1.6.7) <53299948-2554-0F8F-7501-04B34E49F6CF> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
        0x7fff831eb000 -     0x7fff832ebfef  com.apple.DiskImagesFramework 10.6.8 (289.1) <4F2F2B6C-59D1-0631-71D1-F471BE2CE29A> /System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/DiskImages
        0x7fff832ec000 -     0x7fff832ecff7  com.apple.CoreServices 44 (44) <DC7400FB-851E-7B8A-5BF6-6F50094302FB> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
        0x7fff832ed000 -     0x7fff83339fff  libauto.dylib ??? (???) <F7221B46-DC4F-3153-CE61-7F52C8C293CF> /usr/lib/libauto.dylib
        0x7fff8333a000 -     0x7fff83376fe7  libcurl.4.dylib 6.1.0 (compatibility 6.0.0) <1E041185-131C-C237-C250-38BE933A269A> /usr/lib/libcurl.4.dylib
        0x7fff83377000 -     0x7fff83382fff  com.apple.CrashReporterSupport 10.6.7 (258) <A2CBB18C-BD1C-8650-9091-7687E780E689> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/Cra shReporterSupport
        0x7fff83383000 -     0x7fff83433fff  edu.mit.Kerberos 6.5.11 (6.5.11) <085D80F5-C9DC-E252-C21B-03295E660C91> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
        0x7fff83434000 -     0x7fff83449ff7  com.apple.LangAnalysis 1.6.6 (1.6.6) <DC999B32-BF41-94C8-0583-27D9AB463E8B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
        0x7fff8344a000 -     0x7fff8344aff7  com.apple.ApplicationServices 38 (38) <10A0B9E9-4988-03D4-FC56-DDE231A02C63> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
        0x7fff836b8000 -     0x7fff836bdfff  libGIF.dylib ??? (???) <201B8077-B5CC-11AA-E1B0-1D057ABE416A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
        0x7fff83741000 -     0x7fff83741ff7  com.apple.vecLib 3.6 (vecLib 3.6) <08D3D45D-908B-B86A-00BA-0F978D2702A7> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
        0x7fff83742000 -     0x7fff83745ff7  com.apple.securityhi 4.0 (36638) <38935851-09E4-DDAB-DB1D-30ADC39F7ED0> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
        0x7fff838a7000 -     0x7fff838a8ff7  libScreenReader.dylib ??? (???) <0E570442-073F-D6AD-5014-1FD91C631DCF> /usr/lib/libScreenReader.dylib
        0x7fff8390a000 -     0x7fff83915ff7  com.apple.bsd.ServiceManagement 1.3 (1.3) <CEB99ECF-4C55-C3DF-EE64-35903BF7B690> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManage ment
        0x7fff839a6000 -     0x7fff83d43fe7  com.apple.QuartzCore 1.6.3 (227.37) <16DFF6CD-EA58-CE62-A1D7-5F6CE3D066DD> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
        0x7fff83d44000 -     0x7fff83d4bfff  com.apple.OpenDirectory 10.6 (10.6) <4200CFB0-DBA1-62B8-7C7C-91446D89551F> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
        0x7fff83d4c000 -     0x7fff83decfff  com.apple.LaunchServices 362.3 (362.3) <B90B7C31-FEF8-3C26-BFB3-D8A48BD2C0DA> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
        0x7fff83ffe000 -     0x7fff8401eff7  com.apple.DirectoryService.Framework 3.6 (621.11) <AD76C757-6701-BDB5-631E-1CB77D669586> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
        0x7fff84044000 -     0x7fff84045ff7  com.apple.TrustEvaluationAgent 1.1 (1) <51867586-1C71-AE37-EAAD-535A58DD3550> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/Tru stEvaluationAgent
        0x7fff84055000 -     0x7fff842deff7  com.apple.security 6.1.2 (55002) <4419AFFC-DAE7-873E-6A7D-5C9A5A4497A6> /System/Library/Frameworks/Security.framework/Versions/A/Security
        0x7fff842df000 -     0x7fff8436ffff  com.apple.SearchKit 1.3.0 (1.3.0) <4175DC31-1506-228A-08FD-C704AC9DF642> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
        0x7fff8461d000 -     0x7fff847b9fff  com.apple.WebKit 6534 (6534.50) <05AEA122-3F31-0F56-4AA6-E84140C53785> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
        0x7fff847ba000 -     0x7fff847ebfff  libGLImage.dylib ??? (???) <7F102A07-E4FB-9F52-B2F6-4E2D2383CA13> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
        0x7fff847ec000 -     0x7fff84856fe7  libvMisc.dylib 268.0.1 (compatibility 1.0.0) <75A8D840-4ACE-6560-0889-2AFB6BE08E59> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
        0x7fff84901000 -     0x7fff849c2fff  libFontParser.dylib ??? (???) <A00BB0A7-E46C-1D07-1391-194745566C7E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontParser.dylib
        0x7fff849c3000 -     0x7fff849c6ff7  libCoreVMClient.dylib ??? (???) <E03D7C81-A3DA-D44A-A88A-DDBB98AF910B> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClien t.dylib
        0x7fff849c7000 -     0x7fff849ddfef  libbsm.0.dylib ??? (???) <42D3023A-A1F7-4121-6417-FCC6B51B3E90> /usr/lib/libbsm.0.dylib
        0x7fff849de000 -     0x7fff849f2fff  libGL.dylib ??? (???) <2ECE3B0F-39E1-3938-BF27-7205C6D0358B> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
        0x7fff849f3000 -     0x7fff84a1aff7  libJPEG.dylib ??? (???) <46A413EA-4FD1-A050-2EF0-6279F3EAD581> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
        0x7fff8524c000 -     0x7fff85250ff7  libCGXType.A.dylib 545.0.0 (compatibility 64.0.0) <DB710299-B4D9-3714-66F7-5D2964DE585B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
        0x7fff854bb000 -     0x7fff854e6ff7  libxslt.1.dylib 3.24.0 (compatibility 3.0.0) <8AB4CA9E-435A-33DA-7041-904BA7FA11D5> /usr/lib/libxslt.1.dylib
        0x7fff854e7000 -     0x7fff85606fe7  libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <14115D29-432B-CF02-6B24-A60CC533A09E> /usr/lib/libcrypto.0.9.8.dylib
        0x7fff85607000 -     0x7fff85905fff  com.apple.HIToolbox 1.6.5 (???) <AD1C18F6-51CB-7E39-35DD-F16B1EB978A8> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
        0x7fff85e12000 -     0x7fff85e12ff7  com.apple.Accelerate.vecLib 3.6 (vecLib 3.6) <DA9BFF01-40DF-EBD5-ABB7-787DAF2D77CF> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
        0x7fff85e13000 -     0x7fff85f2dfef  libGLProgrammability.dylib ??? (???) <8A4B86E3-0FA7-8684-2EF2-C5F8079428DB> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
        0x7fff861f6000 -     0x7fff8636dfe7  com.apple.CoreFoundation 6.6.5 (550.43) <31A1C118-AD96-0A11-8BDF-BD55B9940EDC> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
        0x7fff8637a000 -     0x7fff863f9fe7  com.apple.audio.CoreAudio 3.2.6 (3.2.6) <79E256EB-43F1-C7AA-6436-124A4FFB02D0> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
        0x7fff863fa000 -     0x7fff86df4ff7  com.apple.AppKit 6.6.8 (1038.36) <4CFBE04C-8FB3-B0EA-8DDB-7E7D10E9D251> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
        0x7fff86df5000 -     0x7fff86e44ff7  com.apple.DirectoryService.PasswordServerFramework 6.1 (6.1) <01B370FB-D524-F660-3826-E85B7F0D85CD> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordS erver
        0x7fff86e45000 -     0x7fff86ec2fef  libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib
        0x7fff86ec3000 -     0x7fff86ff8fff  com.apple.audio.toolbox.AudioToolbox 1.6.7 (1.6.7) <E5D7DBDB-6DDF-E6F9-C71C-86F4520EE5A3> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
        0x7fff86ff9000 -     0x7fff87006ff7  com.apple.AppleFSCompression 24.4 (1.0) <57D6F613-CB5E-75BC-E351-3272D62227F5> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/Apple FSCompression
        0x7fff87007000 -     0x7fff87041fff  libcups.2.dylib 2.8.0 (compatibility 2.0.0) <539EBFDD-96D6-FB07-B128-40232C408757> /usr/lib/libcups.2.dylib
        0x7fff87042000 -     0x7fff870a2fe7  com.apple.framework.IOKit 2.0 (???) <4F071EF0-8260-01E9-C641-830E582FA416> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
        0x7fff87217000 -     0x7fff87258fff  com.apple.SystemConfiguration 1.10.8 (1.10.2) <78D48D27-A9C4-62CA-2803-D0BBED82855A> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
        0x7fff87259000 -     0x7fff8725dff7  libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
        0x7fff87277000 -     0x7fff87435fff  libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <4274FC73-A257-3A56-4293-5968F3428854> /usr/lib/libicucore.A.dylib
        0x7fff87436000 -     0x7fff87453ff7  libPng.dylib ??? (???) <6D8E515B-E0A2-2BA1-9CAC-8CB8A8B35879> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
        0x7fff87454000 -     0x7fff87509fe7  com.apple.ink.framework 1.3.3 (107) <FFC46EE0-3544-A459-2AB9-94778A75E3D4> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
        0x7fff87526000 -     0x7fff8755dff7  com.apple.DiskManagement 3.6 (358) <D0D9E19C-7F01-CEB6-681D-0B20D3B7E9B4> /System/Library/PrivateFrameworks/DiskManagement.framework/Versions/A/DiskManag ement
        0x7fff8755e000 -     0x7fff875a6ff7  libvDSP.dylib 268.0.1 (compatibility 1.0.0) <170DE04F-89AB-E295-0880-D69CAFBD7979> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
        0x7fff875a7000 -     0x7fff876e5fff  com.apple.CoreData 102.1 (251) <32233D4D-00B7-CE14-C881-6BF19FD05A03> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
        0x7fff87764000 -     0x7fff87971ff7  com.apple.JavaScriptCore 6534 (6534.49) <1D418EF7-CDBE-3832-0157-D853073948D0> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
        0x7fff87972000 -     0x7fff879afff7  libFontRegistry.dylib ??? (???) <4C3293E2-851B-55CE-3BE3-29C425DD5DFF> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontRegistry.dylib
        0x7fff879e1000 -     0x7fff87e28fef  com.apple.RawCamera.bundle 3.7.1 (570) <5AFA87CA-DC3D-F84E-7EA1-6EABA8807766> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
        0x7fff87e29000 -     0x7fff87e58fff  com.apple.framework.Admin 4.6 (4.6) <376BC531-CE46-A147-9AF5-4D8F8E1522C5> /System/Library/PrivateFrameworks/Admin.framework/Versions/A/Admin
        0x7fff87e59000 -     0x7fff87e70fff  com.apple.ImageCapture 6.1 (6.1) <79AB2131-2A6C-F351-38A9-ED58B25534FD> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
        0x7fff87fe3000 -     0x7fff88008ff7  com.apple.CoreVideo 1.6.2 (45.6) <E138C8E7-3CB6-55A9-0A2C-B73FE63EA288> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
        0x7fff8800a000 -     0x7fff8800fff7  com.apple.CommonPanels 1.2.4 (91) <4D84803B-BD06-D80E-15AE-EFBE43F93605> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
        0x7fff88010000 -     0x7fff88010ff7  com.apple.Cocoa 6.6 (???) <68B0BE46-6E24-C96F-B341-054CF9E8F3B6> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
        0x7fff88011000 -     0x7fff88052fef  com.apple.QD 3.36 (???) <5DC41E81-32C9-65B2-5528-B33E934D5BB4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
        0x7fff88076000 -     0x7fff88077fff  liblangid.dylib ??? (???) <EA4D1607-2BD5-2EE2-2A3B-632EEE5A444D> /usr/lib/liblangid.dylib
        0x7fff88078000 -     0x7fff88139fef  com.apple.ColorSync 4.6.6 (4.6.6) <BB2C5813-C61D-3CBA-A8F7-0E59E46EBEE8> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
        0x7fff881a3000 -     0x7fff881a3ff7  com.apple.Carbon 150 (152) <19B37B7B-1594-AD0A-7F14-FA2F85AD7241> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
        0x7fff881b6000 -     0x7fff881fffef  libGLU.dylib ??? (???) <1C050088-4AB2-2BC2-62E6-C969F925A945> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
        0x7fff882ac000 -     0x7fff88346fe7  com.apple.ApplicationServices.ATS 275.16 (???) <4B70A2FC-1902-5F27-5C3B-5C78C283C6EA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
        0x7fff88347000 -     0x7fff88347ff7  com.apple.Accelerate 1.6 (Accelerate 1.6) <2BB7D669-4B40-6A52-ADBD-DA4DB3BC0B1B> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
        0x7fff88348000 -     0x7fff88420ff7  com.apple.DiscRecording 5.0.9 (5090.4.2) <1559C58F-ABD2-0C13-7E1D-75450FEC41D4> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
        0x7fff884dd000 -     0x7fff884ecfff  com.apple.NetFS 3.2.2 (3.2.2) <7CCBD70E-BF31-A7A7-DB98-230687773145> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
        0x7fff88831000 -     0x7fff88948fef  libxml2.2.dylib 10.3.0 (compatibility 10.0.0) <1B27AFDD-DF87-2009-170E-C129E1572E8B> /usr/lib/libxml2.2.dylib
        0x7fff88949000 -     0x7fff88955fff  libbz2.1.0.dylib 1.0.5 (compatibility 1.0.0) <6FB0A8F4-72A1-D28F-E801-DE2C7498AFB9> /usr/lib/libbz2.1.0.dylib
        0x7fff88956000 -     0x7fff88961ff7  com.apple.speech.recognition.framework 3.11.1 (3.11.1) <F0DDF27E-DB55-07CE-E548-C62095BE8167> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
        0x7fff88962000 -     0x7fff88a3ffff  com.apple.vImage 4.1 (4.1) <C3F44AA9-6F71-0684-2686-D3BBC903F020> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
        0x7fff88a40000 -     0x7fff88a4ffff  libxar.1.dylib ??? (???) <CBAF862A-3C77-6446-56C2-9C4461631AAF> /usr/lib/libxar.1.dylib
        0x7fff88a50000 -     0x7fff88a53fff  com.apple.help 1.3.2 (41.1) <BD1B0A22-1CB8-263E-FF85-5BBFDE3660B9> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
        0x7fff88a54000 -     0x7fff88cd6fe7  com.apple.Foundation 6.6.7 (751.62) <6F2A5BBF-6990-D561-2928-AD61E94036D9> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
        0x7fff88d23000 -     0x7fff88d32fef  com.apple.opengl 1.6.13 (1.6.13) <516098B3-4517-8A55-64BB-195CDAA5334D> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
        0x7fff88e4e000 -     0x7fff88e71fff  com.apple.opencl 12.3.6 (12.3.6) <42FA5783-EB80-1168-4015-B8C68F55842F> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
        0x7fff88e72000 -     0x7fff88e74fff  libRadiance.dylib ??? (???) <A9DB4D5D-4072-971B-DEF6-DDE645F415EA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
        0x7fff896bb000 -     0x7fff89740ff7  com.apple.print.framework.PrintCore 6.3 (312.7) <CDFE82DD-D811-A091-179F-6E76069B432D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
        0x7fff898b3000 -     0x7fff89a71ff7  com.apple.ImageIO.framework 3.0.4 (3.0.4) <0A4F51A1-4502-767B-8A4E-F14C6214EF88> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
        0x7fff89a72000 -     0x7fff89a80ff7  libkxld.dylib ??? (???) <8145A534-95CC-9F3C-B78B-AC9898F38C6F> /usr/lib/system/libkxld.dylib
        0x7fff89bce000 -     0x7fff89c15ff7  com.apple.coreui 2 (114) <D7645B59-0431-6283-7322-957D944DAB21> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
        0x7fff89c16000 -     0x7fff89c23fe7  libCSync.A.dylib 545.0.0 (compatibility 64.0.0) <1C35FA50-9C70-48DC-9E8D-2054F7A266B1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
        0x7fff89c2c000 -     0x7fff89ce5fff  libsqlite3.dylib 9.6.0 (compatibility 9.0.0) <2C5ED312-E646-9ADE-73A9-6199A2A43150> /usr/lib/libsqlite3.dylib
        0x7fff89ce6000 -     0x7fff8a3e2ff7  com.apple.CoreGraphics 1.545.0 (???) <58D597B1-EB3B-710E-0B8C-EC114D54E11B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
        0x7fff8a3e3000 -     0x7fff8a420ff7  libssl.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <F743389F-F25A-A77D-4FCA-D6B01AF2EE6D> /usr/lib/libssl.0.9.8.dylib
        0x7fff8a421000 -     0x7fff8a476ff7  com.apple.framework.familycontrols 2.0.2 (2020) <F09541B6-5E28-1C01-C1AE-F6A2508670C7> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyCon trols
        0x7fff8a4c3000 -     0x7fff8a597fe7  com.apple.CFNetwork 454.12.4 (454.12.4) <C83E2BA1-1818-B3E8-5334-860AD21D1C80> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
        0x7fff8a598000 -     0x7fff8a624fef  SecurityFoundation ??? (???) <6860DE26-0D42-D1E8-CD7C-5B42D78C1E1D> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
        0x7fffffe00000 -     0x7fffffe01fff  libSystem.B.dylib ??? (???) <9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69> /usr/lib/libSystem.B.dylib

    From the menu bar, select
               ▹ About This Mac
    Below the "OS X" legend in the window that opens, the OS version appears. Click the version line twice to display the serial number. If the number is missing or invalid according to this web form, take the machine to an Apple Store or other authorized service center to have the problem corrected.

  • Trying to use webutil  - Works in development, will not work on app server.

    I am having a similar problem. I have followed all the instructions from above.
    I run my code in the developer and it runs fine. If I run my code from the application server I get locked up.
    Here is the output from my java console.
    Oracle JInitiator: Version 1.3.1.28
    Using JRE version 1.3.1.28-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\BrianG.PSSI
    Proxy Configuration: no proxy
    JAR cache enabled
    Location: C:\Documents and Settings\BrianG.PSSI\Oracle Jar Cache28
    Maximum size: 1,024 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://smprdap2.pssi.local/forms/java/frmall_jinit.jar from JAR cache
    Loading http://smprdap2.pssi.local/forms/java/frmwebutil.jar from JAR cache
    RegisterWebUtil - Loading WebUtil Version 1.0.6
    Loading http://smprdap2.pssi.local/forms/java/esteelman.jar from JAR cache
    Loading http://smprdap2.pssi.local/forms/java/sticons.jar from JAR cache
    Loading http://smprdap2.pssi.local/forms/java/jacob.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.3
    Exception occurred during event dispatching:
    java.lang.NoSuchMethodError
         at oracle.forms.webutil.common.VBeanCommon.init(VBeanCommon.java:281)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.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.run(Unknown Source)
    This is the configuration I an trying to use is:
    [SMT1]
    form=st_menu.fmx
    imageBase=CodeBase
    width=1020
    height=740
    separateFrame=true
    splashScreen=/forms/steelman/images/logo.gif
    background=no
    lookAndFeel=Oracle
    colorScheme=purple
    logo=/forms/steelman/images/small_logo.gif
    formsMessageListener=
    recordFileName=
    pjcRegisterApplet=oracle.forms.demos.util.RegisterCertificate
    pjcArchive=esteelman.jar
    baseHTMLjinitiator=signedjini.htm
    baseHTMLJinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTML=webutilbase.htm.
    WebUtilArchive= esteelman.jar,sticons.jar, frmall_jinit.jar, frmwebutil.jar,jacob.jar
    archive_jini=frmall_jinit.jar,esteelman.jar,sticons.jar,frmwebutil.jar,jacob.jar,
    em_mode=1
    serverApp=/steelman/conf/steelman
    envFile=C:\steelman\conf\smt1.env
    If i do not use baseHTMLjinitiator=signedjini.htm
    our application will not launch at all.

    The first problem I see is that you are using an old version of WebUtil, which is not supported for use with Forms 10.1.2.3 and is probably the cause of the problem.
    RegisterWebUtil - Loading WebUtil Version 1.0.6
    The correct versions of frmwebutil.jar and webutil.pll are applied to Developer Suite installations and can be copied to Application Server. If you do not have an iDS installation, you can install the latest Forms Bundle patch which includes the correct WebUtil files. Refer to Patch ID 9593176 and Note 1188127.1. Be sure to review the ReadMe included with the patch.
    The second problem is that you are using Jinitiator. Jinitiator has been obsolete for a long time. However, if you have some reason why you must use it, I would recommend that you at least get the last version released (1.3.1.30). This can be downloaded from within MyOracleSupport (account required) using Patch ID 7410076. If you do not have access to MyOracleSupport and you are using Forms 10.1.2.3, then you can use JRE6 (1.6.0_37). Do not attempt to use JRE7
    http://www.oracle.com/technetwork/java/javase/downloads/jre6u37-downloads-1859589.html
    You would need to install the 32bit version: jre-6u37-windows-i586.exe
    References:
    <li>Note: 566628.1
    <li>Note: 561273.1

  • I am trying to use photomerge compose.  I open one standard jpeg image and one image that is my business logo in a png format.  When I select the png image, to extract the logo from it, it appears as all white and will not allow me to select the logo from

    I am trying to use photomerge compose.  I open one standard jpeg image and one image that is my business logo in a png format.  When I select the png image, to extract the logo from it, it appears as all white and will not allow me to select the logo from it.  It has worked in the past but I downloaded the update today and photomerge will not work correctly.  Any ideas?

    hedger,
    How do you expect anyone to help when we don't know a darned thing about the file, abut your setup, exact version of Photoshop and your OS, machine specs, etc.?
    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • I am trying to uninstall itunes and I received a message: The feature you are trying to use is on a network resource that is unavailable.

    I am trying to uninstall itunes and I received a message: The feature you are trying to use is on a network resource that is unavailable.

    Refer this link here:
    https://discussions.apple.com/thread/4029492?tstart=0

  • I am trying to use Words with friends on my iphone 5.  How do I get rid of   "Connect to itunes to Use Push Notifications

    I am trying to use Words with friends on my iphone 5.  How do I get rid of   "Connect to itunes to Use Push Notifications

    Reading some older threads from 2012 and 2011 it appears the problem was present even then.  Part of the problem was due to people using multiple or different account id's on the various devices.  In my case, I only have one ID and it is the same on all devices yet the iPhone and iPad are still throwing the same error when I try turning on iTunes Match.  This is very frustrating . . . any help out there?  Thanks.

  • Trying to use laf project for the first time

    hi all , i need help , please
    i am trying to use laf project for the first time as i said , and i want help on
    the installation process
    step by step please , i am soo junior here
    i've just downloaded the zip file as the site said (http://fdtool.free.fr/LAF/doc/implementation.htm)
    please go to this url and declare the steps to me
    thanks in advance

    The Forms Look and Feel Project is not an Oracle product. This product was developed by Francois Degrelle. Francois has posted numerous times in this forum that if you need help with the LAF you have to go to the Oracle Forms Look & Feel Project web site or his PJCs and Java Beans Forum for support.
    Craig...

  • I'm trying to use kerberos V5 with ActiveDirectory but get an error

    I'm trying to use kerberos V5 with ActiveDirectory im using simple code from previuos posts but
    when i try with correct username/password i get :
    Authentication attempt failedjavax.security.auth.login.LoginException: Message stream modified (41)
    when i try incorrect username/pass i get :
    Pre-authentication information was invalid (24)
    Debug info is :
    Debug is  true storeKey false useTicketCache false useKeyTab false doNotPrompt false ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is false principal is null tryFirstPass is false useFirstPass is false storePass is false clearPass is false
    Kerberos username [naiden]: naiden
    Kerberos password for naiden:      naiden
              [Krb5LoginModule] user entered username: naiden
    Acquire TGT using AS Exchange
              [Krb5LoginModule] authentication failed
    Pre-authentication information was invalid (24)
    Authentication attempt failedjavax.security.auth.login.LoginException: Java code is :
    import javax.naming.*;
    import javax.naming.directory.*;
    import javax.security.auth.login.*;
    import javax.security.auth.Subject;
    import com.sun.security.auth.callback.TextCallbackHandler;
    import java.util.Hashtable;
    * Demonstrates how to create an initial context to an LDAP server
    * using "GSSAPI" SASL authentication (Kerberos v5).
    * Requires J2SE 1.4, or JNDI 1.2 with ldapbp.jar, JAAS, JCE, an RFC 2853
    * compliant implementation of J-GSS and a Kerberos v5 implementation.
    * Jaas.conf
    * racfldap.GssExample {com.sun.security.auth.module.Krb5LoginModule required client=TRUE useTicketCache=true doNotPrompt=true; };
    * 'qop' is a comma separated list of tokens, each of which is one of
    * auth, auth-int, or auth-conf. If none is supplied, the default is 'auth'.
    class KerberosExample {
    public static void main(String[] args) {
    java.util.Properties p = new java.util.Properties(System.getProperties());
    p.setProperty("java.security.krb5.realm", "ISY");
    p.setProperty("java.security.krb5.kdc", "192.168.0.101");
    p.setProperty("java.security.auth.login.config", "C:\\jaas.conf");
    System.setProperties(p);
    // 1. Log in (to Kerberos)
    LoginContext lc = null;
    try {
    lc = new LoginContext("ISY",
    new TextCallbackHandler());
    // Attempt authentication
    lc.login();
    } catch (LoginException le) {
    System.err.println("Authentication attempt failed" + le);
    System.exit(-1);
    // 2. Perform JNDI work as logged in subject
    Subject.doAs(lc.getSubject(), new LDAPAction(args));
    // 3. Perform LDAP Action
    * The application must supply a PrivilegedAction that is to be run
    * inside a Subject.doAs() or Subject.doAsPrivileged().
    class LDAPAction implements java.security.PrivilegedAction {
    private String[] args;
    private static String[] sAttrIDs;
    private static String sUserAccount = new String("Administrator");
    public LDAPAction(String[] origArgs) {
    this.args = (String[])origArgs.clone();
    public Object run() {
    performLDAPOperation(args);
    return null;
    private static void performLDAPOperation(String[] args) {
    // Set up environment for creating initial context
    Hashtable env = new Hashtable(11);
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.jndi.ldap.LdapCtxFactory");
    // Must use fully qualified hostname
    env.put(Context.PROVIDER_URL, "ldap://192.168.0.101:389/DC=isy,DC=local");
    // Request the use of the "GSSAPI" SASL mechanism
    // Authenticate by using already established Kerberos credentials
    env.put(Context.SECURITY_AUTHENTICATION, "GSSAPI");
    env.put("javax.security.sasl.server.authentication", "true");
    try {
    /* Create initial context */
    DirContext ctx = new InitialDirContext(env);
    /* Get the attributes requested */
    Attributes aAnswer =ctx.getAttributes( "CN="+ sUserAccount + ",CN=Users,DC=isy,DC=local");
    NamingEnumeration enumUserInfo = aAnswer.getAll();
    while(enumUserInfo.hasMoreElements()) {
    System.out.println(enumUserInfo.nextElement().toString());
    // Close the context when we're done
    ctx.close();
    } catch (NamingException e) {
    e.printStackTrace();
    }JAAS conf file is :
    ISY {
         com.sun.security.auth.module.Krb5LoginModule required
    debug=true;
    };krb5.ini file is :
    # Kerberos 5 Configuration File
    # All available options are specified in the Kerberos System Administrator's Guide.  Very
    # few are used here.
    # Determines which Kerberos realm a machine should be in, given its domain name.  This is
    # especially important when obtaining AFS tokens - in afsdcell.ini in the Windows directory
    # there should be an entry for your AFS cell name, followed by a list of IP addresses, and,
    # after a # symbol, the name of the server corresponding to each IP address.
    [libdefaults]
         default_realm = ISY
    [domain_realm]
         .isy.local = ISY
         isy.local = ISY
    # Specifies all the server information for each realm.
    #[realms]
         ISY=
              kdc = 192.168.0.101
              admin_server = 192.168.0.101
              default_domain = ISY
         }

    Now it works
    i will try to explain how i do this :
    step 1 )
    fallow this guide http://www.cit.cornell.edu/computer/system/win2000/kerberos/
    and configure AD to use kerberos and to heve Kerberos REALM
    step 2 ) try windows login to the new realm to be sure that it works ADD trusted realm if needed.
    step 3 ) create jaas.conf file for example in c:\
    it looks like this :
    ISY {
         com.sun.security.auth.module.Krb5LoginModule required
    debug=true;
    };step 4)
    ( dont forget to make mappings which are explained in step 1 ) go to Active Directory users make sure from View to check Advanced Features Right click on the user go to mappings in secound tab kerberos mapping add USERNAME@KERBEROSreaLm for example [email protected]
    step 5)
    copy+paste this code and HIT RUN :)
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.NamingEnumeration;
    import javax.naming.NamingException;
    import javax.naming.directory.Attributes;
    import javax.naming.directory.DirContext;
    import javax.naming.directory.InitialDirContext;
    import javax.naming.directory.SearchControls;
    import javax.naming.directory.SearchResult;
    import javax.security.auth.Subject;
    import javax.security.auth.login.LoginContext;
    import javax.security.auth.login.LoginException;
    import com.sun.security.auth.callback.TextCallbackHandler;
    public class Main {
        public static void main(String[] args) {
        java.util.Properties p = new java.util.Properties(System.getProperties());
        p.setProperty("java.security.krb5.realm", "ISY.LOCAL");
        p.setProperty("java.security.krb5.kdc", "192.168.0.101");
        p.setProperty("java.security.auth.login.config", "C:\\jaas.conf");
        System.setProperties(p);
        // 1. Log in (to Kerberos)
        LoginContext lc = null;
        try {
                lc = new LoginContext("ISY", new TextCallbackHandler());
        // Attempt authentication
        lc.login();
        } catch (LoginException le) {
        System.err.println("Authentication attempt failed" + le);
        System.exit(-1);
        // 2. Perform JNDI work as logged in subject
        Subject.doAs(lc.getSubject(), new LDAPAction(args));
        // 3. Perform LDAP Action
        * The application must supply a PrivilegedAction that is to be run
        * inside a Subject.doAs() or Subject.doAsPrivileged().
        class LDAPAction implements java.security.PrivilegedAction {
        private String[] args;
        private static String[] sAttrIDs;
        private static String sUserAccount = new String("Administrator");
        public LDAPAction(String[] origArgs) {
        this.args = origArgs.clone();
        public Object run() {
        performLDAPOperation(args);
        return null;
        private static void performLDAPOperation(String[] args) {
        // Set up environment for creating initial context
        Hashtable env = new Hashtable(11);
        env.put(Context.INITIAL_CONTEXT_FACTORY,
        "com.sun.jndi.ldap.LdapCtxFactory");
        // Must use fully qualified hostname
        env.put(Context.PROVIDER_URL, "ldap://192.168.0.101:389");
        // Request the use of the "GSSAPI" SASL mechanism
        // Authenticate by using already established Kerberos credentials
        env.put(Context.SECURITY_AUTHENTICATION, "GSSAPI");
    //    env.put("javax.security.sasl.server.authentication", "true");
        try {
        /* Create initial context */
        DirContext ctx = new InitialDirContext(env);
        /* Get the attributes requested */
        //Create the search controls        
        SearchControls searchCtls = new SearchControls();
        //Specify the attributes to return
        String returnedAtts[]={"sn","givenName","mail"};
        searchCtls.setReturningAttributes(returnedAtts);
        //Specify the search scope
        searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
        //specify the LDAP search filter
        String searchFilter = "(&(objectClass=user)(mail=*))";
        //Specify the Base for the search
        String searchBase = "DC=isy,DC=local";
        //initialize counter to total the results
        int totalResults = 0;
        // Search for objects using the filter
        NamingEnumeration answer = ctx.search(searchBase, searchFilter, searchCtls);
        //Loop through the search results
        while (answer.hasMoreElements()) {
                SearchResult sr = (SearchResult)answer.next();
            totalResults++;
            System.out.println(">>>" + sr.getName());
            // Print out some of the attributes, catch the exception if the attributes have no values
            Attributes attrs = sr.getAttributes();
            if (attrs != null) {
                try {
                System.out.println("   surname: " + attrs.get("sn").get());
                System.out.println("   firstname: " + attrs.get("givenName").get());
                System.out.println("   mail: " + attrs.get("mail").get());
                catch (NullPointerException e)    {
                System.err.println("Error listing attributes: " + e);
        System.out.println("RABOTIII");
            System.out.println("Total results: " + totalResults);
        ctx.close();
        } catch (NamingException e) {
        e.printStackTrace();
    }It will ask for username and password
    type for example : [email protected] for username
    and password : TheSecretPassword
    where ISY.LOCAL is the name of kerberos realm.
    p.s. it is not good idea to use Administrator as login :)
    Edited by: JOKe on Sep 14, 2007 2:23 PM

  • I am trying to use macro express and adobe acrobat 9 profession keeps shutting down, why is this happening?  I tried to run as administrator already as well on both Macro Express and in Adobe and it still keeps shutting down.

    I am trying to use macro express and adobe acrobat 9 profession keeps shutting down, why is this happening?  I tried to run as administrator already as well on both Macro Express and in Adobe and it still keeps shutting down.

    same problem, it's been happening to me for a week or two now i'm thinking about backing up my documents and just wiping it completely, see if that works. Has anyone else tried this? I'm loosing time and have already lost a good few hours of work as it just crashes randomly. need help!!!
    - saving these threads on my favourites cause i'm about to crash . . .

Maybe you are looking for