CuciLync 9.2 - registry key configuration does not work as expected

Hi,
according to the Administration Guide for CuciLync 9.2.2 some registry keys are supported to configure the client.
In the chapter 'Phone Parameters' there is a statement that four registry keys are supported:
CcmcipServer1
CcmcipServer2
TftpServer1
TftpServer2
In the next chapter 'CTI Load Balancing' there is an explanation that the registry key UseCUCMGroupForCti is also supported.
=> Does that mean that five registry keys are supported and not only four ?
My next questions leads to the possible values for these registry keys.
With CuciLync 8.6 it was possible to leave the registry keys for CcmcipServer empty.
In this case the IP addresses for CcmcipServer were automatically defined by downloading the config file.
And with UseCUCMGroupForCti these IP addresses were 'copied' to CtiServer.
That means with CuciLync 8.6 there was need to define CcmcipServer and CtiServer.
Only the TftpServers were configured by registry keys.
=> Is this also supported with CuciLync 9.2 ?
=> If no: In which future version do you plan to implement this ?
=> If yes: Are there any extra settings needed ? Because it does not work at the moment
Thanks for your feedback
Best Regards
Carsten Lucy
(Bayer Business Services)

According to MSDN:
When caching is enabled, the module caches the service information data until it polls the Service Control
Manager and discovers that the data has changed. If changed, the module updates the cached data and returns it as output. You can disable this caching feature, but doing so will cause the module to return data at every polling interval instead of only returning
when the data has changed or when the polling interval count has reached a multiple of 10.
However, the configuration is DisableCaching, and the default is False. Go figure that one out. Gotta
love Microsoft configuration names and documentation! If true, then it's not disable..... :)
Jonathan Almquist | SCOMskills, LLC (http://scomskills.com)

Similar Messages

  • Hello, I purchased design premium 4.0 German Windows  (LIZ 390232 from 22.02.2010) from my friend and wanted to installation it. However, the key code does not work. He has the PC is no longer, so he can not  disable the product key. He loaded it, but onl

    Hello, I purchased design premium 4.0 German Windows  (LIZ 390232 from 22.02.2010) from my friend and wanted to installation it. However, the key code does not work. He has the PC is no longer, so he can not  disable the product key. He loaded it, but only in Englisch (trial version?) Please help me for the next step. I have the license agreement in my hand.

    Moving this discussion to the Downloading, Installing, Setting Up forum.
    Jakobh53157856 before you begin the installation process please complete the transfer of license process to transfer the Adobe Creative software license you wish to utilize to your possession,  You can find details regarding the transfer process at Transfer an Adobe product license.

  • I purchased design premium 4.0 German Windows  from my friend and wanted to installation it. However, the key code does not work.

    I purchased design premium 4.0 German Windows  from my friend and wanted to installation it. However, the key code does not work. He has the PC is no longer, so he can not  disable the product key. He loaded it, but only in Englisch (trial version?) Please help me for the next step. I have the license agreement in my hand.

    Nobody here can help you with this. You'll need to contact Adobe directly.
    Did your friend fill out and send in the license transfer form?
    Transfer an Adobe product license

  • Silverlight 5 binding on a property with logic in its setter does not work as expected when debug is attached

    My problem is pretty easy to reproduce.
    I created a project from scratch with a view model.
    As you can see in the setter of "Age" property I have a simple logic.
        public class MainViewModel : INotifyPropertyChanged
                public event PropertyChangedEventHandler PropertyChanged;
                private int age;
                public int Age
                    get
                        return age;
                    set
                        /*Age has to be over 18* - a simple condition in the setter*/
                        age = value;
                        if(age <= 18)
                            age = 18;
                        OnPropertyChanged("Age");
                public MainViewModel(int age)
                    this.Age = age;
                private void OnPropertyChanged(string propertyName)
                    if (this.PropertyChanged != null)
                        PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    In the MainPage.xaml 
         <Grid x:Name="LayoutRoot" Background="White">
                <TextBox 
                    Text="{Binding Path=Age, Mode=TwoWay}" 
                    HorizontalAlignment="Left"
                    Width="100"
                    Height="25"/>
                <TextBlock
                    Text="{Binding Path=Age, Mode=OneWay}"
                    HorizontalAlignment="Right"
                    Width="100"
                    Height="25"/>
            </Grid>
    And MainPage.xaml.cs I simply instantiate the view model and set it as a DataContext.
        public partial class MainPage : UserControl
            private MainViewModel mvm;
            public MainPage()
                InitializeComponent();
                mvm = new MainViewModel(20);
                this.DataContext = mvm;
    I expect that this code will limit set the Age to 18 if the value entered in the TextBox is lower than 18.
    Scenario: Insert into TextBox the value "5" and press tab (for the binding the take effect, TextBox needs to lose the focus)
    Case 1: Debugger is attached =>
    TextBox value will be "5" and TextBlock value will be "18" as expected. - WRONG
    Case 2: Debugger is NOT attached => 
    TextBox value will be "18" and TextBlock value will be "18" - CORRECT
    It seems that when debugger is attached the binding does not work as expected on the object that triggered the update of the property value. This happens only if the property to which we are binding has some logic into the setter or getter.
    Has something changed in SL5 and logic in setters is not allowed anymore?
    Configuration:
    VisualStudio 2010 SP1
    SL 5 Tools 5.1.30214.0
    SL5 sdk 5.0.61118.0
    IE 10
    Thanks!                                       

    Inputting the value and changing it straight away is relatively rare.
    Very few people are now using Silverlight because it's kind of deprecated...
    This is why nobody has reported this.
    I certainly never noticed this problem and I have a number of live Silverlight systems out there.
    Some of which are huge.
    If you want a "fix":
    private void OnPropertyChanged(string propertyName)
    if (this.PropertyChanged != null)
    //PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    Storyboard sb = new Storyboard();
    sb.Duration = new Duration(new TimeSpan(0, 0, 0, 0, 100));
    sb.Completed += delegate
    PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    sb.Begin();
    The fact this works is interesting because (I think ) it means the textbox can't be updated at the point the propertychanged is raised.
    Please don't forget to upvote posts which you like and mark those which answer your question.
    My latest Technet article - Dynamic XAML

  • HT1338 My key register does not work ,I can't install my Apple's keyboard,my apple's mouse and I can't acsess anything because I can only enter as a guest .Help me , please !

    I am the administrator and the key does not work,nor the registry key .

    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
    Update and restore alert messages on iPhone, iPad, and iPod touch
    http://www.buybuyla.com/tech/view/012953a0d412000e.shtml
    iOS: Resolving update and restore alert messages
    http://support.apple.com/kb/TS1275
    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694
     Cheers, Tom

  • E7 lock key switch does not work

    Lock key stopped working during some update today. I installed the phone from scratch and installed anna over previous os.
    At sometime on the proces lock key stopped working. It does not work neither as led torch switch.
    I have found no place to change this key behaviour.

    Hey Mann,
    In order to reslove your issue I would suggest performing a soft reset (*#7780# soft reset(security code needed; 12345 by default) and then re-install anna again, should this not work you should consider taking your device to your local Nokia Care Point
    Thanks,
    Whizzkid

  • VPD context_sentisitive policy does not works as expected

    Hi,
    I'm trying to implement CONTEXT_SENSITIVE RLS policies:
    http://docs.oracle.com/database/121/ARPLS/d_rls.htm#ARPLS67721
    Server re-evaluates the policy function at statement execution time if it detects context changes since the last use of the cursor. For session pooling where multiple clients share a database session, the middle tier must reset context during client switches. Note that the server does not cache the value returned by the function for this policy type; it always executes the policy function on statement parsing. Applies to only one object.
    What I have discovered so far:
    1. policy function executed each time when query executed from SQL*Plus. Independently of context changes.
    2. policy function executed only once when query executed from PL/SQL.
    3.  When we have a PL/SQL procedure like this:
    begin
    <query>
    <change context>
    <query>
    end;
    Additionally, query (cursor) is not present in PL/SQL cursor cache, then
    policy functions executed only once when first query executed.
    So wrong results are possible when application context changed in a way that policy function returned predicate also changed.
    4. JDBC: policy function executed each time when query is executed. Policy function executed only once when I enabled statement caching:
    OracleDataSource ods =  new OracleDataSource();
    // skip
    ods.setConnectionCachingEnabled( true );
    ods.setImplicitCachingEnabled( true );
    Properties cacheProps = new Properties();
    cacheProps.put( "InitialLimit", "1" );
    cacheProps.put( "MinLimit", "1" );
    cacheProps.put( "MaxLimit", "5" );
    cacheProps.put( "MaxStatementsLimit", "50" );
    ods.setConnectionCacheProperties( cacheProps );
    5. Queries with RLS policies are not cached in the session cursor cache. For example, if we executed same query multiple times in SQL*Plus - then this query will be not cached.
    2 and 3 (PLSQL) relates to PL/SQL cursor cache.
    As a result, when we disable PL/SQL cursor cache (setting session_cached_cursors=0), then policy function executed each time in PL/SQL.
    What I have observed, it is not agreed with documentation on context_sensitive policies (I provided a link above):
    Server re-evaluates the policy function at statement execution time if it detects context changes since the last use of the cursor.
    Signature of DBMS_RLS.ADD_POLICY procedure was changed in 12c with additional arguments: NAMESPACE, ATTRIBUTE.
    I tried to use them with no luck, results are the same.
    In my opinion statements below are contradict to each other:
    1. Server re-evaluates the policy function at statement execution time if it detects context changes since the last use of the cursor.
    2. it always executes the policy function on statement parsing.
    First, documentation says that the policy function evaluates at statement execution time.
    Second, documentation says that the policy function executes on statement parsing.
    I have used Oracle Database 12.1.0.2 for testing.
    I provided a script that I have used in my tests:
    rls_policy.txt - creates test schema and policy
    rls_sqlplus.txt - runs simple select against query with RLS policy
    rls_plsql.txt - more complex example, runs some anonymous blocks with queries against table with RLS policy.
    In my opinion, context_sensitive policies does not works as described in the documentation.
    Is it a bug or I'm missing something?
    Please advice.
    Best regards,
    Mikhail.

    Thanks Scott. May i know why i should never use user policies for denying access?
    From my readings on some articles, there is no way to deny users permission in sharepoint after granting domain users with read access other than the web application user policy in our case (with certain reason, we need this group to be granted with
    read access but we would like to restrict small amount of users from seeing the page)

  • Control-Up/Down-Arrow key combination does not work anymore

    Hello,
    I have a problem that occurred in the last week, not sure if it happens due to 2 security updates that came in via Mac OS X software update. I am unable to assign Control-Up-Arrow or Control-Down-Arrow anywhere in applications! Right and left arrows are working fine.
    Examples:
    1) in Xcode Preferences, try to assign Control-Up-Arrow to any item in the menu. It doesn't work for me, it's as if I hadn't pressed that key combo. But I am able to assign any other key, Control-Right-Arrow, for example.
    2) in Logic Pro 9, I tried the same in the keyboard shortcuts dialog. Control-Left/Right-Arrow are working fine, but Control-Up/Down-arrows cannot be entered.
    3) at last, I wrote my own little dummy test Cocoa application in Xcode, and I assigned Control-Up/Down-Arrow to 2 menu items in Interface Builder, and assigned some action. The action did not work when I pressed the shortcut. But it does work with Control-Left/Right-Arrow. Also clicking the menu items with the mouse works, even when configured to control-up/down-arrows.
    I checked Universal Access in system settings, and mousekeys is off.
    I installed these sw updates last week: Xcode 3.2.4, Security Update 2010-005 + 2010-006. Was anything changed about the key combinations?
    Could anyone confirm or deny my findings? It used to work before the sw update. What could have possibly happened to Control-Up/Down-Arrows?
    Thanks for any help, it's appreciated!
    Message was edited by: Sven Thoennissen
    Message was edited by: Sven Thoennissen

    It turned out that the Control-Up/Down-Arrow shortcuts were taken by the Spaces app - even though Spaces was disabled! The problem was fixed by enabling Spaces and disabling it again.

  • I have a Roland A-90 ex midi thru M-Audio prokeys 88 into an iMac and have Logic Pro 9, Sibelius 6 and Miroslav Philharmonik to use. Problem is that in all three applications the midi key OFF does not work on the odd occasion and a note STICKS.

    ROLAND A-90ex Midi to M-audio prokeys 88 USB INTO iMac using LOGIC PRO9,SIBELIUS 6 & MIROSLAV PHILHARMONIK. When I play the keys, every now and then the note off command does not seem to work and I'll hit a note and it will stay sustained, stuck as if. I cannot turn it off. Tried everything , preferences and all the usual things. Any ideas?

    Pancenter...
    Yes... but I have come across some setups that came with a native SL (and even one Lion!) installation.. that somehow had a corrupted or older Prokit installed for some unknown reason... and given it's a quick fix to try.. I thought I'd mention it..
    I frankly don't think it is entirely a Prokit issue itself, but it wouldn't do any harm to try and install v7 just in case it is part of the problem...
    +1 on the UAD stuff....
    Also, at the time it crashed... according to the logs...the OP was running Ableton Live at the same time, presumably rewired with Logic... so add all that together with UAD plugins... and that's quite a load on the system...
    Finally in thread 32 there is a weird exception msg relating to the Trash2 plugin.. that I haven't seen before...
    Thread 32:
    0   libSystem.B.dylib      
    0x94c29afa mach_msg_trap + 10
    1   libSystem.B.dylib      
    0x94c2a267 mach_msg + 68
    2   ...tope.audioplugins.AU.Trash2
    0x667bd57a catch_exception_raise + 250
    3   libSystem.B.dylib      
    0x94c57259 _pthread_start + 345
    4   libSystem.B.dylib      
    0x94c570de thread_start + 34
    That might be nothing... but as i said, I haven't seen that one before and given what else is going on.. it might be involved too... or nothing to do with that at all!

  • Control-Delete key combo does not work

    I have a two-week old iMac. I have a wireless keyboard and mouse.
    I am still learning all the ins and outs.
    Everything I read seems to say that using the Apple key + delete will move a selected file to the trash.
    It does not! I am a former PC'er and hate having to drag stuff to the trash.
    I've tried everything I can think of. Any suggestions?
    Much thanks,
    Gerry
    iMac (Intel duo)   Mac OS X (10.4.9)  

    Hello Gerry and welcome to discussion,
    I just tried this on my Mac ( not a big fan of keyboard shortcuts here ! ) at first it did not work for me. Then I tried different speeds of the keystrokes - It works now, for me, if I perform the keystrokes very quickly! Odd? - I don't know.
    Is there any way you can try the keystrokes on a different keyboard?
    Regards
    Ian

  • Key tab does not work on solaris

    Hi,
    I have installed my new dev environment , a solaris 10 system.
    Unfortunatly, when I launch my production java applications, some control key does not seem to work. Particularly the tab key, so i cannot change from one JTextField to another. But this behaviour does not occur when the same application is launched on windows, linux or freebsd.
    Can anyone help me ?

    Thanks, alan!
    I believe what you found is right! I hard coded the size (60) in vswprintf and It works!
    I cannot pass the size ( 60 ) to ksx_swprintf, I need to find a way to compute the bufr size ( not by sizeof(bufr)) inside ksx_swprintf before calling vswprintf.
    What I am doing here is to i18n a big system to a few unix platforms. Of course, you know there are many calls of sprintf() in the code base, it is impossible to manually change all the sprintfs. what I did so far is to replace all sprintf by stprintf, then define macro stprintf to be swprintf for WCS and sprintf to be the SBCS, but on solaris 7, unlike other systems, swprintf takes an argument of buffer size ( as the 2nd argument), so for SOLARIS7, I have to define stprintf to be ksxswprintf. This is where I am.
    Thanks for pointing out the error!
    CXP

  • Multiroom DVR does not work as expected.

     Short description of my problem:
    I can't use the multiroom DVR with the SD receiver I was sent nor another DVR. This leaves me only one option, an HD receiver which costs me more per month but does not give me any other added benefits.
    Long description:
    I recently ordered FIOS TV. I was drawn in by the multiroom DVR. I was a DirecTV customer for over 7 years and never had a problem with them (never lost signal in a storm either...). I got an ad that said I could get a free multiroom DVR, which is $19 a month, free for life. With my DirecTV setup, I had a DVR connected to both TVs in my house. I thought it might be nice to watch a recorded show at either one instead of having to watch it on the DVR it was recorded on.
    After a frustrating experience with tech support, I finally had my multiroom DVR and standard set top box activated. I recorded something on the DVR and went upstairs to try and watch it. To my surprise, I found out that I could not. I had recorded it in HD and the receiver that had been supplied to me was an SD receiver. At this point I found it stupid that if I wanted to be able to watch a show at both locations, I either had to record it in SD, which looks like crap on an HDTV, or record it in both HD and SD which would use up both of my recording channels for one show. I know that I can upgrade to a HD receiver and watch it on both sets, but if I am going to pay more (just to make something work that was supposed to work for "free"), I might as well pay a little bit extra and get another DVR. I really liked being able to pause and rewind live TV at both locations.
    I called sales to place an order for another DVR. Surprise again, a multiroom DVR will not stream to another DVR. So my only option is to have an HD receiver if I want to be able to use the multiroom DVR and not lose functionality. As a result, I have lost 2 channels of recording because I have one less DVR than I used to, and I can no longer pause live TV at one of my TVs. I don't think that is worth the $10 ($19 - $8 for an HD receiver) a month.
    Solved!
    Go to Solution.

    kiseraut wrote:
    Justin,
    Thank you for the reply.  I am in western PA but can't check my DVR for the version until I get home.
    Can you please elaborate what you mean by "and as an aside, if you have QIP6416 DVRs and/or the QIP2500 SD STB, you will not be happy with 1.9 on any of those boxes."  I'm not sure what kind of receivers I have off hand.
    If I can get two DVRs to work with each other I would be ecstatic!!!  Thanks again for the info.
    You obviously have internet access, you can't use the internet to view what STBs you have in your account? If you do that, it will show you the model numbers of each of your STBs.
    But anyway, the 6xxx boxes are the old original STBs that Verizon delivered for FiOS TV starting 6 years ago. They worked fine with all levels of the IMG up through 1.8 (I had one for 5 1/2 years, got rid of it earlier this year, replaced it with a 7232). With the new 1.9 level, the 6xxx and 2500 boxes perform very poorly, they just do not have the processor, graphics processor, memory (and for the 6xxx boxes, an eSATA port) to support the new HD graphics and things like an external hard drive. So your Guide will still be SD, it will be somewhat hard to read, the boxes will be slow, slow, slow, etc.
    As I said, two DVRs most certainly can work together with 1.9. That feature is called Multi-Hub, it is free, just needs to be turned on on the DVRs. Allows you to access, schedule, and delete recordings on either DVR from other STBs as well as the DVRs themselves.
    A simple way to tell if you already have 1.9 is to look at the Guide and if it has the light blue/gray background it is 1.9.
    If you still have the two DVRs but not yet 1.9, I suggest you just keep them (unless they are 6xxx boxes), the new support should be available to you soon.
    Edit: Just had a thought, I know Verizon also uses Cisco STBs in some areas. I have no idea whether they do where you are, but it is possible that that is what you have. If so, I think they have an older version of 1.9 that does not yet support some of the features that the 1.9 for Motorola boxes has. Not sure which features.....
    Justin
    FiOS TV, Internet, and phone user
    QIP7232, QIP7100-P2, IMG 1.9A
    Keller, TX 76248

  • Multiple row column-sharing with GridBadLayout does not work as expected

    I was trying to figure out why I could not initially accomplish the following with a GridBagLayout:
    Row0: 0000011111
    Row1:      1111122222
    Row2:           2222233333The above is supposed to be 3 JLabels on three different rows:
    The 1st row has a single JLabel starting in column 0 with a width of 2, extending it to column 1.
    The 2nd row has a single JLabel starting in column 1 with a width of 2, extending it to column 2.
    The 3rd row has a single JLabel starting in column 2 with a width of 2, extending it to column 3.
    The entire grid is 4 columns and 3 rows total.
    Below I have two examples where I attempted the above. Only the 2nd example produces the desired effect. The 1st code example ends up putting both the Row 0 and Row 1 JLabel in the same column. This was surprising because I thought the GridBagLayout would give each column contained by a control enough weight to actually make those columns exist.
    Here is what my first code example below produces:
    Row0: 0000011111
    Row1: 1111122222
    Row2:           2222233333The first two JLabels, 0000011111 and 1111122222, appear in the same column, and the 3rd JLabel appears in the seemingly 2nd column. This was confusing to me which is the point of this whole post.
    In order to gain the desired effect, I had to place 4 blank dummy empty JLabel components in a non-visible Row 0 of the grid. I did this for all 4 columns of that invisible row 0. The row is non-visible because the JLabel have no text or output. After adding this non-visible Row 0, all of the original mentioned Rows 0 through 2 become Rows 1 through 2 respectively.
    For example:
    Row0: iiiiiIIIIIiiiiiIIIII
    Row1: 0000011111
    Row2:      1111122222
    Row3:           2222233333The above shows an inserted Row 0 with invisible labels that are not seen, but they seem to give weight to each column, allowing each to exist. Without doing this, as mentioned, the first code example (shown below) fails. The second example (also below) works, so it appears that putting the invisible controls into the first row, one in each column, somehow gives enough weight to each column to "establish" the column more so than otherwise.
    The big question I have is why didn't the first example work?
    I mean, in that example, I'm giving each JLabel equal weight, and each one takes up a width of 2 columns, so why doesn't the JLabel in the second row end up in column 1? Instead, both the original row 0 and row 1 JLabels appear in what looks like column 0, the same column. Does anyone know why this happened?
    The invisible control solution is fine but I'm just curious why it wasn't as intuitive as it should have been. The only thing I can come up with is that the weight of the 1st and 2nd JLabel (row 0 and 1) got combined in some fashion which combined them into column 1 which end up looking like column 0 since 0 somehow looses all weight. (???)
    ****************** THE FOLLOWING DOES NOT PRODUCE THE RIGHT EFFECTS ******************
    public class TestCoincidingColumns1 extends javax.swing.JFrame {
        /** Creates new form TestCoincidingColumns1 */
        public TestCoincidingColumns1() {
            initComponents();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">
        private void initComponents() {
            java.awt.GridBagConstraints gridBagConstraints;
            jLabel1 = new javax.swing.JLabel();
            jLabel2 = new javax.swing.JLabel();
            jLabel3 = new javax.swing.JLabel();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            getContentPane().setLayout(new java.awt.GridBagLayout());
            jLabel1.setText("LabelRow0Col0Wid2");
            jLabel1.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 255, 255)));
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 0;
            gridBagConstraints.gridy = 0;
            gridBagConstraints.gridwidth = 2;
            gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
            getContentPane().add(jLabel1, gridBagConstraints);
            jLabel2.setText("LabelRow1Col1Wid2");
            jLabel2.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(255, 0, 0)));
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 1;
            gridBagConstraints.gridy = 1;
            gridBagConstraints.gridwidth = 2;
            gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
            getContentPane().add(jLabel2, gridBagConstraints);
            jLabel3.setText("LabelRow2Col2Wid2");
            jLabel3.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 255, 0)));
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 2;
            gridBagConstraints.gridy = 2;
            gridBagConstraints.gridwidth = 2;
            gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
            getContentPane().add(jLabel3, gridBagConstraints);
            pack();
        }// </editor-fold>
        * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new TestCoincidingColumns1().setVisible(true);
        // Variables declaration - do not modify
        private javax.swing.JLabel jLabel1;
        private javax.swing.JLabel jLabel2;
        private javax.swing.JLabel jLabel3;
        // End of variables declaration
    ****************** THE FOLLOWING WORKS ******************
    public class TestCoincidingColumns1WithFix extends javax.swing.JFrame {
        /** Creates new form TestCoincidingColumns1WithFix */
        public TestCoincidingColumns1WithFix() {
            initComponents();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">                          
        private void initComponents() {
            java.awt.GridBagConstraints gridBagConstraints;
            jLabel1 = new javax.swing.JLabel();
            jLabel2 = new javax.swing.JLabel();
            jLabel3 = new javax.swing.JLabel();
            DummyRow0Col0 = new javax.swing.JLabel();
            DummyRow0Col1 = new javax.swing.JLabel();
            DummyRow0Col2 = new javax.swing.JLabel();
            DummyRow0Col3 = new javax.swing.JLabel();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            getContentPane().setLayout(new java.awt.GridBagLayout());
            jLabel1.setText("LabelRow0Col0Wid2");
            jLabel1.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 255, 255)));
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 0;
            gridBagConstraints.gridy = 1;
            gridBagConstraints.gridwidth = 2;
            gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
            gridBagConstraints.weightx = 1.0;
            getContentPane().add(jLabel1, gridBagConstraints);
            jLabel2.setText("LabelRow1Col1Wid2");
            jLabel2.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(255, 0, 0)));
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 1;
            gridBagConstraints.gridy = 2;
            gridBagConstraints.gridwidth = 2;
            gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
            gridBagConstraints.weightx = 1.0;
            getContentPane().add(jLabel2, gridBagConstraints);
            jLabel3.setText("LabelRow2Col2Wid2");
            jLabel3.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 255, 0)));
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 2;
            gridBagConstraints.gridy = 3;
            gridBagConstraints.gridwidth = 2;
            gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
            gridBagConstraints.weightx = 1.0;
            getContentPane().add(jLabel3, gridBagConstraints);
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 0;
            gridBagConstraints.gridy = 0;
            gridBagConstraints.weightx = 1.0;
            getContentPane().add(DummyRow0Col0, gridBagConstraints);
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 1;
            gridBagConstraints.gridy = 0;
            gridBagConstraints.weightx = 1.0;
            getContentPane().add(DummyRow0Col1, gridBagConstraints);
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 2;
            gridBagConstraints.gridy = 0;
            gridBagConstraints.weightx = 1.0;
            getContentPane().add(DummyRow0Col2, gridBagConstraints);
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 3;
            gridBagConstraints.gridy = 0;
            gridBagConstraints.weightx = 1.0;
            getContentPane().add(DummyRow0Col3, gridBagConstraints);
            pack();
        }// </editor-fold>                        
        * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new TestCoincidingColumns1WithFix().setVisible(true);
        // Variables declaration - do not modify                     
        private javax.swing.JLabel DummyRow0Col0;
        private javax.swing.JLabel DummyRow0Col1;
        private javax.swing.JLabel DummyRow0Col2;
        private javax.swing.JLabel DummyRow0Col3;
        private javax.swing.JLabel jLabel1;
        private javax.swing.JLabel jLabel2;
        private javax.swing.JLabel jLabel3;
        // End of variables declaration                   
    }

    I think I figured out the general reason for the problem based on a quick trace through of the GridBadLayout code in a simple example, and I wanted to share my findings in case they may be useful to anyone else. I felt there were some concepts gleaned from the source code that don't appear reinforced with documentation or, more importantly, in tutorials or books I checked. That's why I wanted to share my findings with this simple yet perplexing example.
    This example is very much like the one in my original post except it is more simple and only uses two JLabels.
    I created a grid with the following settings:
    JLabel1,gridx=0,gridy=0,gridwidth=2,weightx=1.0
    JLabel2,gridx=1,gridy=1,gridwidth=2,weightx=1.0Using the character '1' for JLabel1, and the character '2' for JLabel2, and 'x' for an "empty" grid cell, the above gives me the following simple conceptual layout:
    11x
    x22But the 'x' cell columns don't receive any weight, so things actually appear as follows:
    11
    22Internally, GridBagLayout (GBL), is really producing the following:
    11x
    x22But since the 'x' locations take no weight, they therefore get no size, so both JLabels appear as though they are in the first and only column.
    From what I can see, it doesn't really matter what I do, I'll never be able to produce the following effect with just two JLabels:
    11x
    x22I cannot do the above with just two JLabel components and a GridBagLayout. The reason is that the GridBagLayout, while it does define a "grid" of rows and columns, the grid is not a grid that actually relates to what is displayed. It's really a grid that defines what I'll refer to as "weight collisions" or "weight pools." If two components share, say, a grid column, their weights will combine with respect to that column. But the total size of the grid doesn't play a role in enforcing that some sort of grid display is maintained. The grid can possibly do that, but it would probably be safer to view that result as a side-effect produced by using the "weight pools" created by the grid itself.
    In the above simple example, JLabel1 ends up giving gridx 1 (0 being first) its full weight of 1.0. The gridx 0 column receive zero weight from JLabel1. What happens is the code in GridBagLayout sees that there are no presently assigned weights to column 0 and it simply assigns all remaining unassigned weight of JLabel1 to JLabel1's last, right-most in this case, gridx column. This means that gridx 1 gets the full 1.0.
    By contrast, though, when processing JLabel2, the GridBagLayout sees the previously assigned 1.0 to gridx 1 (JLabel1's right-most grid column) and it ends up assigning all of JLabel2's weight to that same grid location, gridx 1. In this case, even though JLabel2 supposedly spans through to gridx 2, the actual gridx 2 column gets 0 weight from JLabel2 and therefore gets no width.
    The result is that both JLabel1 and JLabel2 give 100% of their weight to gridx column 1 (what I called above a "weight pool" rather than a grid location), and both gridx 0 and gridx 2 receive 0 weight and I'm guessing appear without any size. What's odd about this is that even though JLabel1 starts at gridx=0, it really doesn't draw itself anywhere but starting at gridx=1. Likewise, even though JLabel2 draws itself supposedly from gridx=1 through to gridx=2, it doesn't really go into gridx=2 because gridx=2 doesn't get any width.
    In fact, given the code in GridBagLayout, it doesn't matter how much weight I give to either JLabel, all 100% of the weight will end up in gridx 1, the "center" grid location. The only way to get columnar distribution is to create other components to force the GridBagLayout to see individual columns which match the "grid." When I do this, the columns allow me to create the JLabels in a fashion where they intent/stagger, where a JLabel can start at a "column" location that is in the middle of another JLabel.
    Given this, I've come to the conclusion that it's not worthwhile to look at the GBL "grid" as a grid that propagates grid-like visual locations. It's more like the grid exists during the computation of weights which end up determining the true columns and rows that will visually exist, which may well not be anything like the grid locations one might visualize when looking at the constraints used.
    I think it's unfortunate that many examples and tutorials don't reinforce this concept with simple examples that help one grasp this easily. Most examples I see actually can fool a user into thinking a grid is a true grid in that positions represent visual locations, or that a control spanning into a grid column means that weight will be (at least) partially distributed there.
    You very often won't see the problem I'm describing above when you have dialogbox-like alignment of components which most tutorials and examples utilize. For example, if I take the same example as above, but intent JLabel so that it's gridx is 2, not 1, then both JLabels will not be sharing a single grid column so their weights won't collide. In such a case, one might be misled into thinking that a GridBagLayout's grid is truly providing row/col locations when it's not really doing that. Instead, in this latter case, one is really gaining that effect because certain unintuitive weight collisions. which would produce unexpected results, are being avoided.
    I thought weightx values would give a weight equally to all gridx columns that a component spans but that doesn't seem to be the case here. In fact, it's not even a components first column in my simple example above. GBL causes JLabel1 to given all its weight to gridx=1 (and nothing to gridx=0) while GBL causes JLabel2 to give all its weight to gridx=1 (and nothing to gridx=2). In one case, JLabel1, all weight goes to its right-most spanned-to column, while with JLabel2, it goes to JLabel2's entire first gridx location.
    I guess this is what makes GridBagLayout (GBL) unintuitive. But I don't think it's so much unintuitive as it is probably not well documented. When you look at the source code, it explains stuff which should be in the docs. In fact, not one single book I saw gave any help in solving this problem. I'm guessing this is largely because folks use GBL through trial and error until they get what they want, and perhaps they don't often need to indent halfway as I'm trying to do with GBL in the above example. If a lot of components are aligned, the results are not as unexpected. I'd say, though, that even in those not-so-confusing cases, GBL can troublesome without knowing its grid is all about a grid of weight pools which may or may not produce a visual grid depending on all components' constraint settings.

  • HELP: Burning double layer DVD does not work as expected by project info

    Hi,
    I have the following problem: I created an new project in iDVD and choose the following settings in the project info: Video-Modus=PAL, Coding=HighQuality, Format=16:9 and DVD-Typ=DoubleLayer. When I saved the project and open it again the project info dialog shows me the following amounts of used space: 1867 MB DVD-ROM, 4595 MB Diashows, 128 MB Menus, 0 MB Film, alltogether 6,48 GB and 200 minutes of duration.
    NOW: When I choose to burn the DVD it first tells me that I need to use a double layer DVD because the project is too large to be burned to a normal DVD. If I press OK (having inserted the DL-DVD), I am back in the standard iDVD editing mode. If I then have a look to the settings in the project info it is as follows: 3733 MB DVD-ROM, 4595 MB Menus, 128 MB Menus, 0 MB Film, alltogether 8,31 GB and still 200 minutes of duration. This obviously does not fit to the 7,7 GB DL-DVD so I cannot make iDVD to burn my DVD...
    QUESTION: What happend ? Why doubled the DVD-ROM space ? In fact what I can see is that there are several diashows doubled and even lots of picture more than once on the DVD. Could it be that there is a trash somewhere implemented ? I cut and pasted some of the diashows to a different place on the DVD...
    Thanks for answers and support.

    In fact what I can see is that there are several diashows doubled and even lots of picture more than once on the DVD.
    Do you mean "slideshows" instead of diashows?
    Did you add anything to the dvd-rom section of the DVD? If not, you may want to check this section to see what's going on.
    Also what does map view look like? Does it show anything that may have been duplicated?
    Please tell us your current ecoding settings.
    In other words, is the encoding set to Best Quality, Best Performance, or Professional Quality?
    Lastly, is this Dvd made up of of only slidesshows / images? Or did you also add a movie/s with actual video footage? And if so, what is the total playback / run time of this Dvd in hours and minutes? (keep in mind iDvd doesn't look at size/s but rather total QT playback in minutes; not to exceed 120 mins per SL Dvd-R and twice that amount for DL media).
    Message was edited by: SDMacuser

  • DBMS_STATS.SET_TABLE_PREFS does not work as expected

    Hi there!
    I am experiencing rather strange behaviour of the DBMS_STATS.SET__PREFS proceduree.
    I want to achieve that the statistics on the table is gathered with degrre = 4 in parallel and I want to achieve that by setting table preferences and not explicitely mentioning degree in the call to gather table statistics.
    This is what I've done:
    -first check global preferences:
    select dbms_stats.get_prefs('DEGREE', 'GLOBAL') from dual;
    ======================================
    NULL
    Then get table preferences :
    select
    dbms_stats.get_prefs('DEGREE', 'DARL', 'EIGNUNGSEINZELERGEBNISSE' )
    from dual;
    ================================================
    NULL
    Then I try to set DEGREE to 4:
    begin
    dbms_stats.set_table_prefs('DARL', 'EIGNUNGSEINZELERGEBNISSE', 'DEGREE', '4');
    end;
    and after that I query preferences:
    select
    dbms_stats.get_prefs('DEGREE', 'DARL', 'EIGNUNGSEINZELERGEBNISSE' )
    from dual;
    ====================================================
    4
    But when I run
    begin
    dbms_stats.gather_table_stats('DARL', 'EIGNUNGSEINZELERGEBNISSE' );
    end;
    statistics is not gathered in parallel..
    I just need to mention degree explicitely- and it runs in parallel:
    begin
    dbms_stats.gather_table_stats('DARL', 'EIGNUNGSEINZELERGEBNISSE' , degree => '4' );
    end;
    Now - I simply checked the prosesses each command produced...in the latter example one could clearly see th 4 parallel processes.
    To be honest, I dont't now in which catalog view could I look up if the resulting statistics gathering operation ran in parallel or not.
    And the table is 5,4 G and partitioned..it takes a while to gather statistics, with all the other parameters as they are.
    What is going on here.. did I forget something. Is there any other parameter that needs to be set for the preferences to function properly?
    Database version is 11.2
    Edited by: Reggy on Nov 26, 2012 2:25 PM
    Edited by: Reggy on Nov 27, 2012 8:18 AM

    I just checked and got the same result in 11.2 database.
    At first I noticed the following in the description of the procedure:
    ...DBMS_STATS may use serial execution if the size of the object does not warrant parallel execution.
    I checked on 4G table and 250G table with the same result.
    The second thing I noticed was how default degree is calculated in the procedure:
      degree           NUMBER   DEFAULT to_degree_type(get_param('DEGREE')),
    ...Please note the use of currently deprecated DBMS_STATS.GET_PARAM procedure that is replaced by GET_PREFS. The former would not pick up preferences set on the table level. If you set global preferences using DBMS_STATS.SET_GLOBAL_PREFS it would be used as the default (I verified).
    Of cause depending on your situation you might find that solution unacceptable. I this case you can still explicitly specify the degree as you did before.
    Looks like a bug to me, but of cause I have no confirmation of it yet.
    Hope it helps.

Maybe you are looking for

  • 2/4 user computers asking for login info for CR

    Hello, I have deployed a VB application built in VS 2008 and my database is MySQL.  My crystal reports version is 10.5.  I deployed the VB application on 4 user computers and 2 of them I can run the application and the reports show up with no issues.

  • Use resourceBundle properties file from KM

    Hi, I have a properties file called com.mycomp.apps.phonebook.properties in the KM Content of the portal in KM Content => root => mycomp => apps => phonebook => customizing Now I'm developing a new LinkCommand service for the UserDetails. http://help

  • Can I transfer music from Windows Media player to my Sony reader? How do I do that?

    Can I transfer music from Windows Media player to my Sony reader? How do I do that? I have an extense music library and would like to be able to listen to my favorites in the reader when I am using it. My computer is a Dell Studio 435 and uses Window

  • 2.0 v buggy

    so i downloaded 2.0 during the fiasco yesterday and i too had the nightmare of a unuseable iphone for a few hrs while itunes was down, but since it started working again and downloaded a few apps the iphone has turned off and restarted twice, and not

  • Picture refuses to burn in main menue screen

    I have tried repeatedly to burn a project with "pixel aspect ratio" settings of D1/DV Ntsc Widescreen 16:9 (1.2121). Everything burns well except the jpg picture from my files that I have inserted in the main menue is missing. The picture appears ok