AWT, linux and xserver

hello
i have a servlet which manipulate gif images
it works on my local machine (WinXP)
but when i try to run it on a linux server mandrake (with apache)
it fails.
knowing that in the first execution i have the following error
"Can`t connect to X11 window server using `:0.0` as the value of the DISPLAY variable."
And after i always still have the following error:
"java.lang.NoClassDefFoundError: sun/awt/motif/MToolkit
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:
320)
at org.apache.jserv.JServConnection.run(JServConnection.java:188)
at java.lang.Thread.run(Thread.java:475)"
i think that this problem occurs in my servlet when executing this instruction:
Image awtImage = Toolkit.getDefaultToolkit().getImage (...)
the Xserver is already activated on my linux server
the enviroment variable DISPLAY has the value:
DISPLAY=localhost:0.0
(notice i try DISPLAY=:0.0 and DISPLAY=131.107.0.40:0.0 and DISPLAY=:0
but i have also exactly the same errors)
i had execute "xhost +localhost" to allow my machine(which is the linux server)
to access the Xserver
knowing that i run my servlet on the same machine
do you have any idea?
thanks
hajar

Does your linux server have a monitor attached to it? I have run into numerous problems with Solaris machines running "off the shelf" graphics software (JClass ServerChart, NetBeans NetCharts, etc) where headless machines (i.e. no monitor) will not render the graphics. What you need is the xvfb application (X Virtual Frame Buffer). (A nice beefy 80MB download....) I apologize, I don't have the URL on where you can get it, try google. Essentially what happens is there is no where for the machine to push windows for rendering, even if you have an XServer running. xvfb acts as a virtual monitor (frame buffer). What you are experiencing sounds very similar. If you do have a monitor attached to it, completely disregard this and disavow all knowledge of my existence.... :-)

Similar Messages

  • Difference between AWT,Swing and swt

    Hello,
    I am giving a seminar about swing in which I need to point out differences between AWT,Swing and SWT(Software Widget Tool).
    I have two questions:
    1)I read that-A heavyweight component is one that is associated with its own native screen resource (commonly known as a peer). A lightweight component is one that "borrows" the screen resource of an ancestor-which makes it lighter.Can anybody explain What native screen resource is and how it is borrowed?
    2)I read that SWT uses native widgets and how can it be better than swing?If it is in what way?

    Use Swing for new projects. AWT is the rendering layer underneath Swing in many cases, and AWT provides utility things like Graphics. SWT is an alternative to Swing which used more native rendering, but actually with Java 6, Swing is using a lot of native rendering.
    Fire up NetBeans and use Matisse. Build an application. Run it under Windows, and then under Linux, and then realize how great it is.

  • Help, new to Linux and need help installing 8i

    I am new to Linux and some of this stuff..
    Yet,I have gotten the JDK116_v5 installed and working on my box.
    I have cut a cd for Oracle8i and need help..
    I have also recopiled my kernal as well...
    Does any one know where I can get help...
    null

    Al Pivonka (guest) wrote:
    : I am new to Linux and some of this stuff..
    : Yet,I have gotten the JDK116_v5 installed and working on
    : my box.
    : I have cut a cd for Oracle8i and need help..
    : I have also recopiled my kernal as well...
    : Does any one know where I can get help...
    Try http://www.akadia.com/html/dod-frame.html for Redhat.
    http://www.suse.de/~mha/oracle/ for SuSE
    Also peruse these
    http://www.akadia.com/html/dod-frame.html
    http://jordan.fortwayne.com/oracle/
    Colin.
    null

  • Tutorial - How to triple boot OSX, Linux and Windows 8.1 with a shared Data Partition without any third party Win / OSX softwares

    This is not a question, but rather a personal guide that has proved to be running successfully.
    I would like to thank numerous sources, including Christopher Murphy's suggestions at:
    Re: Repairing Boot Camp after creating new partition
    Before proceeding, there are certain concepts needs to know:
    Why Boot Camp does NOT allow further partitioning of drives after Windows has installed?
    Answer: Because the way Apple configures the Mac to be recognized as non UEFI capable system on Windows.
    Quote from Christopher Murphy based on the above line:
    However, Windows on Macs right now use CSM-BIOS mode in Mac firmware that presents BIOS to Windows rather than EFI. Windows thinks it's on a BIOS computer, and therefore mandates the use of MBR for boot disks, rather than GPT. So that's why we have this hybrid MBR+GPT approach on Mac with Windows on it. You inherit the limitations of MBR, which is four primary partitions.
    So what does it means?
    It means that OSX + EFI + Recovery HD + Boot Camp partition = 4 primary partitions and thus any attempt to modify the disk will render booting issues of either system.
    For more info on GPT (GUID Partition Table disks VS Master Boot Record or MBR in short, you may visit: http://msdn.microsoft.com/en-us/library/windows/hardware/dn640535%28v=vs.85%29.a spx)
    So, how to overcome it?
    The general guideline is to install ALL GPT ready OS first then create a Data partition, before installing Windows (Which is again, NOT supported GPT due to EFI configuration by Apple where end-users are not able to modify it).
    Interestingly, since Mac Pro 2013 Late supports only Windows 8 and above, thus it is not known if this CSM-BIOS applies to it or not.
    Do take note that GPT disks in Windows can only be booted when the system meets the 2 requirements:
    http://msdn.microsoft.com/en-us/library/windows/hardware/dn640535%28v=vs.85%29.a spx#gpt_faq_win7_boot
    1) Windows x64 version (Which is a must for newer Macs. If you cannot go to Boot Camp 5, then you need Windows 7 x86 or 32bit version)
    2) UEFI system. However, Windows sees all Macs (With the possibility of Mac Pro 2013 Late is an exception. To be determined) as BIOS, or rather NON-UEFI system.
    In short, booting on GPT disks is not possible for Mac in Windows.
    Summary,
    It is tested that a combination of the following will not work:
    - OSX + Windows + Linux
    - Windows + OSX + Linux
    - Windows + Linux + OSX
    Usually it can create the system un-bootable or OSX refused to install due to the system does not recognize such partitions and / or Disk Utility refused to format a free space. An example screen-shot is provided below:
    The error message is shown as
    Title: "Failed to erase volume" Message: "Failed to wipe volume, as an error occurred: MediaKit has reported that the device does not have enough free space to execute the requested operations."
    The second thing is about the preparations we need.
    1) 1X Windows 7 or 8 DVD or USB thumbdrive
    1A) If you uses a DVD to install, you will need another thumbdrive to load the BootCamp drivers for Windows as well as may requires an external DVD drive for newer Macs
    2) 1X Linux DVD of your choice. Personally I choose Fedora 20.
    So ready? Let's go.
    1. Using Disk Utility, shrink the OSX's partition size to what is needed. For me, I give OSX 150GB. Do NOT create any new partition.
    Disk Utility should see something like below whereby only OSX partition is left with desired disk space. The remaining space are to be unused disk space for the moment.
    Note: Click on the top most item that should start with the size of your HDD / SSD. Then clicked on "Partition" and specify the desired OSX size. Hit "Apply" after that.
    2: Download Boot Camp drivers only via Boot Camp Assistant. The USB thumbdrive shall be used later after Linux's installation.
    Boot Camp Assistant should see this:
    I have only selected "Download latest Windows Support Files from Apple"
    3. Insert Linux DVD, reboot Mac into EFI mode (The left most first "EFI mode").
    Note 1: Before rebooting, please plugged in an Ethernet adapter because Wi-Fi drivers is not installed.
    Note 2: For Thunderbolt adapters, it must be plugged in before reboot as hot-swapping is not supported under Linux. More on the tips at the end of this article.
    Note 3: Press and hold "Option" after the screen turns black. Release Option key after you see the image as below:

    For the unfortunate part that did not make it on time to edit the images:
    9. Install the Windows Support software from your CD/USB drive to gain full functionality of your computer. Reboot and go to Windows again.
    Note 1: You may choose to eject disc at this point of time. For Apple SuperDrive users, you will need to wait until the drivers (i.e. Boot Camp support files) is installed and rebooted before ejecting is reasonably possible (As I failed to figured out how to right click without the drivers)
    Note 2: Unlike Windows 7 on KBase article TS4599 Keyboard/trackpad inoperative, black screen, or alert messages when installing Windows 7, USB stick can be plugged in after the Windows installation is done. This is because Windows 7 (And probably Windows 7 with SP1 DVD) does not have a built in USB 3 drivers when it was released back in 2009 where USB3 has not arrived then.
    Note 3: Due to TPM, Bitlocker is not supported without the use of thumbdrives.
    10. Using Disk Management to determine the given drive letter for the DATA partition (DO NOT DELETE and RECREATE partition or else you can goodbye to booting Linux and OSX). Disk Management will not allow you to format it as exFAT / FAT32 in graphical way.
    Note: You may remove or modify some of the disk letters in Disk Management. However, do NOT remove / modfify the drive letter for the partition with 200MB size in HFS. This is because it will disallow booting of Linux and neither could Windows nor OSX can do anything EXCEPT to reinstall Linux only.
    11. Open Command Prompt in Administrator Mode (Important!!), and key in the following command:
    format F: /FS:exFAT
    Give this volume a label after it has successfully formatted before hitting "Enter" again.
    Note: Mine Data partition was assigned as F drive. Please make necessary adjustment to "F:" should your Data partition is assigned to other letters.
    12. After that, Setup your Data partition structure as you like.
    Tip: Minimally create the important folders such as:
    - Music
    - Documents
    - Movie (Videos)
    - Downloads
    - Pictures
    All these folders are commonly used by the 3 OSes. I do NOT recommend changing of /home (OSX and / or Linux) and / or user home directory (Windows) either partially or as a whole.
    This is because of compatibility issue.
    On a side note, iTunes Media Library used in OSX and Windows are NOT able to be use interchangably due to hard-coded path used.
    13. Useful troubleshooting in Fedora / Linux:
    With references to these:
    http://chaidarun.com/fedora-mbp
    http://anderson.the-silvas.com/2014/02/14/fedora-20-on-a-macbook-pro-13-late-201 3-retina-display/
    http://unencumberedbyfacts.com/2013/08/16/linux-on-a-macbook-pro-101/
    I would like to highlight a few important points:
    1) Wi-Fi driver:
    http://rpmfusion.org/Configuration
    Note 1: The sound driver should be installed at Out of Box Experience. However, the Wi-Fi is not.
    Note 2: Install both free and non-free repository. By the way, some other software like VLC can only be found after the Free Repository is installed.
    Search for "akmod-wl" in Gnome-Package-Installer in order to install Wi-Fi drivers
    Note 3: For those who do not have Ethernet adapters and their Mac does NOT have a built-in Ethernet port, it is recommended to get one. This is because Fedora 20 does not have a good support for iPhone USB tethering. Unsure for Andriod / Blackberry / Windows Phone users.
    2) Grub Menu:
    It will show several options to boot into OSX, even of the capability to boot into x86 or x64 mode. However, neither of them is bootable except Linux and the rescue.
    Hence, it is recommended to remove the items by hand in this file:
    /boot/efi/EFI/fedora/grub.cfg
    Command to be used:
    "sudo gedit /boot/efi/EFI/fedora/grub.cfg"
    Parts to be removed:
    - For any extra kernels, delete the target entry by locating the line "menuentry" under "/etc/grub.d/10_linux" sector to one line above the next "menuentry".
    It is recommended to keep one main kernel, and one recovery at the minimal.
    - For other OS, delete all the entry (Since neither it can works) under "/etc/grub.d/30_os-prober" sector without removing the lines starts with ###.
    Auto Mount exFAT partition:
    - After installing extra packages for exFAT support (Since it is not supported by Fedora 20 from a default installation), you may wish to edit "/etc/fstab" in order to mount the exFAT partition during boot time.
    Command to be used:
    "sudo gedit /etc/fstab"
    Add the following line in gedit:
    UUID=702D-912D /run/media/Samuel/DATA                   exfat    defaults        1 2
    Note 1: For DATA partition, OSX & Boot Camp partition, Fedora defaults mounts under: "/run/medua/<Username with case sensitive>/<Partition Label Name>"
    Note 2: UUID is unique ID. You can find out the UUID by:
    Step 1: First determine the DATA partition number:
    "sudo gdisk /dev/sda"
    Step 2: Determine the UUID of this partition number:
    "sudo blkid /dev/sda8"
    Reference 1: http://manpages.courier-mta.org/htmlman5/fstab.5.html
    Reference 2: http://liquidat.wordpress.com/2007/10/15/short-tip-get-uuid-of-hard-disks/
    3) Overheating CPU
    Solution is to issue the following command in Linux terminal: su -c "echo -n 1 > /sys/devices/system/cpu/intel_pstate/no_turbo"
    4) System resumes immediately after suspend
    Solution is to issue the following command in Linux terminal: su -c "echo XHC1 > /proc/acpi/wakeup"
    5) What does not works well out of box:
    - Both GNOME and KDE's fonts are too small to be readable for out of box experience. Additional configuration is a need. (Some of the info can be found on "More Tips" later)
    - Thunderbolt hotplugging is NOT supported under Windows and Linux so far. Neither FaceTime HD camera works as well.
    - The red light in Headphone jack is always on. I do not have luck in switching off the light without losing the sound.
    Note 1: It is determined that the module "snd_hda_intel" is used by both cards (HDMI and normal output)
    Note 2: It is also known that blacklisting it can switch off the redlight at the price of muting the system.
    Note: Based on this article, http://support.apple.com/kb/TS1574
    A Mac (Except Mac Pro) needs servicing when there is a red light while the system fails to detect internal speakers. However, this article does NOT applies to this issue.
    5A) More Tips:
    Install gnome-tweak-tool for more customization
    Search for: "gnome-package" to install:
    Install Gnome Package Installer for advanced package repository
    Install Gnome Package Updater for advanced updates to be install (Whereby Fedora's App Store alike might not show the relevant updates)
    14. Verify if disk is still GPT:
    Use Gdisk to determine if the disk is pure GPT:
    http://ubuntuforums.org/showthread.php?t=1742682
    Command: sudo gdisk -l /dev/sda (The entire hard drive)
    You should see the MBR is "Protective" instead of anything else.
    15. Congrats, the system is ready for triple boot. (I forgot to eject my Windows DVD when the photo was taken)
    Note 1: You cannot set the default startup disk in Linux due to the lack of Boot Camp Control Panel in Linux.
    Neither is changing startup disk recommended in Windows due to the inability to display correctly.
    For me, I click "Cancel" whenever I am on this tab (Feel free to make other Boot Camp adjustments in other tabs).
    Only OSX I know that can show the startup disk options correctly.
    Note 2: For some reason, OSX likes to auto mount the EFI partition everytime it boots up. It is not known to have any issue for ejecting other disks or mounting disks via Disk Utility.
    Note 3: It is not determined if any Firmware or System upgrades will cause issues. It is only known that all 3 OS's regular updates should not be an issue.
    System Updates excludes Mac OSX 10.9.3 updates to OSX 10.9.4 type as I had done it on a OSX 10.9.4 Mac or Windows 8.1 to Windows 8.1 Update 1 since my Windows DVD comes with Update 1.
    System Upgrades refers to OSX Mavericks to Yosemite, Fedora 20 to Fedora 21, Windows 8.1 Update 1 to Windows 8.2 / Windows 9 for that matter.
    Note 4: Reset SMC and / or PRAM will NOT affect your ability to boot any of the OS (OSX, Recovery HD, Fedora & Windows 8)
    Yup, that is it!

  • [SOLVED-partly] Linux and no internet connection

    Well, since mid November I have nothing but problems with my Arch Linux machine. I can't get any internet connection on that machine. I have a network at home with 2 windows machines (XP & Vista), a Windows 2003 server running as an Exchange server and DNS server and Domain controller and ps3, xbox 360 and Wii. The two windows machines run on a static IP, the ps3, xbox 360 and Wii run on dhcp. All machines run on LAN through a switch except the Wii it runs on wireless. Now my Arch Linux machine also runs on static IP set up as described in the installation guide via rc.conf, hosts and resolv.conf. As mentioned earlier since mid November I haven't been able to get any internet connection on that machine. I haven't changed anythnig in my setup on the machine or the network. when i start the machine for the first time during a day I actually do the get internet connection and network connection but if I restart then I lose it. I am not able to ping the gateway or the DNS server. I can get interrnet back again I turn off the machine and turn off the motherboard and let the machine cool off for 20 minutes. Then if I turn it on again I have internet again but if i'll have to restart then the problem reappears.
    After two weeks with this issue I decided to get network card but that didn't help either I still had the problem. Then I simply bought a new machine (DELL Studio) and did a fresh installation of Arch and STILL the problem exists and it is driving me FREAKING CRAZY NOW!!! I tried to my machine on dhcp but still the same issue. internet on first boot, reboot no internet or network, shutdown machine and motherboard (unplug machine) --> internet again after waiting 20 minutes. None of my other machines running windows or the consoles have problems getting internet. I've tried to run distros on the machines (Ubuntu Live CD) but I have the same problem. I am very close to going back to windows and I REALLY don't want to (been using Linux since 2003) but this problem here is a show stopper/EPIC FAIL. I am very very happy with Arch Linux and really don't want to change distro either. I need suggestions now on what I can look for in order to find the problem. I've already changed network cards, bought a new machine and even bought new switch because we thought it might be the switch causing the problems (8 port switch) because turning off the switch would give me my internet back. Again it is only my Linux machine that is having the connection problems none of the other machines have those.
    PLEASE HELP!!!
    Kind Regards
    André
    Last edited by fettouhi (2008-12-19 07:27:01)

    Well, I celebrated a bit to fast after 30 minutes or so I lost internet connection but not by restarting. I didn't use the computer for like 30 minutes and when I did tried to open a browser nothing happended. I tried then to ping the gateway and the server but couldn't reach them. So I turned off the computer completely for 20 minutes and then I started again and chenged the DNS address from my server to the DNS addresses I get directly from my ISP. So I'm going around the server now and seems to work for now. This morning I could start the machine and restart it 2 times and every time I had internet. Hope this solves it for now, still don't understand what the problem is though.
    Regards
    André

  • Share files between Arch Linux and XP Home

    Hi, I have an Arch Linux desktop and a XP Home Laptop both connected to a Billion 7401 ADSL Router to get to the internet. If I am using any computer sometimes I have a need to use files from the other one, and from an external HDD connected to the XP laptop. I have been googling for the last 3 weeks but could not find a concrete solution to this issue, maybe because I don't understand much about networking or p2p, and samba. Looks like I have to spend more money on either another computer to be setup as a server or on a router or hub or switch? But I thought my Billion Router is already a router? I wonder if you can please help me to solve this problem or point me to a good link? Thanks a lot.

    SSHFS is another more Linux native option for sharing files (and it can be compatible with XP too using special programs).
    http://en.wikipedia.org/wiki/SSHFS
    http://wiki.archlinux.org/index.php/Sshfs
    As I understand it XP Home uses simple file sharing which can be really insecure depending on your needs.  Once when I ran a computer with Linux and was needing to set up a samba share I discovered massive issues since (at the time) I was connecting regularly over a shared wireless network among untrusted persons.  I ended up looking into using SSH tunneling to overcome the issues associated with XP Home's Simple File sharing and that is when I came across SSHFS.
    Whatever you do make sure to read this about XP Home's "Simple Filesharing"
    http://www.centerlineit.com/index.php?v … q&Itemid=9
    It's important you understand it.
    Last edited by davidm (2010-04-12 04:01:34)

  • [SOLVED]Arch Linux, and Windows 8.1 Dual Boot issue

    Hi guys. I recently bought a new laptop, and decided to run Arch Linux and Windows 8.1. I installed Windows 8.1 first as recommended by the beginners guide, and then installed Arch Linux. I made sure UEFI was enabled in my BIOS, and made sure everything was on a GPT partition. The install itself went fine. My laptop loads grub, and Arch Linux shows up and boots, but there is no option to boot into Windows 8.1. The only way I can boot into Windows 8.1 is by accessing my motherboard, and choosing to launch the windows boot manager instead of the grub launcher. How can I get Windows 8.1 to show up in grub? Thanks in advance guys.
    Last edited by Painguy (2014-08-20 20:19:37)

    Painguy wrote:
    -----------Edit------------------
    Yeah just ran this after installing os prober
    grub-mkconfig -o /boot/grub/grub.cfg
    and it works now. Sorry for the crazy posts guys. Thanks for the suggestions and help.
    Yeah I'm sure I'm doing something wrong lol. I did not install OS-Prober. I think that's where the issue is. I'm missing the menu entry in grub.cfg right? Do I just run os prober or do I have to manually edit grub.cfg.
    If that's not the case then here is what I did up until now. What I did was start with a blank SSD drive. I used cgdisk to make the disk use a GPT partitioning scheme. I installed windows 8.1 and checked in windows to make sure it boots into UEFI-GPT mode and it does.  I then installed arch linux using the beginners guide. I made sure to use cgdisk to create any extra partitions, and installed GRUB to the efi partition that windows had created ( I did not format this partition ). I then finished the installation and rebooted, and Grub only shows arch linux. I don't think I'm dealing with anything MBR related. I made sure I used the GPT partitioning scheme....i think lol.
    All you need to do is run os-prober then run grub-mkconfig. It should pick up Windows at that point.

  • How to set owner-only access file permissions both on Linux and Windows

    Hi everybody.
    I have the following problem. I need to store some private user information in file system. So I need to set owner-only access permissions for some directory in user home. I did not find API for doing this. As I understand this is platform specific thing. Could anybody tell me how can I do this both on Linux and Windows?
    Thank you in advance.

    More ideas just came back to me (of something I did before)
    Each OS requires a different control.
    For Windows you will need to set the .policy file for each user (a pain if you have more than a dozen of clients) granting access (R or RW) to files/directories.
    Then you have to write some native code (access via JNI) to access/modify your authorization.
    A more professional solution that I used was J-Integra (other similar tool exist).
    Basically it is a bridge between Java and COM. It magically give you access to the COM API from Java (and vice versa).
    In my case it was to read/write/modify Winword documents transfered between PC and server.
    From memory you have to run the com2java.exe to build the bridge (classes in Java language) between the 2 families. Compile those classes and you have a "driver" for the COM (Microsoft Objects).
    Here I must confess my ignorance on Microsoft.
    Those COM objets must give you some easy/integrated access to the API for LDAP or Microsoft Active Directory Service (for centralize control with more complex setup).

  • Installing linux and unix on my macbook pro without using vmware

    I was browsing through the forum and bumped into a topic where the best advice for installing linux application is the following:
    http://macdevcenter.com/lpt/a/7073
    However, I have not tested this out therefore I am pretty reluctant to put this on my laptop which is currently running MAC OS X 10.5.8. (4gb ram). If anyone have done this please let me know.
    1) My question: Is this a reliable method to run linux applications on MAC OS natively using the x11 from Apple?
    Note: I have vmware and I personally don't prefer booting a separate OS on my computer just to use one or two apps. However if that is the only solution I already have ubuntu running on my vmware. Also I wanted to completely wipe off my vmware and the ISO images (ubuntu and win xp) to free up the space in my hard drive. If I have to use ubuntu which may be a "safer solution" than run linux applications on my hard drive then I will stick to the vmware method.
    If someone could give me some insight in this topic then I would greatly appreciated their help.
    p.s. I want to install xilinx web-pack and other useful softwares that are only available in linux, ubuntu and win xp/vista/w7. My goal is to completely transform my laptop from dual booting ubuntu and win xp to just run mac snow leopard (in the near future).
    Thanks in advance,
    Pirakalan S.
    Message was edited by: Pirakalan S.

    Basically I want to run linux and unix applications without running vmware on my mac os x. I heard there is a way to use x11 and FinkCommander (http://finkcommander.sourceforge.net/) application. However, I am unable to figure out how to install programs such as xilinx ise (http://www.xilinx.com/ise/logicdesignprod/foundation.htm) on my MacBook Pro using FinkCommander. In addition, xilinx ise runs on linux and windows however not mac.
    In simple words I want to solely use Leapord (not snow leapord) to run applications such xilinx ise (which is only available on windows platform or linux).
    I recently shifted from windows xp platform to mac and I rarely use vmware after making the shift. Therefore, I am trying to find a solution where I don't require vmware at all, my plan is to remove vmware from my hard drive.
    I just restated what I stated in the previous post in a simpler manner, sorry for any miscommunication on the earlier post. I am looking for a step by guide to install linux applications on my mac. I am at a process of learn linux at the moment so I am kind of slow when it comes to linux and mac. Especially when it comes to installing using command line not GUI.
    I just want to know if there is a solution out there for running linux based applications to run on my mac.

  • Differences between Oracle Linux and CentOS

    Dear ALL
    I need differences between Oracle Linux and Cent OS, which is the better OS to install Oracle11gR2.
    Kindly send me the benefits and percentage if anybody can...
    Thanks.

    11gR2 is not certified to be installed on CentOS, so from that perspective alone, OEL is the only choice.
    http://docs.oracle.com/cd/E11882_01/install.112/e24321/pre_install.htm#CIHFICFD
    HTH
    Srini

  • Web Start doesn't leave the gate on Linux and Mac

    I am evaluating Java Web Start to decide whether to recommend it as part of a government grant proposal. My initial impression of Web Start has been a sorry one. When I go to
    http://java.sun.com/products/javawebstart/demos.html
    and click on one of the demos, I am redirected to the page
    http://java.sun.com/products/javawebstart/needdownload.html
    which tells me that I need to download Java Web Start ("a one-time process"). Fine, I click on the download link, and instead of a download, what I get is a bug-report page:
    http://java.sun.com/webapps/bugreport
    I have seen this behavior on both Linux and Mac OS X. (My Windows machine already had Web Start installed from several months ago; I don't know if this reflects a superior Windows support relative to Linux or Mac OS X support, or a better download software several months ago.)
    This is a terrible first impression for one's software. Given these beginnings, any sane developer would run away as fast as possible from the Web Start technology. Clearly a lot of work has gone into Web Start, and to see squandered like this is surprising.
    Our software's user base (research biologists) has large Macintosh and Linux constituencies. My experience with Web Start suggests that Web Start would be a disastrous choice for us. I hope there is a simple way around these obstacles.
    Any suggestions would be much appreciated.
    Thanks,
    GFBerriz

    I haven't tested JWS before JRE 1.4 so I can't recommend you anything if you require JRE 1.3 or before, but if you can install JRE 1.4, specially JRE 1.4.2 or after, JWS works very good on Linux and Windows. In both platforms I use deploy applications using JWS and they all work very good. I have no experience on Mac OS X.
    Both platforms obviously require Java preinstalled. Also there is some ways to install Java automatically, this is something that must be done by an administrator as every other software that requieres installation and configuration on every PC. After that step, everything is very simple.
    On Linux if you click on a .jnlp file for the first time, at least mozilla ask if you want to save the file or open it, you can select the javaws executable inside your java installation as the program to open this file, mark that that's the action you always want to do with that kind of files, and that's all. Also you can manually register .jnlp files and application/x-java-jnlp-file mime tipe as handled by javaws as the last part of the java installation and this first step will not be necesary.
    On Windows the installer automatically register itself as insterested in handling jnlp files, so the previous step for linux is not required.
    Hope this helps.
    rivas.

  • Oracle DB sessions on Linux and Windows

    Actually I am confused the way session memory is allocated on 32 bit windows and linux OS.
    Windows is a thread based architecture where all user sessions are treated as threads of oracle.exe process. The addressable space is 4GB and oracle.exe can use up to 3GB in case you use /3GB switch in boot.ini file. It means that combined size of SGA ,PGA and other memory structures can not be more than 3GB. When a session gets connected with a database a PGA is allocated. It means that memory required by database sessions also comes from the 3GB limit. If your memory usage goes beyond 3GB you wont be able to connect new sessions with database or you would require to reduce the size of one of your SGA components.
    Linux is a process based architecture where each user session is treated as a separate process and has its own addressable space. Even on 32bit linux the addressable space is 4GB i.e. 2GB for process and 2GB for kernel. It means we need to accommodate our SGA and PGA in the 2GB limit (there are ways to increase the size of SGA but let assume we are doing nothing to raise the 2GB limit).
    As PGA is allocated for every session when it connects with database.
    My question is how PGA memory is allocated against a database session on linux.
    To further clarify my question I am stating the results of an experiment that I did on linux and windows.
    On windows I set the total size of SGA to 1730M and PGA aggregate target to 1024M. I was able to able to startup the database instance without any issue. Then I started connecting sessions with the database and even ran a query doing a heavy sort in one of the sessions but after connecting 10 sessions with DB I started getting ORA-12500 TNS Listener failed to start a dedicated server process error on windows.
    Then I did the same experiment on Red Hat Linux. SGA size was 1633MB and where as PGA aggregate target was only 10MB. I was unable to start instance when I set the SGA size more than 1633MB.
    With that setting I was able to connect more than 200 sessions with database inspite of running query doing heavy sort in 4 sessions without getting ORA-12500 error. I was even able to connect more than 400 sessions with database after setting PGA aggregate target to 1GB on Linux.
    Now my confusion is why linux was able to handle more DB sessions. I know it’s a process base model and each session is a separate process and has its own addressable space but as PGA is allocated against every session and PGA memory comes from 2GB limit then why PGA memory did not exhaust on linux. Is PGA allocated differently on linux as compared to windows?

    Perhaps the problem is easier to understand if you leave PGA_AGGREGATE_TARGET out of this issue completely.
    The out of memory problem you had, has nothing to do with PGA_AGGREGATE_TARGET setting directly. The difference in number of processes comes from architectural differences in how Oracle uses memory in windows vs unix.
    On windows the SGA + ALL PGAs must fit into one 4GB address space (in practice even smaller as youve noticed). This is because there's only one process, oracle.exe. One process = one address space.
    On Unix, you have many processes and every process can use portion of their own address space for PGA.
    So, on windows (32bit) you run out of address space for the single oracle.exe process. On unix you dont hit this limit just because the number of processes grows (but if some process wants to use a lot of PGA memory, then they eventually run out of address space (talking about 32bit again))
    On unix you probably ran into another limit - amount of total usable virtual memory (RAM+swap) available in your system
    Tanel Poder
    http://blog.tanelpoder.com

  • Max_io_size equivalent in Linux and block/stripe sizes

    I'm configuring a linux Red Hat 7.1 for Oracle 9i Rel2. I'm trying to determine the best db_block_size, and db_file_multiblock_read_count parameters. I know that these Oracle settings are dependent on the OS block size and the max_io_size of the OS.
    Does anyone know what the equivalent Linux parameter for max_io_size (solaris) is and how I set it in Linux? Does resetting it involve reinstalling Linux? Any suggestions on an appropriate range to set it? Is the default Linux 1K block size OK? (The server is a Compaq DL380 with 1.4 GHertz processor and 1 GB RAM.)
    Additionally, I have a Compaq 5300 Series RAID, (5i-integrated), that we plan to configure with RAID 0+1. Our controller only goes up to a stripe size of 256K, with a default of 128K. For a "general"-type database that could hold up to 80 GB of data over 50 or so tables, with a possible equal number of full-table scans and indexed scans, would you suggest I set the stripe size at 256 for the most flexiblility down the road?
    I don't fully understand what it takes to configure Linux and RAID for the best I/O for Oracle. So, I'd really appreciate any suggestions, tips, or doc references that can help out.
    Thanks,
    Deb

    the ssd is both sd and ssd.. inside the sd.conf and inside the /etc/system...
    the following below is a tnf report of the IO size of my process to show the kernel is breaking the IO down.
    sorry i wasn't clear on this part..
    62.059582 16.185079 480 1 0x3000338ecc0 0 strategy device: 584115552256 block: 60396848 size: 1048576 buf: 0x30000a78340 flags: 34088209
    306.154426 17.819569 480 1 0x3000338ecc0 0 strategy device: 584115552256 block: 60398896 size: 1048576 buf: 0x300035dcc00 flags: 34088209

  • Pro*C on Oracle Linux and 11g R2

    Hello everyone
    I am unable to find Oracle documentation on how to use make and compile and link ProC programs on Oracle Linux and Oracle 11g R2*
    The Pro*C manuals for 11g R2 refer me to the "operating system specific manuals" for compiling and linking and make instructions but I can not find such manuals anywhere.
    I looked here:
    http://docs.oracle.com/cd/E11882_01/appdev.112/e10825/toc.htm
    Can anyone point me to the documentation on how to compile/link/precompile/make-utility Pro*C programs on Oracle/RedHat Linux, please?
    Many thanks!

    Honestly having used pro*c for years ( not lately ) the windows install
    was always marginal... try the linux version much better and you don't
    have to taylor you *.cfg files like previous versions... it work right out
    of the box... the install doc stated you might have to update your
    C++ libraries...

  • Function-Based Indexes (FBI) on Linux and Solaris

    I have a question about FBI on different systems (Linux and Solaris).
    ---- Oracle on Linux -----
    SQL> CREATE TABLE T_DUMMY(NAME VARCHAR(20));
    Table created.
    SQL> CREATE INDEX T_DUMMY_IDX ON T_DUMMY(UPPER(NAME));
    Index created.
    However, when I do the same on the Oracle running on Solaris, I get the following error:
    ---- Oracle on Solaris -----
    SQL> CREATE TABLE T_DUMMY(NAME VARCHAR(20));
    Table created.
    SQL> CREATE INDEX T_DUMMY_IDX ON T_DUMMY(UPPER(NAME));
    CREATE INDEX T_DUMMY_IDX ON T_DUMMY(UPPER(NAME))
    ERROR at line 1:
    ORA-01031: insufficient privileges
    I know that I have to add "QUERY REWRITE" in order to create a FBI. However, why Oracle on Linux behave differently. Would it be any difference/problem if I do NOT add "QUERY REWRITE" for Oracle on Linux (For example, would the EXPLAIN PLAN different)?

    general user settings are the same (privilege, role) Well, the specific settings must be different. I would check to see whether one of the roles has been granted the QUERY REWRITE system privilege on your Linux instance but not on Solaris.
    Cheers, APC

Maybe you are looking for