GridLayout problem in Linux with SashForm (SWT)

I have tried an example using SashForm in Linux.
Its displaying well if I use FillLayout for my Shell.
but SashForm and its contents are not displayed if
I use GridLayout for Shell.
I have given my code below.
Please help me in this issue.
Thanks in advance
import java.awt.BorderLayout;
import java.awt.Frame;
import java.awt.Panel;
import org.apache.batik.swing.JSVGCanvas;
import org.eclipse.swt.*;
import org.eclipse.swt.awt.SWT_AWT;
import org.eclipse.swt.custom.*;
import org.eclipse.swt.layout.*;
import org.eclipse.swt.widgets.*;
public class SashTest {
public static void main (String [] args) {
final Display display = new Display ();
Shell shell = new Shell(display);
shell.setLayout (new GridLayout(1,true));
GridData data = new GridData(GridData.FILL_BOTH);
Composite comp = new Composite(shell, SWT.EMBEDDED|SWT.BORDER);
comp.setLayout(new FillLayout());
comp.setLayoutData(data);
SashForm sashForm = new SashForm(comp,SWT.HORIZONTAL|SWT.EMBEDDED|SWT.BORDER);
sashForm.setLayout(new FillLayout(SWT.HORIZONTAL));
Composite ctreeComp= new Composite(sashForm,SWT.BORDER);
ctreeComp.setLayout(new FillLayout());
Tree cTree = new Tree(ctreeComp, SWT.SINGLE | SWT.BORDER);
for(int i=0;i TreeItem items = new TreeItem(cTree, SWT.NULL);
items.setText("Treeitem "+i);
Composite cgComp = new Composite(sashForm, SWT.BORDER|SWT.EMBEDDED);
cgComp.setLayout(new FillLayout());
sashForm.setWeights(new int[]{20,80});
//Setting up canvas for rendering process wise communication graphs
Frame pcFrame = SWT_AWT.new_Frame(cgComp);
Panel cPanel = new Panel(new BorderLayout());
pcFrame.add(cPanel);
cPanel.add(new JSVGCanvas());
shell.open ();
while (!shell.isDisposed ()) {
if (!display.readAndDispatch ()) display.sleep ();
display.dispose ();
}

Mario,
Open Source drivers for our DAQ products are developed by the Comedi project. It should be noted that these drivers may not contain the full functionality of the NI-DAQ driver available for E Series devices under the various Windows and Mac operating systems.
For information regarding the Comedi Project please see http://stm.lbl.gov/comedi. Support for the Comedi drivers is available through the Comedi mailing list. Please contact the Comedi mailing list for questions regarding this Open Source driver.
For more information on National Instruments Measurement and Automation products for linux, see http://www.ni.com/linux.
Regards,
Justin Britten
Applications Engineer
National Instruments

Similar Messages

  • Oracle10g Installation problem on Linux with DHCP IP

    Hi,
    I am new to Oracle Products, I have tried to install Oracle 10G on Linux with DHCP IP.
    I got the following warning while installing even though I have loopback interface configured.
    Checking Network Configuration requirements ...
    Check complete. The overall result of this check is: Failed <<<<
    Problem: The install has detected that the primary IP address of the system is DHCP-assigned.
    Recommendation: Oracle supports installations on systems with DHCP-assigned public IP addresses. However, the primary network interface on the system should be configured with a static IP address in order for the Oracle Software to function properly. See the Installation Guide for more details on installing the software on systems configured with DHCP.
    Please help me in resolving this problem or Can I ignore this message?
    My Server Configurations:
    [root@SQAESMRH5 Oracle_Install_Errors]# ifconfig
    eth0 Link encap:Ethernet HWaddr 00:12:3F:79:FA:2C
    inet addr:10.10.121.61 Bcast:10.10.121.2 Mask:255.255.255.0
    inet6 addr: fe80::212:3fff:fe79:fa2c/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:20751998 errors:0 dropped:0 overruns:0 frame:0
    TX packets:19278549 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:2150795393 (2.0 GiB) TX bytes:438232502 (417.9 MiB)
    Interrupt:177
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:12383146 errors:0 dropped:0 overruns:0 frame:0
    TX packets:12383146 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1965045834 (1.8 GiB) TX bytes:1965045834 (1.8 GiB)
    [root@SQAESMRH5 Oracle_Install_Errors]# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    #::1 localhost6.localdomain6 localhost6
    127.0.0.1 localhost.localdomain localhost
    #::1 localhost6.localdomain6 localhost6
    [root@SQAESMRH5 Oracle_Install_Errors]#

    This warning means it is not recommended to install Oracle 10g on a DHCP assigned IP address. It could work, but you won't be able to configure Enterprise Manager, since this tool requires a fixed IP address. If possible, have the IP address fixed.
    ~ Madrid
    http://hrivera99.blogspot.com/

  • Problem in linux with flex

    Hi,
                 I'm new to linux with flex,am using Eclipse 3.5 flex builder 3 installing perfectly but when i'am  creating flex application it is showin Assertion failed error.
    org.eclipse.jface.util.Assert$AssertionFailedException: Assertion failed:
        at org.eclipse.jface.util.Assert.isTrue(Assert.java:179)
        at org.eclipse.jface.util.Assert.isTrue(Assert.java:164)
        at com.adobe.flexbuilder.editors.derived.editor.FlexMultiPageEditorPart.setActivePage(FlexMu ltiPageEditorPart.java:569)
        at com.adobe.flexbuilder.editors.common.editor.CodeAndDesignEditor.setActivePage(CodeAndDesi gnEditor.java:647)
        at com.adobe.flexbuilder.editors.mxml.MXMLEditor.setActivePage(MXMLEditor.java:487)
        at com.adobe.flexbuilder.editors.derived.editor.FlexMultiPageEditorPart.createPartControl(Fl exMultiPageEditorPart.java:235)
        at com.adobe.flexbuilder.editors.common.editor.CodeAndDesignEditor.createPartControl(CodeAnd DesignEditor.java:162)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:662)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
        at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
        at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180 )
        at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFo lder.java:270)
        at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder .java:65)
        at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStack Presentation.java:473)
        at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
        at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
        at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
        at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
        at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
        at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
        at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
        at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
        at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
        at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
        at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:778)
        at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:677)
        at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:638)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2854)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
        at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
        at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2676)
        at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
        at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
        at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:99)
        at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:99)
        at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:133)
        at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:330)
        at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:787)
        at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:499)
        at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHel per.java:48)
        at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:842)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
        at org.eclipse.core.runtime.Platform.run(Platform.java:888)
        at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
        at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
        at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:840)
        at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1101)
        at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1205)
        at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:264)
        at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:258)
        at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:298)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    am unable understand this error

    Mario,
    Open Source drivers for our DAQ products are developed by the Comedi project. It should be noted that these drivers may not contain the full functionality of the NI-DAQ driver available for E Series devices under the various Windows and Mac operating systems.
    For information regarding the Comedi Project please see http://stm.lbl.gov/comedi. Support for the Comedi drivers is available through the Comedi mailing list. Please contact the Comedi mailing list for questions regarding this Open Source driver.
    For more information on National Instruments Measurement and Automation products for linux, see http://www.ni.com/linux.
    Regards,
    Justin Britten
    Applications Engineer
    National Instruments

  • Battery and ac-adaptor problem on LINUX with [b]Satellite L10-102[/b]

    Hi,
    However I installed Linux.I'm trying from at last month.
    I installed and tired some of linux type : Mandriva 10.1 OE, Mandriva LE 2005, Knoppix 3.8, kurumin 3.0,kurumin 4, kanotix (latest rel.), suse 9.1 , kubuntu 4.0...
    I installed a lot of linux applications : kacpi, toshutils, fnfx, acpi tools, laptop-mode, some kernel acpi patches...
    I complied some of kernels : 2.6.8-11mdk, 2.6.9,2.6.11, 2.6.12 ..
    However I can't get battery and ac-adaptor info-states on linux.
    What I can do ?

    Feliks,
    I was tried so at last month :
    first I writed it : L10 and what the answer is you know(*).
    second I writed it : L10-102 and what the answer is you know(*).
    (*) The same answer there is all of both :
    "Input error
    Please insert the Type without any extension like 'CDS' or 'DVD'.
    Only numbers and M,A,R,P or S on the first character are allowed!
    E.g. A30, 5200, M10, P10.
    Please do not use blanks. "
    Thanks...
    I tried Mepis 3.3.1-1 distro on satellite L10-102 at yesterday.It can't get battery and ac-adaptor status too.
    I'm waiting for yours help!
    Message was edited by: abagatir

  • Problem installing Oracle9iDS Release 2 v9.0.2 on Debian 2.2r0 Linux with GLIBC 2.1

    After starting Installer of Oracle9iDS Release 2 v9.0.2 with ./runInstaller installation broke with message
    Oracle9iDS needs GLIBC 2.2
    Is there any way to install Oracle9iDS 9.0.2 on Linux without moving on glibc 2.2.
    Oracle 8.1.7 works very well on my Debian 22r0 - glibc2.1 kernel 2.4.7 (AMD K6 II 400+ 384MB RAM) and as I know 8.1.7 is precompiled on GLIBC 2.1 and do not work with GLIBC 2.2 so there is a problem:
    Database work with glibc 2.1 and DS with GLibc 2.2
    Is there any way to install DS on existing glibc 2.1
    Thanks

    Anthony,
    You can always check for compatibility and certification matrices on the Support site: http://metalink.oracle.com.
    Oracle9iDS Release 2 v9.0.2 on WinXP has no issues and is certified on the Professional edition of XP.
    Regards
    Sue

  • Keystore tampered with problems on Linux

    Hi,
    I am running a couple of java applications that communicate via HTTPS/SSL. When these applications are run under Win32, they run perfectly with no errors. However, if they are run under Linux, with the exact same certificate files that worked just fine under Windows, I get an exception error that states that the keystore has been tampered with or the password is incorrect. Has anyone seen this before?

    These are ascii files, are they not? (The ones with ---BEGIN CERTIFICATE---/---END CERTIFICATE--- lines?)
    If so, try stripping the DOS newlines (^Ms) from the file (if you have just copied the file over). Don't know if this has any effect.

  • Java running under linux with crontab

    I'm having a problem:
    i want to run a java program under linux with crontab.
    my classes are in a directory and aren't in a package. i run em by invoking ./start which is a small script that i wrote. The script is in the same dir as the classes and invokes java by "java Main >>logjava.txt " but this doesn't seem to work all i get is an empty logfile
    i need to run the program every day at 0800 so i inserted the following in crontab:
    0 8 * 1-5 /var/"path"/start > logjava (where path is the path to the classes dir)
    if i run the cmdline from anywhere on the prompt i get the result i want. I think it's because the cron runs it from the root dir thus making java unable to find the classes
    Any suggestions would be welcome. or can some1 tell me how to make linux executables from the java (i usually use jsmooth for the windows exe)

    You can execute several commands in the process started by cron. You separate them using semicolons.
    Have you tried a cron entry like this:
    0 8 * 1-5 cd /var/"path";pwd;echo $PATH; ./start > logjavaOr, you may need to make sure the process started by cron gets the same environment as your interactive shells do, by explicitly loading your setup or .login scripts:
    0 8 * 1-5 . $HOME/.setup;cd /var/"path";pwd;echo $PATH; ./start > logjava

  • 10g Grid (RAC) on Linux with ASM and OCR?

    I was trying to install 10g on Linux with ASM. The docs are not terribly clear on this, but I'd like to have the Oracle Cluster Registry (OCR) on one of my four ASM disks, rather than dedicate space to OCFS. I have 4 18.2 GB drives setup with ASM now. Is there a way to do this?
    I guess the other thing I could do is to cut the ASM disks into two partitions. One, say 200MB and the other the rest. I'd put OCFS for OCR on the 200MB partition on one of the disks. The large partition on each of the rest of the disks would be dedicated to ASM.
    What am I missing? I feel it must be something obvious. I'd rather have the OCR on the ASM, so that I don't have to deal with it...
    Thanks!
    Jeff

    Hi.
    There shouldn't be a problem with this provided you use a 32-bit OS on the 64 bit machine. RAC doesn't care about the chipset, so long as the same OS is used, but I don't thinkit will support one node on 32 bit and one on 64 bit, since they are actually separate distributions.
    Of course, I've never tried it so I can't be sure :)
    Cheers
    Tim...

  • Dual boot kali linux with windows 8

    i have ideapad y510p and i want to dual boot kali linux with windows 8 
    i want a full guide to do it please !!help!!!

    Hello,
    if you got problems with the kernel, you can try backbox-linux. The kernel there is newer. It is based on Ubuntu 12.04 LTS.
    Have a nice day
    thoschi
    LENOVO IDEAPAD Z710 59403383,i7-4700MQ,8 GB DDR3-RAM,1.920 x 1.080 Pixel,NVIDIA® GeForce® GT 740M,Hybrid (1 TB S-ATA + 8GB SSD)

  • Dual booting S540 and linux with Secure Boot?

    At some point I intend to install archlinux with dual boot on my Thinkpad S540 which currently runs Windows 8.1.
    All the current advice about dual boot on UEFI machines seems to indicate that the way to go is to disable Secure Boot (and Fastboot) for Windows, and then do the linux install choosing a linux bootloader to allow booting either O/S. I believe I know the steps needed to do that.
    Does anyone have any experience with dual booting Windows 8.1 and ArchLinux on the S540?  I would like to retain Secure Boot for Windows, and in the ideal world have Secure Boot running for ArchLinux also. However Secure Boot is fraught with problems for Linux. There are a few distributions such as Ubuntu which will in principle support Secure Boot but I only use ArchLinux and want to install that particular flavour of linux on my machine. It is of course possible to keep switching Secure Boot on and off in the BIOS before booting either of the two installed operating systems but it would be neater and cleaner to have it all with Secure Boot on, or all with it off.
    This is all very new stuff so there may well be a lot of problems, but it is worth exploring. I use rEFInd as my bootloader on another UEFI desktop computer to boot ArchLinux so I am familiar with that bootloader, but dual boot is another thing, and Secure Boot with the fast moving developments in that area is something that until now very few people have tinkered with.
    Any replies and guidance/suggestions appreciated.

    I'm guessing /boot can run from ntfs, however probably not as efficiently as if it were running on ext3/4. Mine runs on Ext4.
    To add confusion, you only create one Extended partition, all partitions you create within the Extended partition are called Logical partitions. You should be able to create enough Logical partitions for your needs.
    Primary/Extended partitions are normally sda1-4 and Logical partitions will usually start from sda5 on modern Sata HDD systems.
    For /boot I would create a small 100mb Ext4 Logical partition. This partition cannot be inside LVM nor encrypted when using Grub1.  I'm not familiar with Grub2.

  • Unicode filename problems in linux

    I'm running into a problem in linux (Ubuntu). The following test code will throw an exception at the "FileInputStream fis... " line with the file has a unicode filename. However, Windows passes this without problems.
    try {
         File dir = new File("a directory that exists");
         File[] files = dir.listFiles(); //get file list
         for (int i = 0; i < files.length; ++i) {
              System.out.println("file " + files.getAbsolutePath());
              FileInputStream fis = new FileInputStream(files[i]);
    } catch (Exception e) {
         System.out.println("Exception: " + e.getMessage());
    Does anyone know how to fix this? Thanks!

    But the characters are actually chinese. And since
    it's on Ubuntu, it would be in UTF-8 encoding
    wouldn't it?
    The characters display fine in ubuntu but when I try
    to read them in using FileInputStream, it fails for
    some filenames with strange characters.
    I just don't understand why some characters make it
    fail and others are fine. It seems that it should
    all work or all not work? Perhaps I'm wrong.On my Fedora Core 6,
    the result of
    echo $LANG
    is:
    ja_JP.UTF-8
    And I tried your program on a directory that has &#30334;&#24230;MP3��&#20840;.txt file in it.
    import java.io.*;
    public class AlsKdj{
      public static void main(String[] args){
        try {
          File dir = new File(".");
          File[] files = dir.listFiles();
          for (int i = 0; i < files.length; ++i) {
            System.out.println("file " + files.getAbsolutePath());
    FileInputStream fis = new FileInputStream(files[i]);
    System.out.println(" " + fis.toString());
    catch (Exception e) {
    e.printStackTrace();
    The output from the program is:
    file /root/test/./AlsKdj.class
      java.io.FileInputStream@1a46e30
    file /root/test/./&#30334;&#24230;MP3��&#20840;.txt
      java.io.FileInputStream@3e25a5
    file /root/test/./bbs.txt
      java.io.FileInputStream@19821f
    file /root/test/./WMP.txt
      java.io.FileInputStream@addbf1As shown above, the result is normal if LANG is really UTF-8.
    My Java version is:
    java version "1.6.0_01"
    Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
    Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)

  • A problem was encountered with one of the files in TestStand\AdapterSupport\LabVIEW directory

    When looking at the module for a LabVIEW VI being called from TestStand, I get the following message:
    A problem was encountered with one of the files in TestStand\AdapterSupport\LabVIEW directory.  Please reinstall it or repair it.
    I made the mistake of cleaning up C: in my computer.  Cleaning C:\National Instruments Downloads
    Why would someone put bits of applications or modules, etc in such a directory?
    I am not too crazy about restoring 11GB back into that folder.  That's just insane!
    Has anyone encountered this before?  Any "easy" solutions? apart from re-installing TS...
    Side note:  I did not touch anything in the \Program Files|National Instruments\TestStand\AdapterSupport\LabVIEW
    Solved!
    Go to Solution.

    Thanks PH,
    I also had that.  Fixed it. 
    I will not remove the ones in the NI downloads folder.
    I will eventually need to remap everything to the appropriate drive. 
    I partition the drives into:
    C:\     Windows and associated folders.  Mostly OS stuff
    E:\     Applications (this is where it will end up)
    F:\     Files
    G:\    Storage
    H:\    Backups
    I try to do what I normally implement in Linux.  I hate sharing the OS with everything else.
    Cheers,
    RayR

  • Patch Oracle 9.2.0.6 on linux with Jan 2006 CPU - inventory not updated

    Hi,
    We have tried to apply the Jan 2006 CPU (4751921) patch to Oracle 9.2.0.6 running on linux (redhat AS 4). The Apply log reports:
    Patch 4751921 has been applied successfully.
    ... but then when trying to Update inventory it reports:
    INVENTORY PROBLEM: Patch 4751921 is not present in Oracle Home inventory.
    OPATCH_JAVA_ERROR: Patch was not successfully applied.
    Verification of the patch failed.
    ERROR: OPatch failed as verification of the patch failed.
    This seems like the patch has been applied, but it can't update the inventory.
    Followed the preinstall steps regarding the "Inventory Problem", including running checkinv.pl to clean up the inventory. This does clean up the dangling inventory.
    Reran the opatch for 4751921, same output.
    Tried running: opatch apply -verbose for 4751921, and it reports that the patch was succesful, no complaints about the inventory; yet an: opatch lsinventory does not show 4751921.
    Without the inventory being correct, presumably we will continue to have problems like this with future patches; but the software has been patched and seems to run fine.
    Any way to rebuild the inventory file?
    thanks.

    We had a similar (but not the same) error and we were suggested by Oracle to set the following environment variables before running opatch:
    export OPATCH_DEBUG=YES
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib
    export SHLIB_PATH=$ORACLE_HOME/lib32
    export SHLIB_PATH=$ORACLE_HOME/jre/1.4.2/lib/PA_RISC:$SHLIB_PATH
    export SHLIB_PATH=$ORACLE_HOME/jre/1.4.2/lib/PA_RISC/server:$SHLIB_PATH
    cd <patch directory>
    opatch apply -jdk /opt/java1.4
    The directories may be different depending on implementation, o/s. etc.
    Regards,
    Chandan

  • Problem deleting users with delegated admin

    Hello,
    I seem to be having a problem deleting users with delegated administrator. I am using JES 2005Q4.
    Here is what I do:
    I set Inetuserstatus and mailuserstatus to deleted. Then run msuserpurge to delete the mail box. This seems to be working fine. Then I do a commadmin domain purge and it will actually delete the persons ldap record, but it does not delete the o=pab records or the o=PIserverDB records.
    I am probably missing a step here, and would apprecidate it somebody could point me in the right direction.
    Thanks,
    Gary

    DA patches:
    119777-10 most current release for Solaris
    119778 for X86
    119779 for Linux
    118540-23 Communication Express Solaris Sparc
    118541 X86
    118542 Linux
    118207-42 Messaging core Solaris sparc
    118208 X86
    118209 Linux
    116574-02 Veritas Vcsha (sparc only)
    118242-03 and 118245-03 Dssetup sparc
    118243 and 118246 X86
    118247 Linux
    122018-02 Outlook Connector
    (all the currently released patches. Most have t-patches available from tech support post the above numbers)

  • JMenuBar display quirks with some window managers on Linux with Java 6

    When I run this code on Windows with Java 5 or Java 6, it works fine.
    When on Linux with Java 5, it works fine.
    When on Linux with Java 6 in KDE, it works fine.
    When on Linux with Java 6 with twm or e17, the JMenu shows when I click on the JMenuBar, but goes away as soon as I release the mouse button. If I manually move or resize the window, it then works fine.
    If I remove setLocationByPlatform(true), the menu bar works, but it does not position the window by platform, which is the desired behavior.
    Am I doing something wrong, is there something wrong with both twm and e17, or is this a bug?
    import java.awt.Dimension;
    import java.awt.Label;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JFrame;
    import javax.swing.JMenuBar;
    import javax.swing.JMenu;
    import javax.swing.JMenuItem;
    import javax.swing.WindowConstants;
    public class Test extends JFrame {
        public Test() {
            super();
            setDefaultCloseOperation( WindowConstants.EXIT_ON_CLOSE );
            getContentPane().add( new Label( "Hello World" ) );
            JMenuBar mainMenu = new JMenuBar();
            setJMenuBar( mainMenu );
            JMenu helpMenu = new JMenu();
            mainMenu.add( helpMenu );
            helpMenu.setMnemonic( 'H' );
            helpMenu.setText( "Help" );
            JMenuItem help_about = new JMenuItem();
            helpMenu.add( help_about );
            help_about.setMnemonic( 'A' );
            help_about.setText( "About" );
            help_about.addActionListener(
                new ActionListener() {
                    public void actionPerformed( ActionEvent evt ) {
                        System.out.println( "HELP!" );
            pack();
            setLocationByPlatform( true );
            setVisible( true );
        public static void main( String[] args )
            throws Exception {
            java.awt.EventQueue.invokeLater(
                new Runnable() {
                    public void run() {
                        Test test = new Test();
    }

    In 10.1.3, there's an option to disable the splash screen on the Environment Page in preferences (although, of course, it's not much use if you never get to the main window because of the dialog popping up behind the splash screen... :) )
    The bug with the dialog appearing behind the splashscreen is fixed in the upcoming 11g release. FWIW, it's a problem that appears to be unique to X-based systems, where for some reason the splashscreen window ends up with some super-ueber topmost property that forces all other windows to go behind it.
    There's also a command line flag to suppress the splashscreen in 11g.
    Thanks,
    Brian

Maybe you are looking for