If I include offline-allowed  then creation of shortcuts will be disabled?

Hi,
I noticed that if in a JNLP file I included the element <offline-allowed/> element, then in my JWS cache viewer the "install shortcuts" function would be disabled (grayed out).  I had to remove this element to regain that function.  This was true no matter I set the other element attribute online for the shortcut element to be "true" or "false".
I was using JRE/JDK 1.6.0_03 (build 1.6.0_03-b05)
Clement
Here are the snippet of my code that did not work (i.e. no shortcut function)
<jnlp spec="1.0+"
      codebase="...">
   <information>
      <title>Some GUI Client</title>
      <vendor>Some company</vendor>
      <description>Some product
      </description>
      <homepage href="http://www.company.com"/>
      <description kind="short">Some Client</description>
      <icon kind="splash" href="../images/JWS-splash.jpg"/>
      <icon href="../images/JWS-icon.64x64.gif"/>
      <offline-allowed>
      <shortcut online="false">
        <desktop/>
        <menu submenu="Some Product"/>
      </shortcut>
   </information>
   <resources>... Here is the snippet of my code that worked (i.e. shortcut function allowed). Note that if I set online="true" the test result was the same.
<jnlp spec="1.0+"
      codebase="...">
   <information>
      <title>Some GUI Client</title>
      <vendor>Some company</vendor>
      <description>Some product
      </description>
      <homepage href="http://www.company.com"/>
      <description kind="short">Some Client</description>
      <icon kind="splash" href="../images/JWS-splash.jpg"/>
      <icon href="../images/JWS-icon.64x64.gif"/>
      <shortcut online="false">
        <desktop/>
        <menu submenu="Some Product"/>
      </shortcut>
   </information>
   <resources>
     ...

Hi,
I double checked my typing. I retested and made sure that <offline-allowed/> is ended correctly with the "/>" but still I could not install shortcut. I must take out that line to get back my option of "install shortcuts".
However, now I've found a workaround. I omit the (trouble-making) line of <offline-allowed/> but turn the online attribute of the shortcut element to "false". That is
      <shortcut online="false">
        <desktop/>
        <menu submenu="Some GUI"/>
      </shortcut>And this would work (i.e. I can install shortcuts)
If I am not missing something, that I believe there may be a bug introduced very recently. I am using JRE/JDK of 1.6.0 (build 1.6.0_03-b05)
Thanks!
Clement

Similar Messages

  • Offline allowed - Perplexed

    I am using JWS 1.4.2 and the question pertains to the usage of
    <offline-allowed/> tag.
    The requirements for the project are quite straight forward. First time
    install of the application and download of updates if available.
    Our application will be deployed on about 100 workstations(PC's) and
    under no circumstance can we risk that few of the workstations have
    older application and few have latest updated version when production fixes are implemented. So if an update
    is available either it is downloaded on all workstations or none.
    In light of the above, what is the recommdentation about usage of
    <offline-allowed> tag in the JNLP file.
    I have researched the Sun forums it says that if using
    <offline-allowed> the update is ot guarenteed and further if this tag is ommitted than the JWS may hang forever checking for updates.
    (http://forum.java.sun.com/thread.jspa?forumID=38&threadID=452567)
    Kindly suggest for my requirements should I be using the tag in JNLP or not.
    Looking forward for Andy to come to my rescue.

    The way offline-allowed is supposed to work is that the application will not run if JavaWS can't connect to the server. What happens is a dialog is displayed saying the app won't run.
    This is not hung, it's just waiting for the user to acknowledge it. There was a problem in 1.4.2 with some of the modal dialog. The problem was that dialogs that we modal were not being brought to the front correctly. Sometimes the dialog would get completely hidden by another JavaWS window. The app would then seem to be hung. I can't remember if this dialog was one of them or not. Anyway, that bug is fixed.
    The best way to find out how your app will behave is to run it once, so you have a shortcut, then just unplug your network cable. ;-)
    Mike.

  • HT3228 When I try to send an email from my Iphone it will not send and tells me the recepient will not allow relaying.  The email will sit in my outbox and then at some point will send.  It sometimes takes days.  What is wrong with my settings?

    When I try to send an email either new, or reply on my phone I receive a notification that recepient will not allow relaying.  The email will then sit in my outbox.  At some point it will send but it is hardly dependable.  What is wrong with my settings?

    The collum to the right listed similar problems.  The solution appears to be that under smtp outgoing settings the user name and password are listed as optional.  I have not plugged in the information and it seems to be working.  However from my office it always allowed the relaying.  The true test will be when I try to respond later from the road.
    Thank you for your help.

  • SAP is allowing the creation of PO's for C.codes for non extended vendors

    Hi Gurus
    SAP is allowing the creation of purchase orders for company codes to which the vendor has not been extended.  An example is PO 4500XXYYZZ for vendor number 9010577.  The PO was created for company code 1111, but the vendor is not extended to company code 1111.
    Please suggest how to avoid the above transaction by throwing an error.
    Thanks
    Sada

    Yes, this is SAP Standard Behaviour Only. System Will check Whether the Vendor Hasbeen Maintained at Purchase Orgn Level during Purchase Order Creation.
    During MIRO only System check whether the Vendor is Maintained at Company Code level or not Else it will not allow to Post Invoice.
    You can Control this by Restricting Users to Use MK01 and Give Access to XK01
    Else Use the Following Enhancement :
    MM06E004 EXIT_SAPMM06E_004
    Contact your abaper and Fulfil your Requirement.

  • I was using my iphone 4s and then the app started to not work and then my phone blocked and then when i go on home most of my apps disappeared including my settings so i cant restore with out disabling find my iphone on settings

    I was using my iphone 4s and then the app started to not work and then my phone blocked and then when i go on home most of my apps disappeared including my settings so i cant restore with out disabling find my iphone on settings please help me asap thankyou so much

    Log in to icloud.com on a web browser with your Apple ID and disable FMiP there.

  • Cannot open Sequence:  "Operation Not Allowed" then "Out of Memory"

    I quit FCS1 for about 5 hours and returned. When I opened the project I was working on I got these messages: "Operation Not Allowed" then "Out of Memory" when I attempt to open my master working sequence. Other sequences (small nests) do open within the project. The project opens, so the file is not corrupt. A back-up copy of the same project file on a separate physical disc generates the same results. I deleted the prefs and User Data folder, even ran FCP Rescue. Same results. Then I resorted to the Autosave Vault. The two most recent saves resulted in the same error messages. Fortunately the next did not. I lost a considerable amount of work. The system says my memory is OK (6GB). Any ideas? (An attempt to open on a FCS2 machine {8GB RAM} resulted in the same two error messages.)
    The project is fairly lengthy (90 mins) and does have numerous 1 and 2 frame audio edits. Nothing particularly unusual in the video tracks--although I am mixing DV and HDV. It doesn't seem to me these attributes would matter, just throwing them out there.

    ...removing and re-rendering is a great idea, if you've got the time.
    And if during render you get the same out of memory error, try rendering "in-to-out", rendering small chunks until you get to a chunk which brings up the error. Then, you've found an offending "corrupt" file.

  • TS3276 my smtp server shows offline. I've tried taking all accounts offline and then back on with no effect

    email was working fine and then I couldnt send mail from my bellsouth.net account. The smtp server is (offline). I tried taking all accounts offline and then back on. This didn't help.
    I can send email from my iphone or webmal on my windows based desktop.
    Any suggesstions? I'm not a very experienced Mac user.

    What were the results of taking all the applicable steps in the support article?

  • Need to Go Offline and then Go Online For My Mail to arrive.

    That about says it: Apple Mail will be Online, and I can even use the GetMail button, but no mail arrives. But if I Go Offline, and then Go Online, 5 or 10 or more messages will arrive. This happened enough times to rule out the possiblity of coincidence....
    Powerbook G4   Mac OS X (10.4.5)  

    You may want to take a look at this thread -- don't expect to find a solution there, though:
    Only receive mail if I quit mail and restart

  • Questions on offline-allowed

    Hey guys,
    Our application needs to have the ability to work offline. Hence i put the <offline-allowed/> element in the jnlp file.
    However I was seeing some cases, where I was not getting the latest version of the application even while online.
    The web start developer docs say :
    If offline-allowed is specified, Java Web Start will also check to see if an update is available. However, if the application is already downloaded the check will timeout after a few seconds, in which case the cached application will be launched instead. Given a reasonable fast server connection, the lastest version of the application will usually be run, but it is not guaranteed. The application, however, can be run offline.
    Is there any way to guarantee that the latest version of the application is downloaded if the user is online ? Writing an application that clears the cache possibly ?
    What experiences have y'all had with compatability problems with different versions of the app on the users machine and on the server ?
    Thanks

    The problem is the <offline-allowed> is overloaded.
    w/o it a program will wait infinately for the download host to determine if there is an update. (this can greatly slow down launching, even when online and there is no update available)
    with <offline-allowed>, Java Web Start still dosn't really know if it is being run offline or online (unless launched with arg "-offline" which will not check for update at all). In this case it will check for finite amount of time (in 1.4.2 is 1.5 seconds). If it can't determine in that much time if there is an update, it will launch from cache, and continue to check in background.
    in 1.4.2, you can put in deployment.properties the value:
    deployment.javaws.forceUpdate=true
    this will cause all apps to never timeout checking for updates (assuming not launched with "-offline")
    or you can increese the timeout with:
    deployment.javaws.updateTimeout=5000 (this would change from 1.5 to 5 seconds
    unfortunately you can only do this on the indivual clients.
    /Dietz

  • offline-allowed/ is not interpreted

    Hello,
    I've tried to deploy an application with JWS, which worked fine so far. I did NOT specify the <offline-allowed/> element within the <information> tag, anyway, JWS starts the application even if I stop the server and pull the network cable out.
    But what I actually want is that JWS refuses to start the application when no connection to the originating server is available.
    Could anyone give me a hint?
    Thanks, Rod.

    What version of Java Web Start are you running. ?1.4.2_05
    I think, since version 1.4.2, if network is disabled
    and app has no <offline-allowed> tag, Web Start will
    wait forever at the Download Window checking for
    updates.On my box it just starts, no matter online or offline.

  • If I buy/download photoshop elements onto my work laptop, then change my laptop, will i be able to transfer my licence onto the new machine.

    If I buy/download photoshop elements onto my work laptop, then change my laptop, will i be able to transfer my licence onto the new machine.

    Yes. You are allowed to install PSE on two computers at once, but if you don't need it on the first computer anymore, go to editor>help>sign out to deactivate it and free up one of your activations for future use.
    As for moving your photos and catalogs to another computer, see:
    Use Backup, Restore to move catalog | Organizer | Elements 6 or later

  • In 7u51, will all jars referenced by the applet need to be updated to include the Permissions Manifest attribute ? Or, will it be limited to the jar that contains the applet code ?

    To whom it may concern,
    According to Java RIA checklist(http://www.oracle.com/technetwork/java/javase/overview/ria-checklist-2055184.html),
    as of 7u51(January 2014), Permissions Manifest attribute in main JAR file will be required.
    But, at least, as of 7u45, when the Security Level slider is set to Very High,
    a jar without Permissions Manifest attribute, which doesn't contain the applet code but is just referenced by the applet,
    prevent the applet from running.
    So, the question is:
    In 7u51, does it mean that all jars referenced by the applet need to be updated to include the Permissions Manifest attribute ?
    Or will it be limited to the jar that contains the applet code?
    There is a concern that we will have to modify library jars that we do not control.
    Sincerely,
    Toshio Shiko

    Thank you for your quick response and your investigation!
    It do help us very much.
    But, unfortunately, for the moment, I'm not allowed to test the early access version.
    As soon as circumstances are changed, I' d like to test it.
    Again, thank you for your providing of the useful information.

  • If i remove i-tunes then re-install it will i loose all my music? I accidently removed bonjour now can't use remote., If i remove i-tunes then re-install it will i loose all my music? I accidently removed bonjour now can't use remote.

    If i remove i-tunes then re-install it will i loose all my music? I accidently removed bonjour now can't use remote., If i remove i-tunes then re-install it will i loose all my music? I accidently removed bonjour now can't use remote.

    Hello Footr,
    The following article provides the answer to your question, as well as steps for completely removing iTunes and related components:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/HT1923
    iTunes Store purchases or songs imported from CDs are saved in your My Music folder by default and are not deleted by removing iTunes. While it is highly unlikely that you will lose any contents of your iTunes Library when following these steps, it is always a good idea to ensure that your iTunes library is backed up. If you're unsure how to backup, see iTunes: Back up your iTunes library by copying to an external hard drive.
    Thanks,
    Matt M.

  • I have an agreement form created in word doc. i want to hire some one experience with formscentral to recreate the form and user be able to complete the agreement, sign it electronically (using echosign) then click submit. i will be alert of new response.

    i have an agreement form created in word doc. i want to hire some one experience with formscentral to recreate the form and user be able to complete the agreement, sign it electronically (using echosign) then click submit. i will be alert of new response. can someone connect me to where i can talk to someone can provide this service. i have sample of agreement form

    Hi c3 cyber club,
    Unfortunately FormCentral and Echosign are two different services and forms created in Forms central can only be submitted via and to Forms Central.
    We cannot have the form filled in using FormCentral and get it signed using Echosign.
    However, you can use Echosign directly and you can get most of the functionality.
    Thanks,
    Vikrantt Singh

  • If I upgrade my iphone 3Gs to iOS5 then whether its speed will reduce or it will become slow because its processor is only 600 MHZ ? If it is so then whether it should be upgrarded to iOS4 ?

    If I upgrade my iphone 3Gs to iOS5 then whether its speed will reduce or it will become slow because its processor is only 600 MHZ ? If it is so then whether it should be upgrarded only to iOS4 ?
    Thanks,
    PRANAJ

    I'm running iOS 5 on my 3GS, and it runs fine, granted it's not as fast as a 4 or 4S, but it will still run fine.

Maybe you are looking for

  • How to open a entity form in a new window using openEntityForm() method.

     How to open a entity form in a new window using openEntityForm() method.

  • Creating a spread in Pages '09

    Hi, I've a question that is bothering me for some time. You know when in Magazines (like National Geographic) they show an image, spread over 2 pages, next to each other? I would like to do this in Pages, but I've now idea how. Can anyone help me wit

  • White screen of death STILL!?!?

    Hi i still have the white screen of death, i toke apart my ipod (screen, and the main screen) i bot a new glass screen cover and another screen witch is the main touch screen behind the glass1. so i put the news 1s on and i still have the white scree

  • ABAP Webdynpro passing parameter

    I am trying to pass a parameter to an ABAP webdynpro. i have a parameter defined in the application "PLANNING_SEQUENCE" if i run the webdynpro via a direct url and pass the parameter ?PLANNING_SEQUENCE=<sequence> it seems to receive the parameter ok.

  • IDVD 08 Encode slideshow extreemly slow

    i am using MacPro 3G 8 core. iDVD08 to encode 700s photo to a slide show it cost about 3hrs to code that and the cpu around 6-8% usage . Is it normal ? if yes, another option that i can create a slide show dvd faster ? thanks