VI Snippet bug

I was trying to use the new LabVIEW 2009 VI snippet tool and got one semi serious problem, and one serious bug.
I tried to get this snippet right.
First problem was that the VI must be save before 'Snipping'.
Second is taht when I tried to capture the event frame I got a series of dialog stating that I sould report it to NI tech personel.
Third is that  the whole VI was captured.
In the attachment (temp.zip) is the XControl that created this (LabVIEW 2009), I have reproduced this even after a LV restart.
I only tried to capture the event structure inside the facade VI.
Ton
PS I am serious not just to diss the snippet tool
Message Edited by TonP on 08-05-2009 01:35 PM
Message Edited by TonP on 08-05-2009 01:38 PM
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be!
Solved!
Go to Solution.
Attachments:
SnippetError.png ‏10 KB
temp.zip ‏34 KB

Hi Roy,
one more problem with snippet creation...
See attached vi and according snippet.png. In the snippet the content of a [array of] cluster constant is invisible - which is rather annoying when that is just the main part of an example...
Message Edited by GerdW on 09-12-2009 05:49 PM
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome
Attachments:
Snippet_Problem.vi ‏10 KB
Snippet_Problem.png ‏21 KB

Similar Messages

  • VI Snippet Bug (IMAQ Image Vision Display with Property Node)

    Colleagues,
    Just found small bug in LabVIEW - Creating snippet from selection with Vision Display together with Property node is not working (means that nothing happened - no save dialog appear):
    VI in attachment (VAS or VDM software required). Can someone reproduce this?
    Andrey.
    PS
    LabVIEW 2009f3
    Message Edited by Andrey Dmitriev on 01-21-2010 03:29 PM
    Attachments:
    Snippet BUG.vi ‏40 KB

    Hi Andrey
    Thank you for your post, I will clarify if this is fixed in the LabVIEW SP1.
    If it is not, I am going to write a CAR for that.
    Kind regards
    Beat
    AE NI Germany

  • Have snippet bugs been fixed in RH8?

    Hello All,
    I have noticed a few bugs associated with using snippets in RH7, such as the snippets disappearing from the Snippets Pod once in a while, and bullets not rendering correctly in design view, to name a few.
    I was wondering if anyone knows if these problems have been corrected in RH8?
    M.S

    May I add to this list please?
    In FCP7...
    1-are motion tab keyframes now cut & paste enabled?
    2-has the VO tool input instability been fixed
    Reading the What's New page for FCP7, it seems like FINALLY some basic stuff has been sorted, hooray! (even if its long overdue...)

  • HTML Snippet Bug?

    Yesterday after I downloaded and installed Ct-CS3, I created
    a blog post and was able to use the Insert > HTML Snippet
    option. Today, I tried to do that, and the option is grayed out. Is
    there a bug or am I doing something wrong? Anyone experience this
    yet?

    New realization: I connect to four blogs. Three of them, I
    can use the HTML Snippet option. The fourth, I can't. I even
    started a new draft in the one that isn't working, moved it to
    another blog, and the option appeared. Moved it back to the
    original blog, the option disappeared.
    Now I'm really confused.

  • Problème détection de fronts montants pour déclencher une horloge

    Bonjour,
    Je suis étudiant et je travaille au pilotage d'un système dans le cadre de mon stage de fin d'études.
    Je travaille avec LabVIEW 2010 et une carte d'acquisition NI-USB 6210.
    Donc mom problème est le suivant : je dois commander un résolveur afin qu'il me transmette un mot sur sa position. Pour cela, je dois générer un signal d'horloge et une impulsion de type chip select afin de pouvoir récuperer le mot avec un autre VI que je vais devoir faire.
    J'ai donc créé un signal d'horloge qui fonctionne, une impulsion chip select qui fonctionne et je les ai mis dans le meme VI. Ils fonctionnent séparément mais je n'arrive pas à les faire coincider. Ma problématique est le lancement de l'horloge après un front montant sur chip select, et l'arret de l'horloge après un autre front montant (un toggle). Le chip select sera matérialisé par un bouton booléen sur la face avant.
    J'avais eu une autre idée en utilisant des variables locales mais Labview met une erreur quand on met un bouton booléen en latch dans une variable locale...
    Je vous met une snapshot du diagramme, je peut vous envoyer le VI si besoin...
    Merci d'avance !!

    à "creuser" et surtout à adapter,
    mais ceci <semble> correspondre au cachier des charges.
    <CLK> est généré lors du front montant de <CS> ... jusqu'au prochain front montant (de <CS>)
    Le tout est synchronisé.
    Ceci dit, je débute avec LV ... mais il me semble que cela correspond au but recherché.
    Comme dab, le snippet bug quand il y a référence au FP (variable locale) ... donc j'ai mis le fichier en plus.
    Pièces jointes :
    CLK - CS.zip ‏12 KB

  • HTML Snippet widget bug report.

    Dear Apple iWeb 08 Engineers.
    I didn't know where to send this bug report and so I have resorted to this forum. I hope it gets to you somehow.
    When creating a simple HTML Snippet in a page it seems that the piece of code that refers to the newly created widget in the .html for the page has a bug in it. For example, I have a page on my website called "Animation"; it has a simple HTML Snippet the code for which has been tested (by viewing the file widget0_markup.html in a browser). In Animation.html the following line appears
    <iframe id="widget0-frame" src=".//Animationfiles/widget0markup.html" frameborder="0" style="width: 100%; height: 100%;" scrolling="no" marginheight="0" marginwidth="0" allowTransparency="true"></iframe>
    Surely the pathname in the "src" option is in error (what the **** is .//?). If I change it to ./ by hand then everything works. Please change this asap, because at the moment I have to go into every page and change it by hand after publishing.
    Many thanks, Marvin.

    Thanks for the reply, but I'm afraid that I'm not convinced.
    In all the flavours of unix that I've ever used ./ is the current directory, ../ is the parent directory and ../../ is the grandparent directory (not .// as you suggest). In any case, the path name of source file in question is ./Animationfiles/widget0markup.html (assuming the code in question is in the file Animation.html) and so going up the tree into the grandparent directory is not what you want to do anyway; the directory Animation_files is always in the same directory as Animation.html and the file widget0_markup.html is saved, by iWeb upon publication, in the directory ./Animation_files.
    In short, I still think it's a bug, but thanks for the advice; I apologise if I am wrong.
    Marvin.

  • Bug(?) Dropping a snippet which browses for SubVIs in not undo-able

    Here is one that fortunately hadn't struck me yet, but is a bit of a pain.
    Situation:  Interesting snippet on forum page.  User has disdain for most MSoft products so refuses to use IE unless there is no other option and iPhone is discharged.  Arrange the browser and desired BD so the drag from browser to desktop to BD can take place.  On the way to the desired BD, a muscle spasm occurs causing the snippet to drop on the wrong BD.  No big deal, after LV does its thing and finds the subVIs I press Ctrl-z.  Nothing.  Now I have to go through and surgically remove the snippet code from the original BD.
    Normal snippet drops are undoable, but apparently not if LV has to browse for a subVI.  LV9 SP1
    Solved!
    Go to Solution.

    Darin-
    I tried to duplicate this situation and I found that you are right, it should work, but doesn't.  I've filed a correction action request to alert R&D ofthe situation.  Thanks for the information.
    -Scott Wiest
    National Instruments
    Applications Engineer

  • Minor bug in vi snippet ?

    I created a snippet but the content of a cluster constant wasn't displayed in the png, however it shows up if I dragg it into a diagram.
    It doesn't happened with a 'selfmade' cluster. But if I do a create constant on a sine waveform , mark it and create a snippet I get the result you see.
    LV 2009 f 3 on XP
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'
    Solved!
    Go to Solution.

    Thanks.
    Strange, I did a search before posting, should have found it.....
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • Unable to find the bug in this snippet

    Hi, I am trying to run the following preparedStatement method. But at run time, I get a sql error on the "?". customerId ia an integer passed in to the call that has this method. Can you please help!
    ps = conn.prepareStatement("CREATE TABLE ? " +
    " (CID INTEGER, " +
    " FIRST_NAME VARCHAR(32)," +
    " LAST_NAME VARCHAR(32)," +
    " SEX VARCHAR(1)," +
    " MOBILE_PHONE VARCHAR(32)," +
    " HOME_EMAIL VARCHAR(32),"+
    " WORK_PHONE VARCHAR(32)," +
    " WORK_EMAIL VARCHAR(32)," +
    " PRIORITY INTEGER, " +
    " NOTES BLOB, " +
    " LAST_TALKED DATE, " +
    " LAST_VOICEMAILED DATE," +
    " LAST_EMAILRCVD DATE," +
    " LAST_EMAILED DATE)");
    ps.setString(1, customerId+"_"+"CONTACTS");
    ps.executeUpdate();

    I have no idea what you are doing - the prepared statement is a table create statement.
    This statement makes no sense where it is.
    ps.setString(1, customerId+"_"+"CONTACTS");
    I suggest you do some reading up on using them.
    rykk

  • Solaris8 and 9 (possibly 7) /dev/poll driver bug report.

    Hello,
    I'd like to report a bug in the solaris 8 and 9 /dev/poll driver (poll(7d)).
    As i do not have a support account with sun or anything like that, there
    seems to be no other way to do that here (which is of course a very sad
    thing).
    Bug details:
    The /dev/poll device provides an ioctl-request (DP_ISPOLLED) for checking
    if a particular filedescriptor is currently in the set of monitored
    filedescriptors for that particular /dev/poll fd set (open /dev/poll fd).
    A quote from the documentation of the poll(7d) manual page taken from
    Solaris9:
    "DP_ISPOLLED ioctl allows you to query if a file descriptor is already in
    the monitored set represented by fd. The fd field of the pollfd structure
    indicates the file descriptor of interest. The DP_ISPOLLED ioctl returns 1
    if the file descriptor is in the set. The events field contains the
    currently polled events. The revents field contains 0. The ioctl returns 0
    if the file descriptor is not in the set. The pollfd structure pointed by
    pfd is not modified. The ioctl returns a -1 if the call fails."
    It says that when you query for an filedescriptor which is currently being
    monitored in the set, that it would return 1, and change the events field of
    the pollfd structure to the events it's currently monitoring that fd for.
    The revents field would be set to zero.
    However the only thing which actually happens here, is that FD_ISPOLLED
    returns 1 when the fd is in the set and 0 if not. When the fd is in the
    set, when FD_ISPOLLED returns 1, the events field remains unmodified, but
    the revents field gets changed.
    A small sample code to illustrate:
    #include <stdio.h>
    #include <unistd.h>
    #include <sys/types.h>
    #include <sys/stat.h>
    #include <fcntl.h>
    #include <sys/devpoll.h>
    main() {
    struct pollfd a;
    int dp_fd = open("/dev/poll", O_WRONLY);
    a.fd = 0; /* stdin */
    a.events = POLLIN; /* we monitor for readability, POLLIN=1 */
    a.revents = 0;
    write(dp_fd, &a, sizeof(a));
    a.fd = 0;
    a.events = 34; /* filled in with bogus number to show malfunctioning */
    a.revents = 0;
    printf("DP_ISPOLLED returns: %d\n", ioctl(dp_fd, DP_ISPOLLED, &a));
    printf("a.fd=%d, a.events=%hd, a.revents=%hd\n", a.fd, a.events,
    a.revents);
    According to the documentation of /dev/poll and namely DP_ISPOLLED this
    program is supposed to print the following:
    DP_ISPOLLED returns: 1
    a.fd=0, a.events=1, a.revents=0
    However it prints the following:
    DP_ISPOLLED returns: 1
    a.fd=0, a.events=34, a.revents=1
    You can take any number instead of '34' and it will simply remain untouched
    after the DP_ISPOLLED ioctl-request.
    I hope it's clear now that the solaris8 and solaris9 (and probably solaris7
    with /dev/poll patch too) DP_ISPOLLED implementation is broken.
    This bug is also easily illustrated by looking at the solaris8 kernel sourcecode:
    <snippet osnet_volume/usr/src/uts/common/io/devpoll.c:dpioctl()>
    case DP_ISPOLLED:
    pollfd_t pollfd;
    polldat_t *pdp;
    if (pollfd.fd < 0) {
    mutex_exit(&pcp->pc_lock);
    break;
    pdp = pcache_lookup_fd(pcp, pollfd.fd);
    if ((pdp != NULL) && (pdp->pd_fd == pollfd.fd) &&
    (pdp->pd_fp != NULL)) {
    pollfd.revents = pdp->pd_events;
    if (copyout(&pollfd, (caddr_t)arg,
    sizeof(pollfd_t))) {
    mutex_exit(&pcp->pc_lock);
    DP_REFRELE(dpep);
    return (set_errno(EFAULT));
    *rvalp = 1;
    </snippet>
    its' clearly visible that the code writes the current monitored events to
    the revents field:
    'pollfd.revents = pdp->pd_events;'
    and that it doesnt set revents to zero.
    It's funny to see that this has been like this since Solaris8 (possibly 7). That means nobody ever used DP_ISPOLLED that way or people were simply to lazy to file a bug report.
    Another funny thing related to this. is that Hewlett-Packard did seem to know about this. Since HP-UX11i version 1.6 they also support /dev/poll. From their manual page i ll quote some sentences from their WARNING session:
    "The ioctl(DP_ISPOLLED) system call also returns its result in the revents member of the pollfd structure, in order to be compatible with the implementation of the /dev/poll driver by some other vendors."
    Hopefully this will get fixed.
    I also like to reexpress my very negative feelings towards the fact that you're not able to file bug reports when you do not have a support contract. Ridiculous.
    Thanks,
    bighawk

    Have I mentioned how much i love my playbook now Great job on os 2.0

  • Bug with Show Whitespace and tab and space characters in SQL comments

    If Preferences > Code Editor > Display > Show Whitespace Characters is checked, and I type the following in SQL Worksheet:
    --A[tab]B[space]C
    It renders with two spaces between B and C. The first one is a blank space without the light dot character used to signify a space character, and the second space is filled with the dot character. The caret is then blinking before the C instead of after it:
    --A[tab]B[space][dot][|]C
    Further selection actions and editing in the region produce "corrupted" results. I've tried changing fonts, but there was no change to the behavior. Multiple tabs before the B produce multiple blank spaces immediately after it, and when placed at the end of the line the caret is then shown another space to the left of the C:
    --A[tab][tab]B[space][space][|][dot]C
    If I turn off Show Whitespace Characters the rendering immediately corrects, and caret placement, selection action, and editing behaviors all work as expected.
    This is observed on OS X with both the Mac OS X and Oracle/Fusion Blue look and feels.
    Ian
    About
    Oracle SQL Developer 3.0.04
    Version 3.0.04
    Build MAIN-04.34
    Copyright © 2005, 2011 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.4.37.59.31
    Product ID: oracle.sqldeveloper
    Product Version: 11.1.2.04.34
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.6.0_24
    Oracle IDE     3.0.04.34
    Versioning Support     3.0.04.34
    Properties
    Name     Value
    ====     =====
    apple.awt.graphics.UseOpenGL     false
    apple.awt.graphics.UseQuartz     false
    apple.laf.useScreenMenuBar     true
    awt.nativeDoubleBuffering     true
    awt.toolkit     apple.awt.CToolkit
    class.load.environment     oracle.ide.boot.IdeClassLoadEnvironment
    class.load.log.level     CONFIG
    class.transfer     delegate
    com.apple.macos.smallTabs     true
    com.apple.mrj.application.apple.menu.about.name     SQL_Developer
    com.apple.mrj.application.growbox.intrudes     false
    file.encoding     MacRoman
    file.encoding.pkg     sun.io
    file.separator     /
    ftp.nonProxyHosts     local|*.local|169.254/16|*.169.254/16
    gopherProxySet     false
    ice.browser.forcegc     false
    ice.pilots.html4.ignoreNonGenericFonts     true
    ice.pilots.html4.tileOptThreshold     0
    ide.AssertTracingDisabled     true
    ide.bootstrap.start     1309201485440911000
    ide.build     MAIN-04.34
    ide.conf     /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
    ide.config_pathname     /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
    ide.debugbuild     false
    ide.devbuild     false
    ide.extension.search.path     sqldeveloper/extensions:jdev/extensions:ide/extensions
    ide.firstrun     true
    ide.java.minversion     1.6.0_04
    ide.main.class     oracle.ide.boot.IdeLauncher
    ide.patches.dir     ide/lib/patches
    ide.pref.dir     /Users/ibrandt/.sqldeveloper
    ide.product     oracle.sqldeveloper
    ide.splash.screen     splash.gif
    ide.startingcwd     "/Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin"
    ide.user.dir     /Users/ibrandt/.sqldeveloper
    ide.user.dir.var     IDE_USER_DIR
    ide.vcs.noapplications     true
    ide.work.dir     /Users/ibrandt/sqldeveloper
    ilog.propagatesPropertyEditors     false
    java.awt.graphicsenv     apple.awt.CGraphicsEnvironment
    java.awt.printerjob     apple.awt.CPrinterJob
    java.class.path     ../../ide/lib/ide-boot.jar
    java.class.version     50.0
    java.endorsed.dirs     /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed
    java.ext.dirs     /Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext
    java.home     /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
    java.io.tmpdir     /var/folders/rq/rqQtue9lEpGAwCKh2hL8MU+++TM/-Tmp-/
    java.library.path     .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
    java.naming.factory.initial     oracle.javatools.jndi.LocalInitialContextFactory
    java.protocol.handler.pkgs     oracle.jdevimpl.handler
    java.runtime.name     Java(TM) SE Runtime Environment
    java.runtime.version     1.6.0_24-b07-334-10M3326
    java.specification.name     Java Platform API Specification
    java.specification.vendor     Sun Microsystems Inc.
    java.specification.version     1.6
    java.util.logging.config.file     logging.conf
    java.vendor     Apple Inc.
    java.vendor.url     http://www.apple.com/
    java.vendor.url.bug     http://bugreport.apple.com/
    java.version     1.6.0_24
    java.vm.info     mixed mode
    java.vm.name     Java HotSpot(TM) 64-Bit Server VM
    java.vm.specification.name     Java Virtual Machine Specification
    java.vm.specification.vendor     Sun Microsystems Inc.
    java.vm.specification.version     1.0
    java.vm.vendor     Apple Inc.
    java.vm.version     19.1-b02-334
    jdbc.library     /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/jdbc/lib/ojdbc6.jar
    line.separator     \n
    log.file.name     /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log/datamodeler.log
    mrj.build     10M3326
    mrj.version     1060.1.6.0_24-334
    oracle.home     /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper
    oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG     true
    oracle.jdbc.mapDateToTimestamp     false
    oracle.translated.locales     de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
    oracle.xdkjava.compatibility.version     9.0.4
    orai18n.library     /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/jlib/orai18n.jar
    os.arch     x86_64
    os.name     Mac OS X
    os.version     10.6.8
    path.separator     :
    reserved_filenames     con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
    socksNonProxyHosts     local|*.local|169.254/16|*.169.254/16
    sqldev.debug     false
    sun.arch.data.model     64
    sun.awt.exception.handler     apple.awt.CToolkit$EventQueueExceptionHandler
    sun.boot.class.path     ../../rdbms/jlib/ojdi.jar:
    /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:
    /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:
    /System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:
    /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:
    /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:
    /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:
    /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:
    /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:
    /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar
    sun.boot.library.path     /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries
    sun.cpu.endian     little
    sun.cpu.isalist     
    sun.io.unicode.encoding     UnicodeLittle
    sun.java.launcher     SUN_STANDARD
    sun.java2d.ddoffscreen     false
    sun.jnu.encoding     MacRoman
    sun.management.compiler     HotSpot 64-Bit Server Compiler
    sun.os.patch.level     unknown
    svnkit.sax.useDefault     true
    user.country     US
    user.dir     /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin
    user.home     /Users/ibrandt
    user.language     en
    user.name     ibrandt
    user.timezone     America/Los_Angeles
    windows.shell.font.languages     
    Extensions
    Name     Identifier     Version     Status
    ====     ==========     =======     ======
    Check For Updates     oracle.ide.webupdate     11.1.1.4.37.59.31     Loaded
    Code Editor     oracle.ide.ceditor     11.1.1.4.37.59.31     Loaded
    Component Palette     oracle.ide.palette1     11.1.1.4.37.59.31     Loaded
    Data Miner     oracle.dmt.dataminer     11.2.0.1.10.109     Loaded
    Database Connection Support     oracle.jdeveloper.db.connection     11.1.1.4.37.59.31     Loaded
    Database Object Explorers     oracle.ide.db.explorer     11.1.1.4.37.59.31     Loaded
    Database UI     oracle.ide.db     11.1.1.4.37.59.31     Loaded
    Diagram Framework     oracle.diagram     11.1.1.4.37.59.31     Loaded
    Diagram Javadoc Extension     oracle.diagram.javadoc     11.1.1.4.37.59.31     Loaded
    Diagram Thumbnail     oracle.diagram.thumbnail     11.1.1.4.37.59.31     Loaded
    Diff/Merge     oracle.ide.diffmerge     11.1.1.4.37.59.31     Loaded
    Extended IDE Platform     oracle.javacore     11.1.1.4.37.59.31     Loaded
    External Tools     oracle.ide.externaltools     11.1.1.4.37.59.31     Loaded
    File Support     oracle.ide.files     11.1.1.4.37.59.31     Loaded
    Help System     oracle.ide.help     11.1.1.4.37.59.31     Loaded
    History Support     oracle.jdeveloper.history     11.1.1.4.37.59.31     Loaded
    Import/Export Support     oracle.ide.importexport     11.1.1.4.37.59.31     Loaded
    Index Migrator support     oracle.ideimpl.indexing-migrator     11.1.1.4.37.59.31     Loaded
    JDeveloper Runner     oracle.jdeveloper.runner     11.1.1.4.37.59.31     Loaded
    JViews Registration Addin     oracle.diagram.registration     11.1.1.4.37.59.31     Loaded
    Log Window     oracle.ide.log     11.1.1.4.37.59.31     Loaded
    Mac OS X Adapter     oracle.ideimpl.apple     11.1.1.4.37.59.31     Loaded
    Navigator     oracle.ide.navigator     11.1.1.4.37.59.31     Loaded
    Object Gallery     oracle.ide.gallery     11.1.1.4.37.59.31     Loaded
    Oracle IDE     oracle.ide     11.1.1.4.37.59.31     Loaded
    Oracle SQL Developer     oracle.sqldeveloper     11.1.2.04.34     Loaded
    Oracle SQL Developer - 3rd Party Database Browsers     oracle.sqldeveloper.thirdparty.browsers     11.1.1.04.34     Loaded
    Oracle SQL Developer - DBA Navigator     oracle.sqldeveloper.dbanavigator     11.1.1.04.34     Loaded
    Oracle SQL Developer - Extras     oracle.sqldeveloper.extras     1.1.1.04.34     Loaded
    Oracle SQL Developer - File Navigator     oracle.sqldeveloper.filenavigator     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations Antlr3 Translator     oracle.sqldeveloper.migration.translation.core_antlr3     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations Application Migration     oracle.sqldeveloper.migration.application     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations Core     oracle.sqldeveloper.migration     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations DB2     oracle.sqldeveloper.migration.db2     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations DB2 Translator     oracle.sqldeveloper.migration.translation.db2     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations Microsoft Access     oracle.sqldeveloper.migration.msaccess     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations Microsoft SQL Server     oracle.sqldeveloper.migration.sqlserver     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations MySQL     oracle.sqldeveloper.migration.mysql     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations Sybase Adaptive Server     oracle.sqldeveloper.migration.sybase     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations T-SQL Translator     oracle.sqldeveloper.migration.translation.core     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations Teradata     oracle.sqldeveloper.migration.teradata     11.1.1.04.34     Loaded
    Oracle SQL Developer - Migrations Translation UI     oracle.sqldeveloper.migration.translation.gui     11.1.1.04.34     Loaded
    Oracle SQL Developer - Object Viewer     oracle.sqldeveloper.oviewer     11.1.1.04.34     Loaded
    Oracle SQL Developer - Real Time SQL Monitoring     oracle.sqldeveloper.sqlmonitor     11.1.1.04.34     Loaded
    Oracle SQL Developer - Reports     oracle.sqldeveloper.report     11.1.1.04.34     Loaded
    Oracle SQL Developer - Scheduler     oracle.sqldeveloper.scheduler     11.1.1.04.34     Loaded
    Oracle SQL Developer - Schema Browser     oracle.sqldeveloper.schemabrowser     11.1.1.04.34     Loaded
    Oracle SQL Developer - SearchBar     oracle.sqldeveloper.searchbar     11.1.1.04.34     Loaded
    Oracle SQL Developer - Snippet     oracle.sqldeveloper.snippet     11.1.1.04.34     Loaded
    Oracle SQL Developer - Spatial     oracle.sqldeveloper.spatial     11.1.1.04.34     Loaded
    Oracle SQL Developer - TimesTen     oracle.sqldeveloper.timesten     2.0.0.04.34     Loaded
    Oracle SQL Developer - Tuning     oracle.sqldeveloper.tuning     11.1.1.04.34     Loaded
    Oracle SQL Developer - Unit Test     oracle.sqldeveloper.unit_test     11.1.1.04.34     Loaded
    Oracle SQL Developer - User Extensions Support     oracle.sqldeveloper.userextensions     11.1.1.04.34     Loaded
    Oracle SQL Developer - Worksheet v2     oracle.sqldeveloper.worksheet     11.1.1.04.34     Loaded
    Oracle SQL Developer - XML Schema     oracle.sqldeveloper.xmlschema     11.1.1.04.34     Loaded
    Oracle SQL Developer Data Modeler     oracle.datamodeler     3.0.0.665.2     Loaded
    Oracle SQL Developer Data Modeler - Reports     oracle.sqldeveloper.datamodeler_reports     11.1.1.04.34     Loaded
    PROBE Debugger     oracle.jdeveloper.db.debug.probe     11.1.1.4.37.59.31     Loaded
    Peek     oracle.ide.peek     11.1.1.4.37.59.31     Loaded
    Persistent Storage     oracle.ide.persistence     11.1.1.4.37.59.31     Loaded
    Property Inspector     oracle.ide.inspector     11.1.1.4.37.59.31     Loaded
    QuickDiff     oracle.ide.quickdiff     11.1.1.4.37.59.31     Loaded
    Replace With     oracle.ide.replace     11.1.1.4.37.59.31     Loaded
    Runner     oracle.ide.runner     11.1.1.4.37.59.31     Loaded
    VHV     oracle.ide.vhv     11.1.1.4.37.59.31     Loaded
    Versioning Support     oracle.jdeveloper.vcs     11.1.1.4.37.59.31     Loaded
    Versioning Support for Subversion     oracle.jdeveloper.subversion     11.1.1.4.37.59.31     Loaded
    Virtual File System     oracle.ide.vfs     11.1.1.4.37.59.31     Loaded
    Web Browser and Proxy     oracle.ide.webbrowser     11.1.1.4.37.59.31     Loaded
    XML Editing Framework IDE Extension     oracle.ide.xmlef     11.1.1.4.37.59.31     Loaded
    audit     oracle.ide.audit     11.1.1.4.37.59.31     Loaded
    classpath: protocol handler extension     oracle.jdeveloper.classpath     11.1.1.0.0     Loaded
    jdukshare     oracle.bm.jdukshare     11.1.1.4.37.59.31     Loaded
    mof-xmi     oracle.mof.xmi     11.1.1.4.37.59.31     Loaded
    oracle.ide.dependency     oracle.ide.dependency     11.1.1.4.37.59.31     Loaded
    oracle.ide.indexing     oracle.ide.indexing     11.1.1.4.37.59.31     Loaded
    palette2     oracle.ide.palette2     11.1.1.4.37.59.31     Loaded
    status     oracle.ide.status     11.1.1.4.37.59.31     Loaded

    are you using an "Expert Mode" query or not?
    With normal mode, the query is stored in an XML attribute.
    With expert mode, it's stored in a CDATA Section, which allows it to respect all user-spacing and newlines.
    XML attribute values are forced by the XML 1.0 spec to be normalized, and this is done by the parser when they are read in. That might account for your different in space treatment.

  • [CS4 Win] Weird 'Bug' giving overset text in duplicate object - stumped!

    Hi all,
    I am experiencing a perculiar 'bug' in InDesign CS4 (Windows).
    I have a triangular text frame rotated by 45° with a 0.2mm inset.
    This frame contains two words who's point size is just big enough to fit the text in the frame without it oversetting.
    The leading is set to 100% of the point size.
    When I duplicate the text frame either with the Duplicate command, cut 'n' paste or alt dragging, the new text frame is overset!
    I cannot find any difference between the two objects what so ever.
    If, in the original text frame, I change the text frame options inset to 0 and then back to the original 0.2 mm, I get overset!
    Scaling the original up by any amount also causes overset, as does increasing the height of the frame and then returning it to its original height.
    I have tried exporting as a snippet but the new placed text frame oversets.
    Does anyone have any idea might be causing this behaviour.
    It doesn't do it in CS3 or in CS5.
    I have included a link to an example file, you will need to have the same font (HelveticaNeueLTPro-BlkCn) to see the problem.
    I can't upload this for obvious copyright reasons - sorry.
    http://dl.dropbox.com/u/7307068/flashes.indd
    Thanks for ANY input.
    Simon Kemp.

    Hi Simon.
    My initial reaction was it might have to do with the third party plugins, but I exported to .inx to strip them out, and then NONE of the frames had both words. I also thought it might be that the the frame isn't a right triangle and the slight angles on the vertical and horizontal might be a problem, but I made a new frame with the same hypotenuse but the correct legs, and that didn't make a difference, either. (I made it by drawing a rectangular frame exactly half as high as it was wide, adding a point at the center of the top path segment with the pen, then deleted the two upper corner points).
    I have to say my conclusion is that the problem here is there really isn't enough room in the frame for both words with that inset. Adding 3% to the size of the frame (by clicking the chainlink to link changes to height and width, then typing +3% after the height [adding in the scale fields scales the type, too, so don't do it there] and pressing Enter) brings both words into view.
    Curiously, When I opened the file in CS5, the words fit without messing around. Cutting and pasting the frames with overset made both words appear. This could be due to the new way ID deals with text in non-rectangular shapes. When I opened the .inx file without the plugin information in CS5 all the text was visible in all frames. I think the only reason the text ever fit in the original CS4 file might have to do with one of the plugins, but that's pure speculation. I don't think there's any sort of bug here.

  • May Release: New partner support, Infrastructure updates, Site templates and bug fixes

    Link: http://www.businesscatalyst.com/_blog/BC_Blog/post/May-release-New-partner-support-Infrast ructure-updates-Site-templates-and_bug-fixes/
    We are announcing a new Business Catalyst release, scheduled to go live on Thursday, May 3rd. With this release, we are continuing our investments in system performance and stability by increasing our web servers capacity, enabling HTTP acceleration to provide faster site loading times, and improving the site creation speed by using pre-generated sites.
    On the product side, we have completely revamped our partner support workflow taking advantage of the Adobe support infrastructure and tools, enhanced the site templates workflow for partners, and included lots of bug fixes and improvements. Read through the following sections to get detailed information about this release:
    Partner support
    Infrastructure updates
    Features and enhancements
    Issues fixed by this release
    What's next
    You can jump to the corresponding section by clicking the above links.
    Partner support
    Updated Help & Support partner experience
    Following Adobe ID support, we have upgraded BC  support tools (cases, chat, documentation) with standard Adobe tools. As a partner, you can now benefit from the same support tools as the rest of Adobe Creative Suite, and can track your support cases with Adobe BC, Dreamweaver, Muse or Photoshop in a single place.
    Partners with more than 100 paid sites will get 2nd level chat support, which includes a higher priority, by default. If you have more than 100 paid sites, but spread across different Partner Portals, please ask support to enable 2nd level chat for you.
    Support experience for your Small Business owner clients can now be owned by partners (see below).
    Custom Help & Support URL for your clients
    As a partner, you are probably already offering various additional services to your clients besides building & maintaining their BC site. Support, tailored specifically to your client needs, is usually one of these value-added services. We are now enabling you to take your Support service to the next level. In  Partner Portal Settings, you have the option to set a custom URL for what will open when your client clicks on Help & Support inside Admin Console:
    If you have multiple partner accounts, for different verticals, you can specify a Support URL for each of these.
    The default Support experience provided by BC for your clients will be updated in a few releases to be similar to the partner support experience. This includes BC-branded support cases and documentation. If you'd like to keep a white-label experience for your customers, please set your own Help & Support URL in Partner Portal.
    For more details please read the Improved support workflow and new forums announcement on our blog.
    Infrastructure updates
    Between our April release and the following infrastructure updates have been enabled
    Limited trial sites for free partners – starting with our May release, the number of trial sites a Free Partner can have will be limited to 100. Once the limit is reached, Free Partners that need to create a new trial site have the options to upgrade to a higher partner plan, upgrade some of the trial sites to paid or delete unused/expired trials.
    Automatic trial expiry extension - with this release, trial site expiry date will be automatically extended with 30 days every time an admin user logs in  the system through the admin interface or through FTP.
    Installed additional hardware - we have installed additional web servers on all our data centers, that translate into an increase of the existing capacity with over 70%.
    Updated DNS infrastructure - we have improved the DNS resolution for email delivery so that we can increase the rate at which we're sending the system operational emails
    HTTP acceleration – all sites static assets are served from a new cache engine (images, CSS and JavaScript files, together with improved headers that should allow the browser to cache them better for a browsing session). This update has been turned on along with our April release, and has made all the BC sites load faster on first and on subsequent loads.   
    Accelerated site/partner creation – we've changed the way new sites are created for faster speed, pre-creating them and reusing pre-created sites when needed, and have also improved the creation process for new partners, minimizing the impact of new CCM customers on the existing datacenters.
    Adobe ID for partners - in order to support an integrating experience between the various Adobe tools a partner may use (Dreamweaver, Muse, Support forums) we have added Adobe ID support for Business Catalyst partner accounts. Starting April 19, partners are asked to merge their current Business Catalyst account with their Adobe ID accounts. For more details about the transition process and FAQ please read the Introducing Adobe ID blog post.
    Updated Terms of Use - Along with several other changes in our processes in the past few months, we also revamped our Terms of Use and the signature process by requesting every admin user to sign a TOU. We have completed the rollout for partners, and we might be pushing an updated partner Terms of Use version within the following weeks. For more details and questions about this change, read the New Terms of Use for Business Catalyst blog post.
    Features and enhancements
    Site templates
    To support the increasing number of partners building, sharing or reusing  templates to create  new sites, we're extending our site templates support from our partner portal with a new template type and improved  management support. The update is going to enable partners to mark sites as templates and   choose between making them available in Online Business Builder and keeping them private in their partner portal. A template site will not expire and has the same limits as any other trial site.
    Based on your partner level, you can create private or public templates using the Site Details screen or the Tools>My Site Template section from your Partner Portal. Standard partners can only create private templates, while Free Partners can only view site templates that have been transferred to their accounts by other partners.
    The number of templates a partner will have will be limited and will vary based on partner level: free partners can store up to 5 templates in their partner portal, standard partners have up to 100 site templates while Premium Partners might have up to 200 templates. Paid sites marked as templates are not counted against these limits.
    Business Catalyst Partner fixes
    While we are really focused on making the Business Catalyst integration into Creative Cloud a smashing success, we are slowly resuming our efforts to deliver fixes that have been requested by our partners. This release includes the following partner fixes:
    Improved product custom fields - we have increased the maximum number of characters for product custom fields to 1024 (previous limit was 256); this gives partners and customers additional space to use when working with products
    Improved Secure Zone subscribers list - we have added the customer email address in the Secure Zone Subscribers list to enable partners better filter and manage customers
    Better experience when exporting data - to prevent customer confusion when exporting data from Mac computers, we have removed the export to excel option and exporting in CSV format by default.
    Social plugins integration updates
    Starting with our May release, we are updating the social plugins support to require users to get the plugin code from the third party provider and saving into his Business Catalyst website. The module tags and configuration will remain unchanged, but will render an empty tag until the partner or site owner will  update the module template to include the corresponding module code snippet from the third party platform provider.
    For more information about how you can enable the Social Plugins on a Business Catalyst websites, read the Social Media: Integrating Facebook and Twitter knowledge base article.
    Other changes
    Updated weekly emails - Starting with our May release, the information in the site weekly emails has been filtered based on the site's plan. For example, webBasics site reports will no longer include the sales report.
    Localization - we improved and increased the coverage of the admin interface translations into German, French and Japanese
    Site Settings -> Ignored IP addresses has been relocated under Reports -> Visitors -> More.
    BC-Dreamweaver integration performance improvements
    Development Dashboard has been removed, as it didn't provide a clear useful, ongoing benefit. The information present in the development dashboard has been integrated into our new Help & Support section.
    Payment gateway settings - for more privacy and data protection, we have updated the Payment Gateway configuration screens to obfuscate the sensitive login information. Fields that have been obfuscated are now requiring confirmation.
    Report abuse badge on trial sites - for compliance reasons, a "Report Abuse" link has been added to the front-end of all trial sites of free partners that don't have any paid sites. When they click the Report Abuse link, site visitors are redirected to a form submission page on businesscatalyst.com site.
    Issues fixed by May release
    Issues 3051303, 3168786 - Workflow notifications - Fixed a problem preventing workflow notifications emails from being sent.(see get satisfaction forum discussion)
    Issue 3164074 - Fixed a bug causing the lightbox gallery created from Muse to be displayed behind page elements
    Issue 3162810 - Fixed a bug in rendering engine to prevent  content placed between body and head tags being incorrectly moved inside the body tag
    Issue 3166610 - Fixed a broken link to Partner Portal in Internet Explorer
    Issue 3175003 - Fixed an issue that caused an incorrect price display for the Year One-Off Setup Fee when upgrading a site from Admin using CB
    Issue 2567278 - Fixed a bug causing site replication to ignore product attributes
    Issue 2947989 - CRM passwords are now case sensitive
    Issue 2723731 - Removed CSS files from the head section of the Layouts files, when downloaded and opened in Dreamweaver, via the BC extension
    Business Catalyst new admin interface updates
    Added "Save and Add New" button in Web App Item Add & Edit screens (see get satisfaction forum discussion)
    Updated Quick Actions menus to add more actions (see get satisfaction forum discussion)
    Fixed an issue causing Recent items menu to display deleted items (see get satisfaction forum discussion)
    Fixed a display issue on File Manager making top buttons unreachable (see get satisfaction forum discussion)
    Fixed the scrollbars in Email Marketing>Campaign>Stats>Bounced Emails reports (see get satisfaction forum discussion)
    Fixed an issue causing Recent items menu to brake after selecting the current page from the Recent Items menu (see get satisfaction forum discussion)
    Replaced the Success notification displayed when selecting Users or Permissions tabs from User Roles with an Warning
    Change the action label displayed in User Roles list from View to Edit to match the list pattern from Admin Users
    Fixed a missing file JavaScript error occurring when trying to open image manager from product details-> Attributes -> options
    Moved System Emails section from Site Setting to Site Manager (see get satisfaction forum discussion)
    Updated Domain Management interfaces to close the modal window and refresh the domain list after successfully adding a domain
    Fixed an issue preventing the Hyperlink Manager to function properly (see get satisfaction forum discussion)
    Updated the confirmation message received after copying a page to match the new workflow and button names
    Fixed an issue causing the current screen or section to not be highlighted in the menu
    Updated styling on the new dashboard, user management and email accounts interfaces
    Updated  dashboard reports filters and chart display; made the chart and the filter use the site time zone
    Fixed an issue preventing users from inviting new admin users or create new email accounts on Internet Explorer 8
    Fixed an issue preventing users from deleting Email Accounts or Admin Users in Internet Explorer 8
    Fixed some issues preventing password recovery email from being sent
    Removed the alert message displayed when the user or email account limit has been reached
    Added localization for the simplified dashboard
    Fixed display issues for site limits, domains and user list in the simplified dashboard
    Added Custom reports for webBasics plan
    Fixed a bug generating a "500:Collection error" on the simplified dashboard when user did not had View users permission
    Added TOU checkbox in the email account setup screen
    Updated Site Preview link in the dashboard to load the default domain
    Fixed an issue in the new File Manager forcing a user to press Undo twice in order to see the change take effect if the code that was previously formatted contained any <"tag" with more than 2 lines
    Fixed an issue causing the File Manager editor toolbar to incorrectly render if page URL path is longer than certain value; starting with this release, the site URL is trimmed
    Fixed an issue causing the invite users to be displayed as [object Object] in dashboard and admin user list
    Fixed a bug in the new admin causing the interface to become unresponsive when using the browser Back button
    Fixed an issue in the new File Manager causing "Save Draft" button to publish the default page template instead of creating a draft version
    Fixed a broken invite link issue in the Email Account invite email
    Updated loading indicators in File Manager and Email Accounts screens
    What's next
    The first item on the what's next list might not be news for many of you, but it's definitely one of the most important milestones this year. The Creative Cloud launch is just around the corner, and Business Catalyst is playing an important role in that, as the publishing platform for Adobe® Muse and Dreamweaver. This launch will capture all our attention within the next weeks as we want it to be our best ever. 
    We'll start our next development cycle on May 15th, while the next Business Catalyst release is going to be pushed live in mid June. That being said, the following items are already on our launch plan for the next release and a few more will join the list. Please expect an update on our 2012 plans around mid May.
    HTTP throttling – all page load and API calls to BC will be protected against attacks, this might trigger problems for API heavy sites. We are looking into enabling this update along with our June release, and will help make sure that a reasonable number of requests will be accepted from the same computer per minute.
    Automatic site deletion - Starting with the June release, we are going to start automatically delete expired trial sites and canceled sites. Customers will be notified twice before we are going to proceed with deleting the sites.
    Thank you,
    Cristinel Anastasoaie
    Adobe Business Catalyst Product Manager

    In reference to this change in the Custom Reports... Better experience when exporting data - to prevent customer confusion when exporting data from Mac computers, we have removed the export to excel option and exporting in CSV format by default.
    What is the customer confusion we are trying to stop here? I've got even more confused customers at the moment because all of a sudden they can't find the export to excel option but know it exists if they log in on a PC?
    Mark

  • Bug - Error when installing Oracle Rdb Extension (7.3)

    Hi, hope I come to he right place to fill a bug report.
    I'm getting an error message when trying to install the Oracle Rdb Extension (7.3).
    Steps:
    1. Download sqldeveloper 4
    2. Unpack/Start sqldeveloper
    3. Select from menu Help
         -> Check for updates...
         -> mark Oracle Extensions
         -> click next button
         ->  mark Oracle Rdb Extension
         -> click next button
         -> click finish button.
              -> At this point the error occures.
    Error message details:
    An error has occurred. Click Details for information that may be useful when diagnosing or reporting this problem.
    java.lang.StringIndexOutOfBoundsException: String index out of range: 82
      at java.lang.String.charAt(String.java:658)
      at java.util.regex.Matcher.appendReplacement(Matcher.java:762)
      at java.util.regex.Matcher.replaceAll(Matcher.java:906)
      at java.lang.String.replaceAll(String.java:2162)
      at oracle.ideimpl.webupdate.commandline.PreInstaller.replaceBundleInstallLocation(PreInstaller.java:239)
      at oracle.ideimpl.webupdate.commandline.PreInstaller.getDesitinationDirIDE(PreInstaller.java:281)
      at oracle.ideimpl.webupdate.commandline.PreInstaller.getDestinationDir(PreInstaller.java:250)
      at oracle.ideimpl.webupdate.commandline.PreInstaller.seedInstaller(PreInstaller.java:180)
      at oracle.ideimpl.webupdate.commandline.PreInstaller.commit(PreInstaller.java:120)
      at oracle.ideimpl.webupdate.wizard.UpdateWizard.commit(UpdateWizard.java:296)
      at oracle.ideimpl.webupdate.wizard.UpdateWizard.access$000(UpdateWizard.java:55)
      at oracle.ideimpl.webupdate.wizard.UpdateWizard$1.commit(UpdateWizard.java:245)
      at oracle.ide.wizard.FSMWizard.finishImpl(FSMWizard.java:902)
      at oracle.ide.wizard.FSMWizard._validateFSMState(FSMWizard.java:643)
      at oracle.ide.wizard.FSMWizard.doFinish(FSMWizard.java:351)
      at oracle.bali.ewt.wizard.BaseWizard$Action$1.run(BaseWizard.java:4029)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
      at java.awt.EventQueue.access$200(EventQueue.java:103)
      at java.awt.EventQueue$3.run(EventQueue.java:694)
      at java.awt.EventQueue$3.run(EventQueue.java:692)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
      at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
      at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
      at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
      at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
      at java.awt.Dialog.show(Dialog.java:1082)
      at java.awt.Component.show(Component.java:1651)
      at java.awt.Component.setVisible(Component.java:1603)
      at java.awt.Window.setVisible(Window.java:1014)
      at java.awt.Dialog.setVisible(Dialog.java:1005)
      at oracle.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:382)
      at oracle.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:298)
      at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:51)
      at oracle.ideimpl.webupdate.wizard.UpdateWizard.runWizard(UpdateWizard.java:261)
      at oracle.ideimpl.webupdate.WebUpdateController.checkForUpdates(WebUpdateController.java:24)
      at oracle.ideimpl.webupdate.WebUpdateController.handleEvent(WebUpdateController.java:31)
      at oracle.ideimpl.controller.MetaClassController.handleEvent(MetaClassController.java:53)
      at oracle.ide.controller.IdeAction$ControllerDelegatingController.handleEvent(IdeAction.java:1482)
      at oracle.ide.controller.IdeAction.performAction(IdeAction.java:663)
      at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:1153)
      at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:618)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
      at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
      at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
      at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
      at java.awt.Component.processMouseEvent(Component.java:6505)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
      at java.awt.Component.processEvent(Component.java:6270)
      at java.awt.Container.processEvent(Container.java:2229)
      at java.awt.Component.dispatchEventImpl(Component.java:4861)
      at java.awt.Container.dispatchEventImpl(Container.java:2287)
      at java.awt.Component.dispatchEvent(Component.java:4687)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
      at java.awt.Container.dispatchEventImpl(Container.java:2273)
      at java.awt.Window.dispatchEventImpl(Window.java:2719)
      at java.awt.Component.dispatchEvent(Component.java:4687)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
      at java.awt.EventQueue.access$200(EventQueue.java:103)
      at java.awt.EventQueue$3.run(EventQueue.java:694)
      at java.awt.EventQueue$3.run(EventQueue.java:692)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
      at java.awt.EventQueue$4.run(EventQueue.java:708)
      at java.awt.EventQueue$4.run(EventQueue.java:706)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
      at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
      at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
    From Help->About
    About
    Oracle SQL Developer 4.0.0.13
    Version 4.0.0.13
    Build MAIN-13.80
    IDE Version: 12.1.3.0.41.131202.1730
    Product ID: oracle.sqldeveloper
    Product Version: 12.2.0.13.80
    Version
    Component Version
    ========= =======
    Oracle IDE 4.0.0.13.80
    Java(TM) Platform 1.7.0_45
    Extensions
    Name Identifier Version Status Registration Time Initialization Time Total Time
    ==== ========== ======= ====== ================= =================== ==========
    Integrated Development Environment (IDE) Platform Core oracle.ide 12.1.3.0.41.131202.1730 Fully Loaded 112ms 139ms 251ms
    Peek oracle.ideimpl.peek 12.1.3.0.41.131202.1730 Fully Loaded 3ms 49ms 52ms
    Code Editor oracle.ide.ceditor 12.1.3.0.41.131202.1730 Fully Loaded 19ms 57ms 76ms
    Persistent Storage oracle.ide.persistence 12.1.3.0.41.131202.1730 Fully Loaded 0ms 4ms 4ms
    File Change Monitor oracle.ide.file 12.1.3.0.41.131202.1730 Fully Loaded 0ms 5ms 5ms
    Web Browser and Proxy oracle.ide.webbrowser 12.1.3.0.41.131202.1730 Fully Loaded 2ms 14ms 16ms
    Indexing Service oracle.ide.indexing 12.1.3.0.41.131202.1730 Fully Loaded 1ms 2ms 3ms
    Property Inspector oracle.ide.inspector 12.1.3.0.41.131202.1730 Fully Loaded 10ms 14ms 24ms
    Markers oracle.ide.markers 12.1.3.0.41.131202.1730 Fully Loaded 1ms 0ms 1ms
    Audit Core Framework oracle.ide.audit 12.1.3.0.41.131202.1730 Fully Loaded 3ms 14ms 17ms
    Status and Background Audit oracle.ide.status 12.1.3.0.41.131202.1730 Fully Loaded 3ms 13ms 16ms
    IDE macros oracle.ide.macros 12.1.3.0.41.131202.1730 Fully Loaded 1ms 0ms 1ms
    Libraries oracle.ide.library 12.1.3.0.41.131202.1730 Fully Loaded 30ms 16ms 46ms
    Virtual File System oracle.ide.vfs 12.1.3.0.41.131202.1730 Fully Loaded 1ms 2ms 3ms
    Navigator oracle.ide.navigator 12.1.3.0.41.131202.1730 Fully Loaded 2ms 9ms 11ms
    Runner oracle.ide.runner 12.1.3.0.41.131202.1730 Fully Loaded 6ms 9ms 15ms
    External Tools oracle.ide.externaltools 12.1.3.0.41.131202.1730 Fully Loaded 3ms 3ms 6ms
    File Support oracle.ide.files 12.1.3.0.41.131202.1730 Fully Loaded 2ms 0ms 2ms
    Palette 2 oracle.ide.palette2 12.1.3.0.41.131202.1730 Fully Loaded 7ms 1ms 8ms
    Insight oracle.ide.insight 12.1.3.0.41.131202.1730 Fully Loaded 6ms 3ms 9ms
    Object Gallery oracle.ide.gallery 12.1.3.0.41.131202.1730 Fully Loaded 11ms 5ms 16ms
    Import/Export Support oracle.ide.importexport 12.1.3.0.41.131202.1730 Fully Loaded 2ms 0ms 2ms
    Technology oracle.jdeveloper.technology 12.1.3.0.41.131202.1730 Fully Loaded 5ms 2ms 7ms
    Extended IDE Platform oracle.jdeveloper.common 12.1.3.0.41.131202.1730 Fully Loaded 19ms 22ms 41ms
    JDeveloper Runner Core oracle.jdeveloper.runner.core 12.1.3.0.41.131202.1730 Fully Loaded 0ms 21ms 21ms
    JavaCore oracle.jdeveloper.java.core 12.1.3.0.41.131202.1730 Fully Loaded 18ms 29ms 47ms
    JDeveloper Runner oracle.jdeveloper.runner 12.1.3.0.41.131202.1730 Fully Loaded 12ms 115ms 127ms
    Code Editor Save Actions oracle.ide.ceditor-saveactions 12.1.3.0.41.131202.1730 Fully Loaded 2ms 3ms 5ms
    Oracle Deployment Core Module oracle.deploy.core 12.1.3.0.41.131202.1730 Fully Loaded 4ms 14ms 18ms
    Make and Rebuild oracle.jdeveloper.build 12.1.3.0.41.131202.1730 Fully Loaded 12ms 7ms 19ms
    PL/SQL Probe Debugger oracle.jdeveloper.db.debug.probe 12.1.3.0.41.131202.1730 Fully Loaded 0ms 0ms 0ms
    Database UI oracle.ide.db 12.1.3.0.41.131202.1730 Fully Loaded 18ms 53ms 71ms
    Database Connections oracle.jdeveloper.db.connection 12.1.3.0.41.131202.1730 Fully Loaded 5ms 28ms 33ms
    Database Object Explorers oracle.ide.db.explorer 12.1.3.0.41.131202.1730 Fully Loaded 0ms 12ms 12ms
    Compare API oracle.ide.compareapi 12.1.3.0.41.131202.1730 Fully Loaded 3ms 0ms 3ms
    Help System oracle.ide.help 12.1.3.0.41.131202.1730 Fully Loaded 8ms 4ms 12ms
    Local History oracle.ide.localhistory 12.1.3.0.41.131202.1730 Fully Loaded 0ms 133ms 133ms
    History Support oracle.jdeveloper.history 12.1.3.0.41.131202.1730 Fully Loaded 8ms 21ms 29ms
    Check For Updates oracle.ide.webupdate 12.1.3.0.41.131202.1730 Fully Loaded 3ms 2ms 5ms
    Core Database Development oracle.sqldeveloper 12.2.0.13.80 Fully Loaded 45ms 437ms 482ms
    SQL Worksheet oracle.sqldeveloper.worksheet 12.2.0.13.80 Fully Loaded 10ms 24ms 34ms
    Database Reports oracle.sqldeveloper.report 12.2.0.13.80 Fully Loaded 3ms 12ms 15ms
    Oracle SQL Developer Data Modeler - Reports oracle.sqldeveloper.datamodeler_reports 12.2.0.13.80 Fully Loaded 0ms 0ms 0ms
    Replace With oracle.ide.replace 12.1.3.0.41.131202.1730 Triggers Loaded 1ms 0ms 1ms
    JViews Registration Addin oracle.diagram.registration 12.1.3.0.41.131202.1730 Triggers Loaded 0ms 0ms 0ms
    Log Window oracle.ide.log 12.1.3.0.41.131202.1730 Fully Loaded 1ms 0ms 1ms
    Oracle SQL Developer - File Navigator oracle.sqldeveloper.filenavigator 12.2.0.13.80 Triggers Loaded 4ms 0ms 4ms
    Oracle SQL Developer - Migrations T-SQL Translator oracle.sqldeveloper.migration.translation.core 12.2.0.13.80 Fully Loaded 0ms 0ms 0ms
    Oracle SQL Developer - Extras oracle.sqldeveloper.extras 12.2.0.13.80 Fully Loaded 2ms 65ms 67ms
    Third Party Database Development oracle.sqldeveloper.thirdparty.browsers 12.2.0.13.80 Fully Loaded 0ms 8ms 8ms
    Oracle SQL Developer - Migrations Core oracle.sqldeveloper.migration 12.2.0.13.80 Fully Loaded 8ms 67ms 75ms
    Oracle SQL Developer - Migrations MySQL oracle.sqldeveloper.migration.mysql 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    TimesTen Integration oracle.ide.db.timesten 12.1.3.0.41.131202.1730 Fully Loaded 0ms 0ms 0ms
    Help Oracle Start Page oracle.ide.helpstartpage 12.1.3.0.41.131202.1730 Fully Loaded 3ms 0ms 3ms
    Versioning Support oracle.ide.vcscore 12.1.3.0.41.131202.1730 Triggers Loaded 2ms 0ms 2ms
    Patch Support oracle.jdeveloper.patch 12.1.3.0.41.131202.1730 Triggers Loaded 3ms 0ms 3ms
    IDE Thumbnail oracle.ide.thumbnail 12.1.3.0.41.131202.1730 Triggers Loaded 1ms 0ms 1ms
    VHV oracle.ide.vhv 12.1.3.0.41.131202.1730 Triggers Loaded 0ms 0ms 0ms
    QuickDiff oracle.ide.quickdiff 12.1.3.0.41.131202.1730 Triggers Loaded 0ms 0ms 0ms
    Versioning Support oracle.jdeveloper.vcs 12.1.3.0.41.131202.1730 Triggers Loaded 1ms 0ms 1ms
    Oracle SQL Developer - Migrations MySQL SQL Translator oracle.sqldeveloper.migration.translation.mysql_translator 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Oracle SQL Developer - Security oracle.sqldeveloper.security 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Component Palette oracle.ide.palette1 12.1.3.0.41.131202.1730 Fully Loaded 7ms 0ms 7ms
    Oracle SQL Developer - Unit Test oracle.sqldeveloper.unit_test 12.2.0.13.80 Triggers Loaded 4ms 0ms 4ms
    Oracle SQL Developer - Migrations Application Migration oracle.sqldeveloper.migration.application 12.2.0.13.80 Triggers Loaded 1ms 0ms 1ms
    Oracle SQL Developer - Migrations PostgreSQL oracle.sqldeveloper.migration.postgresql 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Code Editor Find oracle.ide.ceditor-find 12.1.3.0.41.131202.1730 Fully Loaded 2ms 0ms 2ms
    Oracle SQL Developer - RESTful Services Administration oracle.sqldeveloper.rest 12.2.0.13.80 Triggers Loaded 2ms 0ms 2ms
    Oracle SQL Developer - Change Mangement oracle.sqldeveloper.em_cm 12.2.0.13.80 Fully Loaded 2ms 5ms 7ms
    Versioning Support for Subversion oracle.jdeveloper.subversion 12.1.3.0.41.131202.1730 Triggers Loaded 4ms 0ms 4ms
    Oracle SQL Developer - Migrations Translation UI oracle.sqldeveloper.migration.translation.gui 12.2.0.13.80 Triggers Loaded 1ms 0ms 1ms
    Oracle SQL Developer Data Modeler oracle.datamodeler 4.0.0.833 Triggers Loaded 29ms 0ms 29ms
    Oracle SQL Developer - Migrations DB2 Translator oracle.sqldeveloper.migration.translation.db2 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Oracle SQL Developer - Migrations Microsoft SQL Server oracle.sqldeveloper.migration.sqlserver 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Oracle SQL Developer - Migrations Teradata SQL Translator oracle.sqldeveloper.migration.translation.teradata 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Oracle SQL Developer - Real Time SQL Monitoring oracle.sqldeveloper.sqlmonitor 12.2.0.13.80 Triggers Loaded 3ms 0ms 3ms
    Oracle SQL Developer - Database Cart oracle.sqldeveloper.dbcart 12.2.0.13.80 Triggers Loaded 1ms 0ms 1ms
    Bookmarks oracle.ide.bookmarks 12.1.3.0.41.131202.1730 Fully Loaded 6ms 4ms 10ms
    Code Editor Tint oracle.ide.ceditor-tint 12.1.3.0.41.131202.1730 Fully Loaded 2ms 0ms 2ms
    Oracle SQL Developer - DBA Navigator oracle.sqldeveloper.dbanavigator 12.2.0.13.80 Fully Loaded 3ms 108ms 111ms
    Oracle SQL Developer - TimesTen oracle.sqldeveloper.timesten 12.2.0.13.80 Fully Loaded 1ms 38ms 39ms
    Protocol Handler Classpath oracle.jdeveloper.classpath 12.1.3.0.41.131202.1730 Fully Loaded 1ms 0ms 1ms
    BM Share oracle.bm.jdukshare 12.1.3.0.41.131202.1730 Triggers Loaded 0ms 0ms 0ms
    MOF XMI oracle.mof.xmi 12.1.3.0.41.131202.1730 Triggers Loaded 0ms 0ms 0ms
    Database Snippets oracle.sqldeveloper.snippet 12.2.0.13.80 Fully Loaded 0ms 7ms 7ms
    Usage Tracking oracle.ide.usages-tracking 12.1.3.0.41.131202.1730 Fully Loaded 0ms 1ms 1ms
    ToDo Tasks Markers oracle.jdeveloper.markers.todo 12.1.3.0.41.131202.1730 Fully Loaded 1ms 0ms 1ms
    Versioning Support for Git oracle.jdeveloper.git 12.1.3.0.41.131202.1730 Triggers Loaded 4ms 0ms 4ms
    Oracle SQL Developer - Migrations Teradata oracle.sqldeveloper.migration.teradata 12.2.0.13.80 Triggers Loaded 1ms 0ms 1ms
    Searchbar oracle.ide.searchbar 12.1.3.0.41.131202.1730 Fully Loaded 2ms 0ms 2ms
    (Name Unavailable) oracle.sqldeveloper.tuning 12.2.0.13.80 Triggers Loaded 3ms 0ms 3ms
    Dependency Tracking oracle.ide.dependency 12.1.3.0.41.131202.1730 Fully Loaded 0ms 0ms 0ms
    Code Style oracle.jdeveloper.style 12.1.3.0.41.131202.1730 Fully Loaded 3ms 12ms 15ms
    XML Editing Framework oracle.ide.xmlef 12.1.3.0.41.131202.1730 Fully Loaded 18ms 55ms 73ms
    Mac OS X Adapter oracle.ideimpl.apple 12.1.3.0.41.131202.1730 Fully Loaded 0ms 0ms 0ms
    Diagram Framework oracle.diagram 12.1.3.0.41.131202.1730 Triggers Loaded 4ms 0ms 4ms
    OLAP oracle.olap 12.2.0.13.80 Fully Loaded 10ms 324ms 334ms
    Database UI Extras oracle.jdeveloper.db.extras 12.1.3.0.41.131202.1730 Triggers Loaded 0ms 0ms 0ms
    Oracle SQL Developer - Migrations Sybase Adaptive Server oracle.sqldeveloper.migration.sybase 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Oracle SQL Developer - Migrations Microsoft Access oracle.sqldeveloper.migration.msaccess 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Database XML Schema oracle.sqldeveloper.xmlschema 12.2.0.13.80 Fully Loaded 0ms 0ms 0ms
    Oracle SQL Developer - APEX Listener Administration oracle.sqldeveloper.listener 12.2.0.13.80 Triggers Loaded 3ms 0ms 3ms
    Oracle SQL Developer - Scheduler oracle.sqldeveloper.scheduler 12.2.0.13.80 Fully Loaded 0ms 134ms 134ms
    Oracle SQL Developer - Spatial oracle.sqldeveloper.spatial 12.2.0.13.80 Triggers Loaded 2ms 0ms 2ms
    Oracle SQL Developer - Schema Browser oracle.sqldeveloper.schemabrowser 12.2.0.13.80 Triggers Loaded 1ms 0ms 1ms
    Code Editor Bookmarks oracle.ide.ceditor-bookmarks 12.1.3.0.41.131202.1730 Fully Loaded 0ms 7ms 7ms
    Oracle SQL Developer - Migrations DB2 oracle.sqldeveloper.migration.db2 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Data Miner oracle.dmt.dataminer 12.2.0.13.80 Triggers Loaded 12ms 0ms 12ms
    Print System oracle.ide.print 12.1.3.0.41.131202.1730 Triggers Loaded 2ms 0ms 2ms

    I'm getting an error message when trying to install the Oracle Rdb Extension (7.3).
    I'm not sure if that extension has been upgraded for sql developer 4. Extensions written for previous versions won't work in sql developer 4 - they need to be modified to support the OSGI framework.
    Leave the thread open until one of the sql developer team members can answer this.
    Here is the note from the sql developer exchange home page
    http://www.oracle.com/technetwork/developer-tools/sql-developer/extensions-083825.html
    Special Note Regarding Extensions Developed Prior to SQL Developer
    v4.0:
    With the new release of SQL
    Developer 4.0, an extension that was written for a previous version of SQL
    Developer will no longer work. SQL Developer is built on the JDeveloper
    Framework. We have updated the framework to be current with the JDeveloper 12c
    release. With JDeveloper 11gR2, they switched to an OSGI framework. The JDeveloper team has published instructions for updating your extensions to be compatible with
    the new framework and SQL Developer v4.0.
    The Check for Updates interface
    has been updated to hide any 3rd party extensions to avoid confusion with
    extensions not loading. Once you have updated your extension for version 4 and
    beyond, let us know, and we'll update the system to make it available again. For
    questions regarding the process of going from the old to new framework, we have
    started a dedicated
    thread on the Forums. You can also email the Product Manager, Jeff Smith, to
    setup a call with one of our developers for additional assistance.
    As that note says if that extension is NOT for version 4 it shouldn't show up on the list of updates.

  • Working code snippet for JSSE 1.0.2

    This code works only with JSSE 1.0.2. JSSE 1.0.1 has a bug I believe which give null cert chain
    error when using client authorization.
    Below is a java code snippet to create a SSL server and client sockets.
    SocketsFactory.java
    This class is an utility class which gets you the Secure Socket for server and the client.
    It reads from the properties file.
    public class SocketsFactory{
    /** Creates a SSL client socket. It uses the properties obtained from the
    * sslPropsFile to create the client socket.
    * @param sslPropsFile The ssl properties file that contains information about the provider etc.
    * @param host The host to connect to.
    * @param port The port on which this socket should attempt to connect
    * @throws IOException if there was any exceptions in creating the sockets or if the properties file
    * was not found or corrupted.
    * @return returns the socket that was created.
         public static Socket createSecureSocket(final String sslPropsFile, String host,int port)throws IOException{
              Properties props = readPropertiesFile(sslPropsFile);
              SSLSocketFactory factory = null;
              System.setProperty("javax.net.ssl.trustStore",(String)props.get("com.ibm.idmg.ssl.keyStore"));
              //Getting a secure client socket using sun..
              try {
                   addProvider(props);
                   // Set up a key manager for client authentication
                   // if asked by the server. Use the implementation's
                   // default TrustStore and secureRandom routines.
                   SSLContext ctx = getSSLContext(props);
                   factory = ctx.getSocketFactory();
              catch (Exception e) {
                   e.printStackTrace();
                   throw new IOException(e.getMessage());
              SSLSocket client =(SSLSocket)factory.createSocket(host, port);
              client.startHandshake();
              return client;
    /** Creates a SSL server socket based on sun's implementation using JSSE. Uses the
    * sslPropsFile to get the keystore used for validating certificates and their
    * passwords.
    * @param sslPropsFile The properties file containing SSL provider, key passwords etc.,
    * @param port The port to which this socket should listen at.
    * @throws IOException If the properties file was not found or it was corrupted or if there was any
    * other errors while socket creation.
    * @return the serversocket object.
         public static ServerSocket createSecureServerSocket(final String sslPropsFile,int port) throws IOException{
              Properties props = readPropertiesFile(sslPropsFile);
              String trustStore = (String)props.get("com.ibm.idmg.ssl.keyStore");
              System.setProperty("javax.net.ssl.trustStore",trustStore);
              //     Getting a sun secure server socket
              SSLServerSocketFactory ssf = null;
              try {
                   addProvider(props);
                   // set up key manager to do server authentication
                   SSLContext ctx = getSSLContext(props);
                   ssf = ctx.getServerSocketFactory();
              } catch (Exception e) {
                   e.printStackTrace();
                   throw new IOException(e.getMessage());
              SSLServerSocket socket = (SSLServerSocket)ssf.createServerSocket(port);
              socket.setNeedClientAuth(true);
              return socket;          
         * Internally used function to read a provider from the properties and
         * add it as the current ssl provider. The properties should have the
         * property <i>com.ibm.idmg.ssl.sslProvider</i> defined. Otherwise
         * throws NullPointerException.
         private static void addProvider(Properties props) throws Exception{
              String provider = (String)props.get("com.ibm.idmg.ssl.sslProvider");
              if (provider == null)
                   throw new NullPointerException("com.ibm.idmg.ssl.sslProvider is not specified!");
              java.security.Security.addProvider((java.security.Provider)Class.forName(provider).newInstance());
         * Internally used function to read a file and return it as java properties.
         * It uses java.util.Properties. Throws FileNotFoundException if the file
         * was not found. Otherwise returns the properties.
         private static Properties readPropertiesFile(final String file) throws IOException{
              if (file == null)
                   throw new IOException("SSL Context File name not specified!");
              FileInputStream in = new FileInputStream(file);
              Properties properties = new Properties();
              properties.load(in);
              in.close();
              in = null;
              return properties;
         * Internal function used to retrieve a SSLContext object. It is used primarily
         * for creating SSL sockets that can authenticate each other based on the
         * keystores specified using the properties.
         private static SSLContext getSSLContext(Properties props) throws Exception{
              SSLContext ctx;
              KeyManagerFactory kmf;
              KeyStore ks;
              String password = (String)props.get("com.ibm.idmg.ssl.keyStorePassword");
              if (password == null)
                   password = System.getProperty("javax.net.ssl.keyStorePassword");
              char[] passphrase = password.toCharArray();
              ctx = SSLContext.getInstance("TLS");
              kmf = KeyManagerFactory.getInstance("SunX509");
              ks = KeyStore.getInstance("JKS");
              String keyStoreFile = (String)props.get("com.ibm.idmg.ssl.keyStore");
              if (keyStoreFile == null)
                   keyStoreFile = System.getProperty("javax.net.ssl.keyStore");
              FileInputStream in = new FileInputStream(keyStoreFile);
              ks.load(in, passphrase);
              in.close();
              in = null;
              //     All keys in the KeyStore must be protected by the same password.
              String keyPassword = (String)props.get("com.ibm.idmg.ssl.keyPassword");
              if (keyPassword != null)
                   passphrase = keyPassword.toCharArray();
              kmf.init(ks, passphrase);
              ctx.init(kmf.getKeyManagers(), null, null);
              return ctx;
    The Server properties file looks like this.
    #     Specify the SSL provider here.
    #     Using sun's reference implementation for testing..
    com.ibm.idmg.ssl.sslProvider=com.sun.net.ssl.internal.ssl.Provider
    #     Specify the keystore file that this ssl socket should use
    com.ibm.idmg.ssl.keyStore=server.ks
    #     Specify the password for this keystore file
    com.ibm.idmg.ssl.keyStorePassword=servercanpass
    #     Specify the password used to protect the keys in the keystore
    #     Note: all the keys should have the same password
    com.ibm.idmg.ssl.keyPassword=icanpass
    The client properties file
    #     Specify the SSL provider here.
    #     Using sun's reference implementation for testing..
    com.ibm.idmg.ssl.sslProvider=com.sun.net.ssl.internal.ssl.Provider
    #     Specify the keystore file that this ssl socket should use
    com.ibm.idmg.ssl.keyStore=client.ks
    #     Specify the password for this keystore file
    com.ibm.idmg.ssl.keyStorePassword=clientshouldpass
    #     Specify the password used to protect the keys in the keystore
    #     Note: all the keys should have the same password
    com.ibm.idmg.ssl.keyPassword=canipass
    Now to create the certificates..
    Its a 5 step process
    1) Create the keystore file.
         keytool -genkey -alias mohan -dname "CN=Mohan Tera OU=IS O=IM L=sanjose S=NY C=US" -keystore server.ks -storepass servercanpass -validity 180 -keypass icanpass
    2) Create a self signed certificate. If you need to get it signed from
         verisign then you have to create a certificate request. For testing purposes,
         you can create a self signed certificate.
         keytool -selfcert -alias mohan -dname "CN=Mohan Tera OU=IS O=IM L=sanjose S=NY C=US" -keystore server.ks -storepass servercanpass -validity 180 -keypass icanpass
    3) Export the public key from the keystore to a certificate file that is to be imported to the client keystore.
         keytool -export -alias mohan -file fromserver.cer -keystore server.ks -storepass servercanpass
    4) Repeat the above steps for the client also..
         a)
         keytool -genkey -alias moks -dname "CN=Jennifer Poda OU=Javasoft O=Sun L=Edison S=NJ C=US" -keystore client.ks -storepass clientshouldpass -validity 180 -keypass canipass
         b)
         keytool -selfcert -alias moks -dname "CN=Jennifer Poda OU=Javasoft O=Sun L=Edison S=NJ C=US" -keystore client.ks -storepass clientshouldpass -validity 180 -keypass canipass
         c)
         keytool -export -alias moks -file fromclient.cer -keystore client.ks -storepass clientshouldpass
    5) Import the certificates that were exported in steps 3 and 4c in client and server keystore respectively.
         keytool -import -trustcacerts -alias new -file fromserver.cer -keypass keypass -storepass clientshouldpass -keystore client.ks
         keytool -import -trustcacerts -alias new -file fromclient.cer -keypass keypass -storepass servercanpass -keystore server.ks
    And voila you are all set to go..
    Hope this explains to all the people who are struggling with JSSE..
    Regards,
    Moks

    when i using your method in my code i get the following exception
    pl. help me.
    java.security.UnrecoverableKeyException: Cannot recover key
    at sun.security.provider.KeyProtector.recover(KeyProtector.java:301)
    at sun.security.provider.JavaKeyStore.engineGetKey(JavaKeyStore.java:103
    at java.security.KeyStore.getKey(KeyStore.java:289)
    at com.sun.net.ssl.internal.ssl.X509KeyManagerImpl.<init>(DashoA6275)
    at com.sun.net.ssl.internal.ssl.KeyManagerFactoryImpl.engineInit(DashoA6
    275)
    at javax.net.ssl.KeyManagerFactory.init(DashoA6275)
    at ClassFileServer.getServerSocketFactory(ClassFileServer.java:145)
    at ClassFileServer.main(ClassFileServer.java:115)
    Exception in thread "main" java.lang.NullPointerException
    at ClassFileServer.main(ClassFileServer.java:117)

Maybe you are looking for

  • How to add a new line in pe51?

    Hi Team, I want to add anew field in pe51 form editor. for that i want to add anew line in pe51 form i went to pe51 tcode and selected background raidobutton. but from ther i dont know how to add a line at the required position. So please reply me on

  • Working with checkbox

    Good day everyone, im new to Apex and was doing just fine until i got stuck in this situation: - I have tables A, B and C, where B is the relationship between A and C; - I've created page 1 with a report of A, where the user selects 1 entry; - Page 2

  • Caching Queue\ConnectionFacotry refs

              Hi All           I was wondering whether caching the Queue and ConFactory handles obtained via           a lookup from the JNDI tree is going to improve performance or not - compared           to getting the references everytime. I am askin

  • Refresh my memory (stat counters)

    A client has asked for a stat counter on each page of their web site....yuk. What's the technical information about why these are not a good idea? I would just usually say f--k off tosser but I need to be a bit more diplomatic and convincing by provi

  • RCU installation - where to set components tablespaces?

    Dear, For the RCU installation in 11.1.1.6 for those about a hundred tablespaces is there a config file where you can specify which directory structure you will install all those about a 100 tablespaces BEFORE you run the installation process? Thank