ASD Presentation Instance ID

I am trying to find the REST binding between an ASD custom resource and it's presentation ID in vRA.
   "key": "provider-__ASD_PRESENTATION_INSTANCE",
        "value": {
              "type": "string",
              "value": "95aed522-cccc-4520-b541-13b94ffb11de"
It appears that each *published* instance in vRA inventory has a different  "provider-__ASD_PRESENTATION_INSTANCE".  I need to programmatically write this value because I figured out something pretty cool: changing both ownership and business group of any custom resource item.  Problem is, I can fire the canon after loading it manually, but I cannot load it automatically until I find that value based on an inventory Catalog Resource object in the vRA plugin in vRO.  (e.g. I have the name, the ID, the binding ID, etc etc.)  I am digging through the REST documentation to find where an ASD provider bound resource is further bound to a vRA Inventory item and what that ID is.
The idea being, with the name of the resource in vRO I can get any of the properties related to that name, and I need to lookup the vRA inventory ID (provider-__ASD_PRESENTATION_INSTANCE) for that item based on one of those properties.  Or I can get the value based on execution of an ASD request against the vRO workflow.  I already checked all of the execution properties when ASD calls a vRO workflow.  (e.g. __asd_targetResourceProviderId, __asd_targetResourceInternalId, etc)  None of them contain that referenced ID.
If that makes sense to anybody and you have the answer, please share.  Just the location in the REST API where that value can be found would do perfectly.  I can take it from there.

Turns out... it is likely not required as part of the request data.

Similar Messages

  • Present instances in the order they are called

    I created this template for teachers to create assessment items. When they click the Add Question Set button, they get a set of buttons for each type of  question. Right now, regardless of what order they click the buttons, the instances of the question subforms show up in the order they are laid out in the designer, and all the questions of one type stay together. I need the question types to appear in the order the buttons are clicked. How do I do this? I have attached my form.
    Thanks!

    This makes sense to me; unfortunately, it's not working. I've tried a few different ways.
    I set the inclusive subform to hidden and then used this script on the button to show just the particular subform I wanted:
    xfa.form.assessment.Questions.Questionset._Questiondetail.addInstance(1);
    xfa.form.assessment.Questions.Questionset.Questiondetail.MCdetail.presence="visible";
    I set the inclusive subform to visible and all the internal subforms to invisible and used the same script:
    xfa.form.assessment.Questions.Questionset._Questiondetail.addInstance(1);
    xfa.form.assessment.Questions.Questionset.Questiondetail.MCdetail.presence="visible";
    I set everything to visible and then used this script to try to hide the ones I don't want to see:
    xfa.form.assessment.Questions.Questionset._Questiondetail.addInstance(1);
    xfa.form.assessment.Questions.Questionset.Questiondetail.MSdetail.presence="invisible";
    xfa.form.assessment.Questions.Questionset.Questiondetail.Matchingdetail.presence="invisibl e";
    xfa.form.assessment.Questions.Questionset.Questiondetail.SAdetail.presence="invisible";
    xfa.form.assessment.Questions.Questionset.Questiondetail.TFdetail.presence="invisible";
    xfa.form.assessment.Questions.Questionset.Questiondetail.orderingdetail.presence="invisibl e";
    xfa.form.assessment.Questions.Questionset.Questiondetail.FIBdetail.presence="invisible";
    Then I realized what the problem is. I can't set the inclusive subform (xfa.form.assessment.Questions.Questionset.Questiondetail) to "positioned". It needs to be "flowed" because the subforms within it for each question type have to be able to expand. As long as it's not "positioned" I can't call instances of it, right? Is there a way around this?

  • Flash CS4 - Slide presentation - instance name question

    Is it possible to rename slides dynamically in a Flash presentation that is created using the Flash Slide Presentation template in Flash CS4. So, if I have a presentation with 50 slides and they are named 001 to 050 and I need to insert a slide between slide 010 and 011 is there a way to have Flash renumber them or do I have to just manually rename.

    You might do better to use an array to manage the ordering of things--storing references to the slides in the array.  That way you don't have to be chasing names to make them follow some scheme.  You can still use names to help define where things go brain-wise, but having them listed in an array allows you to slip in new things without having to rename anything... just use the array/index to target the objects rather than the actual names.

  • Closing window of the presentation

    Hi,
    Once user clicks on presentation, instance enters into screenflow.
    Now if user close screen using the button "X" in the top right of window then instance remains in screenflow and does not come out of screenflw.
    Is it possible to disable this button???
    Thanks in advance...

    I just discovered how to prevent the "x" in the upper right corner of dialog boxes from appearing. This forces the end users to click the "Ok", "Submit", "Cancel" or "Save" buttons on your presentations.
    Make a backup copy of your <Oracle BPM Home directory>\webapps\workspace\jsf\common\executionDialog.xhtml and change:
    offsetY="40" to:
    offsetY="0" displayCloseButton="false" Make sure that you have an "Ok", "Submit", "Cancel" or "Save" button on your presentations.
    Dan

  • JCombo box focus problem in WinNT/2000

    Hi,
    We have made use of JCombobox component in our application and we have implemented autocomplete feature for that (Written our own logic). For testing we tried to run our application in Windows NT O/S. As and when user types any value in the JCombobox and if ENTER key is pressed or tries to move out by pressing tab key, then the existence of that value is checked in Registry (User profile ? Part of Autocomplete feature). If the same value does not exists, then the value will be stored in the registry. Here our problem is, user is unable to move out of JCombobox and it goes to infinite loop. To come out of the problem, user will have to terminate the application. However, if we comment part of the code i.e. focusLost part which (Setup Method in below pasted code) has logic to put the user entered value into the JCombobox in the same session of panel, then application works with one limitation i.e. user will have to press the tab key twice to move out of JCombobox.
    However, none of the above problem were reported when the application is running in Windows2000 O/S with local admin rights to logon user.
    Is this a bug with Swings? Or a limitation with Windows2000 O/s to run the SWING based application.
    If somebody has any solution, please forward.
    Thanks,
    Regards,
    Raj.
    Code: ===============================================================
    package com.tial.tial.ws.util.autocomplete;
    import com.tial.tial.ws.model.SelectableFieldModel;
    import java.awt.event.FocusAdapter;
    import java.awt.event.FocusEvent;
    import java.awt.event.KeyAdapter;
    import java.awt.event.KeyEvent;
    import javax.swing.ComboBoxEditor;
    import javax.swing.ComboBoxModel;
    import javax.swing.JComboBox;
    import javax.swing.JTextField;
    /** AutoCompleteCombo is used when normal combo Box requires Auto - complete feature.
    * * @version 1.0
    *modified on 26th March, 03 to solve case problem
    *modified on 27th March, 03 to put the user entered value into the combo
    public final class AutoCompleteCombo extends JComboBox{
    private SelectableFieldModel m_myModel;
    private ComboBoxEditor m_myEditor;
    private JTextField m_txtEditor;
    private int SIZEOFSELECTBOX = 20;
    private boolean m_isTextSelected = false;
    /** this is dictionary which has the data from the registry and also those entered by the user in the perticular session.
    protected AutoCompleteDictionary m_dict;
    //Constructors
    /** Constructor for this class. Sets up the dictionary received and listners to the present instance.
    * @param dict the dictionary received from the panel that uses AutoCompleteCombo.
    public AutoCompleteCombo(AutoCompleteDictionary dict, SelectableFieldModel fldModel) {
    super();
    m_myModel = fldModel;
    m_myEditor = super.getEditor();
    m_txtEditor = (JTextField)m_myEditor.getEditorComponent();
    setUp();
    setDictionary(dict);
    public AutoCompleteCombo(AutoCompleteDictionary dict) {
    super();
    m_myModel = null;
    m_myEditor = super.getEditor();
    m_txtEditor = (JTextField)m_myEditor.getEditorComponent();
    setUp();
    setDictionary(dict);
    /** sets the dictionary received from the panel to the instance of AutoCompleteCombo.
    * @param dict dictionary received in the constructor from the panel
    public void setDictionary(AutoCompleteDictionary dict) {
    m_dict = dict;
    /** sets the focus and key listners to the AutoCompleteCombo.
    protected void setUp() {
    m_txtEditor.addFocusListener(new FocusAdapter() {
    //Saves the field value in the dictionary when the focus of the field is lost,
    //this is especially made to take care of commonly used TAB to move frm 1 fld to another.
    // Comment from below to work atleast with pressing tab key twice.
    public void focusLost(FocusEvent e) {
    if(m_dict.size() == SIZEOFSELECTBOX){
    m_dict.removeEntry(m_dict.last().toString());
    m_dict.addEntry(m_txtEditor.getText().toUpperCase());
    //to put the user entered value into the combo in the same session of panel
    if (null != m_myModel) {
    String dictList = m_dict.getElementsList();
    String[] dictArray = dictList.split("~");
    String enteredTxt = m_txtEditor.getText();
    m_myModel.removeAll();
    //so that initially the screen gets displayed with this field blank
    //System.out.println("1 txt----------->" +m_txtEditor.getText());
    m_myModel.addElement("");
    //System.out.println("2 txt----------->" +m_txtEditor.getText());
    for (int i=0; i<dictArray.length; i++) {
    if (dictArray[i] != "" ) {
    m_myModel.addElement(dictArray);
    m_myModel.setSelectedItem(enteredTxt);
    } // Comment till above to work atleast with pressing tab key twice.
    m_txtEditor.addKeyListener( new KeyAdapter() {
    public void keyPressed(KeyEvent e) {
    m_isTextSelected = m_txtEditor.getSelectionStart() != m_txtEditor.getSelectionEnd();
    public void keyReleased(KeyEvent e) {
    char charPressed = e.getKeyChar();
    int charCodePressed = e.getKeyCode();
    if (charPressed == KeyEvent.CHAR_UNDEFINED) {
    return;
    if (charCodePressed == KeyEvent.VK_ENTER) {
    //This is 2 restrict the dictionary lenght 2 the given limit
    //remove this -1 if in SavePreference, def is "" instead of " "
    //if (m_dict.size() - 1 == SIZEOFSELECTBOX) {
    if (m_dict.size() == SIZEOFSELECTBOX) {
    m_dict.removeEntry(m_dict.last().toString());
    m_dict.addEntry(m_txtEditor.getText().toUpperCase());
    //to put the user entered value into the combo in the same session of panel
    if (null != m_myModel) {
    String dictList = m_dict.getElementsList();
    String[] dictArray = dictList.split("~");
    m_myModel.removeAll();
    //so that initially the screen gets displayed with this field blank
    m_myModel.addElement("");
    for (int i=0; i<dictArray.length; i++) {
    if (dictArray[i] != "" ) {
    m_myModel.addElement(dictArray[i]);
    if (charCodePressed == KeyEvent.VK_DELETE) {
    m_dict.removeEntry(m_txtEditor.getText());
    //getSelectionStart() gives 0, as for a moment when Enter is pressed, the entire txt is selected.
    //hence getCaretPosition is used
    // if (m_txtEditor.getSelectionStart() != m_txtEditor.getSelectionEnd() && m_txtEditor.getSelectionEnd() != m_txtEditor.getCaretPosition()) {
    // m_txtEditor.setText(m_txtEditor.getText().substring(0, m_txtEditor.getSelectionStart()));
    if (m_txtEditor.getCaretPosition() != m_txtEditor.getSelectionEnd()) {
    m_txtEditor.setText(m_txtEditor.getText().substring(0, m_txtEditor.getCaretPosition()));
    String input = m_txtEditor.getText();
    if (lookup(input) != null) {
    m_txtEditor.setText(lookup(input));
    m_txtEditor.setSelectionStart(input.length());
    m_txtEditor.setSelectionEnd(m_txtEditor.getText().length());
    m_isTextSelected = true;
    else {
    m_isTextSelected = false;
    if (charCodePressed == KeyEvent.VK_BACK_SPACE
    && m_isTextSelected && input.length() > 0) {
    m_txtEditor.setText(input.substring(0, input.length()));
    /** used to search for the entered string in the dictionary list.
    * @param str the string that is to be searched in the dictionary.
    * @return the string from the dictionary that matches with the received str.
    protected String lookup(String str) {
    if (m_dict != null) {
    return m_dict.lookup(str);
    return null;

    Can you post common part of the stack trace when Java goes into infinite loop?

  • Don't understand the cc cleaner tool

    Good morning and happy new year.
    I must be the dumbest people here but I tried to follow the cc cleaner tool process explained here and I'm at a loss and stopped before making a fool of myself.
    I went through the process 1 and 2 ie. I have a disk repair and an external disk backup of my system driver. (I use Win 7 Ultimate fully updated). My projects are NOT on the system drive as well as all the clips I use .
    question : Will CC cleaner delete on the system drive any information related to my projects? I need a precise answer: No or Yes. The "perhaps", "maybe" etc evavive answers are not acceptable in such situations.
    In  the step 2 of the help file I uninstalled with Win 7 uninstall manager different elements from CC and CS 6 that either I have no use of or that I wont use anymore as I want to stick to the latest version of CC which are PPro, AE  and Mediaencoder for the moment.
    We arrive to step 3 and there I just don't understand why I should have to uninstall programs I uninstalled in the previous step. Will that step totally erase the whole programs of CC for example, or will it just clean remaining items or directories specifically related to for instance Prelude CC 2014 ? Can't people who write these messages in their scripts be once and for all precise in their wording saying what will be done?!
    In this present instance I need to make a clean re-install of Mediaencoder CC as there has been most probably a problem during the recent update although it was completed without any error messages; I can't anymore re encode a project although I have not changed a line of it! The program stops suddenly and reboots my computer. I have not changed anything in the computer as well and the hardware is not the cause of the problem as it is only Media encoder which provokes the crash when it did not before the update.
    This will be probably considered an ill mannered way of presenting my problem by I'm sorry to say that one cannot work cautiously enough and I don't want to see weeks of work erased and not usable even with backups because a user manual is not clear and precise in its wording. This infuriates me and I wish to know where I set foot!
    Again sorry for my bad temper but really this is stressing.
    Thanks in advance for your help
    Claude

    Hi David,
    First happy new year. Secondly thanks for a reply which shows I was read...
    Let's review your remarks and questions.
    A/ it can be useful for you to know my pc configuration, I should have put it in my question:
    More details about my computer
    Component
    Details
    Subscore
    Base score
    Processor
    Intel(R) Core(TM) i5 CPU 760 @ 2.80GHz
    7.3
    5.9
      Determined by lowest subscore
    Memory (RAM)
    8.00 GB
    7.5
    Graphics
    ASUS HD7950 Series
    7.9
    Gaming graphics
    6559 MB Total available graphics memory
    7.9
    Primary hard disk
    49GB Free (286GB Total)
    5.9
    Windows 7 Ultimate
    System 
    Manufacturer
    System manufacturer
    Model
    System Product Name
    Total amount of system memory
    8.00 GB RAM
    System type
    64-bit operating system
    Number of processor cores
    4
    Storage 
    Total size of hard disk(s)
    5123 GB
    Disk partition (C:)
    49 GB Free (286 GB Total)
    Disk partition (D:)
    185 GB Free (488 GB Total)
    Disk partition (E:)
    233 GB Free (2795 GB Total)
    Disk partition (F:)
    646 GB Free (646 GB Total)
    Disk partition (G:)
    40 GB Free (244 GB Total)
    Disk partition (H:)
    40 GB Free (199 GB Total)
    Media drive (I:)
    CD/DVD
    Disk partition (M:)
    33 GB Free (466 GB Total)
    Graphics 
    Display adapter type
    ASUS HD7950 Series
    Total available graphics memory
    6559 MB
          Dedicated graphics memory
    3072 MB
          Dedicated system memory
    0 MB
          Shared system memory
    3487 MB
    Display adapter driver version
    13.152.0.0
    Primary monitor resolution
    1920x1080
    Secondary monitor resolution
    1360x768
    DirectX version
    DirectX 10
    Network 
    Network Adapter
    Realtek PCIe GBE Family Controller
    Notes 
    The gaming graphics score is based on the primary graphics adapter. If this system has linked or multiple graphics adapters, some software applications may see additional performance benefits.
    My project is on driver G, my clips are on D, E and G, with a majority of them on G; Cloud CC 2014 is on Driver C with Windows 7
    B/What version of Premiere Pro are you running currently? Do you have any third party plug-ins or hardware you using in conjunction with Premiere Pro? Do you know what version of Media Encoder you were using successfully before the recent update and you started having problems?
    I use exclusively since I took the subscription to Cloud CC, the latest versions, I check updates or upgrades every week and of course get notification also by the automatic Cloud manager of any new version. My last update was done on the 30th of December 2014. So yes I run with the most recent programs; the problems occurred just after! And got aggravated yesterday for no reason when Media encoder and Premiere Pro did not recognized MP4 format clips with an error message that the format was not supported!!! I hope Adobe did not decide to abandon this format, because it would put my 2 projects in full jeopardy!
    Before the last update I had no problems. I have uploaded on Vimeo a provisional encoded file (see
    with password rja404177 .
    I decided  to separate my project in two master projects concerning each of them the 2 parts of the video, with different names as to make the projects less heavy to manage by the computer and also easier to correct or change some of the effects controls especially the use of the curves RGB effect. I have a problem of getting an even colorimetric view between three different sources of files and cameras, one source is analog, the others HD and one of the latest has been more or less over exposed, so I check every clips with the YCscope and RGB parade and Vectorscope ( there could be a problem of color broadcast due to the red of the cliffs). Just imagine what would happen If I had to do it again! The full video is 1h10 minutes long! The video here corresponds to the first master project before the division in two parts. As I use nested sequences I have transferred in the master sequence here the 3 first sequences of the film (Titles, Las Vegas to Lee's Ferry, 1st day on the river).
    Yes I have Video Copilot addons but which are not used in the project as well as Red Giant Universe Premium also not used here. In fact I seldom use special effects in these projects as they are kind of documentary on my raft trip down the Colorado in 1995 updated with films of two friends done 2011 and 2013. The only effects used are Cross dissolve and the Slide push one twice in the project for the last one. I use otherwise the default controls of scale and opacity if necessary. Soundwise, my tracks are declared 5.1 and used in conjunction with Audition CC (I've been a user of this last program for many years since it's creation by Syntrillium under the name CoolEdit Pro before Adobe acquired it!)
    May I add that I'm not a novice with computers although an old froggy of 73!LOL! I began using computers in 1972 besides my job of Financial Analyst. I developed software in APL+ for stocks buy and sell decision making and created in France the first financial database in 1978 I was considered at that time like a perfect crazy guy in my business, good to be put in an asylum!!!. Since then I must say I had a good laugh! Try to prevent a trader to use a computer and databases nowadays and you'll see the speed at which he will throw you out of the window!
    C/I would probably have focused on just Media Encoder if possible but whats done is done. Maybe you did?
    Yes you're right I sort of thought of Media encoder first, but revised my way of dealing with the problem thinking that may be the installation had not been done correctly although no problem occurred during the update. I always update one program at a time waiting it to be fully completed before clicking on the install button of the next one.
    D/ about the two methods of uninstall.
    You say "The cleaner tool removes the same directories as the standard uninstaller. However the uninstaller is definitely the preferred method as it is done in conjunction with OS and the registry versus scripts which don't. The cleaner tool is generally used when the standard uninstall method fails "
    May I say I'm not sure this is the right way to do from the user viewpoint. It is misleading. I'm again neither a professional in development although I mentioned what I did when I was not retired, and not a professional in Video editing etc.. I just address the problem from the user's point of view. If Adobe thinks that the Management panel solution is the best solution to have all the files eliminated let's stick to it. In fact one can see by using the CCleaner program that it does not eliminate all the register's problems after having uninstalled a program. So perhaps then it is justified to use also the Adobe CC Cleaner device. Then may I suggest that the phrasing of the step 3 be changed to make the user understand its real purpose. From what you say one induces that they are complementary. This should be perfectly clear in the user's brain.  When I tried to find answers to my problems on the forums it showed many times that people did not really understand what would happen, how the device was going to work. That's why I insisted in my question on the "precise, yes or no " etc.. answers required. I can dedicate time to such questioning, I doubt a professional having to deliver a final product under contract has time to make hypothesis on this matter if it occurs to him such mishaps....
    E/ miscellaneous questions:
    Yes I use the default format proposed by Media encoder H.264  preset : Match source high bitrate which matches my project's settings. It worked three times before the update without an hitch. Why should not it go on like that?
    The encoded files are saved either on the driver of the project file, or on the E external driver to make sure I do not erase the final encoded file by mistake. Poirot's little grey cells are a little bit rusty nowadays!
    I had no problems before the update by working like that.
    I did not try a different codec before the last event which is the impossibility of using my MP4 clips. By the way the projects contain also AVI uncompressed (codec UYVY) files (My quicktime version is also updated) and the native files of my Canon Legria AVCHD camera (AVC format) and  I used the AVI uncompressed format because I wanted to derush my analog files to eliminate any shots which were of poor quality. I use for this a small software: AVI Cutty which works only with AVI uncompressed files. So I used Media Encoder to pre encode my analog files in this format first; It separate automatically my videos in clips more or less corresponding to scenes. Again I had no problem since I began to use Adobe software more than a year ago with CS5.5 and then with CC 2014 since last September as a yearly subscriber.
    Both projects have the same problem.
    I checked the Windows task manager while encoding and I observed this:
    a/ the crash occurs randomly in time.
    b/ it seems that each time the encoding passes on a cross dissolve section (I'm not certain of that it can be also the changes in the curves RGB effects settings from one clip to the other.) the CPU usage curve reaches a peak around 95 to nearly 100%. I suppose the crash occurs when the 100%+ is reached.
    c/I've checked my system driver's integrity, there is no problem here. I did the same for the memory which is ok too.
    d/ No I did put the question on other forums because I did not find the right place to put it.
    I do my best not to pollute other forums with non related questions.
    e/ As for the recognition of the MP4 files, other programs like the Windows mediaplayer recognize them so it's not a question of corrupted files.
    f/ I've just checked with the reinstalled media encoder. I did not re-encode but I do not get any more messages that the MP4 format is not recognized! Thank god! Remains to test the re-encoding itself and PP when the installation is over.
    Well I hope this long answer gives you a better idea of what is going on. I'm finishing right now the re installation of PP AE Media encoder and Audition and will come back to you with the results.
    Thanks again
    Best
    Claude

  • GUI size problem

    When I run this code the GUI doesn't provide enough space for my buttons. It provides enough room for my JLabels and TextFields, but cut's off the buttons.
    public class ReceivingOrganizer extends JPanel
         private JFrame frame;
         private JPanel jpMain, jpLine1, jpLine2, jpCheckBoxPanel;
         private JLabel jlContainer, jlSeal, jlTopInstruct;
         private JButton find, print;
         private JFormattedTextField ftfContainer, ftfSeal;
         public static void main(String[] args)
              ReceivingOrganizer object = new ReceivingOrganizer();
              object.createGUI();
         public ReceivingOrganizer()
              super(new GridBagLayout());
              GridBagConstraints c = new GridBagConstraints();
              jpMain = new JPanel(new GridBagLayout());
              jpMain.setBorder(BorderFactory.createEmptyBorder(30,30,30,30));
              jlTopInstruct = new JLabel("Enter container number or seal number: ");
              c.gridwidth=GridBagConstraints.REMAINDER;
              jpMain.add(jlTopInstruct, c);
              c.gridwidth= GridBagConstraints.RELATIVE;
              jlContainer = new JLabel("Container: ");
              jpMain.add(jlContainer, c);
              c.gridwidth= GridBagConstraints.RELATIVE;
              ftfContainer = new JFormattedTextField();
              ftfContainer.setColumns(15);
              jpMain.add(ftfContainer, c);
              //ftfContainer.addKeyListener(this);
              c.gridwidth= GridBagConstraints.REMAINDER;
              c.fill=GridBagConstraints.BOTH;
              find = new JButton("Find");
              jpMain.add(find, c);
              //find.setActionCommand("find");
              //find.addActionListener(this);
              c.gridwidth= GridBagConstraints.RELATIVE;
              jlSeal = new JLabel("Seal: ");
              jpMain.add(jlSeal, c);
              ftfSeal = new JFormattedTextField();
              ftfSeal.setColumns(15);
              jpMain.add(ftfSeal, c);
              //ftfSeal.addKeyListener(this);
              c.gridwidth= GridBagConstraints.REMAINDER;
              print = new JButton("Print");
              print.setEnabled(false);
              jpMain.add(print, c);
              //print.setActionCommand("print");
              //print.addActionListener(this);
              jpMain.setMinimumSize(jpMain.getSize());
              add(jpMain, c);
         public void createGUI()
              frame = new JFrame("Receiving Organizer");
              frame.setResizable(true);
              frame.setLocationByPlatform(true);
              frame.setMinimumSize(frame.getSize());
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.add(new ReceivingOrganizer());
              //Display the window.
              frame.pack();
              frame.setVisible(true);
    }

    Don't use GridBagConstraints.RELATIVE for more than one component in the same row, and then only for the second-last component in the row. Read the API:
    Use RELATIVE to specify that the component's display area will be from gridx to the next to the last one in its row.
    Additionally, before a panel is validated or made visible, its size is zero, so you're effectively setting the minmum size to [0,0] -- not, I'm usre, what you intended to do. Ditto for the JFrame. I've added a couple of sysouts for you to see this for yourself.import java.awt.GridBagConstraints;
    import java.awt.GridBagLayout;
    import javax.swing.*;
    public class ReceivingOrganizer extends JPanel {
      private JFrame frame;
      private JPanel jpMain;
      private JLabel jlContainer,  jlSeal,  jlTopInstruct;
      private JButton find,  print;
      private JFormattedTextField ftfContainer,  ftfSeal;
      public static void main(String[] args) {
        SwingUtilities.invokeLater(new Runnable() {
          @Override
          public void run() {
            new ReceivingOrganizer().createGUI();
      public ReceivingOrganizer() {
        super(new GridBagLayout());
        GridBagConstraints c = new GridBagConstraints();
        jpMain = new JPanel(new GridBagLayout());
        jpMain.setBorder(BorderFactory.createEmptyBorder(30, 30, 30, 30));
        jlTopInstruct = new JLabel("Enter container number or seal number: ");
        c.gridwidth = GridBagConstraints.REMAINDER;
        jpMain.add(jlTopInstruct, c);
        c.gridwidth = 1;//GridBagConstraints.RELATIVE;
        jlContainer = new JLabel("Container: ");
        jpMain.add(jlContainer, c);
        c.gridwidth = GridBagConstraints.RELATIVE;
        ftfContainer = new JFormattedTextField();
        ftfContainer.setColumns(15);
        jpMain.add(ftfContainer, c);
        c.gridwidth = GridBagConstraints.REMAINDER;
        //c.fill = GridBagConstraints.BOTH;
        find = new JButton("Find");
        jpMain.add(find, c);
        c.gridwidth = 1;//GridBagConstraints.RELATIVE;
        jlSeal = new JLabel("Seal: ");
        jpMain.add(jlSeal, c);
        c.gridwidth = GridBagConstraints.RELATIVE;
        ftfSeal = new JFormattedTextField();
        ftfSeal.setColumns(15);
        jpMain.add(ftfSeal, c);
        c.gridwidth = GridBagConstraints.REMAINDER;
        print = new JButton("Print");
        print.setEnabled(false);
        jpMain.add(print, c);
        System.out.println("jpMain: " + jpMain.getSize());
        //jpMain.setMinimumSize(jpMain.getSize());
        add(jpMain, c);
        revalidate();
      public void createGUI() {
        frame = new JFrame("Receiving Organizer");
        frame.setResizable(true);
        frame.setLocationByPlatform(true);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.add(this);
        System.out.println("Before pack: " + frame.getSize());
        //Display the window.
        frame.pack();
        System.out.println("After pack: " + frame.getSize());
        frame.setMinimumSize(frame.getSize());
        frame.setMinimumSize(frame.getSize());
        frame.setVisible(true);
    }db
    edit And you had two instances of ReceivingOrganizer, one instantiated in main(...) and the other in createGUI(). You don't need this, just add the present instance to the frame.
    Edited by: DarrylBurke

  • DOA / repair / "within specs" ???

    First, I apologize in advance for a lengthy post. I hope the length doesn't dissuade people from helping me.
    I'm new to Macs and received my 1st PB on 12/22/05: 15" G4 1.67GHz, 80GB, 512MB, Super Drive, 1280x854 res (refurb unit from Apple). I have discovered some worrisome issues with this PB, and am seeking your sage advice as to whether these issues are normal or if I should return it to Apple (am within the return period).
    The PB came with OS X 10.3.7 installed, 2 OS X install discs (disc #2 is badly scratched & has many fingerprints on it), and an install disc for Tiger that seems to be new. I have not installed Tiger, nor any additional software or data, nor any peripherals. I have not set up internet access or even connected my cable modem to it, and have not run any repair utilities etc. Thus far I've only explored what was factory-installed, have been becoming familiar with the PB & OS X, and am currently running the battery calibration. I have used the PB for a total of perhaps 10 hours.
    The things I'm concerned about have been present since I first powered up on 12/23. They are:
    (1) Display - Numerous positions of characters in all text are faint. This is true in native res and all others; it is not confined to any specific app, row or column of text, or any specific area within a page. The text is basically legible, but certainly not clear or uniform.
    (2) Case & lid warped & warping - Out of the box, the case wobbled from left rear to right front. The case is level only if the power adapter cord is under one of those corners. Today I noted that the lid is now warping. The right front is noticeably higher than the left front, which creates a gap of approx 3/16" at the right front corner. The lid was not warped when I first used the PB.
    (3) Trackpad - Sometimes it will select/open an item when the cursor is merely resting on that item (i.e., without any clicking or tapping); sometimes the scroll functions do not work; sometimes neither the trackpad nor the button will respond to tapping. There's no rhyme or reason to these quirks and I can't duplicate any of them at will.
    (4) Battery - It charged to only 97% when I first recharged it after receiving the PB. Except for today during the calibration process, I have always had the PB connected to power; even so, the battery never charged above 97%. It is still in the process of recharging after calibration, so I don't yet know if it will charge beyond 97% after calibration.
    Are these things normal for 15" PBs, or are there repairs I should do, or should this PB be returned/exchanged?
    Sigh ... Buzzard's luck.

    Carl -
    No; your summary is incorrect. Sorry if I wasn't clear.
    Apple is NOT replacing the DOA refurb 15" PowerBook with a new one. They will apparently send another refurbed 15", unless I cancel.
    My "gripe" is that what AppleCare tech support and I agreed to is apparently not being honored by the Apple Store or whichever department is involved. AppleCare told me they would send a new one, but the follow-up email from the Apple Store, and their order status info, state they will send another refurbed one. At this point I am not sure just what they will send, if anything at all. My point of posting was to ascertain whether Apple tends to tell its customers one thing, then do something entirely different and contrary to the express agreement between AppleCare and the customer.
    The AppleCare tech with whom I spoke regarding the RMA initially offered to replace the DOA unit with another refurb unit. I told him I did not want to risk another refurbed PowerBook, and wanted a full refund (I am still within the refund period). I also told him I might buy a new 15" PB, but would not do so without seeing it first because of the possible display line issues. I further told him I would go to an Apple Store at my earliest opportunity to see the new 15" models in person, but to please process the refund in the interim. It was at that point he offered to send a new 15" PB to replace the DOA refurb, at the same price as the DOA refurb. Before I agreed to and accepted his offer I specifically asked the "new or another refurb" Q, and he confirmed "brand new". However, 1.5 days later I received an email from "The Apple Store Team" stating they will ship another refurb 15" (same model as the DOA unit) after their receipt of the DOA one. (The timing of shipping the replacement is also contrary to what AppleCare told me, but what the heck.)
    FWIW, I did not complain that Apple may (or may not) send a new 15" PowerBook to replace a DOA refurbed model. Such would be ludicrous, and even this old PC user isn't that stupid. I did "complain" that at least in the present instance, Apple tells its customer one thing yet does not follow through as agreed. For a company of Apple's esteem, that makes minds reel.
    Hopefully yours may now stop reeling.

  • Up-grading an old G5 to Leopard - help!

    A friend has been given an old G-5 Tower which he has thus far rehabilitated with  “transplants” of new internal organs (HD, RAM, etc.). It boots quite nicely with its older version OS X, (which I do not recall precisely, possibly Panther).
    However, he wishes to install Leopard from a retail disk he successfully used years ago. It carries “Upgrade” on its label.  All that it produces on the display in the present instance is a uniformly gray background with a merrily (and interminably) spinning beachball. Any idea why its installation does not proceed w/o incident in this instance? Might "Upgrade" be the problem?
    Would any of you out there have an idea that could help two octogenarians out of their puzzlement?

    Mark Jalbert wrote:
    "Upgrade" discs are machine specific. There is code written into the installer that will only upgrade certain machines. Full retail install discs do not have this code.
    Not so.  There were retail upgrade discs for Leopard at a discounted price that would (will) install OS X 10.5 on any machine provided that machine was already running Tiger (10.4).  I have one of these disks at home.  The label is basically the same label as the full install retail version, other then the printing on the label.

  • MacBook Pro locks up - stuck processes

    Sometimes when I disconnect the external monitor (Dell) from my MacBook Pro 2.4Ghz running Leopard, it will not wake up. On some occasions I have left the office and have taken laptop to a new location with another familiar network.
    In the present instance the cursor show up and moves on a dark screen and I can log in via SSH and access it over the network, but not with screensharing. I can also put it to sleep with "pmset sleepnow" so the machine is still responsive in some ways.
    Via SSH "top" shows that 3 processes were stuck. I used the "pm aux" command to see if I could figure out which processes.
    Under the Stat column 2 processes, Skype and Chromium had a "U" so I killed them and now it shows that only one process is stuck.
    Windowserver show a "Us" in the Stat column as can be seen below:
    _windowserver   555   0.0  4.6  1281488 193040   ??  Us   16May11 337:29.88 /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphic s.framework/Resources/WindowServer -daemon
    Does "Us" mean that it is stuck?
    If I kill "_windowserver   555 " will it destroy the entire session?
    Is there anything to try in order to avoid losing the session?
    Perhaps killing some non-essential processes and see if it starts working?
    Lastly, is there a good reference that explains all the items in the Stat column such as S, Ss, Ss+, Us, and R+?

    I had this problem with a new machine. It turned out to be DOA. What I noticed was that it had a rapid rise in temperature when I used it. So after 10-15 minuttes it pixelated the screen, fan speed went balistic and the machine stoppet.
    Try loading the iStat widget and check on any anomalies. For instance rapid rise in temperature, high load, loads of disk activity, even if you don´t do anything fancy.
    Good luck!

  • Altering Applet Security

    -I have been lead to belive that the security policy file for an applet simply sits in the same (default)
    directory with the applet, on the web server (eg. Apache). Can someone else reply to confirm this or
    otherwise?
    Besides that, I also observe that the programmer available api in java 1.6 there is a Permission file,
    which may be instantiated with relevant String data, which may then be sent to
    a PermissionCollection class.
    I furthermore know that I can do privileged actions past the default security policy,
    using the appropriate doPrivileged method inside AccessController with an adapted
    *(implemented) PrivilegedAction style class.*
    I am in fact trying to alter these security policies without applet signing or using a policy file,
    which to some extent is possible (say with AccessController).
    Can someone else please tell me how I can instantiate a Permission object with non-default
    security settings for a java applet, and have my java runtime observe these new settings
    and let me act accordingly with them, even outside the default java sandbox?
    (How to do policy file changes without the policy file or applet signing at all)?

    I have been lead to belive that the security policy file for an applet simply sits in the same (default) directory with the applet
    Re: Java Applet Sandbox options., you have been misled about this.
    -Nevertheless, it is a way to performed security forbidden actionsNo. It is a way to perform actions that aren't permitted to the current codebase but that are permitted to a codebase lower down on the call stack.
    -When I do use a custom policy file on an applet, (say when using apache webserver), and I don't want to sign the applet,
    my policy file will be actioned if it is left in the same default directory as my applet jar. Correct?
    Re: Java Applet Sandbox options., no. This is pure fiction. The policy file is at the client, installed with the JDK, controlled by the client. That's the whole point of the mechanism.
    I understand that in java code, I can create a Permisson object (or multiple ones) with the correct subclass of Permission
    and the correct intended String settings inside that Permission object.You can but it won't do you any good.
    How do I submit a permission object to the static policy object method, or event a default ProtectionDomain object?
    Re: Java Applet Sandbox options., you don't.
    so that the java runtime detects them and updates actionable security options? Where is the class to do this,
    and where is the class/method to call to get the system's present instance of that class?
    Re: Java Applet Sandbox options., they don't exist. If they did, the entire mechanism would be pointless. Re: Java Applet Sandbox options., the Permission and PermissionCollection classes are there for use by the security manager.
    How many times do you need to be told all this exactly?

  • How to split presentation level and business level using two ATG instances

    Hello All!
    We are investigating possibility of splitting ATG presentation (web store with jsp pages and other presentation components) and business (ATG components such as Pricing, Catalog, etc.) levels. The first idea that we have is simply start two instances of ATG. One instance will serve client requests (presentation level) and communicates with another ATG instance (business level) where all ATG components are situated.
    The main problem is a Nucleus container which is used for accessing all ATG components. And we don't know right solution how to point to a Nucleus container that is situated on a remote ATG instance. Right now we have two ideas how to establish communication between two ATG instances:
    - try to replace local Nucleus container by remote one using RMI;
    - do not replace Nucleus container by implementing some custom filter that can redirect all servlet requests to another ATG instance. In that case we will have two Nucleus containers.
    What do you think about all this? Do you have any other solutions how to solve the task? Maybe we lost something? Can we deploy a cluster of ATG instances that will communicate between each other?
    Thanks in advance.
    Andrey.
    Edited by: 945758 on Jul 11, 2012 7:00 AM

    Yes ATG system can have multiple nodes grouped in one or more clusters managed by load balencer
    If the services you are talking about are inherently ATG services like login, add to cart, checkout then its better to implement it with ATG.
    ATG provides and support both REST and SOAP based Webservice and allows you to expose any ATG component as service thus making it available outside ATG space.
    To be able to manage load better you can split your servers to page serving servers and services oriented servers and place them into multiple clusters.
    Though I haven't seen anyone using this kind of topology so not sure whether it's there is any challenge in setting up this topology.

  • OBIEE 10g: Presentation Cache in Second Instance of Presentation Server

    Hi everyone,
    I've been having an issue with my presentation cache disappearing every couple of minutes.
    I'm working with OBIEE 10.1.3.4, on Oracle Application Server on a Linux RHEL 5.4 32bit. I've spun up a second instance of the presentation service using the commands from RNM1978's blog here (http://rnm1978.wordpress.com/2009/08/25/multiple-rpds-on-one-server-part-2-presentation-services/). The reason why I have a second instance of the presentation service is for mobile reporting purposes. We have lots of executives using iPhones and the Oracle Business Intelligence Indicators application. The second instance defaults all charts to be PNGs, it also uses a separate, clean catalog, so that the executives don't get lost in all of the out of the box BI Applications content that is in our main catalog.
    Everything is setup and working properly, both presentation services are accessible and use the same RPD but different catalogs. The only thing that isn't working is the presentation service cache. A lot of these reports are QTD or YTD so it takes a few minutes to run some. We were hoping to use iBots to create BI Server cache at the beginning of the day. That seemed to help a bit but it seems to clear after a few minutes.
    Additionally, before we went to do demos to end users, we would run all the reports from a demo iPhone. Go to do the demo and within five minutes, the presentation cache would have already cleared. I confirmed the same by looking in the Session Manager of the second presentation service.
    Does anyone know why this would be happening? I have cache turned on in the bi server and I also have the following settings in my instanceconfigMobile.XML:
    <Cache>
    <Query>
    <CacheMaxEntries>1000</CacheMaxEntries>
    <CacheMaxExpireMinutes>720</CacheMaxExpireMinutes>
    <CacheMinExpireMinutes>720</CacheMinExpireMinutes>
    <CacheMinUserExpireMinutes>720</CacheMinUserExpireMinutes>
    </Query>
    </Cache>
    Are there other settings I need to investigate?
    Is this just additional commands I need to run when launching the additional presentation service? Here's the command I'm using:
    . ./common.sh
    . ./sa-init.sh
    sawserver -c /home/oracle/OracleBIData/web/config/instanceconfigMobile.xml >> /home/oracle/OracleBIData/web/log/sawserverMobile.out.log 2>&1 &
    Thanks!
    -=Joe

    Hi Joe
    I can't say I've tried Robin's technique to run two presentation servers but from my basic understanding of it, both versions will share the same cache as defined in a single nqsconfig.ini file. Maybe these 2 are conflicting somehow?
    I see that a separate instanceconfig.xml is used for each presentation server. I know there are a bunch of advanced, largely undocumented, cache properties you can set in there. I can send you a document listing the various properties if you want to play with it - contact me via my website.
    Paul
    http://total-bi.com

  • OBIEE 11g Multiple instance hitting Presentation catalog in round robin fashion

    Hi All,
    Our requirement was to have two instances of OBIEE 11g in a single box ie one for Dev and one for TEST
    For OBIEE 10g, i see lot of information, but for OBIEE 11g i dont see any information on this..
    Has anyone tried implementing multiple instances in OBIEE 11g through vertical clustering.?
    so far i did vertical clustering of Presentation servers
    ie
    1 BI Server
    2 Presentation Servers
    2 Presentation Services Plug-in ( analytics.ear, analytics2.ear)
    The issue that i am facing is that the below analytics link sometimes hits one catalog and sometimes other catalog... ( its random hitting) [looks like Load balancer is acting here]
    http://constance.localhost.com:9704/analytics 
    Also i read on Rittman Blog that ..
    "Presentation Services plug-in and Presentation Services have been decoupled. So, essentially a single web server can communicate to multiple presentation services in a round-robin fashion without the need for load balancer in vertical clustering. In horizontal clustering with multiple machines, load balancer will be required though in order to switch between different HTTP servers based on the incoming load. "
    Any ideas how to switch off the load balancer?
    Thanks
    Ashish

  • I have multiple songs I would like to include in my slideshow.  Can I change the rate of presentation for each song?  For instance, upbeat song with a 2 secong presenation time and slower song with a 3 second presentation time?

    I have multiple songs I would like to include in my slideshow.  Can I change the rate of presentation for each song?  For instance, upbeat song with a 2 secong presenation time and slower song with a 3 second presentation time

    Alternatives to iPhoto's slideshow include:
    PhotoToMovie  $49.95
    PulpMotion  $129
    FotoMagico $99
    Final Cut Pro X $299
    It's difficult to compare these apps. They have differences in capability - some are driven off templates. some aren't. Some have a wider variety of transitions. Others will have excellent audio controls. It's worth checking them out to see what meets your needs. However, there is no doubt that Final Cut Pro X is the most capable app of them all. You get what you pay for.

Maybe you are looking for