J2SE 1.4 Release Candidate & Java Web Start

Hi:
We installed the J2SE 1.4 Release Candidate and our Java Web Start applications which previously worked now won't run. Upon their launch, there is the following error message :
Error Code 11 (11 Could not locate requested version) returned from server when accessing resource (http://java.sun.com/products/autodl/j2se, 1.4.0-rc)
Does anyone know why this is?
All replies are greatly appreciated!
Sincerely,
Mona

Hi:
I tried what you suggested in the jnlp file:
<j2se version="1.4 1.4.0-rc" href="http://java.sun.com/products/autodl/j2se"/>
and I am still getting the error:
The application has requested a version of the Java 2 platform (JRE) that is curently not locally installed. java Web Start was unable to automatically download and install the requested version. The JRE version must be installed manually.
Error Code 11 (11 Could not locate requested version) return from server when accessing resource: (http://java.sun.com/products/autodl/j2se, 1.4 1.4.0-rc)

Similar Messages

  • Problem with CORBA application deployed using Java Web Start 1_6_0.

    Java Web Start fans and experts:
    We have been using Java Web Start to deploy the client side of a CORBA-based application since the inception of Java Web Start ... including Java Web Start 1.0 right up through the present.
    With Java Web Start 1_6_0, we see evidence that Web Start is "tinkering with" the IOR that CORBA uses to communicate. In all previous versions of Java Web Start, independent of the JRE which the application uses, the stringified IOR have been the same size regardless of whether the application is deployed locally or via Java Web Start. With Java Web Start 1_6_0, the stringified IOR is much longer than the "real" IOR (again, regardless of the JRE used by the application itself). To me this smells like a bug in Java Web Start 1_6_0. Has anyone else observed this behavior?
    Here are some specifics .... I've run the same client application with various JREs both with and without Java Web Start as the deployment mechanism. The application was compiled and runs against servers that are running JDK 1_5_0_09.
    Here is the summary of my results from a Linux box running various JREs, various versions of Java Web Start, and also running as a non-JWS deployed application. I've listed the length of the stringified IOR in each case.
    JRE 1.5.0 non-JWS client: stringified IOR length = 344
    JRE 1.6.0 non-JWS client: stringified IOR length = 344 ... this, I think, excludes the JRE as the cause of these problems.
    Java WS 1.5.0, JRE 1.5.0 JWS client: stringified IOR length = 344
    Java WS 1.5.0, JRE 1.6.0 JWS client: stringified IOR length = 344
    Java WS 1.6.0, JRE 1.6.0 JWS client: stringified IOR length = 1568
    Java WS 1.6.0, JRE 1.5.0 JWS cleint: stringified IOR length = 1568
    In all cases, the stringified IOR length is determined by the service receiving the message and is always running JRE 1_5_9_09 and is
    always the same 344 characters in length UNLESS it was deployed
    using Java Web Start 1_6_0, in which case it in nearly 5 times as big!
    To me, it sure looks as if there is a problem with Java Web Start 1_6_0 to be adding so much to the stringified IOR. Note: it's hard to tell how different the underlying IOR is in the JWS 1_6_0 case because, unlike most other ORBs, the Sun ORB doesn't have a tool to extract the IOR into a human readable structure. However, I can think of no good reason why the identical application deployed using Java Web Start 1_6_0 should have a stringified IOR length that is different than that of the same application deployed in non-JWS form or should differ from the behavior seen in all previous releases of Java Web Start.
    Any clues or suggestions? Has anyone else observed this behavior?
    Thanks,
    John

    Hi.
    I got a different problem. My Corba application works in JRE 1.6, but doesn't works in JRE 1.5.X. I got an unexpected error and my console shows:
    getSubjectX500Principal NoSuchMethodError: java.lang NoSuchMethodError
    #### Java Web Start Error:
    #### null
    Can you help me?

  • Java Web Start and pack200

    Hi!
    What do I have to do to deploy my jar-archives that are packed with pack200? Do I have to change the jnlp files? Do I have to change any server settings?
    At the moment I successfully deploy our software using Java Web Start and simple jar files. If I pack with pack200 the archives shrink to 1/4 of the original size. That is nice, but when I put the xxx.jar.pack.gz files on our web server they are ignored by Java Web Start. Explicitly use the xxx.jar.pack.gz files in the jar arguments of the jnlp file doesn't work either (because JWS expects .jar archives there it tells me that the archives are corrupted).
    I figure that I have to change either the jnlp file, the server settings or the JWS clients settings.
    In another posting I have read that JWS in its normal configuration does not support pack200 at all. Is that correct? Or is there a straight-forward documentation how to use JWS with pack200?
    Thanks in advance,
    Chris,
    Hamburg

    Either the JWS plugin should try to request the "xxx.jar.pack.gz" file when it finds a "xxx.jar" reference in the jnlp file.No. You always request jar files, but the Accepted-Ecnoding can differ. If omitted or empty the server should send back the contents of the jar, if it's "gzip" than the stuff of the jar.gz (Content-Encoding: gzip) and if it "pack200-gzip" the stuff of the jar.pack.gz (Content-Encoding: pack200-gzip).
    The diagrams shown here make it pretty obvious:
    http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/pack200.html
    So... you need some server sided logic for handling that. If you can run servlets - great... just use Sun's example. If you can't, you'll need something else like apache's mod_rewrite and a php script.
    mod_rewrite is used for redirecting requests server sided. For example:
    http://onyx.bubblegumcrises.jp/jnlp/downloads/fake.jar [no real url]
    becomes:
    http://onyx.bubblegumcrises.jp/jnlp/jarbounce.php?file=fake.jar (internally) [no real url]
    by rewriting like this(jnlp/.htaccess):
    RewriteEngine On
    RewriteBase /jnlp
    RewriteRule downloads/(.*) jarbounce.php?file=$1 [NE]
    The php file then checks the filename (for security reasons) and the accepted encoding and sends the contents of a file (picked by AE and availability) back together with the correct headers (Content-Encoding reflecting the picked encoding and Content-Type set to "application/x-java-archive").
    I've written such a script yesterday and I'm going to make it public. However, I want to do some more checks before releasing it (I ended up here by googling around... I wanted to avoid reinventing the wheel again ;)).
    I'll post it over at JGO pretty soon now... in this thread:
    http://www.javagaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=OnLin;action=display;num=1097590751;start=0
    [I'm also planning to write an article about that, but that will take a bit longer]

  • JRE 1.6.0_04 and java web start

    Hello
    Version 1.6.0_04 now contains JAX-WS 2.1
    I want users install this version of java when when run my app with java web start.
    So my jnlp before:
    <resources>
        <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" />
      </resources>I try this:
    <resources>
        <j2se version="1.6.0.04+" href="http://java.sun.com/products/autodl/j2se" />
      </resources>And this
    <resources>
        <j2se version="1.6.0_04+" href="http://java.sun.com/products/autodl/j2se" />
      </resources>But when I launch jnlp,
    at com.sun.javaws.Launcher.downloadJREResource(Unknown Source)
         at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)Does url http://java.sun.com/products/autodl/j2se ready for java version 1.6.0_04 ?
    How can i do ?
    Edited by: Laurentapo on Jan 31, 2008 6:29 AM

    I honestly do believe I have read somewhere recently (some blog? where?!) that 1.6.0_04 won't be made available there as Sun would issue security release next (this? Feb?) month and did not want to bump versions in 2 consecutive months.
    At least that is what I understood. Now if only I could provide link to the source where I read that... , I am sorry, am old :)
    HTH,
    P

  • Java web start application runs too slow...

    Hello,
    I am new to Java Web Start. I have created a java web start application and when i enable web start from local Execution, then it works perfectly well. But when i upload it on server and then download the application, then it is too too slow...i mean it takes minutes to get the output on clicking some button....my jnlp file is as under:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <jnlp codebase="http://(web server code base)" href="launch.jnlp" spec="1.0+">
    <information>
    <title>ERD</title>
    <vendor>Deepika Gohil</vendor>
    <homepage href="http://appframework.dev.java.net"/>
    <description>A simple java desktop application based on Swing Application Framework</description>
    <description kind="short">ER Deign Tools</description>
    </information>
    <update check="always"/>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.5+"/>
    <jar href="ERD_1_2.jar" main="true"/>
    <jar href="lib/appframework-1.0.3.jar"/>
    <jar href="lib/swing-worker-1.1.jar"/>
    <jar href="lib/jaxb-impl.jar"/>
    <jar href="lib/jaxb-xjc.jar"/>
    <jar href="lib/jaxb1-impl.jar"/>
    <jar href="lib/activation.jar"/>
    <jar href="lib/jaxb-api.jar"/>
    <jar href="lib/jsr173_api.jar"/>
    <jar href="lib/ant-contrib-1.0b3.jar"/>
    <jar href="lib/jaxb-impl.jar"/>
    <jar href="lib/jaxb-xjc.jar"/>
    <jar href="lib/FastInfoset.jar"/>
    <jar href="lib/gmbal-api-only.jar"/>
    <jar href="lib/http.jar"/>
    <jar href="lib/jaxws-rt.jar"/>
    <jar href="lib/jaxws-tools.jar"/>
    <jar href="lib/management-api.jar"/>
    <jar href="lib/mimepull.jar"/>
    <jar href="lib/policy.jar"/>
    <jar href="lib/saaj-impl.jar"/>
    <jar href="lib/stax-ex.jar"/>
    <jar href="lib/streambuffer.jar"/>
    <jar href="lib/woodstox.jar"/>
    <jar href="lib/jaxws-api.jar"/>
    <jar href="lib/jsr181-api.jar"/>
    <jar href="lib/jsr250-api.jar"/>
    <jar href="lib/saaj-api.jar"/>
    <jar href="lib/activation.jar"/>
    <jar href="lib/jaxb-api.jar"/>
    <jar href="lib/jsr173_api.jar"/>
    </resources>
    <application-desc main-class="erd.screen1">
    </application-desc>
    </jnlp>
    I dont understand the reason. Could you please help me out.
    Thank you,
    Deepika Gohil.

    Check your web server's access logs to see how many requests web start is sending for each jar. After you've loaded the application the first time, for each subsequent launch, if you've got everything configured right, you should only see requests for the JNLP file and maybe some gifs because web start should load everything else out of the cache (if you're using the version-based download protocol). Or if you're using the basic download protocol, then you might see requests for each jar file, but even in this case, if your web server is prepared to evaluate the last-updated attribute for each jar request and for jars that have not changed, respond with no actual payload and a header value of Not-Modified, then that should run almost as fast.
    You might also want to consider changing the "check" attribute of the "update" element from "always" to "background" for a couple of reasons. It should allow your app to start sooner (but this means that you might have to launch once or twice after an update is applied to the web server before the update shows up on the workstation). Also, my impression is that "always" is broken and prevents web start from ever checking to see if your jnlp file has been updated if you launch your app from a web start shortcut - launching from a browser is less likely to have this problem, depending on how often your browser is configured to check for updated resources.

  • Java Web Start application doesn't run in Tomcat

    I successfully did a Java Web Start example for me to learn then I tried another one where I encountered an error:
    This is what Tomcat 6.0.18 says. The deploy is successful but when I try to run the web start application
    with this htmlcode
    <A href="http://localhost:8080/ConvertorValutar/app/launch.jnlp">I get this error witch leads me to think that it can't find the jar correct ?
    type Status report
    message /convertorvalutar/
    description The requested resource (/convertorvalutar/) is not available.Appendix:
    This is how I am doing the JAR
    jar cfvm convertorvalutar.jar myManifest2.mf Java*.class IRata*.class The myManifest2.mf is
    Main-class: JavaWebStart_Convertor witch is the main class
    This way I am doing the WAR:
    del *.war /F /Q
    jar cfv convertorvalutar.war app/* WEb-INF/*This is the correct directory structure
    &#9474;   faWar.bat
    &#9474;   convertorvalutar.war
    &#9474;
    &#9500;&#9472;&#9472;&#9472;app
    &#9474;       ConvertorValutar.jar
    &#9474;       launch.jnlp
    &#9474;
    &#9492;&#9472;&#9472;&#9472;WEB-INF
        &#9474;   web.xml
        &#9474;
        &#9492;&#9472;&#9472;&#9472;lib
                jnlp-servlet.jarThis is the web.xml
    <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <!-- Standard Action Servlet Configuration (with debugging) -->
    <web-app>
         <servlet>
              <servlet-name>JnlpDownloadServlet</servlet-name>
              <servlet-class>jnlp.sample.servlet.JnlpDownloadServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>JnlpDownloadServlet</servlet-name>
              <url-pattern>*.jnlp</url-pattern>
         </servlet-mapping>
    </web-app>
    </web-app>This is the jnlp:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="http://localhost:8080/convertorvalutar/app">
    <information>
         <title>Convertor Valutar</title>
         <vendor>remus.dragos</vendor>
         <description>Simple Java Web Start Example</description>
    </information>
    <resources>
         <j2se version="1.5+"/>
         <jar href="ConvertorValutar.jar"/>
    </resources>
    <application-desc main-class="JavaWebStart_Convertor"/>
    </jnlp>Where is the problem?
    Edited by: remus.dragos on Dec 9, 2008 7:14 PM

    I did checked the names again and I found that the makeJar.bat had an "issue".
    It missed the del *.jar and I had 2 uppercase letters like ConvertorValutar, instead of convertorvalutar.jar.
    After that I rebuild the war and deployed and it works :)
    Thanks.

  • Java Web Start 1.6 fails to start application without Java Consol on Vista

    Hi All,
    I've faced with problem related to starting my application in IE 7 on Vista SP1 using Java Web Start (JRE 1.6.0_12 and 1.6.0_13). I suppose that issue appears after 11th update of JRE 1.6 since it works fine before.
    There were set settings to indicate initial and maximal size of the Java heap in the JNLP file.
    Application consist of 2 JAR files and they are signed with the same certificate.
    When user tried to start application there is no any activity after accepting certificate. After starting application javaw.exe just disappeared from processes list without any message or error.
    When I changed default setting in Java Control Panel to show Java Console, I noticed that the application began to start. But it's not a solution of the issue, since all customers cannot be required to turn on Java console.
    I believe this is a bug in JRE as the application starts with Java console and doesn't without it.
    When I browsed the web looking for the solution or an advice I found Release notes for 1.6.0_014 where it was said that 6u14 Java Web Start failed to launch and notifies that JARs were not signed, if an insecure Java system property was specified in a sandbox JNLP file. In spite of that 14th updated wasn't used and there was no notification I tried to start application without settings for the Java heap and it worked.
    Could someone help me with advice, since the application cannot be started with default heap size settings.
    Thanks in advance.
    Edited by: vovanst on Jul 28, 2009 8:06 AM

    Hi,
    as the 6u15 just arrived and the above mentioned bug should've been fixed (though I was unable to verify through the release notes), the error is still in there.
    We have no timestamped jars, neither ours nor the bouncy castle ones, all certs are valid, ours is self signed.
    6u13 runs, 6u14/6u15 won't.
    I followed the instructions here: http://bouncycastle.org/devmailarchive/msg10415.html to no avail.
    The bcprov.jar is wrapped in its own jnlp and referred as extension from the "main" jnlp.
    The interesting parts of the stack trace are these:
    Caused by (via getCause): java.lang.SecurityException: JCE cannot authenticate the provider BC
         at javax.crypto.Cipher.getInstance(DashoA13*..)
         at javax.crypto.Cipher.getInstance(DashoA13*..)
    Caused by (via getCause): java.util.jar.JarException: Cannot parse https://localhost:8443/deploy/bcprov.jar
         at javax.crypto.SunJCE_c.a(DashoA13*..)
         at javax.crypto.SunJCE_b.b(DashoA13*..)
         at javax.crypto.SunJCE_b.a(DashoA13*..)
         at javax.crypto.Cipher.getInstance(DashoA13*..)
         at javax.crypto.Cipher.getInstance(DashoA13*..)
    For me it seems there's a problem with resolving the url of the bcprov.jar, which would explain the lack of a delay which normally occurs when JCE verifies the signature of the bcprov provider classes. The error pops up almost instantly.
    I'm clueless what to do now. Did Sun really achieve to completely destroy JCE provider functionality in Javaws, forcing us to use an alternative implementation?
    Patric

  • Java Web Start- Cannot launch Application. Pls help

    HI
    Ia m beginner in java web start. I creaate a simple swing application and try to launch it through web start. But I failed. My application jar file (sample.jar)contains only class files. No menifest file. Then I sign my "sample.jar" file and placed inside tomcat server: "webapps/root/WebStart/Sample". I also placed the "sample.jnlp" file in the above directory.The name of my main class is :"Sample" .Here is the content of sample.jnlp:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+"
      codebase="http://165.231199.164:8080"
    >
    <information>
      <title>Sample Launching Test</title>
      <vendor>FMO</vendor> 
      <homepage href="www.sun.com" />
      <description>Demonstration of JNLP</description>
    </information>
    <offline-allowed/>
    <security>
      <all-permissions/>
    </security>
    <resources>
      <j2se version="1.2+" />
      <jar href="/WebStart/Sample/sample.jar"/>
    </resources>
    <application-desc main-class="Sample" />
    </jnlp>Whenever I try to launch this application from the browser , it shows me following :
    An error occurred while launching/running the application.
    Title: Sample Launching Test
    Vendor: FMO
    Category: Unexpected Error
    RED
    Anybody pls help me here about how to Launch my application. Am I missing something?

    I fixed the porblem by modifying the sample.jnlp file. Here is the latest version:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase=http://[my-ip-address]:8080/WebStart/Sample>
    <href="sample.jnlp">
    <information>
      <title>Sample Launching Test</title>
      <vendor>FMO</vendor> 
      <homepage href="www.sun.com" />
      <description>Demonstration of JNLP</description>
      <offline-allowed/>
    </information>
    <security>
      <all-permissions/>
    </security>
    <resources>
      <j2se version=1.4+ />
      <jar href="sample.jar"/>
    </resources>
    <application-desc main-class="Sample" />
    </jnlp>

  • Java web start unable to auto download java 1.6.0_14

    Hi,
    My application runs on java 1.6.0_14 and i want clients to use either 1.6.0_14 or higher while running the application. In the JNLP file i have mentioned j2se version as 1.6.0_14+
    If the client machine has a java version lesser than 1.6.0_14, Java web start is not automatically downloading the given version from sun auto download site.
    Isn' t this version supported by Sun for auto download? If yes, how to get around this problem?

    Thanks..
    We do have a web page from which we access the jnlp and that web page has javascript to force download of a specific version of JRE. Once it downloads the application on client machine, it creates an icon on the desktop.
    If the application and jnlp is changed on the server, we want clients to go through the icon on desktop and still get the version of jre mentioned in the updated jnlp rather than having them go through the web page again do download the new JRE required...

  • Not getting application in Java Web Start

    Hello Sir,
    I wanted to run an application using Java Web Start. So, I created a jnlp file and i have mentioned the necessary jar files and the main class file. when I clicked on the jnlp file, the application is running in the Server using Java Web Start and its shortcuts are creates on the desktop and in the startmenu. I am able to run the application by clicking on the shortcut in the server. But I am unable to Download the application in the Java Web Start. It is not showing any Error Messages and the application is not running in the cleint machines.
    The contents of the jnlp file is as follows.
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for SimpleClass Demo Application -->
    <jnlp
    spec="1.0+"
    codebase="http://dev01/Dummy/New"
    href="SimpleClass.jnlp">
    <information>
    <title>SimpleClass Demo Application</title>
    <vendor>xxx</vendor>
    <!-- <homepage href="docs/help.html"/> -->
    <description>SimpleClass Demo </description>
    <description kind="short">A demo of Class A and Class B Dependencies in java Web Start.</description>
    <!-- <icon href="images/swingset2.jpg"/> -->
    <!-- <icon kind="splash" href="images/splash.gif"/> -->
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.4.0"/>
    <jar href="ClassLib.jar"/>
    </resources>
    <application-desc main-class="A"/>
    </jnlp>
    So, please Tell me how to solve this problem.
    Thanking you
    R.Venkatesh
    MakeLogic
    www.makelogic.com
    [email protected]

    Here is an example of my JNLP file that works.
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for the Passport Application -->
    <jnlp spec="1.0+" codebase="http://application:8080/application/" href="passport.jnlp">
      <information>
        <title>Passport</title>
        <vendor>WIM Consulting</vendor>
        <homepage href="http://www.wim.ca"/>
        <description>application Passport.</description>
        <description kind="short">Passport</description>
        <icon href="WIMicon.gif" width="32" height="32"/>
        <icon href="WIMsplash.jpg" kind="splash"/>
        <offline-allowed/>
      </information>
      <security>
        <all-permissions/>
      </security>
      <resources>
        <j2se version="1.4+"/>
        <jar href="passport.jar"/>
        <jar href="jars/kunststoff.jar"/>
        <jar href="jars/ldapsec.jar"/>
        <jar href="jars/localedata.jar"/>
        <jar href="jars/mysql-connector-java-3.0.6-stable-bin.jar"/>
      </resources>
      <application-desc main-class="ca.wim.passport.startup"/>
    </jnlp>I am not sure what the problem is.
    "I am unable to Download the application in the Java Web Start"
    If webstart in not actually downloading the jar - is the jar in the correct location?
    Is the server named dev01 and the directory structure actually /Dummy/New?
    Note: you do need to set up the mine type JNLP on your server,
    In my case the location of the JNLP file and main jar file passport is in the following directory.
    c:\Inetpub\WIMRoot\application
    The additional jars are in
    c:\Inetpub\WIMRoot\application
    I hope this may give you some clue
    rykk

  • Problem with win2000sp3 and Java web start

    I have JRE and Java web start (1.2.0_01, build b01) which come downloading file j2re-1_4_1_01-windows-i586-i.exe from sun.
    I have win2000pro running on my PC.
    I had updated win2000 to service pack 2 and everything was fine.
    Now i decided to update to service pack 3 (in the process I also updated other components) from Microsoft and:
    1) Java applets seem to be running fine within i.e.
    2) If i try to run an application from java web start my PC freezes and I have to restart it.
    3) Staroffice 6.0, which runs on Java, seems to be fine.
    I reinstalled both sp3 and jre etc, with no result.
    Is this a known problem?
    Thanks to all.
    Maurizio

    I suspect that you have hit a known problem with Swing on Java 1.4.1 with buggy video drivers. Do you have an ATI card? They are the worst offenders. ATI released new drivers for its Radeon line today. They fix the problem.

  • Java web start in Windows vista

    Hi,
    1)
    When i tried to launch my Java Web start application in Windows Vista (32bit) With Jre 1.6_06 the java web start did not loaded. the process terminates at certain points.
    By Remote debugging got to know,: It was exiting the application at different points at different time
    At some points it says ClassNotFoundException. No logs at cache location also.
    Is it due to the jars are not loaded properly?? Jnlp is pasted bellow
    2) another problem here is the system did not have the jre installed earlier. how does system identified the jnlp file format if no jre available first time??
    So rather auto download I have installed jre manually and was launching the application
    thanks a lot,
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp
      spec="1.0+"
      codebase="$$codebase" href="main.jnlp">
      <information>
        <title>Panel</title>
        <vendor>nc.</vendor>
        <homepage href="/index.html"/>
        <description>Panel</description>
        <description kind="short"></description>
         <icon href="$$context/images/Logo.gif" width="64" height="64" kind="default"/>
         <icon href="$$context/images/topLogo.jpg" kind="splash"/>
        <shortcut online='true'>
          <desktop/>
          <menu submenu="Panel"/>
        </shortcut>
        <related-content href="jar:app.jar!/conf/readme.pdf">
         <title>Readme</title>
         <icon href="images/Logo.gif"/>
      </related-content> 
      </information>
         <security>
          <all-permissions/>
       </security>
      <update check="always" policy="always"/>
      <resources>
            <java version="1.6.0._05+"  href="http://java.sun.com/products/autodl/j2se"/>
         <jar href="app.jar" version="1.0+" main="true"/>
         <jar href="common.jar" version="1.0+" download="lazy" main="false"/>
         <jar href="ext.jar" download="lazy" version="1.0+" download="lazy" main="false"/>
         <property name="jnlp.url" value="$$context/url"/>
      </resources>
      <application-desc main-class="com.app.MainPanel"/>       
    </jnlp>

    >
    2) another problem here is the system did not have the jre installed earlier. how does system identified the jnlp file format if no jre available first time??>See the latest [deployment advice|https://jdk6.dev.java.net/deployment_advice.html#JavaScript_used_for_deploying_Ja].
    Edited by: AndrewThompson64 on Jun 22, 2008 1:20 AM

  • Access local disk via Java Web Start??

    HI all ,
    I had saw the JWS document.
    It indicate we can't access local disk via JWS in that Security.
    If I need to access local disk by command, does anyone have better suggestion.
    And can I run *.bat via Java Web Start?
    Thanks very much for your help.
    Morris

    I do the both thing but still don't access to Local disk.
    I just write a simple test class within extend another that create a file (and of course sign it)but still can't create a file Local disk. this MAKE ME MAD and LOOSE MY JOB .
    here is my JNLP file:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for Pensionsrechner -->
    <jnlp
    spec="1.0+"
    codebase="file:///d:/"
    href="test.jnlp">
    <information>
    <title>Me</title>
    <vendor>myself</vendor>
    <homepage href="http://www.me.com"/>
    <description> test test test</description>
    <description kind="short">Test creatin of log file on client </description>
    </information>
    <offline-allowed/>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.4"/>
    <jar href="test2.jar"/>
    </resources>
    <application-desc main-class="secMan.Test"/>
    </jnlp>

  • Application started using Java Web Start doesn't launch the first time

    I have a Facebook photo uploader application that I plan to distribute using Java Web Start. I'm using Java 6u4 on Windows XP SP2 with 2GB of RAM. I have Java 6u3, Java 6u4 and Java 5 u14 installed and I'm sure the one used is Java 6u4.
    I signed my application and make use of all security settings.
    Here is my JNLP file:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+"
         codebase="http://www.antaki.ca/bloom/jars"
         href="http://www.antaki.ca/bloom/Bloom.jnlp">
    <information>
        <title>Bloom</title>
        <vendor>Carl Antaki</vendor>
        <icon kind="splash" href="http://www.antaki.ca/bloom/Bloom.jpg"/>
        <icon href="http://www.antaki.ca/bloom/bloom32.jpg"/>
      <shortcut online="false">
      <desktop/>
      <menu submenu="Bloom"/>
      </shortcut>
    </information>
        <resources>
            <j2se version="1.5+" initial-heap-size="32m" max-heap-size="128m" href="http://java.sun.com/products/autodl/j2se" />
            <property name="sun.java2d.d3d" value="false"/>
            <jar href="http://www.antaki.ca/bloom/jars/Bloom.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/BrowserLauncher2-1_3.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/SmartProgressMonitor.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/facebook.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/forms-1.1.0.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/json_simple.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/swing-worker-1.1.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/glazedlists_java15.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/swingx-0.9.1.jar"/>   
            <jar href="http://www.antaki.ca/bloom/jars/jhbasic.jar"/>
       </resources>
    <security>
         <all-permissions/>
      </security>
    <application-desc main-class="ca.antaki.www.bloom.gui.Bloom" />
    </jnlp>Here is the link for my application http://antaki.ca/bloom/Bloom.jnlp
    The first time the application is installed using a link on the browser it's downloaded then the certificate dialog is shown, after that I check the checkbox to accept the certificate permanently. The application doesn't load, it only loads the second time although I see it in the task manager. If I don't accept the certificate permanently it does load. This happens on both Firefox 2 and IE 7. I enabled the console and logging but nothing shows up there.That's really a weird problem, I wonder if Java Web Start is a viable deployment option, it does have great capabilities such as autoupdate but still seems to have important bugs.
    Does anyone have any clue about what is going on.
    The problem doesn't occur on Ubuntu 7.10.
    Thanks,
    Carl Antaki

    >
    You were right my XML file was not correct. I still couldn't find a valid JNLP validator. Sun has to provide that.>No they don't (have to supply a validator for their own document type, though it makes sense to do so), but yes they do (provide a tool that validates XML against schemas). Java can validate XML against a DTD or XSD.
    Check these two threads (and chase the links) for more details.
    JNLP xsd schema
    <http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/c6f65bf1df5f105d/30c6b7e2dc342dc4>
    Validate XML against DTD? XSD OK. SSCCE.
    <http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/5b997a1edb765b11/e831f3066eb4aa38>
    Look especially for the posts by Piotr Kobzda.
    I had a tool on my site based largely on Piotr's codes, that linked to a valid JNLP DTD and XSD, but unfortunately my site is offline at the moment. Andy assures me that the JNLP 6.0 DTD has been corrected for the developer ..download tutorials of web start, though the online (web site) version may still be invalid.

  • Problems to download with java web start

    Hola to all.
    I have the following problem. My application not discharge of the server when you exist a new version. The application runs off line but when exist a new version must download the last version, is the idea.
    If I execute for first time the "launch.jnlp" file ( that is to say in the client equipment never execute the application ) java web start connects and download correctly the application and starts application, and creates the icon on the screen. But if the application already existed java web start executes the application that there is in the client and not download the new version of the server. I think, that problem its happen because the time waiting the response of the server is too long, and executes the local application. To resolve this, i execute the application on java control panel in online mode, and this work ok, because find a new version.
    I leave you the launch.jnlp file.
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://XXX/sis/elpaso/" href="launch.jnlp">
        <information>
            <title>El Paso</title>
            <vendor>XXX</vendor>
            <homepage href="http://XXX/"/>
            <description>Sistema comercial de la empresa "El Paso".</description>
            <description kind="short">El Paso</description>
            <icon href="elpaso32.png" kind="default"/>
            <offline-allowed/>
            <shortcut online="false">
                             <desktop/>
                             <menu submenu="Sistemas XXX\El Paso"/>
                        </shortcut>
                        <related-content href="setup.jnlp">
                             <title>Configurar El Paso</title>
                             <description>Configuracion del sistema comercial de la empresa "El Paso"</description>
                             <icon href="elpasoSetup32.png" kind="default"/>
                             <offline-allowed/>
                             <shortcut online="false">
                                  <desktop/>
                                  <menu submenu="Sistemas XXX\El Paso"/>
                             </shortcut>
                        </related-content>
        </information>
        <security>
            <all-permissions/>
        </security>
        <update check="timeout" policy="always"/>
        <resources>
            <j2se version="1.6+"/>
            <extension name="jnlpcomponent1" href="jnlpcomponent1.jnlp"/>
        </resources>
        <application-desc main-class="elPaso.Main">
        </application-desc>
    </jnlp>

    The launch file seems invalid. Try checking it, and the entire launch, using JaNeLA.

Maybe you are looking for

  • Mini DisplayPort to Dual-Link DVI Adapter

    Hi, I am using the Apple Mini DisplayPort to Dual-Link DVI adapter to connect my 30" Apple Cinema Display (Aluminum) to my MacBook Pro 13" Retina, I am passing through the Belkin Thunderbolt Dock, so I connect the Dock to the MBP via the Thunderbolt

  • How do I maintain the configuration of my current Catalog in PSE9 when moving it to a new computer?

    While the Version Sets in my current catalog are collapsed, the version sets in the Catalog on the new computer have all become 'expanded'; this is unacceptable to me, as many of the pairs that are stacked as Version Sets have become separated.  Whil

  • Re: Chromebook not recognising network

    Hi all, I just received a Chromebook 2 yesterday and cannot get online with it. It connects to the home network but I cannot get the internet. When I check the network settings on the Chromebook the security says RSN, but when I check the encryption

  • Unable to perform clean install of win7 or winxp(!) in windpad 100w

    Hi all! Recently a friend of mine lent me his windpad 100w which had windows 8 installed in it [it originally had win7 which was removed and win 8 clean installed]. As I am not a big fan of win 8 [especially when installed in older devices] I decided

  • Previewing site design in other browsers.

    How does one go about previewing  the site design in other browsers as one is working / building it?. ie. Is the Muse Browser the best and only way with out full publishing or uploading the site?