Native WIndows or Linux on XServer Hardware

Does anyone know if I can run Windows or Linux on the XServe natively without Leopard?
-Thanks

Hello Test Bed Fred, and welcome to the AppleBoards,
Assuming you are asking about Intel based current or recent Xserves you can run Windows using virtualization like Parallels Server BME, but you can't simply install it on the machine. You can also install and run a number of *nix flavors virtualized if you want to do that.
I'm sure there are *nix installs that can be run directly on the metal - the EFI boot is the only real technical hurdle that needs to be overcome. All that being said unless the machines are free I wouldn't generally choose to do this because you're paying Apple for software you won't use to get the hardware, but you can do whatever you want.
HTH,
=Tod

Similar Messages

  • How is the performance of Mac Pro if i use it as host for windows and linux virtual machines.

    How is the performance of Mac Pro if i use it as host for windows and linux virtual machines.
    I am planning to buy a high performance PC to run my Windows and Linux servers as vitrual machines for my testing purposes.
    Initially i planned to build my own computer with recommended configurations but considering space constaints and cooling factors i think Mac Pro can be a choice. But need some inputs if Mac pro (Intel Xeon E5, 12 GB RAM) is good for running virtual Machines.

    You could even run Windows natively and still run your VM servers.
    I have seen reports and such on MacRumors and elsewhere - run Windows natively as well as VMs (can also do testing and run Mavericks in a VM under Mavericks)
    The fast internal PCIe-SSD, plus 6 or 8 cores, and 32-64GB RAM. Of course for $5,000 for 8-core, some Thunderbolt storage and 32GB/64GB RAM you can buy some serious hardware.

  • Incorrect functionality of Embedded tag in html page, displaying object on top of all layers of Adobe air application native window

    Title
    Incorrect functionality of embed tag in html loader for adobe air development
    Description
    Problem Description: If we had loaded youtube.com video url in a view stack and navigate to other index of stack or away from we UI screen within the same native window video or embeded tag of flash player or any other embed object will be displayed on top of all screens layer in same position of where the object should be placed in side of html loader only.
    Steps to Reproduce:
    1) go to http://get.straweb.com/StraWebBrowser/StraWebBrowser.air download and install
    2) load 2 tabs and in the 3 tab load video player of youtube.com which will a sample video
    before completing the load of 3 tab which trying to load video from youtube.com, navigate to other tabs 1 or 2 in few second once the flash player of youtube.com video player is load it will display in the current tab or UI screen.
    3) Try navigating to other tabs than youtube.com loaded tab you see the flash player is on top it stable.
    4) navigate to 3 tab and try to navigate to other tab you can observe that so how it will not show that flash player and only visible in that 3 tab which is fine.
    Actual Result: Embedded tag of html page displaying on top of all layers of Adobe air application native window
    Expected Result: Embedded tag of html page should only displayed in side htmlloader
    This you can replicate in any adobe air plugin update and on any Hardware and Environment.
    Applicable to all sdk versions of adobe air.

    Adobe Bugbase: Bug 3823839 Incorrect functionality of embed tag in html loader for adobe air development

  • Migrating from Windows to Linux

    Hello,
    this is my first post, so I have to say that I am big fan of GNU/Linux. I love the philosophy behind open source world.
    Right now, I am still Windows 7 user. But I am making my backups and I will be ready to move on soon. Unfortunately, I have very little Linux knowledge. So I need small help, actually big one.
    What do I want?
    Clean, fast, bleeding edge system. - ArchLinux
    1)I've got laptop HP 4510s and the first issue is installing kernel 2.6.33+ because I need my wifi working (Broadcom bcm4312 rev 01). How can I do it the easiest way?
    2) I want very clean and fast system, so I choosed Openbox as my window manager. My final dream looks like this [1] [2] [3].
    What do I need for BlackWhite Theme?
    Openbox, tint2, conky. What about gtk theme? What package should I use?
    Can I use every single application even for Gnome or Kde with Openbox without having installed Gnome/Kde? How? Or can you describe me how it works, please?
    3) Now applications:
    Jabber (OpenPGP encryption) - Psi
    Outlook - I like Kmail (Native OpenPGP support). Is it possible to have Kmail without whole KDE and with Openbox? Is Kmail fast?
    Emacs, Nano - file editing (Emacs has steep learning curve so Nano is there only for emergency use.)
    File manager - I am used to native Windows Explorer. But I would like to use efficient, productive tool (Emacs/Vim philosophy).
    uTorrent - What torrent client is similar to uTorrent? I have such a great time with him.
    FTP Client - I use FileZilla. What is you favourite in Linux?
    Wifi Network settings - What can I use to have all my settings in system tray like at Windows?
    Thank you for your answers! Live long and prosper Linux
    Last edited by CleanCode (2010-04-18 18:58:23)

    CleanCode wrote:1)I've got laptop HP 4510s and the first issue is installing kernel 2.6.33+ because I need my wifi working (Broadcom bcm4312 rev 01). How can I do it the easiest way?
    The easiest way of doing this, is as others said is either update your Arch from the core release, or just use the net install CD. Check out the Beginners Guide on the Wiki.
    What do I need for BlackWhite Theme?
    Openbox, tint2, conky. What about gtk theme? What package should I use?
    I would look into LXappearance (sudo pacman -S lxappearance) and use that to modify your themes, as well as obconfig (sudo pacman -S obconfig). Those together should help your change your themes. I would also suggest creating a .themes folder in your home as well as a .icons folder first before tampering with lxappearance. If you're going to change how your mouse looks, look into creating a .Xdefaults file as well. You place all your themes/icons in the respect dot folders and lxapperance should find them.
    Can I use every single application even for Gnome or Kde with Openbox without having installed Gnome/Kde? How? Or can you describe me how it works, please?
    Yes and no. Most apps that have a K in front of them or a G in front will pull in a ton of desktop dependencies. Some only use the GTK/Qt engine, but installing something like Akegrator (sp?) which is a KDE feed reader pulls in something like this:
    Not worth it in my opinion to install all that if you plan on just using openbox. Keep it lean and clean and try to use fairly lightweight apps (exceptions for me are VLC and SMplayer). That way updates too will be really small instead of 500+ megabytes of updates a week.
    3) Now applications:
    Jabber (OpenPGP encryption) - Psi
    Outlook - I like Kmail (Native OpenPGP support). Is it possible to have Kmail without whole KDE and with Openbox? Is Kmail fast?
    Emacs, Nano - file editing (Emacs has steep learning curve so Nano is there only for emergency use.)
    File manager - I am used to native Windows Explorer. But I would like to use efficient, productive tool (Emacs/Vim philosophy).
    uTorrent - What torrent client is similar to uTorrent? I have such a great time with him.
    FTP Client - I use FileZilla. What is you favourite in Linux?
    Wifi Network settings - What can I use to have all my settings in system tray like at Windows?
    Kmail will probably pull in a ton of crap, probably best to avoid. I don't use an email client, but I've heard CLAWS is good.
    Either Emacs or VIM would be good. Both have a decent learning curve, but I've always used VIM.
    I like Thunar for file manager (if you use it, install sudo pacman -S thunar thunar-volman thunar-thumbnailers ffmpegthumbnailer thunar-archive-plugin thunar-media-tags-plugin). Otherwise PCmanFM is a second and fantastic choice.
    utorrent, try Deluge (basically a clone). Not really THAT lighweight, so I would suggest either Transmission or rtorrent.
    I don't use an FTP client, but I believe fillazilla is a good choice, otherwise dig around for a lightweight version.
    Use either wicid or some other network manager. There's a couple in the wifi section of the Beginners Guide. If you use wicid, make sure to add it as a daemon.
    Thank you for your answers! Live long and prosper Linux
    Last edited by pickboy87 (2010-04-15 11:23:42)

  • RMI-server works on Windows and Linux but not on Solaris

    I wrote an application which uses RMI. The server is successfully tested on Windows and Linux. However it doesn't work on Solaris.
    Naming.lookup works, I can find the server. But calling a method on my remote interface causes a ConnectionException:
    java.rmi.ConnectException: Connection refused to host: 192.168.1.123; nested exception is:
         java.net.ConnectException: Connection refused: connect
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
         at sun.rmi.server.UnicastRef.newCall(Unknown Source)
         at at.triton.javaengine.server.ServerImpl_Stub.connectToWindow(Unknown Source)
         at at.triton.javaengine.client.JavaEngineClient.connectToWindow(JavaEngineClient.java:288)
         at at.triton.javaengine.client.JavaEngineClient.main(JavaEngineClient.java:787)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
         ... 7 moreNote that I have almost no experience with Solaris.
    Additional information about the common pitfalls which I have already checked:
    * rmiregistry finds the server classes (the exception was different without them)
    * the server is in the LAN and the desktop firewall of the client is double-checked to let the required ports through to any destination.

    java.rmi.ConnectException: Connection refused tohost: >192.168.1.123; nested exception is:
    java.net.ConnectException: Connection refused:
    : connect
    Clearly indicates what is happening inside there.Clearly indicates that you don't know what you are talking about.
    Any applications invoked with a security manager must
    be granted explicit permission to access local system
    resources apart from read access to the directory and
    its subdirectories where the program is invoked.Any application that gets a java.net.ConnectionException: Connection
    refused is getting it more or less directly from the TCP/IP stack. If the problem had anything to do with policies and permissions and SecurityManagers, it would have been an AccessControlException .
    if your client RMI doesnt include these lines then If your 'client RMI' does include these lines then I would like a definition of what exactly a 'client RMI' really is, because I've been using RMI for ten years and wrote a book about it and I certainly don't know.
    1)just include these lines
    if (System.getSecurityManager() == null) {
    System.setSecurityManager(new
    SecurityManager());In other words, if the application doesn't already have a security manager, in which case the contents of the policy file or the 'client RMI', or whatever you want to call it, are completely irrelevant, such that they couldn't possibly be having the problem you desrcribe, add a security manager so that we get into the land where you might possibly know what you're talking about?
    e a policy file
    grant {
    permission java.net.SocketPermission
    "192.168.1.123:1099", "accept,connect,resolve";
    };And this is completely unnecessary if there isn't a security manager, and completely unrelated to the OP's problem.

  • Feature Request -  use native Windows file browsing dialog

    I'm not sure if this has been brought up before. I wasn't able to find anything with a search in the forum, so I'll post it here.
    An enhancement request for SQL Developer would be to have it use the native file browsing dialogs in Windows. I'm using Windows 7, and it would be nice to have a native Windows dialog pop up when I go to open or save a file, rather than the ugly (I think) default one, which must be a generic Java file browsing construct. The native dialog would allow it to include all the links to Windows 7 libraries, favorites, and other things like Dropbox, Google Drive, etc. if those were installed.
    I'd be curious to hear what others think about this idea.
    Thanks,
    Brian

    At the risk of starting a Windows/Linux/Mac flame war, or pissing off Java developers, I'm not really into the whole Java write once, run anywhere approach. Particularly when it comes to look and feel. There are merits to cross-platform development when it comes to application functionality, but look and feel is a bit trickier. Windows has specific features that Windows users are used to seeing and using. Mac the same. Linux the same. I think this is especially true when it comes to dealing with the file system. So applications should adjust to the native environment nicely and not introduce elements that don't "fit in". Just MY $0.02. :-)
    I'm not a Java developer, but IvanG pointed out that it SHOULD be pretty easy to invoke a native Windows dialog box from Java. That would be my choice.
    Thanks!

  • Remote debugging from Windows to Linux

    Is there a full description of every step needed to do remote cross-platform C++ debugging? I'm using the Indigo version of Eclipse CDT on Windows and would like to debug an application on a remote Linux machine.
    On Windows, I do not have the ability to install a compiler or cygwin, but I do have plink and ssh on Windows. I am able to access the remote machine via RSE SFTP (a la stackoverflow.com/questions/4216822/work-on-a-remote-project-with-eclipse-via-ssh). I do have VNC but I find that the Eclipse IDE is very unresponsive under that setup, hence the desire to develop and debug from a native Windows app.
    This FAQ is the most complete (wiki.eclipse.org/CDT/User/FAQ#How_do_I_debug_a_remote_application.3F), but doesn't discuss how to deal with Windows using backslash paths and having a different filesystem root compared to Linux and its forward slashes.
    I am able to get a remote connection by playing around with the suggestions here (www.eclipse.org/forums/index.php?S=5e54b35462bb80f79ebb9fbbaf93a288&t=msg&th=173880), resulting in console output that looks like:
    Last login: Fri Apr 6 20:19:09 2012 from foo.bar.com
    echo $PWD'>'
    /usr/bin/gdbserver :12345 /linux/path/to/my/binary args_to_my_binary;exit
    but it fails with "Error while launching command: gdb --version"
    The old FAQ is very incomplete and seems out of date: wiki.eclipse.org/TM_and_RSE_FAQ#How_can_I_do_Remote_Debugging_with_CDT.3F
    This suggests it's possible but does not have sufficient details on how to set the myriad configuration options in Eclipse: stackoverflow.com/questions/6044138/remote-debugging-in-eclipse-cdt
    I suspect many people would benefit if there was a clear set of instructions in one place on how to make this happen.
    --Gerald Dalley

    OK. I just spent the last two days figuring this out, so here are step-by-step instructions that hopefully will help others (This list is unusually anal by the standards of this group, but really simple concrete instructions would have helped me).
    on the target linux box, make sure you have gdbserver. If you don't, get the gdb sources. Note: Making gdb does not build gdbserver. Instead, you have to go into the gdbserver directory and configure/make there.
    Run gdb on the linux box. In the startup banner, it will say what its target is. This will be something like x86_64-unknown-linux-gnu or i686-pc-linux-gnu. Remember this for later.
    Install MinGW on your Windows box (I had trouble building gdb on cygwin, so I recommend MinGW).
    Download expat from http://sourceforge.net/projects/expat/files/expat/2.1.0/.Note: Do not download the Windows expat installer. Download the sources instead.
    In the expat directory. "./configure --enable-shared", make, make install.
    Download the gdb sources
    ../gdb-7.4/configure --with-expat --target=x86_64-unknown-linux-gnu --host=i686-pc-mingw32
    make, make install
    Time to test. On your linux box, create and compile hello.cpp to hello.
    On your linux box, gdbserver :4444 hello
    Note:If you are on a corporate network, non-standard ports may be blocked. Set up an ssh tunnel if necessary.
    Copy hello.cpp and hello to your Windows machine
    From the MinGW prompt, run "x86_64-unknown-linux-gnu-gdb ./Hello" Note: Substitute the name of the gdb you built as appropriate based on the target platform you got in step 2.
    In gdb, load the executable with "file hello"
    target remote localhost:4444 Note: This assumes that you have an ssh tunnel on localhost. Modify appropriately.
    Verify that gdb commands like break, cont, and run work here.
    Now we want to run it from outside of MinGW. In Control Panel/System/Advanced/Environment Variables add something like E:\MinGW\bin to the path. This is necessary for the loader to find libiconv_2.dll, etc. Now verify that you can do the preceding step from an ordinary Windows command prompt.
    Launch Eclipse (finally!). New debug configuration C/C++ attach to process.
    In Main, give path to the copy of the Linux executable on the Windows system.
    In Debugger tab, set Debugger dropdown to gdbserver. Set "GDB debugger" to something like "E:\MinGW\msys\1.0\local\bin\x86_64-unknown-linux-gnu-gdb.exe" based on where your gdb is. For Connection, choose TCP and fill in the hostname and port number you've been using from gdb in the previous steps.
    Make sure gdbserver is running (it often quits when the program ends) and launch the debug configuration
    In the gdb console, enter "file hello," "break main," and cont or run (sometimes it wants one. Sometimes the other) and voila, you should be there.
    Let me know if this works, and I'll post it somewhere better.
    Good luck,
    Mike

  • Where is the Native Windows XP USB/Display  Support?

    My Config:
    Windows XP Professional
    ASUS K8N-E, AMD Athlon 64 3000+, 2GHz, 1GB RAM
    PNY NIVIDIA GeForce 6600 GT 128MB AGP (Force Ware 91.31, BIOS 5.43.02.39.51)
    Cinema HD 30" display
    This is my first Apple product and it amazing good apart from the "PC Compatible" BS under the product listing.
    Where is the native Windows XP USB and display support for this $2,000 display? And no, I'm not satified with a SourceForge.net project with one developer working on WinACD (all credit to his efforts, I'm a software developer too!)
    Tell me the last time you bought a piece of hardware that didn't come with driver support? Is this the first and last Apple product I buy?
    -bonzo3671

    I hear what you are saying but frankly that doesn't cut it - I'm an embedded sw engineer and if you are saying that a company like Apple can't take the time to create a Windows display INF file, like they did in 1997, then something is clearly not right.
    Check the file "applevdo.inf" here:
    http://mirror.apple.com/Mirrors/AppleSoftware_Updates/US/DOS-Windows/DOS_and_PC_CompatibilitySW/
    They created an INF file for Windows 95.... but not for customers running "recommended" Nvidia Quatro FX's cards
    running on XP and ultimately Vista?
    This thread is far from over....
    For those interested, here's my ACD EDID (http://en.wikipedia.org/wiki/EDID) info:
    ===========================================================
    Monitor
    Windows description......... Apple Cinema HD Display 30-inch
    Manufacturer description.... Cinema HD
    Manufacturer................ Apple
    Plug and Play ID............ APP9232
    Serial number............... CY6290A8UG1
    Manufacture date............ 2006, ISO week 29
    EDID revision............... 1.3
    Display type and signal..... Digital
    Sync input support.......... n/a
    Screen size................. 640 x 400 mm (~32")
    Power management............ Active off/sleep
    Color characteristics
    Display gamma............... 2.20
    Red chromaticity............ Rx 0.640 - Ry 0.343
    Green chromaticity.......... Gx 0.292 - Gy 0.611
    Blue chromaticity........... Bx 0.146 - By 0.074
    White point (default)....... Wx 0.313 - Wy 0.331
    Timing characteristics
    VESA GTF support............ Not supported
    Horizontal scan range....... 30-100kHz (est.)
    Vertical scan range......... 48-60Hz (est.)
    Video bandwidth............. 333MHz (est.)
    Extension blocks............ 1
    Timing recommendation #1.... 1280x800 at 60Hz
    Modeline................ "1280x800" 71.000 1280 1328 1360 1440 800 803 809 823 +hsync -vsync
    Timing recommendation #2.... 2560x1600 at 60Hz
    Modeline................ "2560x1600" 268.000 2560 2608 2640 2720 1600 1603 1609 1646 +hsync -vsync
    Standard timings supported
    1280 x 800 at 60Hz - Apple
    2560 x 1600 at 60Hz - Apple
    Raw EDID (3)
    00: 00 FF FF FF FF FF FF 00 06 10 32 92 46 61 00 02
    10: 1D 10 01 03 80 40 28 78 28 FE 87 A3 57 4A 9C 25
    20: 13 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01
    30: 01 01 01 01 01 01 BC 1B 00 A0 50 20 17 30 30 20
    40: 36 00 81 91 21 00 00 1A B0 68 00 A0 A0 40 2E 60
    50: 30 20 36 00 81 91 21 00 00 1A 00 00 00 FF 00 43
    60: 59 36 32 39 30 41 38 55 47 31 0A 00 00 00 00 FC
    70: 00 43 69 6E 65 6D 61 20 48 44 0A 00 00 00 01 C3
    Display adapter
    Adapter description......... NVIDIA GeForce 6600 GT
    Adapter device ID........... 0x00F110DE
    Display settings............ 2560x1600, 32bpp

  • Use Native Windows Dialogs in Firefox 10

    I like to set Firefox 10 to use the original Native Windows Dialogs when Open, Save, Save as, etc. are called.
    I use Direct Folders to quickly navigate to any folder I need, this has been working fine until now, but not with this new version.
    I need to know what to set in "about:config" to use the old Windows Dialog boxes

    Hi,
    Firefox uses the Windows native dialog boxes by default. You can try to check this in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode].
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
    [http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]
    Safe mode disables the installed '''Extensions''', and themes ('''Appearance''') in '''Tools''' ('''Alt''' + '''T''') > '''Add-ons'''. Hardware acceleration is also temporarily disabled - the manual setting is '''Tools''' > '''Options''' > '''Advanced''' > '''General''' > '''Use hardware acceleration when available'''. [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Advanced%20panel?as=u Options > Advanced]. All these settings/add-ons can also be individually or collectively disabled/enabled/changed in Firefox normal mode to check if an extension, theme or hardware acceleration is causing issues.
    [https://support.mozilla.org/en-US/kb/Options%20window Options]
    If the problem persists, you may have to change the settings in Direct Folders or any other Windows enhancement/theme software.

  • Significant difference in temperature windows vs linux

    Lately I monitored CPU and motherboard heat levels in both windows and linux.
    I installed TPFancontrol in windows and Ksensors in ubuntu.
    The results were more than eloquent :
    the average temperature was 50 - 55 celcius in windows and 30 - 35 celcius in ubuntu!
    this translates to 1800 rpm in windows and 0 zero or 1800 rpm max in linux !
    If you want your laptop to run cooler and thus achieve longer life go with linux !
    However, I cannot determine what causes this 20-degree difference...
    note
    I have the T500 with T9400 CPU and use the Intel GPU.

    windows uses more hardware resource.try to change the settings for performance.
    system properties > advanced > performance > settings > adjust for best performance

  • Migration from windows to Linux - JAR files not generating under JAVA_TOP

    Hi DBA's
    Jar files not generating under JAVA_TOP after migration from windows to linux.
    I followed workaround but same in result.
    Workaround
    Run this command. It will give the missing file
    adjava -mx512m -nojit oracle.apps.ad.jri.adjcopy -masterArchive $JAVA_TOP -sync -reportfile javatopfiles.lst
    Then run this command
    adjava -mx512m -nojit oracle.apps.ad.jri.adjcopy -masterArchive JAVA_TOP -sync -mode APPLY
    I have checked in google.
    Best Regards,
    Suresh Gelda

    Suresh,
    I can find the following error in the log file:
    JarSigner error output:
    Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/JarSigner
    Caused by: java.lang.ClassNotFoundException: sun.security.tools.JarSigner
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    Could not find the main class: sun.security.tools.JarSigner.  Program will exit.Please review the following notes for suggested solutions:
    Note: 393306.1 - Generate Jar File causes NoClassDefFoundError sun/security/tools/JarSigner
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=393306.1
    Note: 269054.1 - Running adadmin to Force Regenerate of the Java Files Fails
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=269054.1

  • Unable to load php file into native window..

    Hi Guys,
    Im using flash cs3 as my development environment. what i was trying to do is creating a small login application using Air. I must say im still a newbie to flash air. as far as my login system concern i have managed following tasks,
    1. send username ans password using post and validate through php
    2. get the result back to flash application and open up a new native air window if the login is success.
    3. close the login window.
    now what i want to do is load my PHP application inside that newly open native window. How can i do it. I tried using Loader() method but it only worked for images not for php or html files.
    heres how I tried to use the loader method,
    var url:String = "http://localhost/Flash/login/welcome.php";
    var fileLoader:Loader = new Loader();
    fileLoader.load(new URLRequest(url));
    win.stage.addChild(fileLoader);
    This failed.
    Does anyone know how to load a PHP file into a Native window? Your help highly appreciate it.
    Just in case for the people who wants to know who I did the above mentioned tasks heres the code,
    Posting data to PHP server
    function sendLoginData() {
         if(txtUserName.text=='')
              txtBox.text = 'Username is empty';
         else if(txtPassword.text=='')
              txtBox.text = 'Password is empty';
         else
              var variables:URLVariables = new URLVariables();
              variables.UserName = txtUserName.text;
              variables.Password = txtPassword.text;
              var request:URLRequest = new URLRequest("http://localhost/Flash/login/login.php"); 
              var loader:URLLoader = new URLLoader(); 
              loader.dataFormat = URLLoaderDataFormat.TEXT; 
              request.data = variables; 
              request.method = URLRequestMethod.POST; 
              loader.addEventListener(Event.COMPLETE, handleComplete); 
              loader.addEventListener(IOErrorEvent.IO_ERROR, onIOError); 
              loader.load(request);
    Handdle the returned data
    function handleComplete(event:Event):void
         var variables:URLVariables = new URLVariables(event.target.data); 
         if(variables.errorcode==0)
              var url:String = "http://localhost/Flash/login/welcome.php";
              try {                             
                   //Native window
                   var options:NativeWindowInitOptions = new NativeWindowInitOptions();
                   options.systemChrome = NativeWindowSystemChrome.STANDARD;
                   options.transparent = false;
                   options.maximizable=false;
                   var win:NativeWindow = new NativeWindow(options);
                   win.title = 'welcome page';
                   //win.width = 900;
                   //win.height = 900;
                   /*var fileLoader:Loader = new Loader();
                   fileLoader.load(new URLRequest(url));
                   win.stage.addChild(fileLoader);*/
                   win.maximize();
                   win.activate();
                   stage.nativeWindow.close();
              } catch (e:Error) {
                trace("Error occurred!");
         else
              txtBox.text = 'Invalid logins';
    function onIOError(event:IOErrorEvent):void
         trace("Error loading URL."); 
    PHP code
    <?php
    $username = addslashes($_POST['UserName']);
    $password = addslashes($_POST['Password']);
    //do your database checking here. this is an example
    if($username=='niroshan' && $password=='123456')
         echo "errorcode=0"; 
    else
         echo "errorcode=1"; 
    ?>
    Call the function when pressing the submit
    cmdButton.addEventListener(MouseEvent.CLICK,readySendLoginData);
    function readySendLoginData(evt:MouseEvent){    
      sendLoginData();
    Thanks,
    best regards,
    Niroshan

    Thats right, HTMLLoader should solve the issue as Loader used for JPEG, PNG OR GIF files loading as per my knowledge

  • Transaction behavior changed with change in Windows to Linux Environment

    Hi All,
    I am facing a very weird problem.
    I have a 2 BPEL Synchronous Services lets say A & B. A calls B in its flow and B inserts a row into database and then retrieves the inserted row (as the primary key is sequence generated through a Trigger).
    This flow was working perfectly when:
    ·     It was on windows Development Box with SOA SUITE and DB Server on the same machine.
    ·     All the DB adapters had jca:Address information in it.
    Problem:
    ·     After moving them to a Unix box with a remote DB Server, I am seeing the problem that retrieval is happening before commit of insert and failing.
    Point to remember:
    ·     Insertion, selection, assignment all are happening in the different ‘SCOPE’
    ·     I have tried even putting them in a single scope but error remained same.
    ·     I have even tried putting a wait between them, so it’s a plain “Transaction not commited “issue
    I am expecting it could be an issue with the way Data source has been created or something else.
    Please suggest your pointers on this.
    Thank you.

    Hi Win
    1. There is absolutely NO changes or specific requirements to deploy a portal EAR created from Windows and deploying on Unix or Linux Env. We do this very often. I export my entire portal applicatoin (EAR, WAR and dataSync if its there) from Workshop or Eclipse (10.3.2) IDE as .EAR file. Then we can deploy this .EAR file pretty much in any Portal Domain on any Env like Linux. So first I want to clarify that there is NO need to change any files or do steps to deploy a portal EAR from Windows to Linux Env.
    2. Now coming to your error, the root cause seems to be this: java.lang.ClassNotFoundException: org.apache.beehive.netui.pageflow.PageFlowContextListener
    a) On Windows did you test your EAR on a Portal Domain. I assume you may have already did this.
    b) Is the domain that you created on the Linux Env and its version matches exactly with what you had in Windows Env. Say in Windows if you have WLP 10.3.1, then on Linux also you should have WLP 10.3.1. If not, you need to upgrade your portal EAR first in Windows to 10.3.x and then deploy.
    c) Compare the config.xml file modules specially the portal framework shared modules. They should be same in both Windows and Unix except for the location ofcourse.
    d) On Windows, by any chance did you deploy any extra additional modules in the portaldomain. If so do the same on Linux Env also.
    e) Other then config.xml file, all the other details are within the .EAR file itself like weblogic.xml, weblogic-application.xml file etc etc.
    f) So better compare you config.xml file in both the working and not working Envs.
    g) Also on Linux, are you deploying on Single Server domain or cluster domain. If cluster, make sure you deploy your portalEar only to Cluster because none of hte shared modules are deployed to Admin. So deploy only to cluster.
    Thanks
    Ravi Jegga

  • FLV Playback and Seekbar on different native windows in one Air application

    Hello Everyone.  I'm trying to make a simple video playback AIR application that utilizes the initial native window to house a transport control with a seekbar on it.  Once the application launches, it creates a second (new) window on my second screen and places a FLVPlayback instance on that new window.  Everything works just like it want it to except for one thing.  When the seekbar and FLVplayback instance are not located on the same window stage, the seekbar handle sticks to the mouse when trying to scrub through the video.
    I've added both the transport control and the FLVPlayback instance to the original native window as children and I have also added both of them to the new window as children and everything works just fine.  It's only when they are separated and located on different stages that the seekbar acts up.  When they are on the same stage, I can click on a point on the seekbar and the video jumps to that spot and continues to play and I can also scrub the seekbar, the video updates as I scrub, and when I release the mouse, the seekbar handle stays where I released the mouse.  When they on separate stages, the seekbar handle continues to follow the mouse movement without releasing it.  The video updates as the seekbar handle is moved due to it sticking to the mouse, but if I release the mouse, the handle is still moving with the mouse and the video is still being scrubbed.  Like I said, everything works great except for this and I have reached my limit with time spent on this issue.  Does anyone have any insight into this?
    Here's my code for the project.  This is my first AIR application, so I am coding it as I am learning, please be kind.
    import fl.video.*;
    import flash.display.*;
    import flash.desktop.*;
    import flash.events.*;
    import fl.video.MetadataEvent;
    import flash.geom.*;
    import flash.ui.Mouse;
    import flash.text.*;
    GLOBAL SETUP
    var flvControl:FLVPlayback;
    var MasterWindow = stage.nativeWindow;
    var screen1:Screen = Screen.screens[0];
    var screen2:Screen = Screen.screens[1];
    MASTER WINDOW SETUP
    this.loaderInfo.addEventListener(Event.COMPLETE,maximize);
    transControl.playPauseButt2.addEventListener(MouseEvent.CLICK, PlayButton);
    if (Screen.screens.length > 1){
              createVideoBKG();
              createVideoPlayer();
    GENERAL FUNCTIONS
    //Maximize the initial screen
    function maximize(e:Event) {
              MasterWindow.x = screen1.bounds.left
              MasterWindow.maximize();
              MasterWindow.stage.scaleMode = StageScaleMode.EXACT_FIT;
    //Hide Mouse Behind Video Window On Roll-Over
    function MouseRollOver(e:MouseEvent):void
              {          Mouse.hide()          }
    function MouseRollOut(e:MouseEvent):void
              {          Mouse.show()          }
    //Play-Pause Button Control
    function PlayButton(event:MouseEvent):void
                        if(transControl.playPauseButt2.currentFrame==1 ){
                                  transControl.playPauseButt2.gotoAndPlay(2);
                                  flvControl.play();
                        else {
                                  transControl.playPauseButt2.gotoAndPlay(1);
                                  flvControl.pause();
    function CloseWindow(e:MouseEvent):void
                        NativeApplication.nativeApplication.openedWindows[2].close();
    VIDEO BKG SETUP
    function createVideoBKG(e:Event = null):void{
              var newOptions:NativeWindowInitOptions = new NativeWindowInitOptions();
              newOptions.type = NativeWindowType.LIGHTWEIGHT;
              newOptions.systemChrome = NativeWindowSystemChrome.NONE;
              newOptions.transparent = true;
              var videoBKG:NativeWindow = new NativeWindow(newOptions);
              if (Screen.screens.length > 1){
                        videoBKG.x = screen2.bounds.left;
              videoBKG.maximize();
              chromeSetup(videoBKG);
              videoBKG.activate();
    //Video BKG Chrome Setup
    function chromeSetup(currentWindow):void {
              var vidBKG = new video_bkg();
              vidBKG.name = "video_bkg2";
              vidBKG.addEventListener(MouseEvent.ROLL_OVER, MouseRollOver);
              vidBKG.addEventListener(MouseEvent.ROLL_OUT, MouseRollOut);
              currentWindow.stage.addChild(vidBKG);
    VIDEO Player SETUP
    function createVideoPlayer(e:Event = null):void{
              var newOptions:NativeWindowInitOptions = new NativeWindowInitOptions();
              newOptions.type = NativeWindowType.LIGHTWEIGHT;
              newOptions.systemChrome = NativeWindowSystemChrome.NONE;
              newOptions.transparent = true;
              var videoPlayer:NativeWindow = new NativeWindow(newOptions);
              if (Screen.screens.length > 1){
                        videoPlayer.x = screen2.bounds.left;
                        videoPlayer.y = screen2.bounds.top;
                        videoPlayer.width = screen2.bounds.width;
                        videoPlayer.height = screen2.bounds.height;
                        videoPlayer.stage.scaleMode = StageScaleMode.NO_SCALE;
              videoPlayer.alwaysInFront = true;
              var DVR = new DVR_Player();
              DVR.name = "DVR";
              DVR.x = 0;
              DVR.y = 0;
              DVR.addEventListener(MouseEvent.ROLL_OVER, MouseRollOver);
              DVR.addEventListener(MouseEvent.ROLL_OUT, MouseRollOut);
              videoPlayer.stage.addChild(DVR);
                flvControl = DVR.display2;
              flvControl.width = 1280;
              flvControl.height = 720;
              flvControl.skin = null;
              flvControl.autoPlay=false;   
              flvControl.isLive=false;
              flvControl.fullScreenTakeOver = false;
              flvControl.align = VideoAlign.CENTER;
              flvControl.scaleMode = VideoScaleMode.NO_SCALE;
              flvControl.source = "olympics.f4v";
              flvControl.seekBar = transControl.seekbarContainer2.seeker;
              videoPlayer.activate();

    Does anyone have any ideas about this?

  • Copy of a CD (created by Disk Utility) not recognized by Windows or Linux

    I created a copy of AutoCAD 2005 (not pirating it... just wanted a backup copy of the install CD).
    I used Disk Utility (File > New > Disk Image From Folder) to successfully create a DMG file on my MacBook. I could mount the DMG and browse all the files on it.
    I then burned a CD (Disk Utility > select DMG > click burn), which mounts fine on OSX. However, my Windows and Linux boxes will not recognize it (while they recognize the original CD just fine).
    I tried again, this time setting the file format to DVD/CD master. It made a CDR file, which I burned to CD. Got the same result: Windows and Linux don't recognize it while OSX does.
    So instead I burned the files to a CD ala drag and drop using Finder. This time the CD was recognized by Windows and I used it to install AutoCAD.
    However, my understanding is that doing it this way won't work for a bootable CD, so I'd like to figure out why Disk Utility wasn't able to make an exact copy.
    Any thoughts? Problem with copy protection? Problem with the CD's file system?
    Details about the optical drive in my MacBook (1st gen 2.0GHz, 2GB RAM):
    MATSHITA DVD-R UJ-857:
    Firmware Revision: HBE4
    Interconnect: ATAPI
    Burn Support: Yes (Apple Shipped/Supported)
    Cache: 2048 KB
    Reads DVD: Yes
    CD-Write: -R, -RW
    DVD-Write: -R, -RW, +R, +RW
    Burn Underrun Protection CD: Yes
    Burn Underrun Protection DVD: Yes
    Write Strategies: CD-TAO, CD-SAO, DVD-DAO
    Media: No
    MacBook 1st gen CoreDuo 2.0GHz, 2GB RAM   Mac OS X (10.4.8)  

    Yeah OS X's Disk Utility doesn't burn using the ISO 9660 file system while Finder does (I could swear I made a copy of an MS Office CD with Disk Utility, but maybe I'm remembering wrong). Anyway, Disco (a program I got in a MacHeist bundle) will make an exact copy of CDs. Anyone looking for a free solution, check out LiquidCD and burn, which may have the ability to copy Windows CDs (appears to be on their lists of features, but I haven't tried them myself).

Maybe you are looking for