Custom splash screen only shows up when command line is used...

Hi,
Everything in my Java web start application works perfectly but, the custom splash screen only shows up when command line is used ("C:\Program Files (x86)\Java\jre7\bin>javaws -verbose http://www.xxx.eu/AcSentVivresCrus/AcSentJnlp/AcSent.jnlp"), if I use the shortcut on the desktop or in the start menu, the Java 7 splash screen shows up (tested under Windows Vista and Seven). Does someone have any clues?
Thanks...
My jnlp file :
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="6.0+" href="AcSent.jnlp">
  <information>
    <title>AcSent : Commande de repas</title>
    <description>AcSent - Commande de repas</description>
    <vendor>AcSent</vendor>
    <homepage href="http://www.xxx.eu" />
    <icon href="acSentIconBiseau.png" />
    <icon href="splashAcSentRC.png" kind="splash" />
    <shortcut online="true">
      <desktop />
      <menu submenu="AcSent" />
    </shortcut>
  </information>
  <security>
    <all-permissions />
  </security>
  <resources>
    <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" max-heap-size="128m" />
    <jar href="AcSentJnlpProgressIndicator.jar" download="progress" />
    <jar href="AcSentJnlp.jar" main="true" version="1.0" />
    <property name="jnlp.packEnabled" value="true" />
    <property name="jnlp.versionEnabled" value="true" />
  </resources>
  <application-desc name="AcSent" main-class="eu.acsent.jnlp.AcSentApplication"
       progress-class="eu.acsent.jnlp.progressindicator.CustomProgress"> 
  </application-desc>
</jnlp>

Hi again,
I made some researches :
- The link in the generated shorcuts ("C:\Windows\SysWOW64\javaws.exe -localfile -J-Djnlp.application.href=http://www.xxx.eu/AcSentVivresCrus/AcSentJnlp/AcSent.jnlp "C:\Users\Arnaud\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\46\69c1e9ee-1f252d1a") is not the same as the one I use in the command line ("C:\Program Files (x86)\Java\jre7\bin>javaws -verbose http://www.xxx.eu/AcSentVivresCrus/AcSentJnlp/AcSent.jnlp"). Is there a way in the the JNLP file to tell how to generate shortcuts (not the icon, etc., but command line options)?
- This sample (https://blogs.oracle.com/thejavatutorials/entry/changing_the_java_web_start) displays the splash screen when I click on the the generated shortcuts (I use Windows 7). I have copied the ButtonDemo jar file and the JNLP file on my IIS web server (Windows 2008 Server), this time the splash screen does not show up when I click the generated shortcuts but always shows up when I use the command line. Can someone tell me if it is a trouble with IIS ?
Thanks again...

Similar Messages

  • How to create custom splash screen that shows loading %?

    I'd like to add a splash screen to my app. that shows the loading as a percentage.  I have flashbuilder 4.6.  How can I do this?

    You might need to consider adding your child elements in application manually. Displatch a new event back to the application when the child is created (from creationComplete) and update progress bar.

  • My iPhone 4s is stuck on a black screen that shows a USB cable connecting to iTunes. The phone will not turn on and the iTunes logo as I described only shows up when I plug the phone into the charger or my computer. I have tried the reset in restore mode

    My iPhone 4s is stuck on a black screen that shows a USB cable connecting to iTunes. The phone will not turn on and the iTunes logo as I described only shows up when I plug the phone into the charger or my computer. I have tried the reset in restore mode as well as the DFU? mode and it still will not work. I have the latest version of iTunes on my Mac. My error code was 2002. I also tried it on my laptop (windows 8.1) and none of the above worked. My error code on my laptop was 02. The phone is through Verizon and it has absolutely no damage. It was working fine up until this and I have been trying to fix it for 2 days. Please help! I am unsure of what version the phone was currently running on before this because I have another iphone that's my primary phone and have not used this one in about a month. I do not believe it was updated to IOS 7.

    Your iPhone is in recoverty mode at the moment so to possibly get it back up and running you would need to do a restore as you have been trying. Follow the steps in the article below for the specific error messages you have been receiving. If after following all steps the issue remains book an appointment at a local Apple Retail Store to have the iPhone evaluated.
    Resolve specific iTunes update and restore errors

  • Iphone seems to be working but only shows apple logo, itunes sees the phone normally, when i restored it appeared successful and itunes tried activating my phone but the screen only shows apple logo nothing else???

    my iphone is detected in itunes as normal, but screen on the phone only shows apple logo??? restored and everything but no difference its weird, it restores successfully and stuff but once done the screen only shows apple logo.. note:while restoring everything goes through as normal on the phone it shows the bar loading etc.. but once complete just stays on apple logo.

    It can take a few minutes to reinitialize, but if it stays on the Apple logo for as much as 10 minutes there is something seriously wrong. Try restoring again, and set up as a new phone rather than installing your backup. If this fixes it you have a corrupt backup. If this doesn't fix it the phone is broken. Or possibly jailbroken.

  • Custom splash screen for app under JWS 1.2 from 1.4.1 beta?

    Has anyone gotten a custom app's splash screen to come up instead of the damn Sun Java Web Start splash screen to come up when the app starts from a desktop icon or if you launch it from JWS?
    I added it to my jnlp file as specified in the docs, but it just doesn't come up :-(
    <description kind="tooltip">TransMedia 2</description>
    <icon kind="default" href="transmedia.gif" />
    <icon kind="selected" href="transmedia.gif" />
    <icon kind="disabled" href="transmedia.gif" />
    <icon kind="rollover" href="transmedia.gif" />
    <icon kind="splash" href="transmediasplash.gif" />
    </information>

    Hello,
    I read your postings here and I did what you proposed.
    Nevertheless the splash screen doesn't show up.
    I'm using Java 1.4.1, Web Start 1.2; the jnlp file
    looks like that:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="http://venus/example-client/" href="example.jnlp">
    <information>
    <title>Example</title>
    <vendor>My Company/vendor>
    <description>JBoss Client</description>
    <icon href="splashscreen.jpg" kind="splash" />
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.4+"/>
    <jar href="example-client.jar" main="true"/>
    <jar href="jbosssx-client.jar"/>
    <jar href="concurrent.jar"/>
    <jar href="jboss-client.jar"/>
    <jar href="jboss-common-client.jar"/>
    <jar href="jboss-j2ee.jar"/>
    <jar href="jnp-client.jar"/>
    <jar href="log4j.jar"/>
    <jar href="datepicker.jar"/>
    <jar href="jcommon-0.7.1.jar"/>
    <jar href="jfreechart-0.9.4.jar"/>
    <jar href="xercesImpl.jar"/>
    <jar href="xml-apis.jar"/>
    <jar href="xalan.jar"/>
    <property name="java.security.auth.login.config" value="http://venus/example-client/auth.conf"/>
    </resources>
    <application-desc main-class="com.mycompany.ui.Example"/>
    </jnlp>
    any idea why webstart doesn't use the custom "splashscreen.jpg"?
    a properly splashXXXXX.jpg has been created in .javaws/cache/splashes, as well as an entry in splash.xml.
    thanx for help,
    michael

  • Custom splash screen not appearing in the Dynamic created jnlp()

    Hi,
    I am not able to show my custom splash screen while starting the webstart application, instead getting the "sun webstart logo". I am dynamically generating the jnlp file using jsp (struts application). Application is working perfectly except custom splash screen. Below is my jsp which will generate the jnlp on fly. The test.gif file is in place.
    <% response.setContentType("application/x-java-jnlp-file");
      response.setHeader( "Pragma", "no-cache");
      response.setDateHeader( "Expires", 0 );%>
    <%@ page import="java.io.*" %> 
    <%String baseURL = WebUtil.webUrlParser(request.getRequestURL().toString(),request.getContextPath(),request.getServerPort());%>
    <jnlp      spec="1.0+" codebase="<%=baseURL%>/cs_jnlp">
    <information>
        <title>Launching JNLP</title>
        <vendor>Satyasai</vendor>
        <icon href="/images/test1.jpg"/>
        <homepage href="docs/help.html"/>
       <description>test</description>
            <icon kind="splash" href="images/test.gif" />
       </information>
          <security>
            <all-permissions/>
         </security>
         <resources>
       <j2se version="1.6+"/>
       <jar href="<%=baseURL%>/cs_jnlp/AppLaunch.jar"/>
      </resources>
           <application-desc main-class="Launch" >
           <%
           int roleId = (Integer)session.getAttribute(Constant.USER_TYPE);
           String sessionID=(String)request.getAttribute("SELECTION_SESSION_ID");
           String action=(String)request.getAttribute("action");
           String userID = (String)session.getAttribute(Constant.LOGIN_ID);       
           String sessionType=(String)request.getAttribute("sessionType");        
           %>
           <argument><%=sessionID%></argument>
           <argument><%=action%></argument>
           <argument><%=userID%></argument>
           <argument><%=sessionType%></argument> 
    </application-desc>
    </jnlp>If I use normal servlet - jsp using RequestDispatcher to forward request to a jsp which on fly creates jnlp, it shows the my custom splash screen. I am not very sure where is the difference. If I look at both generated jnlps they are almost one and the same. Can any one throw some insight on this.
    Thanks & Regards,
    Satyasai

    Hi Andrew,
    Thanks for your response.
    1. I have launched it number of times but no luck.
    2. I have written a jsp (using servlet + jsp no struts frame work) which will create jnlp on fly, which is showing my custom splash screen. If you refer in the initial post, it is not working with struts kind of framework. See the below jsp which shows custom splash screen. It worked without href.
    3. All jnlps are well formed and perfectly working in my development environment. For security purposes I have not shown some of the texts and logos.
    <% response.setContentType("application/x-java-jnlp-file");
      response.setHeader( "Pragma", "no-cache");
      response.setDateHeader( "Expires", 0 );%>
    <%@page import="java.util.ArrayList" %>
    <%
    String client = (String)request.getAttribute("clientLocation");
    String fileNames = (String)request.getAttribute("filenames");
    String url= (String)request.getAttribute("serverFilesLocation");
    String baseURL = "http://"+request.getLocalAddr()+":"+request.getServerPort()+request.getContextPath();
    %>
    <jnlp spec="1.0+" codebase="<%=baseURL%>/sw_jnlp"> 
      <information>
        <title>Softwares Download</title>
        <vendor>test</vendor>
        <icon href="/images/test1.jpg"/>
        <homepage href="docs/help.html"/>
       <description>Software Downloads </description>
            <icon kind="splash" href="images/logo_small.gif" />
       </information>
       <update check="timeout" policy="always"/>
          <security>
          <all-permissions/>
      </security>
      <resources>
        <j2se version="1.6+"/>        
        <jar href="mod.jar"/>  
      </resources> 
      <application-desc main-class="InstallSW">
      <argument><%=client%></argument>
      <argument><%=fileNames%></argument>
      <argument><%=url%></argument>
      </application-desc>
    </jnlp>Thanks & Regards,
    Satyasai

  • HT201269 one fine day, my i phone just hangup lost all contact detail. The screen only show a picture depicting cable connection to iTune. I have tried to restore iphone to factory setting but not working .  May i know how to proceed to recover lost conta

    one fine day yesterday, my i phone just hangup lost all contact detail. The screen only show a picture depicting cable connection to iTune. I have tried to restore iphone to factory setting but not working .  May i know how to proceed to recover lost contacts.

    I have taken it back to the Apple store genius bar, but they say they don't see anything wrong. Well unless you use it all day and experience the problems when they happen, you wont see anything wrong. But there are lots wrong with it. But this would be the same store as I purchased the phone. And they backed up my old Iphone 4, but were not able to get anything to load back onto my new phone. So, I lost pretty much everything. But over time, some of my contacts have started showing up, although i am still missing over 800 of them.

  • My iPhone 5 is not showing up in iPhoto over WiFi. Is this normal? Or will it only show up when I connect with USB ?

    My iPhone 5 is not showing up in iPhoto over WiFi.
    Is this normal?
    Or will it only show up when I connect with USB ?

    It will show up, when connected directly by USB as a camera.

  • I restarted my computer, but the screen only shows a flashing folder icon with a question mark. What to do?

    I restarted my computer, but the screen only shows a flashing folder icon with a question mark. What to do?

    It means that the system boot directory can't be found.
    See this support article for suggested actions
    Also see this discussion.

  • HT201406 while trying to update my ipod touch  something happened and now my screen only shows the apple logo and nothing else happens

    while updating my ipod touch something happened and now the screen only shows the apple logo that goes on-off. i dont know what to do,please somebody help me!

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • HT1386 iphone is frozen.  the screen only shows the usb plug icon, the word itunes and the itunes logo.  the whole phone is frozen

    iphone is frozen.  the screen only shows the usb plug icon, the word itunes and the itunes logo.  the whole phone is frozen

    Connect it to your computer and open iTunes, it will probably prompt you to restore it.

  • TV Screen says "No signal" when I try to use apple TV.  Was working.  ie Little Apple symbol would appear on TV screen, but now  get "No signal"  Internet connection working (light on apple TV)...tried new HDMI cable but still "No signal"

    TV Screen says "No signal" when I try to use apple TV.  Was working.  ie Little Apple symbol would appear on TV screen, but now  get "No signal"  Internet connection working (light on apple TV)...tried new HDMI cable but still "No signal" HELP please

    Same exact problem with my Apple TV.  Worked like a charm the first two times we used it.  Haven't used it in about a month, now no Apple logo when I turn it on, or the logo appears momentarily and distorted, and then an error message from my Samsung HD TV:  Mode Not Supported.
    What changed?
    Bill O'Rourke
    ***@***********.com
    <Email Edited by Host>

  • How are Windows Server Backup and Command Line Tools used in vCSHB installation?

    How are Windows Server Backup and Command Line Tools used during the installation of vCSHB?  Is it required in all types of deployments (PtoV, VtoV, PtoP)? Is it used to create the files that are put in the file share for the second node to use during vCSHB installation or is it only used during a vCSHB clone operation of a Physical to Physical deployment?  Are these tools not used in some deployments?

    You need Windows Server Backup installed on source and destination, and during the installation of vCSHB the installer will invoke the wbadmin (Windows Server Backup Utility) and will backup configuration and application data (application data is optimal but can decrease the sync time after installation of secondary node). On the secondary node you will need only run the vCSHB installer and everything will be restored.
    Check this blog entry for some more info about some problems in P2P deployment: http://www.vcoportal.de/2013/12/vmware-vcenter-server-heartbeat-restore-on-a-second-node-a-journey/

  • How do shutdown the weblogic server from the command line prompt using web logic 8.1

    I%u2019m currently using weblogic 6.1, but I will upgrade to weblogic 8.1. In weblogic 6.1, the following statements will shutdown the weblogic instance from the command line:
    java weblogic.Admin -url t3://hostname:port -username system -password abc SHUTDOWN
    How do I shutdown the weblogic server from the command line prompt using web logic 8.1.
    Any help will be greatly appreciated.
    Maria

    Maria <[email protected]> wrote:
    How do I shutdown the weblogic server from the
    command line prompt using weblogic 8.1?Greetings Maria! Use this document, located here:
    http://edocs.bea.com/wls/docs81/admin_ref/cli.html#1131733
    Hope this helps...
    Brian J. Mitchell
    Systems Administrator, TRX
    email: [email protected]
    office: +1 404 327 7238
    mobile: +1 678 283 6530

  • IPhone 5c was powered off; when turned back on screen only shows in black and white.  Have tried several times with no success. Any suggestions?

    I purchased the iPhone 5c about 4 months ago.  I turned it off briefly last night and when I turned it back on, the screen wallpaper and app icons are now in black and white.  I have tried turning it off and on again several times with no success; screen still shows only black and white.  All other functions of phone/text work correctly. Any suggestions on what to try?

    Hello Teri,
    You may have greyscale turned on. Try going to Settings > General > Accessibility and toggle that off and it should go back to color. Check out the page below for more information. 
    Invert Colors and Grayscale
    http://help.apple.com/iphone/8/#/iph3e2e1fb0
    Regards,
    -Norm G. 

Maybe you are looking for