JavaFx Image Bundle Deployment

Hi All,
Is there way to dundle up multiple projects(apps) into one image? Basically I would like to deploy mutltiple apps with one instanceof runtime(jre).
Thanks.

One possibility:
1) See if the other app is already running:
// The following only works in Windows.
// Something like this might work in Linux: String command="ps -A -U "+System.getProperty("user.name")+" -d";
String line;
Process p = Runtime.getRuntime().exec("tasklist.exe /FI \"IMAGENAME eq " + "myOtherApp" + "\"");
BufferedReader input = new BufferedReader (new InputStreamReader(p.getInputStream()));
while ((line = input.readLine()) != null) {
if ( line.contains( "myOtherApp" ) ) {
alreadyLoaded = true; // Already Loaded.
break;
if ( alreadyLoaded == false )
// path and parameters to other app
otherProcess = Runtime.getRuntime().exec( path + " -m -d -t" );
bResult = true;
2) otherProcess .destroy ();
Edited by: KevinPas on May 1, 2013 9:41 AM
Edited by: KevinPas on May 1, 2013 9:42 AM

Similar Messages

  • Apply Imaging Bundle to group \ folder?

    This year we'd like to reimage our existing ZCM 11 clients using light-to-zero touch deployment methods. I've tweaked our existing imaging scripts to take account of the ISD data (no zisedit -c this time!) now would ideally like to use the ZCM Auto Preboot Services to kick it off.
    Applying an Imaging Bundle (that contains my bash script) works OK on a single device but we want to do this go groups of machines. Please tell me I've missed something in the GUI as it currently seems I have to do it on each individual device object and that would just be silly?!

    gshaw0,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Creating javaFX Image with InputStream

    Hi,
    I have dataset(Medical Image data), i want to build a javaFX Image,
    Can some one help me how can i construct the image from this.
    is there any way creating a image other than using url?
    Thanks....

    Try this:
    var stream = A.class.getResourceAsStream( "lion1.png");
    Stage {
        title: "Image from stream"
        width: 250
        height: 280
        scene: Scene {
            content: [
                ImageView {
                    image: Image {
                        impl_source: stream
    }

  • Action "Apply Assigned Imaging Bundle"

    Version: 11.3.1
    I need to run action "Apply Assigned Imaging Bundle" against several devices, is it possible to run this action against a device group? This option is greyed out, but just wanted to know if this can be done via a script or any other way to do this? Finding the device and ticking the box is not the quickest and easiest method when there are 100 devices to find.
    Thanks
    Richard

    #!/bin/bash
    ### Script applyImageDaily.sh
    ### Script read all members of a group, assign and apply image. This script is assign to the ZCM-Server itsself as a linux-script action.
    ### After the execution of this script, a WOL-action to a computer-group(can be another group) start and computers create an image.
    ### To prevent imaging to office start hours, a few minutes after execution of WOL I remove the image bundle from all clients.
    ### With this you can control imaging-actions from ZCC, without using of console
    ### Version 1.1 09.11.2014 10:44 Uhr H.Schoene ###
    ZMANBIN=/usr/bin/zman
    DEVICEROOT="PCs"
    DEVICEGROUP="PC-Gruppen/PCs-Imaging"
    IMAGE="Images/DailyImage"
    # Read all members of group PCs-Imaging, assign and apply Image
    /usr/bin/zman wgm "$DEVICEGROUP" | grep Workstations | awk '{print $1}' | while read line
    do
    DEV=$line
    # Image-Bundle assign
    $ZMANBIN ba device "$IMAGE" "Workstations/$DEVICEROOT/$DEV"
    # Image-Action apply
    $ZMANBIN imaging-apply-assigned-imaging-bundle workstation "$DEVICEROOT/$DEV"
    done

  • Load Images Bundled in a SWC At Runtime?

    If I have a SWC that has some images bundled into it that was
    created using the compc compiler like:
    compc -o=images.swc -include-file img1.png img1.png
    Is there a way to load it into Flash at runtime and use the
    Images?
    The reason I'm doing this is that I want to allow an image
    library to be dynamically loaded at runtime that has images which I
    do not have at compile time.

    Use code tags to post codes -- [code]CODE[/code] will display asCODEOr click the CODE button and paste your code between the {code} tags that appear.
    } catch (MalformedURLException e) {
    }Never swallow exceptions.
    at LoadClass.loaderNEW(LoadClass.java:33)Something is null that shouldn't be at line 33 of LoadClass.java
    Better go through some beginner tutorials before you play around with ClassLoaders and the like. Identifying the cause of a NullPointerException is much more fundamental than
    Loading all jars in a folder at runtimedb

  • Deleting Sparse Disk Image Bundle from Time Capsule

    Howdy. Thanks in advance for help on this issue to anyone kind enough to spend time answering it.
    I've got a 1TB Time Capsule which I use primarily for external file storage - it's currently got just about 120GB of files on it which I have manually copied there. I only sporadically use Time Machine to do automated backups, but since I've had the Time Capsule for a good long while, there have been many backups, and relatively little space left on it. As I am not interested in files that are 8 months old, I have gone into Time Machine and deleted all the old backups I don't want, then done a fresh backup so there's a current copy of everything on my laptop. It's my understanding that deleting backups from within Time Machine clears space off the Time Capsule, and when I did those deletions, saw that the available space on my Time Capsule did in fact increase, but not nearly as much as I would have expected.
    Now, there's a file sitting on my Time Capsule called a "Sparse Disk Image Bundle.dmg", which has a filesize of 564GB - so there's where all the "free" space on my Time Capsule is accounted for.
    My question is, if I know that I don't want the contents of all the old backups, but I DO want a copy of the files I have manually copied onto my Time Capsule, is it safe to delete the 564GB .dmg file? I use my Time Capsule more than anything else as the repository for my iTunes library, and it'd be a huge bummer if I wiped out my entire music collection by deleting that file.
    So far as I can tell, the contents of my Time Capsule and that .dmg file are separate, but I don't know enough to know whether that's really the case.
    Any advice is well appreciated!

    Hi, and welcome to the forums.
    Yes, network backups are in an odd container called a +sparse bundle.+ It should be named with your Computer name plus a string of 12 numbers and letters (the hardware address of your Mac).
    Do you see your "other" files separate from it? They shouldn't be inside it, unless you specifically copied them into it.
    As long as they're shown separately, yes, you can safely delete the sparse bundle. That will delete all your backups, though, and take quite a while. If it seems to be taking forever, see the blue box in #12 of [Time Machine - Frequently Asked Questions|http://web.me.com/pondini/Time_Machine/FAQ.html] (or use the link in *User Tips* at the top of this forum).
    There is an alternative, however. You can limit the +maximum size+ of the sparse bundle, per #A8 in [Time Machine - Troubleshooting|http://web.me.com/pondini/Time_Machine/Troubleshooting.html] (or use the link in *User Tips* at the top of this forum). As noted there, however, if you update to Snow Leopard, 10.6.3 or later, it will be automatically re-sized to the size of the TC's internal HD.
    If it's already too large, you may need to delete some more backups and/or "compact" it first. See the pink box in #12 of the FAQ.

  • How to add javafx image project in my jsp page ?

    how to add javafx image project in my jsp page ?

    Create your JavaFX application as an Applet... then embed the applet object inside your html. I'm sure if you create a javafx netbeans project and hit build... you get a html file that shows you how to load the built binary output into the page.

  • SOA Bundle deployment

    Hi,
    I followed the instructions in http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224/sca_lifecycle.htm#CACFEAJJ to deploy shared metadata, i.e. I created a JAR File deployment profile on my SOA Project with the xsd that I wanted to share and then a SOA Bundle deployment profile on the application with a dependency to the Jar File deployment profile. I was then able to deploy it to our development server from jdeveloper using the "Deploy to Application Server" option, and everything went fine, the xsd are on the MDS and other composites are able to reference them.
    However now I'm trying to deploy it using the enterprise manager, I generated the .zip using the same deployment profile, but the enterprise manager says "Failed to retrieve the composite details from the archive. Invalid SOA archive file.", which makes sense because there's no composite in the .zip only the metadata that I want to share. What's the correct way of doing it?
    JDeveloper and the SOA Suite are both 11.1.1.3.
    thanks in advance,
    Diogo Henriques
    Edited by: Diogo Henriques on Dec 23, 2010 8:49 PM

    Enterprise manager currently is looking for composite in zip file, ideally this should not be the case.
    Use JDEV or WLST sca_deployComposite command(for production env) to deploy soabundle.

  • Password-protected Sparse Disk Image Bundle remembered after eject

    I use password-protected Sparse Disk Image Bundles to protect some files. Every now and then, when I open the image, it doesn't ask me for the password and opens immediately.
    At first, I thought I may have inadvertantly agreed to save the password in Keychains. But that is not the case. After running some tests, I noticed it may take up to 3 ejects before it asks me for the password again. It seems to happen more when I modify files in the disk image, but not when I simply read files. I suspect it is not completely unmounting the image.
    This is potentially a security issue. Any suggestion on what I can do short of re-ejecting images until it asks for a password again?

    You may have successfully increased the sparsebundle's potential capacity while failing to resize the contained partition. That seems to be what happened when I tried this myself. A resized sparsebundle containing the same files would not occupy much more space on disk than it did before.
    *Provided you have a backup*, you could try the following:
    Remount the image, then run Disk Utility and select the .sparsebundle (non-indented icon) in the left pane. Click on the Partition tab, and then see if you can pull down the lower right corner of the disk image partition to increase its size. If you can, then drag it to the bottom and click Apply.
    Again don't try this without a backup. It may not be worth doing in any event - it's easy enough just to make a new, bigger sparsebundle and copy your stuff over.

  • Java bufferedImage to JavaFX Image

    Hi,
    is there any easy way how to convert awt bufferedImage to JavaFX Image? I am using sun's pdf-renderer which output can be AWT image which I would like to display in a JavaFX scene as a image node.

    Yes. This has already been discussed here: Image conversion between AWT and FX

  • Loading javafx images concurrently

    Hello,
    So I been working on downloading images asynchronously and concurrently. I was planning on using the async javafx package. I made a big assumption before reading the details of how the async package works. I thought I was going to be able to easily run concurrent javafx code. But after reading http://blogs.oracle.com/clarkeman/entry/javafx_async_task I see that the async package was made for running java code.
    Is there a way to asynchronously and concurrently load javafx images, e.g. load on separate thread with the ability of main thread to access those images?
    thanks a lot!
    jose

    Hello,
    So I been working on downloading images asynchronously and concurrently. I was planning on using the async javafx package. I made a big assumption before reading the details of how the async package works. I thought I was going to be able to easily run concurrent javafx code. But after reading http://blogs.oracle.com/clarkeman/entry/javafx_async_task I see that the async package was made for running java code.
    Is there a way to asynchronously and concurrently load javafx images, e.g. load on separate thread with the ability of main thread to access those images?
    thanks a lot!
    jose

  • MDT Capturing an new image after deployment

    Hi
       I have captured a reference image and deployed it. I edited the custom.ini file and bootstrap to have practically zero touch deployment. I did find that I had to connect to the mdt server and run litetouch.vbs to capture the image from the reference
    machine. My question is once the deployment was done I wanted to capture a new image from a new reference machine and wasn't able to do it when running litetouch.vbs. It would through out an error of cant find ini. I uninstalled mdt and reinstalled it with
    adk and can now capture again. Is there another way? I don't want to have to uninstall mdt each time. Is this because I edited the custom.ini file ?
    Thanks

    Hi Bronty12,
    Base on my experience, your issue may caused by need to clean MDT, please refer the following thread solution first and there have a specific form to support the MDT issue,
    you can ask in that forum there will more MDT expert to support you.
    Dirty Environment found
    https://social.technet.microsoft.com/Forums/en-US/36ed037b-51b1-4053-a248-46bd3ac9ecda/dirty-environment-found
    MDT support 
    forum:
    https://social.technet.microsoft.com/Forums/en-US/home?forum=mdt
    Thanks for your understanding and support.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • AES-256 user home directory sparse image bundle in Lion?

    Snow Leopard and previous had file vault to protect users' home directories as, I believe, AES-128-encrypted sparse image bundles. As I understand it now, under Lion, the options are to enable AES-128 whole disk encryption, or, if upgrading an existing snow leopard machine with a legacy file vault user account, to maintain that legacy file vault user home directory. However, under this second approach, additional users' home directories cannot be individually "file-vaulted" and instead, would require that legacy file vault  be decrytped and then the entire disk be encrypted.
    I am thinking that it would be advantageous from a security standpoint if an individual user home directory could remain encrypted, if that user were not actively logged in. Then, all contents would be inaccessible to other users, including administratively privileged users, and also that user's home directory would remain encrypted when the computer was turned on and booted up because as I understand it, file vault 2's real strength lies in protecting "data at rest" versus "data on a powered up and mounted file vault 2 volume".
    To that end, I am wondering, regardless of whether file vault 2 is enabled or not, whether an existing user home directory and all of its contents be converted to an AES-256-encrypted sparse image bundle, using Disk Utility, and exist at the /Users directory space, mounting and decrypting "on the fly" from the login window at user login just like how a legacy file vault home directory is treated under snow leopard, independently of whether file vault 2 was enabled on the whole disk or not. This would also permit later addition/conversion of another "file vaulted" user account whether fle vault 2 were enabled or not.
    To recap, an AES-256-encrypted sparse image bundle that would mount upon user login just like a legacy file vault user home directory does. Does anyone know if something like that is doable, and has that road already been travelled successfully? If so, I'd love to read a step-by-step, play-by-play, set of instructions on how to do just that.

    I think I got a solution worked out.  I don't mind if things get installed in /opt as long as pacman tracks it, and I found ruby-enterprise-rmagick in the AUR as an orphan.  I adopted it, updated it, installed it, and it's working great with my code.

  • Imaging and deploying Win 7 using ZCM11 RC3

    How do I use ZCM11 RC3 to image and deploy Win 7 over my network?
    I have just installed ZCM11 on our servers here and have done the discovery and inventory process. I am new to ZCM and am not sure how to do the imaging? Nothing seems to happen when I select a workstation and choose it for imaging. Also wondering, where I could find some best practices that would help in the roll-out.
    Thanks,
    Jithin

    Originally Posted by jithinv
    I disabled the firewall and now it can PXE boot. It would be better if I could just enable a couple of ports. Also, is there anyway that I can ask it to save the image to another location (different hard disk - or even a network share on a different server). Right now, I have mounted a volume to the 'content-repo\images' directory.
    Another question is whether the image is HAL-dependent? Would I be able to load it to a different workstation with dissimlar hardware..Its just a base image with Win 7 - clean install. Thanks
    As far as I know it's very tricky and maybe even not possible to do imaging without disabling firewall. What you could do is have a separate ZCM server that only does imaging..
    If you run ZCM on linux then you might be able to mount a samba share or a different HD under /var/opt/novell/zenworks/content-repo/images/yoursmbshareorharddisk.
    Use sysprep to create a "base" image and then use addon images that apply computer specific drivers.
    There in an online traing course (ATT Online - Migrating from Windows XP to Windows 7 using ZENWorks Configuration Management) that walk you trough how to do this:
    Novell North America Training Registration
    Lab sessions include:
    * Session 1. Configuring the Technician's Computer
    * Session 2. Configuring ZENworks Configuration Management Personality Migration
    * Session 3. Building the Sysprep XML Answer File
    * Session 4. Configuring and imaging the Reference Computer
    * Session 5. Creating add-on images using ZENworks Configuration Management Image Explorer
    * Session 6. Deploying the new Windows 7 SOS environment with add-ons
    Thomas

  • How can I use my previous Sparse Disk Image Bundle?

    I just got a new MacBook Pro, with Mountain Lion.
    I used to backup to a Time Capsule, using Time Machine. When I configure Time Machine to start backing up to that Time Capsule again, it creates a new backup (a new Sparse Disk Image Bundle) alongside the old one, instead of using the old one to continue backing up.
    How can I get Time Machine to use the old backup file and not create a new one?
    TM

    That would have happened automatically if you had transferred your data from the backup of the old machine in Setup Assistant.
    To make it happen now is difficult. You can try the instructions on this page:
    "Reconnecting" to your backups

Maybe you are looking for