JNLP in 1.5

What are the JNLP capabilites that are required in 1.5 of jRockit?
For example can I run JDNC via jRockit?
Also, Sun has auto-update Java automiatic, so when 1.5.1 ships, it will auto upgrade, is there something like it?
.V

Thanks alot Rob,
I just find it weird that the developer's guide talks
about the API and gives examples, without correctly
describing where it is.
On the webpage
(http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/examples.html) it says:
The jnlp.jar file is included in the JNLP
Developers Pack.
Well I can understand the jar not being included in the JRE, the documentation is certainly not updated and should be. The only way someone is going to find this is by looking at the JNLPDownloadServlet docs (which not everyone uses with webstart)
on http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/downloadservletguide.html
it says
Java Web Start includes a servlet in the sample/jnlp directory of the JDK.

Similar Messages

  • .jnlp downloading to wrong folder

    Ok, this is totally strange. Now my Java applet is downloading to http://www.finncraft.com/wp-content/uploads/2013/04/java.png
    Please look at the path that it is downloading to. VERY STRANGE.
    Yes, I do have Safari settings to download all files to the Download Folder.
    But why would it download to the Private Folder.
    I did not even know that I had this folder.

    To lessen the risk of malware infection, Safari now downloads Java WebStart application files to a hidden temporary folder and does not open them automatically. Although you may find instructions on the Internet for defeating this protection, I strongly advise against doing so.
    The right way to launch a WebStart application is to click the Downloads button at the right end of the Safari toolbar and then double-click the icon of the JNLP file you just downloaded. If you want to save the file for later use, click the magnifying-glass icon to reveal it in the Finder, and then move it. Otherwise it will be deleted at the next login.

  • Error in downloading jars through jnlp from Oracle 10.1.3 App Server

    I am working on migrating an application (containing two WARs) from Resin servlet server to Oracle 10.1.3 App Server. The migration was unit tested successfully. One of the WARs was implemented as a web service that downloaded JARs to the client PC through jnlp. When I tried to combine the two WARs into one (application) WAR, some of the JARs failed to download with an error message stating that they were "corrupted". 5 of the 6 "corrupted" contain native code, although two other native code JARs were able to download successfully.
    Most of the time the jnlp failure was accompanied with this error: WARNING: Exception returned by remote server: {0}
    javax.naming.NoPermissionException: Not allowed to look up java:comp/ServerAdministrator, check the namespace-access tag setting in orion-application.xml for details
         at com.evermind.server.rmi.RMIClientConnection.handleLookupResponse(RMIClientConnection.java:819)
         at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:283)
         at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:242)
         at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:224)
         at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
         at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    Error: Unexpected error during lookup : Lookup error: javax.naming.NoPermissionException: Not allowed to look up java:comp/ServerAdministrator, check the namespace-access tag setting in orion-application.xml for details; nested exception is:
         javax.naming.NoPermissionException: Not allowed to look up java:comp/ServerAdministrator, check the namespace-access tag setting in orion-application.xml for details
    Why is the jnlp failing when the WARs are part of the (main) application, but OK when it is part of a web service WAR? How can I overcome this problem?
    Thanks for your help.

    Hi Marc ,
    Thanks for your reply.....
    Did you mentioning the script (upgrade_10131_
    10133_oracle.sql) in the orabpel. I had run this script after applying the patch.
    Still iam facing the same issue.
    what need to be done?
    Could you please help me on this, because I need to do the Fault Handling Framework in BPEL and so i need the faultpolicy folder to be present.
    Since I got the folder by applying the patch, but what happend is when i try to check out for the activity status in the BPEL Console Activity tab it is showing the error as mentioned earlier. Any problem with patch implementation or any bug is there. So far i done the patch installation successfully without error and i upgraded the orabpel schema using the mentioned script also. Any other things i need to do?
    Regards,
    Ashok.

  • If I want to set -Xbootclasspath , how to do it in jnlp file

    if I want to set -Xbootclasspath to let jvm know my classpath, how to do it in jnlp file. or have other way to do it.

    If I want to orb, (now I am using openOrb) , I had to
    let jvm load Orb which I want to use. Did you put those Orb classes into jars and list them in the jnlp file of your Web Start app?
    Regards,
    Marc

  • Java web start error running Asset Editor or any jnlp page

    When I try to launch Asset Editor or Import/Export or any of the jnlp pages that runs using Java Web Start, I get an error. Java 7 Web start starts but It throws “Could not connect to Server. Please check your Java Web Start and Browser proxy settings”.
    I read conflicting opinions on the internet as to what version of JRE/JDK is needed and potentially some issues running Java Web start with Java 7. I have 64-bit java 1.7.0_45 JDK/JRE installed and no other version. I tried installing 32-bit 1.7.0_45 as well. I have tried to run it from 32-bit as well as 64-bit browser also. All situations provide the same error.
    However, when I install JRockit, it seems to work fine. But we cannot use jrockit. We have to use IBM JDK/JRE 7 eventually. Currently, the java web start does not work on Oracle Java as well as IBM JRE.
    Any help is much appreciated.

    I found a solution for this problem. We have to apply patch 17634436.
    https://support.oracle.com/epmos/faces/ui/patch/PatchDetail.jspx?_afrLoop=149081897091441&patchId=17634436&_afrWindowMode=0&_adf.ctrl-state=xfsajjmff_74
    Just thought it will be useful for anyone encountering this problem.

  • How can I create  program JNLP

    I have a program (javafx)
    this program includ swingButton to open SwingFileChooser.
    In netbean6.71 can run this program on standard execution
    run command in command windows
    javafx -jar test.jar the program is ok
    but
    I run the test.jnlp ,swing button is not ok
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/D%3A/JAVA/MyBlog/test2/dist/" href="test2.jnlp">
    <information>
    <title>test2</title>
    <vendor>kevnlin</vendor>
    <homepage href="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/D%3A/JAVA/MyBlog/test2/dist/"/>
    <description>test2</description>
    <offline-allowed/>
    <shortcut>
    <desktop/>
    </shortcut>
    </information>
    <resources>
    <j2se version="1.5+"/>
    <property name="jnlp.packEnabled" value="true"/>
    <property name="jnlp.versionEnabled" value="true"/>
    <extension name="JavaFX Runtime" href="http://dl.javafx.com/1.2/javafx-rt.jnlp"/>
    <jar href="test2.jar" main="true"/>
    <jar href="lib/customizer.jar"/>
    <jar href="lib/dt.jar"/>
    <jar href="lib/jmf.jar"/>
    <jar href="lib/tools.jar"/>
    <jar href="lib/mediaplayer.jar"/>
    <jar href="lib/multiplayer.jar"/>
    <jar href="lib/sound.jar"/>
    </resources>
    <application-desc main-class="com.sun.javafx.runtime.main.Main">
    <argument>MainJavaFXScript=test2.Main</argument>
    </application-desc>
    <update check="background">
    </jnlp>
    how can I crate jnlp with javafx command

    how can I crate jnlp with javafx command Run javafxpackager
    Note: the generated JNLP is incorrect. Not sure if that's the source of your troubles, but anyway, it is better to add a final slash to the update tag:
    {color:#8000A0}*<update check="background"/>*{color}

  • JNLP - Swing application compiled in jdk1.5 not working in jdk1.6

    I have one swing application, compiled in jdk 1.5 and deployed in JNLP with jdk 1.5. When client machine try to access the application and having jre 1.5 then it works fine. but if client machine having jre 1.6 or version greater than 1.5 then application does not work properly.
    Please help me, i got stuck and not able to solve the problem.
    this is my JNLP
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://10.1.1.145:8080/uttimesheet" href="launch.jnlp">
    <information>
    <title>TimeSheet Portal</title>
    <vendor>Geometric Global</vendor>
    <description>A simple java desktop application based on Swing Application Framework</description>
    <description kind="short">TimeSheet Portal</description>
    <homepage href="http://appframework.dev.java.net"/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.5+" />
    <jar href="UTTimeSheet.jar" main="true" download="eager"/>
    <jar href="lib/antlr-2.7.5H3.jar" download="eager"/>
    <jar href="lib/appframework-1.0.3.jar" download="eager"/>
    <jar href="lib/asm.jar" download="eager"/>
    <jar href="lib/cglib-2.1.jar" download="eager"/>
    <jar href="lib/commons-collections-2.1.1.jar" download="eager"/>
    <jar href="lib/commons-logging-1.0.4.jar" download="eager"/>
    <jar href="lib/dom4j-1.6.jar" download="eager"/>
    <jar href="lib/hibernate3.jar" download="eager"/>
    <jar href="lib/jta.jar" download="eager"/>
    <jar href="lib/log4j-1.2.9.jar" download="eager"/>
    <jar href="lib/poi-3.0.2.jar" download="eager"/>
    <jar href="lib/postgresql-8.3-603.jdbc3.jar" download="eager"/>
    <jar href="lib/swing-layout-1.0.3.jar" download="eager"/>
    <jar href="lib/swing-worker-1.1.jar" download="eager"/>
    <jar href="lib/swingx-0.9.2.jar" download="eager"/>
    </resources>
    <application-desc main-class="timesheetproject.TimeSheetProjectApp">
    </application-desc>
    </jnlp>
    Thanks in Advance.

    Thanks Luca for your time,
    we have deployed application in tomcat and changed the home page of tomcat to our application home page(html page). and url is http://10.1.1.145:8080/
    Application home page contain link to jnlp. so whenever user click on link (in home page) then jnlp will execute and launch the swing application.
    do you need some more clarification?
    below is the home page(html).
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Launch TimeSheet Portal via JNLP</title>
    </head>
    <body>
         <center>
              <br>
              <img src="images/Geo-logo.JPG" />          
              <br>
              <hr width="70%" />
              <br>
              <table width="70%">
                   <tr><td> </td></tr>
                   <tr>
                        <td colspan="2" align="center">
                             <align="center">
                                  <h2>Welcome to TimeSheet Portal.</h3>
                             </align>
                        </td>
                   </tr>
                   <tr><td> </td></tr>
                   <tr><td> </td></tr>
                   <tr>
                        <td align="center">
                             <align="center">
                                  <h3><u>Live Sites:</u></h3>
                             </align>
                        </td>
                        <td align="center">
                             <align="center">
                                  <h3><u>Demo Sites:</u></h3>
                             </align>
                        </td>
                   </tr>
                   <tr>
                        <td width="50%" align="center">
                             <img src="images/launchPortal.png" onmouseover="this.src='images/launchPortalMouseOver.png';" onmouseout="this.src='images/launchPortal.png';" border="0"/>          
                             <br><br>
                             <img src="images/launchAdminPortal.png" onmouseover="this.src='images/launchAdminPortalMouseOver.png';" onmouseout="this.src='images/launchAdminPortal.png';" border="0"/>          
                        </td>
                        <td width="50%" align="center">
                             <img src="images/demoPortal.png" onmouseover="this.src='images/demoPortalMouseOver.png';" onmouseout="this.src='images/demoPortal.png';" border="0"/>
                             <br><br>
                             <img src="images/demoAdminPortal.png" onmouseover="this.src='images/demoAdminPortalMouseOver.png';" onmouseout="this.src='images/demoAdminPortal.png';" border="0"/>
                        </td>
                   </tr>
                   <tr><td> </td></tr>
                   <tr><td> </td></tr>
         </table>
         <table width="70%">
              <tr><td> </td></tr>
              <tr><td> </td></tr>
              <tr><td align="center">
                   FAQ   |  
                   Help   |  
                   Why Timesheet   |  
                   Report a bug   |  
                   Contact Us   |  
    Subtask Mapping   
              </td></tr>
         </table>
         <br><br><br><br>
         <table width="70%" bgcolor="#C0C0C0" style="vertical-align: bottom">
              <tr>
                   <td colspan="2" align="center" style="vertical-align: bottom" bgcolor="#C0C0C0">
                        ©<font size="1.5" face="Verdana"> 2008 Geometric Ltd. All rights reserved.<br>
                             Best optimized for a resolution of 1024 and above. JRE 1.5 is a pre-requisite                          for using these applications.
                        </font>
                   </td>
              </tr>
         </table>
         </center>
    </body>
    </html>
    Thanks.

  • Signed, cached JNLP applet doesn't start when updating from 1.6 to 1.7

    Hi, yesterdays forced upgrade from Java6 to Java7 uncovered a nasty surprise for us:
    We're running a game client through JNLP embedded in the browser using signed all-permission jars. The certificate is definitely valid and hasn't timed out.
    When upgrading from 1.6 to 1.7 the applet won't start because of a supossed permission violation for the cached jars. Web start thinks that the jars in the cache are not signed (although they are).
    Deleting the applet cache through the control panel, or deploying a new version of the applet both solves the problem as then the cached version will be overwritten with a newly downloaded version, and everything works fine from then on until switching back to 1.6 again.
    Are 1.6 vs. 1.7 cached, signed jars not compatible? Something to do with pre-validation? Wouldn't it be a good idea to completely invalidate the applet cache in the JRE installer? Is this a bug on the JRE side, or are we somehow not using JNLP the right way (we're running the game for 2 years now, and a couple of million players have played the game since then on JRE6, so I assume we're using JNLP basically the right way).
    Also, early JRE7 preview versions didn't seem to have this problem, I remember testing JRE7 intensively a few months back without any problems, however I'm not sure whether the cache remained intact when installing the preview JRE7 runtime.
    Here are the console traces, please excuse the German, hopefully it's still clear what happens.
    Oops, unfortunately I can only send 30k characters per post. I'd be happy to send you more traces, and additional information. Thanks in advance :)
    Here's a trace when going from 1.6 to 1.7 with the failed permission validation:
    Java-Plug-in 10.5.1.255
    JRE-Version verwenden 1.7.0_05-b05 Java HotSpot(TM) Client VM
    Benutzer-Home-Verzeichnis = C:\Users\aweissflog
    c: Konsolenfenster löschen
    f: Objekte in Finalisierungs-Queue finalisieren
    g: Garbage Collect
    h: Diese Hilfemeldung anzeigen
    l: Class Loader-Liste ausgeben
    m: Speicherauslastung drucken
    o: Logging auslösen
    q: Konsole ausblenden
    r: Policy-Konfiguration neu laden
    s: System- und Deployment-Eigenschaften ausgeben
    t: Threadliste ausgeben
    v: Thread-Stack ausgeben
    x: Class Loader-Cache leeren
    0-5: Trace-Ebene auf <n> setzen
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.definition value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.
    security: property package.definition new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws
    security: property package.definition value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws
    security: property package.definition new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy
    security: property package.definition value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy
    security: property package.definition new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
    security: property package.definition value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.definition new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
    network: Created version ID: 1.7.0.05
    network: Created version ID: 1.7
    network: Cacheeintrag nicht gefunden [URL: http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp?__cv=7833172affa6ff4e182d8b1e7ac0ebe500, Version: null]
    cache: Cannot get resource from cache: http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp?__cv=7833172affa6ff4e182d8b1e7ac0ebe500
    network: Cacheeintrag nicht gefunden [URL: http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp?__cv=7833172affa6ff4e182d8b1e7ac0ebe500, Version: null]
    network: Cacheeintrag nicht gefunden [URL: http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp?__cv=7833172affa6ff4e182d8b1e7ac0ebe500, Version: null]
    network: Verbindung von http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp?__cv=7833172affa6ff4e182d8b1e7ac0ebe500 mit Proxy=DIRECT wird hergestellt
    network: Verbindung von http://xxxxxxxxxxx.xxxxxxxxxxx.com:80/ mit Proxy=DIRECT wird hergestellt
    security: Blacklist-Entzugsprüfung ist aktiviert
    cache: Trying to update in place C:\Users\aweissflog\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\26\7672fd9a-3ab71d78.idx
    cache: Upgrade writing to disk for C:\Users\aweissflog\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\26\7672fd9a-3ab71d78
    network: http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp?__cv=7833172affa6ff4e182d8b1e7ac0ebe500 wird mit Cookie "bpLandingPage_fallback=http%253A%252F%252Fxxxxxxxxxxx.xxxxxxxxxxx.com%252F; __utma=1.1858223971.1337797861.1339681185.1339685623.36; __utmb=1.12.10.1339685623; __utmc=1; __utmz=1.1338833129.25.9.utmcsr=xxxxxxxxxxx.xxxxxxxxxxxonline.com|utmccn=(referral)|utmcmd=referral|utmcct=/; __bpid=4fbd2a85L7T6qCGWXj0Q8oiTc5yG7ztB; drasasid=f1a4ef896018075f51bbe2c300b356ca" verbunden
    network: ResponseCode für http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp?__cv=7833172affa6ff4e182d8b1e7ac0ebe500: 200
    network: Codierung für http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp?__cv=7833172affa6ff4e182d8b1e7ac0ebe500: null
    network: Serverantwort: (length: 731, lastModified: Wed Jun 13 19:21:23 CEST 2012, downloadVersion: null, mimeType: application/x-java-jnlp-file)
    network: Not caching resource due to response header: cache-control: no-store
    network: Ressource wird heruntergeladen: http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp?__cv=7833172affa6ff4e182d8b1e7ac0ebe500
         Content-Length: 731
         Content-Encoding: null
    security: Prüfung der Liste vertrauenswürdiger Librarys ist aktiviert
    network: URL http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp?__cv=7833172affa6ff4e182d8b1e7ac0ebe500 in Datei C:\Users\aweissflog\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\34\1f2e02e2-2f6a1505-temp geschrieben
    network: Verbindung mit http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp?__cv=7833172affa6ff4e182d8b1e7ac0ebe500 trennen
    security: Datei mit der Liste vertrauenswürdiger Librarys wurde nicht gefunden
    network: Downloaded http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp?__cv=7833172affa6ff4e182d8b1e7ac0ebe500: C:\Users\aweissflog\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\34\1f2e02e2-2f6a1505
    temp: new XMLParser with source:
    temp: <?xml version="1.0" encoding="UTF-8" ?>
    <jnlp spec="1.0+" href="/applet/win32.jnlp">
    <information>
    <title>xxxxxxxxxxxOnlineWin32</title>
    <vendor>xxxxxxxxxxx Berlin GmbH</vendor>
    </information>
    <resources>
    <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" />
    <jar href="/applet/applet32.jar?__cv=d9e6e3109f4e716598e7faca54137e7e00" main="true" />
    </resources>
    <resources os="Windows">
    <nativelib href="/applet/native32.jar?__cv=63a18d5fb09ca89e097ff6485249fdcf00" />
    </resources>
    <applet-desc name="xxxxxxxxxxxOnlineWin32" main-class="N3.N3JavaPiggyBack" width="800" height="600" />
    <security>
    <all-permissions />
    </security>
    </jnlp>
    temp:
    returning ROOT as follows:
    <jnlp spec="1.0+" href="/applet/win32.jnlp">
    <information>
    <title>xxxxxxxxxxxOnlineWin32</title>
    <vendor>xxxxxxxxxxx Berlin GmbH</vendor>
    </information>
    <resources>
    <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
    <jar href="/applet/applet32.jar?__cv=d9e6e3109f4e716598e7faca54137e7e00" main="true"/>
    </resources>
    <resources os="Windows">
    <nativelib href="/applet/native32.jar?__cv=63a18d5fb09ca89e097ff6485249fdcf00"/>
    </resources>
    <applet-desc name="xxxxxxxxxxxOnlineWin32" main-class="N3.N3JavaPiggyBack" width="800" height="600"/>
    <security>
    <all-permissions/>
    </security>
    </jnlp>
    temp: returning LaunchDesc from XMLFormat.parse():
    <jnlp spec="1.0+" codebase="http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/" href="http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp">
    <information>
    <title>xxxxxxxxxxxOnlineWin32</title>
    <vendor>xxxxxxxxxxx Berlin GmbH</vendor>
    <homepage href="null"/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <update check="timeout" policy="always"/>
    <resources>
    <java href="http://java.sun.com/products/autodl/j2se" version="1.6+"/>
    <jar href="http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/applet32.jar?__cv=d9e6e3109f4e716598e7faca54137e7e00" download="eager" main="true"/>
    <nativelib href="http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/native32.jar?__cv=63a18d5fb09ca89e097ff6485249fdcf00" download="eager" main="false"/>
    </resources>
    <applet-desc name="xxxxxxxxxxxOnlineWin32" main-class="N3.N3JavaPiggyBack" documentbase="http://xxxxxxxxxxx.xxxxxxxxxxx.com/game" width="800" height="600"/>
    </jnlp>
    network: Cacheeintrag gefunden [URL: http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp, Version: null] prevalidated=true/0
    cache: Resource http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp has expired.
    network: Verbindung von http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp mit Proxy=DIRECT wird hergestellt
    network: http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp wird mit Cookie "bpLandingPage_fallback=http%253A%252F%252Fxxxxxxxxxxx.xxxxxxxxxxx.com%252F; __utma=1.1858223971.1337797861.1339681185.1339685623.36; __utmb=1.12.10.1339685623; __utmc=1; __utmz=1.1338833129.25.9.utmcsr=xxxxxxxxxxx.xxxxxxxxxxxonline.com|utmccn=(referral)|utmcmd=referral|utmcct=/; __bpid=4fbd2a85L7T6qCGWXj0Q8oiTc5yG7ztB; drasasid=f1a4ef896018075f51bbe2c300b356ca" verbunden
    cache: Upgrade of entry done
    cache: readIndexFile returning success
    cache: Trying to update in place C:\Users\aweissflog\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\39\1ff11027-574532ab.idx
    cache: Upgrade writing to disk for C:\Users\aweissflog\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\39\1ff11027-574532ab
    security: Datei mit der Liste vertrauenswürdiger Librarys wurde nicht gefunden
    network: ResponseCode für http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp: 304
    network: Codierung für http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp: null
    network: Verbindung mit http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp trennen
    temp: new XMLParser with source:
    temp: <?xml version="1.0" encoding="UTF-8" ?>
    <jnlp spec="1.0+" href="/applet/win32.jnlp">
    <information>
    <title>xxxxxxxxxxxOnlineWin32</title>
    <vendor>xxxxxxxxxxx Berlin GmbH</vendor>
    </information>
    <resources>
    <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" />
    <jar href="/applet/applet32.jar?__cv=d9e6e3109f4e716598e7faca54137e7e00" main="true" />
    </resources>
    <resources os="Windows">
    <nativelib href="/applet/native32.jar?__cv=63a18d5fb09ca89e097ff6485249fdcf00" />
    </resources>
    <applet-desc name="xxxxxxxxxxxOnlineWin32" main-class="N3.N3JavaPiggyBack" width="800" height="600" />
    <security>
    <all-permissions />
    </security>
    </jnlp>
    temp:
    returning ROOT as follows:
    <jnlp spec="1.0+" href="/applet/win32.jnlp">
    <information>
    <title>xxxxxxxxxxxOnlineWin32</title>
    <vendor>xxxxxxxxxxx Berlin GmbH</vendor>
    </information>
    <resources>
    <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
    <jar href="/applet/applet32.jar?__cv=d9e6e3109f4e716598e7faca54137e7e00" main="true"/>
    </resources>
    <resources os="Windows">
    <nativelib href="/applet/native32.jar?__cv=63a18d5fb09ca89e097ff6485249fdcf00"/>
    </resources>
    <applet-desc name="xxxxxxxxxxxOnlineWin32" main-class="N3.N3JavaPiggyBack" width="800" height="600"/>
    <security>
    <all-permissions/>
    </security>
    </jnlp>
    temp: returning LaunchDesc from XMLFormat.parse():
    <jnlp spec="1.0+" codebase="http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/" href="http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp">
    <information>
    <title>xxxxxxxxxxxOnlineWin32</title>
    <vendor>xxxxxxxxxxx Berlin GmbH</vendor>
    <homepage href="null"/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <update check="timeout" policy="always"/>
    <resources>
    <java href="http://java.sun.com/products/autodl/j2se" version="1.6+"/>
    <jar href="http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/applet32.jar?__cv=d9e6e3109f4e716598e7faca54137e7e00" download="eager" main="true"/>
    <nativelib href="http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/native32.jar?__cv=63a18d5fb09ca89e097ff6485249fdcf00" download="eager" main="false"/>
    </resources>
    <applet-desc name="xxxxxxxxxxxOnlineWin32" main-class="N3.N3JavaPiggyBack" documentbase="http://xxxxxxxxxxx.xxxxxxxxxxx.com/game" width="800" height="600"/>
    </jnlp>
    cache: JNLPPreverifyClassLoader.initialize: FAILED: http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/applet32.jar?__cv=d9e6e3109f4e716598e7faca54137e7e00
    basic: Plugin2ClassLoader.addURL2 called for http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/applet32.jar?__cv=d9e6e3109f4e716598e7faca54137e7e00
    basic: Plugin2ClassLoader.drainPendingURLs addURL called for http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/applet32.jar?__cv=d9e6e3109f4e716598e7faca54137e7e00
    basic: Plugin2ClassLoader.addURL2 called for http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/native32.jar?__cv=63a18d5fb09ca89e097ff6485249fdcf00
    basic: Plugin2ClassLoader.drainPendingURLs addURL called for http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/native32.jar?__cv=63a18d5fb09ca89e097ff6485249fdcf00
    network: LaunchDownload: concurrent downloads from LD: 4
    network: Total size to download: -1
    security: Security check for progress jars: allSigned=true
    network: SyncFileAccess.openLock: handled OverlappingFileLockException, remainint TO : 10000
    network: Cacheeintrag gefunden [URL: http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/applet32.jar?__cv=d9e6e3109f4e716598e7faca54137e7e00, Version: null] prevalidated=false/0
    cache: Resource http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/applet32.jar?__cv=d9e6e3109f4e716598e7faca54137e7e00 has expired.
    network: Verbindung von http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/applet32.jar?__cv=d9e6e3109f4e716598e7faca54137e7e00 mit Proxy=DIRECT wird hergestellt
    network: http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/applet32.jar?__cv=d9e6e3109f4e716598e7faca54137e7e00 wird mit Cookie "bpLandingPage_fallback=http%253A%252F%252Fxxxxxxxxxxx.xxxxxxxxxxx.com%252F; __utma=1.1858223971.1337797861.1339681185.1339685623.36; __utmb=1.12.10.1339685623; __utmc=1; __utmz=1.1338833129.25.9.utmcsr=xxxxxxxxxxx.xxxxxxxxxxxonline.com|utmccn=(referral)|utmcmd=referral|utmcct=/; __bpid=4fbd2a85L7T6qCGWXj0Q8oiTc5yG7ztB; drasasid=f1a4ef896018075f51bbe2c300b356ca" verbunden
    network: ResponseCode für http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/applet32.jar?__cv=d9e6e3109f4e716598e7faca54137e7e00: 304
    network: Codierung für http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/applet32.jar?__cv=d9e6e3109f4e716598e7faca54137e7e00: null
    network: Verbindung mit http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/applet32.jar?__cv=d9e6e3109f4e716598e7faca54137e7e00 trennen
    network: Downloaded http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/applet32.jar?__cv=d9e6e3109f4e716598e7faca54137e7e00: C:\Users\aweissflog\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\26\7672fd9a-3ab71d78
    network: Download Progress: jarsDone: 1
    network: Cacheeintrag nicht gefunden [URL: http://xxxxxxxxxxx-481.ah.bpcdn.net/applet/loading.gif?__cv=8948a154c2c16d3f2a836802397bee3a00, Version: null]
    network: Verbindung von http://xxxxxxxxxxx-481.ah.bpcdn.net/applet/loading.gif?__cv=8948a154c2c16d3f2a836802397bee3a00 mit Proxy=DIRECT wird hergestellt
    network: Verbindung von http://xxxxxxxxxxx-481.ah.bpcdn.net:80/ mit Proxy=DIRECT wird hergestellt
    cache: Upgrade of entry done
    cache: readIndexFile returning success
    network: CleanupThread used 403203 us
    network: Cacheeintrag gefunden [URL: http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/native32.jar?__cv=63a18d5fb09ca89e097ff6485249fdcf00, Version: null] prevalidated=false/0
    cache: Resource http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/native32.jar?__cv=63a18d5fb09ca89e097ff6485249fdcf00 has expired.
    network: Verbindung von http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/native32.jar?__cv=63a18d5fb09ca89e097ff6485249fdcf00 mit Proxy=DIRECT wird hergestellt
    network: http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/native32.jar?__cv=63a18d5fb09ca89e097ff6485249fdcf00 wird mit Cookie "bpLandingPage_fallback=http%253A%252F%252Fxxxxxxxxxxx.xxxxxxxxxxx.com%252F; __utma=1.1858223971.1337797861.1339681185.1339685623.36; __utmb=1.12.10.1339685623; __utmc=1; __utmz=1.1338833129.25.9.utmcsr=xxxxxxxxxxx.xxxxxxxxxxxonline.com|utmccn=(referral)|utmcmd=referral|utmcct=/; __bpid=4fbd2a85L7T6qCGWXj0Q8oiTc5yG7ztB; drasasid=f1a4ef896018075f51bbe2c300b356ca" verbunden
    network: ResponseCode für http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/native32.jar?__cv=63a18d5fb09ca89e097ff6485249fdcf00: 304
    network: Codierung für http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/native32.jar?__cv=63a18d5fb09ca89e097ff6485249fdcf00: null
    network: Verbindung mit http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/native32.jar?__cv=63a18d5fb09ca89e097ff6485249fdcf00 trennen
    network: Download Progress: jarsDone: 2
    network: Created version ID: 1.6+
    network: Created version ID: 1.7.0.05
    network: Created version ID: 1.7.0.05
    network: Created version ID: 1.7
    basic: LaunchDesc location: http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/win32.jnlp
    network: Created version ID: 1.0+
    network: Created version ID: 7.0
    basic: Ausnahme: Nicht signierte Anwendung fordert uneingeschränkten Zugriff auf das System an
    Nicht signierte Ressource: http://xxxxxxxxxxx.xxxxxxxxxxx.com/applet/applet32.jar?__cv=d9e6e3109f4e716598e7faca54137e7e00.
    ExitException[ 3]JNLPException[category: Sicherheitsfehler : Exception: null : LaunchDesc:
    <jnlp spec="1.0+" href="/applet/win32.jnlp">
      <information>
        <title>xxxxxxxxxxxOnlineWin32</title>
        <vendor>xxxxxxxxxxx Berlin GmbH</vendor>
      </information>
      <resources>
        <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
        <jar href="/applet/applet32.jar?__cv=d9e6e3109f4e716598e7faca54137e7e00" main="true"/>
      </resources>
      <resources os="Windows">
        <nativelib href="/applet/native32.jar?__cv=63a18d5fb09ca89e097ff6485249fdcf00"/>
      </resources>
      <applet-desc name="xxxxxxxxxxxOnlineWin32" main-class="N3.N3JavaPiggyBack" width="800" height="600"/>
      <security>
        <all-permissions/>
      </security>
    </jnlp> ]
         at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
         at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Ignored exception: ExitException[ 3]JNLPException[category: Sicherheitsfehler : Exception: null : LaunchDesc:
    <jnlp spec="1.0+" href="/applet/win32.jnlp">
      <information>
        <title>xxxxxxxxxxxOnlineWin32</title>
        <vendor>xxxxxxxxxxx Berlin GmbH</vendor>
      </information>
      <resources>
        <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
        <jar href="/applet/applet32.jar?__cv=d9e6e3109f4e716598e7faca54137e7e00" main="true"/>
      </resources>
      <resources os="Windows">
        <nativelib href="/applet/native32.jar?__cv=63a18d5fb09ca89e097ff6485249fdcf00"/>
      </resources>
      <applet-desc name="xxxxxxxxxxxOnlineWin32" main-class="N3.N3JavaPiggyBack" width="800" height="600"/>
      <security>
        <all-permissions/>
      </security>
    </jnlp> ]
    security: Zugriff auf Schlüssel und Zertifikat im Mozilla-Benutzerprofil: null
    security: Speicher für abgelehnte Sessionzertifikate zurücksetzen
    basic: Dialog type is not candidate for embedding

    Wouldn't it be a good idea to completely invalidate the applet cache in the JRE installer?Yes, I guess it should be an option for user of the app on first start after upgrade, not for the JRE installer. There are many large applications that users would want to avoid re-download.
    From the log, there is some hidden exception during first launch. The best way to proceed is to file a bug, including some guest/debugging access to the game.

  • Generated JNLP and closing the original browser window

    Hi All, This is my first post so bear with me. Here is my problem.
    I am using Web Start for an application.
    I need to check to see if web start is installed or not.
    If it is NOT I need to auto-install
    if it is I need to call a servlet that dynamically generates the jnlp with the user that I passed in as <arguments/> maybe other arguments in the future also
    I need to shut the original browser window
    I will use this servlet in multiple web apps
    I have it working like this but I don't think it is clean enough
    I call a servlet with the syntax checkJREServlet?USER=username
    this servlet writes out:
    <html>
    <body>
    <h1>Installing Java Runtime</h1>
    <OBJECT
    CLASSID="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    width="0" height="0"
    codebase="http://<myservler>/<plugins folder>/j2re-1_4_2-windows-i586.exe#Version=1,4,2,0">
    <PARAM NAME="code" VALUE="redirectAndClose.class"> //my applet class
    <PARAM NAME="archive" VALUE="RedirectUtil.jar"> //the jar where my applet class is stored
    <PARAM NAME="archive_cache" VALUE="RedirectUtil.jar">
    <PARAM NAME="type" VALUE="application/x-java-applet">
    <PARAM NAME="where_to_next" VALUE="http://<myservler>/<mywebapp>/openAppServlet?USER=username">
    You did not install Java.
    <p>Please use the <b>Back</b> button to return to the previous page.
    </OBJECT>
    </body>
    </html>
    I have redirectAndClose which is:
    import java.applet.Applet;
    import java.net.URL;
    import java.net.MalformedURLException;
    import netscape.javascript.*;
    public class redirectAndClose
    extends Applet
    java.util.Timer timer = null;
    int seconds = 5;
    public void start()
    try
    getAppletContext().showDocument(
    new URL(getCodeBase(), getParameter("where_to_next")), "_blank");
    //now we have to close ourselves in 5 seconds
    timer = new java.util.Timer();
    timer.schedule(new java.util.TimerTask()
    public void run()
    timer.cancel(); //Terminate the timer thread
    destroy();
    , seconds * 1000);
    catch(MalformedURLException e)
    throw new RuntimeException(e);
    public void destroy()
    super.destroy();
    //close this window because we don't need it
    JSObject win = (JSObject)JSObject.getWindow(this);
    win.eval("window.opener=self;self.close();");
    If try to close without a timer my entier session gets killed, including my webstart app that the openAppServlet wrote out the jnlp for
    I hate this because it is not definite. I want to DEFINITELY know when my webstart app is open and I can close this original window. Like a whenWindowExists then close me but I have no clue how to do this.
    The "where_to_next" location is a servlet that will dynamically build a jnlp file specific for each web app building it from parameters in web.xml for each individual web app. Basically I will have to store the actual name of the class, the jar href's I will be needing, title, vendor, description, basically everything that can be different.
    So what I need is some kind of library so I can include it in multiple web apps EASILY. I don't want to have to write a document on how to include this thing. It should be self explainatory. I originally just mapped to the first servlet in my web.xml and then included the jar file but it appears to be non-existent in my project. Maybe some suggestions on what others would do may help me.
    Thanx in advance

    I don't want to use a timer because who knows if the servlet that writes out the dynamic jnlp will get hung up for a little while or any number of other reasons. If that did happen the timer would kick off and close my web start app. I cannot have this.

  • How to include .class or xml file in a JNLP

    Hi,
    I want to include an xml file in the JNLP file. Can any one tell me the syntax to include it plzzzzz.....
    Regards,
    Prasanna

    You mean as related-content?
    If so, put it in a native-lib as myXml.jar and have href="jar:myXml.jar!/actualXmlFile.xml"
    Bye.

  • A JNLP based Java application is not running on JDK/JRE 1.7

    I am planning to upgrade users to java 7 up40. The generated command line that I am calling via the Process is working find when I run using jre1.6 but it doesn't work when I call javaw via jre1.7. Very strange that if i update xbootclasspath to use 1.5 or 1.7 it works but it doesn't work jre1.6.
    As suggested in other forums I updated the version in jnlp to 6 and also cleared the stderr and stdout from the process error stream and input stream in separate thread but still the thread is locked in FileInputStream.readBytes and doesnt move futher with jre1.6 as the classbootpath.
    any help on this regards will be helpful.

    btw this happens only if user does not have java 7 installed on their machine. As the app tries to install and run and so picks up javaw to java 7 and jre 1.6 in xbootclasspath.

  • Getting JNLP error: "exception: Unable to load resource:-"

    I've posted this question in Stackoverflow... but didn't get any answer...
    Hi Guys,
    I'm brand new to JNLP.
    I've been trying to fix this for straight 2 days... I have no clue...
    I've a dynamic web project in eclipse. And I wanted to append an Applet in html. It works fine, if I append it without using jnlp. But if I use jnlp, its throws exception...
    Please help me....
    Here is my package structure:
    DaaS
    DaaS\WebContent
    \WebContent\AppletToJS.html
    \WebContent\appletToJS.jnlp
    \WebContent\FirstApplet.jar
    "FirstApplet.jar" contains the Applet class - AppletToJS.java
    Here is my `jnlp` file:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp href="appletToJS.jnlp">
    <information>
    <title>Dynamic Tree Demo</title>
    <vendor>Dynamic Team</vendor>
    </information>
    <resources>
    <!-- Application Resources -->
    <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" />
    <jar href="FirstApplet.jar" main="true" />
    </resources>
    <applet-desc
    name="Applet To JS"
    main-class="acid.AppletToJS"
    width="300"
    height="300">
    </applet-desc>
    <update check="background"/>
    </jnlp>
    Here is my `html` file:
    <html lang="en-US">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    <body>
    <script src="http://www.java.com/js/deployJava.js"></script>
    <script>
    var attributes = { code:"acid.AppletToJS",  width:100, height:100} ;
    var parameters = {jnlp_href: "appletToJS.jnlp"} ;
    deployJava.runApplet(attributes, parameters, "1.6");
    </script>
    <!-- <applet codebase="./jars" archive="FirstApplet.jar" Code="acid.appletToJS.class" width=200 Height=100></applet> -->
    <p id="summary"/>
    </body>
    </html>
    while I run my html page I got following error:
    <code>
    exception: Unable to load resource: http://localhost:8080/jars/FirstApplet.jar.
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://localhost:8080/jars/FirstApplet.jar
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by:
    java.io.FileNotFoundException: http://localhost:8080/jars/FirstApplet.jar
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://localhost:8080/jars/FirstApplet.jar
    </code>
    **http://localhost:8080/jars/FirstApplet.jar**
    - I really don't understand where the hell "/jars" coming from???
    - My project name is "DaaS" and my jar, html page and jnlp page are in same directory. And I'm running my html page on tomcat-7 server.
    Edited by: user1202074 on Feb 7, 2012 4:24 PM
    Edited by: user1202074 on Feb 7, 2012 4:24 PM

    It must be coming from the commented-out <applet> tag somehow.
    You aren't specifying an 'id' element. See the Deploy Java Toolkit documentation.

  • ".. access denied: ... jnlp read" error in applet with NO .jnlp file!

    I'm trying to embed a Java program called ImageJA [http://pacific.mpi-cbg.de/wiki/index.php/ImageJA] into a webpage. I'm using ASP.NET with XHTML 1.0. Since I'm embedding it as an object in the html code, it should not cause any issues from that end. Unforunately, when I try I get an error saying "java.security.AccessControlException: access denied (java.util.PropertyPermission jnlp read)". The weird thing is, there is no jnlp file anywhere (including the .jar and codebase).
    I'm able to run it successfully if I change the permissions in my java.policy file, but that solution only works for my local machine.
    The .jar file (the only one) has been signed (I believe). I followed the steps as suggested [http://download.oracle.com/docs/cd/E17476_01/javase/1.4.2/docs/guide/plugin/developer_guide/rsa_signing.html], with the exception of contacting VeriSign/Thawte (I wish to have this be self signed).
    This seems like a very odd issue to me, and I'm running out of hair. Can anyone help?
    Here's my html code:
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
    <title>Untitled Page</title>
    </head>
    <body>
    <form id="form1" runat="server">
    <div>
    <object
    classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    codebase = "[http://java.sun.com/update/1.5.0/jinstall-1_5-windows-i586.cab]"
    width="500" height="500">
    <param name = "code" value = "ij.ImageJApplet.class" />
    <param name = "codebase" value = "ImageJA" />
    <param name = "archive" value = "ij-1.44a.jar" />
    <param name="type" value="application/x-java-applet;jpi-version=1.4.2" />
    <param name="scriptable" value="true" />
    </object>
    </div>
    </form>
    </body>
    </html>
    Edited by: Sythion on Jul 13, 2010 2:19 PM

    Sythion wrote:
    I'm trying to embed a Java program called ImageJA [http://pacific.mpi-cbg.de/wiki/index.php/ImageJA] ..
    I suggest you take up the problem through the [channels suggested by the API developers|http://pacific.mpi-cbg.de/wiki/index.php/Help:Contents].

  • Deploying Application Without codebase and an extension (installer.jnlp)

    Hi,
    It seems that the deployment file can be relative to launch.html but the extension file requires the codebase attribute.
    This launch fails
    http://www.dksy.net/auctionzoom/downloads/download/jpawebstart-no-codebase/launch.html
    this launch succeeds
    http://www.dksy.net/auctionzoom/downloads/download/jpawebstart/launch.html
    In the second case, the codebase attribute is specified
    <jnlp codebase="http://www.dksy.net/auctionzoom/downloads/download/jpawebstart/" href="installer.jnlp" spec="1.0+">This reference documents the deployment file (launch.jnlp), but not the extension (installer.jnlp).
    http://java.sun.com/docs/books/tutorial/deployment/deploymentInDepth/deployingWithoutCodebase.html
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
        <head>
            <title>Test page for launching the application via JNLP No Codebase</title>
        </head>
        <body>
            <h3>Test page for launching the application via JNLP No Codebase</h3>
            <p><a href="javascript:deployJava.launchWebStartApplication('launch.jnlp');">Launch Paystation application</a></p>
            <script src="http://java.com/js/deployJava.js"></script>     
        </body>
    </html>
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <jnlp href="launch.jnlp" spec="1.0+">
        <information>
            <title>JPAWebStart</title>
            <vendor>AZ</vendor>
            <homepage href=""/>
            <description>JPAWebStart</description>
            <description kind="short">JPAWebStart</description>
            <shortcut online="true">
                <!-- create desktop shortcut -->
                <desktop/>
                <!-- create menu item for this app under the major heading -->
                <menu submenu="JPAWebStart"/>
            </shortcut>
            <related-content href="README.TXT">
                <title>Readme File</title>
                <description/>
            </related-content>
        <offline-allowed/>
    </information>
        <security>
            <all-permissions/>
        </security>
        <update check="background" policy="prompt-update"/>
        <resources>
    <j2se version="1.6+"/>
    <jar eager="true" href="JPAWebStart.jar" main="true"/>
        <jar href="lib/antlr-2.7.6.jar"/>
    <jar href="lib/asm.jar"/>
    <jar href="lib/asm-attrs.jar"/>
    <jar href="lib/cglib-2.1.3.jar"/>
    <jar href="lib/commons-collections-2.1.1.jar"/>
    <jar href="lib/commons-logging-1.1.jar"/>
    <jar href="lib/dom4j-1.6.1.jar"/>
    <jar href="lib/ehcache-1.2.3.jar"/>
    <jar href="lib/jdbc2_0-stdext.jar"/>
    <jar href="lib/jta.jar"/>
    <jar href="lib/hibernate3.jar"/>
    <jar href="lib/hibernate-tools.jar"/>
    <jar href="lib/hibernate-annotations.jar"/>
    <jar href="lib/hibernate-commons-annotations.jar"/>
    <jar href="lib/hibernate-entitymanager.jar"/>
    <jar href="lib/javassist.jar"/>
    <jar href="lib/ejb3-persistence.jar"/>
    <jar href="lib/derby.jar"/>
    <jar href="lib/log4j-1.2.15.jar"/>
    <jar href="lib/jardiff.jar"/>
    <jar href="lib/jnlp-servlet.jar"/>
    <jar href="lib/jnlp.jar"/>
    <extension href="installer.jnlp" name="Installer" version=""/>
    </resources>
        <resources>
            <jar href="JPAWebStartMain.jar" main="false"/>
        </resources>
        <application-desc main-class="demo.main.JPADemo">
        </application-desc>
    </jnlp>
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp href="installer.jnlp" spec="1.0+">
        <information>
            <title>Installer</title>
            <vendor>AZ</vendor>
            <offline-allowed/>
        </information>
        <security>
            <all-permissions/>
        </security>
        <resources>
            <j2se version="1.6+" />
            <jar href="installer.jar" main="true" />
        </resources>
        <installer-desc main-class="com.az.installer.Installer">
            <!-- Application Arguments -->
        </installer-desc>
    </jnlp>

    Can't see any question mark and can't actually guess one, you wrote out quite a dissertation on it. Are you giving away 10 dukes for the first one telling you 'CORRECT!' (I really hope so)?
    Bye.

  • JNLP file not opening in Windows 8 and IE 10

    I am trying to launch the ROES ordering tool through WHCC prints and it has always worked on my other IE 10 through Windows 7 but on my new computer with Win 8 I cannot get it to launch because of the JNLP file not opening... and it won't work on desktop
    mode either... What do I need to do??

    Hi,
    Have you installed the java Runtime Environment?
    If not, I would also suggest you to refer to the link to install the latest version of Java:
    http://www.java.com/en/
    Please note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Then follow the link to set default programs as Java for the file:
    Choose the programs
    Windows uses by default
    http://windows.microsoft.com/en-US/windows-8/choose-programs-windows-uses-default
    Hope this helps,
    Ada Liu
    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.

  • Applet JNLP not accessible in browser ?

    Hello,
    I am new to java and to programiing in general. Thanks in advance for your help. I can't get an Applet to work in any browser (Google, Mozilla, IE) while it works fine in appletviewer. Why?
    The Source:
    import java.awt.*;
    public class Hwa extends java.applet.Applet {
    public void init (){
         add(new Label("Hello World"));
    compiled in Hwa.class, then in a Hwa.jar file,
    The JNLP file:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="" href="">
    <information>
    <title>Hw Applet</title>
    <vendor>CCN</vendor>
    </information>
    <resources>
    <j2se version="1.4+" href="http://java.sun.com/products/autodl/j2se" />
    <jar href="http://www.ccca.eu/Hwa.jar" />
    </resources>
    </jnlp>
    The HwaAPJNLP.html file:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html dir="ltr" lang="fr"><head>
    <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
    <title>CCCAEU</title>
    <meta content="" name="author">
    <style type="text/css"></style>
    <link rel="stylesheet" href="CCCAEU.css" type="text/css">
    </head><body>
    <applet code="Hwa.class" ref_jnlp="Hwa.jnlp" height="50" width="150"></applet>
    </body></html>
    All files are copied on the http://ccca.eu/. of the server
    Executing appletviewer HwaAPJNLP.html (local copy of the html file) works just fine BUT launching http://www.ccca.eu/HwaAPJNLP.html returns a blank rectangle with the JAVA console message "Detected from bootclasspath: C:\\PROGRA~1\\Java\\jre7\\lib\\deploy.jar" and "Incompatible magic value 1008812135 in class file Hwa". WHY ?
    FYI, the ".htaccess" file on my WebServer is
    AddType x-mapp-php5 .php
    AddType application/x-java-jnlp-file JNLP
    Thanks in advance for your support.

    Thank you Baftos. It works but I still do not understand the logic. Before, my Hwa.class was only accessible through my Hwa.jar file on http://www.ccca.eu/Hwa.jar, itself defined as the reference if the jnlp file, see above. My understanding of the jnlp logic is that the html page will load the Hwa.class from the Hwa.jar file. Is that correct ? Thanks to your post, I copied the Hwa.class directly under http://www.ccca.eu/Hwa.class and yes, when accessed through the browser, I can download it. Even better, my previous html page above - unchanged - now WORKS. Thanks for letting me know where I think wrong.

Maybe you are looking for

  • Time Capsule or AirPort Extreme + External Hard Drive for iTunes Library

    Hi, I currently have an Airport Extreme (Gigabit) and am planning on getting a MacBook Pro. What I want to do is keep my iTunes Library on an External Hard Drive and attach it to my AirPort so I can access it anywhere in the house (and world). Now I

  • New S10-3T . . bad broadcom . . .now returned. New one coming. Maybe a fluke?

    For those that are intereested or that have ordered from  them recently. I recevied the S10-3T with the 8 cell battery, 1gb mem, and n450 pineview. From the get go in quick start wifi and wimax were not highlighted when asked for network set-up but o

  • Problems importing .mov file

    I am all of a sudden having problems importing .mov files from my camera in iPhoto '08. Can't get them to import in Image Capture either...On the import preview screen, all that comes up are empty "boxes". If I highlight one of the boxes, it shows th

  • Java to UML tool - need some advice

    Hi there, I'm developing a UML case tool as part of my final year project for my BSc degree in Computer Science, the aim of this tool is to covert Java source code into a UML Class diagram. When given a directory containing the current project files

  • Touchscreen just stopped working Satelite u840t

    Can anyone advise, I am now running windows 8.1 but my touchscreen isnt working?