Download Error in java webstart

Hi
I am getting a error while downloading application from java webstart
I am using Apache 2.2 http server running on port 80
In that in htdocs folder I have placed my jnlp file and my jar file
My jnlp file is like this .
All file are in the folder htdocs/products/
<jnlp spec="1.0+" codebase="http://127.0.0.1/" href="/products/note.jnlp">
<information>
<title>My Application </title>
<vendor>ABC Pvt Ltd</vendor>
<homepage href="http://127.0.0.1/products/"/>
<description>Sample Test</description>
<shortcut>
<desktop/>
<menu submenu="My Application 2.0 (web)"/>
</shortcut>
</information>
<security><all-permissions/></security>
<resources>
<j2se version="1.4+" />
<jar href="/products/Notepad.jar" main="true" download="eager"/>
</resources>
<application-desc main-class="Notepad">
</application-desc>
</jnlp>
The error which i am getting is
An error occurred while launching/running the application.
Title: My Application
Vendor: ABC Pvt Ltd
Category: Download Error
Bad MIME type returned from server when accessing resource: http://127.0.0.1/products/note.jnlp - text/plain
JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]
at com.sun.javaws.cache.DownloadProtocol.doDownload(U nknown Source)
at com.sun.javaws.cache.DownloadProtocol.isLaunchFile UpdateAvailable(Unknown Source)
at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc (Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unkn own Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Please help ...
How to solve this issue .
But the same file is working in Tomcat Server
please let me know
Thank you
Prakash

Bad MIME type returned from server..A server should return a content type of..
application/x-java-jnlp-file for JNLP
files.
Tomcat probably does that by default, but
other servers might need to be told about it.
See your server help, for how to set a
content-type.

Similar Messages

  • Error with Java WebStart Signed Jars on 1.6.0_19's new Mixed  Code

    All,
    First, we have a valid code signing certificate/keystore from Thawte that works for signing webstart jars as of update 18. For some reason, if you run our webstart application on update 19 JRE, the runtime believes that some of the jars are not signed and some are. Even though we create and sign the jars in the exact same way and after inspecting the jar the JRE believes are not signed they have the necessary signing entries/files in the manifest folder. Not sure why the signing process would work for some of our jars and not for others. There is nothing really all that different.
    So, because the JRE believes some of the jars are not signed the new security warning "...contains both signed and unsigned code." pops up ( [Error Description|http://java.com/en/download/help/error_mixedcode.xml] ). If I press yes, then I get the following exception.
    java.lang.SecurityException: trusted loader attempted to load sandboxed resource from https://path-to-our.jar
         at com.sun.deploy.security.CPCallbackHandler$ParentCallback.check(Unknown Source)
         at com.sun.deploy.security.CPCallbackHandler$ParentCallback.access$1400(Unknown Source)
         at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at main.JwsMain.main(JwsMain.java:32)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)If I press "no" I get the following exception (I get this exception if I try to run our WebStart application with no signed jars as well, no warnings about missing certs, just straight to error)
    java.lang.NullPointerException
         at com.sun.deploy.cache.CachedJarFile.findMatchingSignerIndices(Unknown Source)
         at com.sun.deploy.cache.CachedJarFile.entryNames(Unknown Source)
         at com.sun.deploy.cache.DeployCacheJarAccessImpl.entryNames(Unknown Source)
         at com.sun.deploy.security.CPCallbackHandler.assertTrust(Unknown Source)
         at com.sun.deploy.security.CPCallbackHandler.access$700(Unknown Source)
         at com.sun.deploy.security.CPCallbackHandler$ParentCallback.check(Unknown Source)
         at com.sun.deploy.security.CPCallbackHandler$ParentCallback.access$1400(Unknown Source)
         at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at main.JwsMain.main(JwsMain.java:32)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)Does anyone know why this would be happening? It only occurs with the new update. We use the same keystore and process for signing all of our jars so it really doesn't make since why some of them work and some of them don't. Also, our JNLP is correct or it wouldn't work in update 18.
    Edit: We've tried it on Windows XP SP3 and compiled the code using update 18 and used jarsigner both from 18 and 19 with same results.
    Edited by: chenthor on Apr 1, 2010 8:44 AM
    Edited by: chenthor on Apr 1, 2010 8:51 AM

    Hi All,
    So we've been battling this bug for a year or so now, and I've come up with a solution to the webstart bugs
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6967414
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6805618
    (see the bugs for more details)
    From what we can tell the bug stems from the way that the jar signers information is "cached" by webstart.
    When a jar is loaded by webstart, it is represented by a CachedJarFile instance. When loading and using classes the signature for the jar is verified. The signers used is the one that is stored in the CachedJarFile instances. These "signers" are stored as SoftReferences. SoftReferences are like WeakReferences, except that they only become eligible for garbage collection when there is a small amount of available heaps space remaining and that the object is only softly reachable. (That's a pretty crude description, but it will do for now)
    So what we found was happening is that when the JVM reached a certain heap size threshold and needed to allocate more heap, that these soft references (and hence the signers information) werebeing garbage collected. if you attempt to load a class after this you get the security error.
    So I came up with a hack to work around this. At application startup, iterate through all of the CachedJarFile objects on the classpath and create a hard reference to each of the signers info by putting them in a static list somewhere. From our tests this seems to work. (though with the intermittent nature of the problem, it has been hard to prove conclusively, though we've had some success repro-ing the issue, by reducing the intial heap size and using VisualVM to watch for heap expansions and forcing gc's)
    Below is the code for the hack, to run it just call JarSignersHardLinker.go() and it will do some sanity checks (running on webstart on java 1.6 update 19 or higher) before spawning a new thread to create hard refs for all signers info for all jars on the classpath.
    import java.io.IOException;
    import java.lang.ref.SoftReference;
    import java.lang.reflect.Field;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.net.JarURLConnection;
    import java.net.URL;
    import java.net.URLConnection;
    import java.util.ArrayList;
    import java.util.Enumeration;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Set;
    import java.util.jar.JarFile;
    * A utility class for working around the java webstart jar signing/security bug
    * see http://bugs.sun.com/view_bug.do?bug_id=6967414 and http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6805618
    * @author Scott Chan
    public class JarSignersHardLinker {
        private static final String JRE_1_6_0 = "1.6.0_";
         * the 1.6.0 update where this problem first occurred
        private static final int PROBLEM_JRE_UPDATE = 19;
        public static final List sm_hardRefs = new ArrayList();
        protected static void makeHardSignersRef(JarFile jar) throws java.io.IOException {
            System.out.println("Making hard refs for: " + jar );
            if(jar != null && jar.getClass().getName().equals("com.sun.deploy.cache.CachedJarFile")) {
                 //lets attempt to get at the each of the soft links.
                 //first neet to call the relevant no-arg method to ensure that the soft ref is populated
                 //then we access the private member, resolve the softlink and throw it in a static list.
                callNoArgMethod("getSigners", jar);
                makeHardLink("signersRef", jar);
                callNoArgMethod("getSignerMap", jar);
                makeHardLink("signerMapRef", jar);
    //            callNoArgMethod("getCodeSources", jar);
    //            makeHardLink("codeSourcesRef", jar);
                callNoArgMethod("getCodeSourceCache", jar);
                makeHardLink("codeSourceCacheRef", jar);
         * if the specified field for the given instance is a Softreference
         * That soft reference is resolved and the returned ref is stored in a static list,
         * making it a hard link that should never be garbage collected
         * @param fieldName
         * @param instance
        private static void makeHardLink(String fieldName, Object instance) {
            System.out.println("attempting hard ref to " + instance.getClass().getName() + "." + fieldName);
            try {
                Field signersRef = instance.getClass().getDeclaredField(fieldName);
                signersRef.setAccessible(true);
                Object o = signersRef.get(instance);
                if(o instanceof SoftReference) {
                    SoftReference r = (SoftReference) o;
                    Object o2 = r.get();
                    sm_hardRefs.add(o2);
                } else {
                    System.out.println("noooo!");
            } catch (NoSuchFieldException e) {
                e.printStackTrace();
                return;
            } catch (IllegalAccessException e) {
                e.printStackTrace();
         * Call the given no-arg method on the given instance
         * @param methodName
         * @param instance
        private static void callNoArgMethod(String methodName, Object instance) {
            System.out.println("calling noarg method hard ref to " + instance.getClass().getName() + "." + methodName + "()");
            try {
                Method m = instance.getClass().getDeclaredMethod(methodName);
                m.setAccessible(true);
                m.invoke(instance);
            } catch (SecurityException e1) {
                e1.printStackTrace();
            } catch (NoSuchMethodException e1) {
                e1.printStackTrace();
            } catch (IllegalArgumentException e) {
                e.printStackTrace();
            } catch (IllegalAccessException e) {
                e.printStackTrace();
            } catch (InvocationTargetException e) {
                e.printStackTrace();
         * is the preloader enabled. ie: will the preloader run in the current environment
         * @return
        public static boolean isHardLinkerEnabled() {
             boolean isHardLinkerDisabled = false;  //change this to use whatever mechanism you use to enable or disable the preloader
            return !isHardLinkerDisabled && isRunningOnJre1_6_0_19OrHigher() && isRunningOnWebstart();
         * is the application currently running on webstart
         * detect the presence of a JNLPclassloader
         * @return
        public static boolean isRunningOnWebstart() {
            ClassLoader cl = Thread.currentThread().getContextClassLoader();
            while(cl != null) {
                if(cl.getClass().getName().equals("com.sun.jnlp.JNLPClassLoader")) {
                    return true;
                cl = cl.getParent();
            return false;
         * Is the JRE 1.6.0_19 or higher?
         * @return
        public static boolean isRunningOnJre1_6_0_19OrHigher() {
            String javaVersion = System.getProperty("java.version");
            if(javaVersion.startsWith(JRE_1_6_0)) {
                //then lets figure out what update we are on
                String updateStr = javaVersion.substring(JRE_1_6_0.length());
                try {
                    return Integer.parseInt(updateStr) >= PROBLEM_JRE_UPDATE;
                } catch (NumberFormatException e) {
                    //then unable to determine updatedate level
                    return false;
            //all other cases
            return false;
          * get all the JarFile objects for all of the jars in the classpath
          * @return
         public static Set<JarFile> getAllJarsFilesInClassPath() {
              Set<JarFile> jars = new LinkedHashSet<JarFile> ();
             for (URL url : getAllJarUrls()) {
                 try {
                     jars.add(getJarFile(url));
                 } catch(IOException e) {
                      System.out.println("unable to retrieve jar at URL: " + url);
             return jars;
         * Returns set of URLS for the jars in the classpath.
         * URLS will have the protocol of jar eg: jar:http://HOST/PATH/JARNAME.jar!/META-INF/MANIFEST.MF
        static Set<URL> getAllJarUrls() {
            try {
                Set<URL> urls = new LinkedHashSet<URL>();
                Enumeration<URL> mfUrls = Thread.currentThread().getContextClassLoader().getResources("META-INF/MANIFEST.MF");
                while(mfUrls.hasMoreElements()) {
                    URL jarUrl = mfUrls.nextElement();
    //                System.out.println(jarUrl);
                    if(!jarUrl.getProtocol().equals("jar")) continue;
                    urls.add(jarUrl);
                return urls;
            } catch(IOException e) {
                throw new RuntimeException(e);
         * get the jarFile object for the given url
         * @param jarUrl
         * @return
         * @throws IOException
        public static JarFile getJarFile(URL jarUrl) throws IOException {
            URLConnection urlConnnection = jarUrl.openConnection();
            if(urlConnnection instanceof JarURLConnection) {
                // Using a JarURLConnection will load the JAR from the cache when using Webstart 1.6
                // In Webstart 1.5, the URL will point to the cached JAR on the local filesystem
                JarURLConnection jcon = (JarURLConnection) urlConnnection;
                return jcon.getJarFile();
            } else {
                throw new AssertionError("Expected JarURLConnection");
         * Spawn a new thread to run through each jar in the classpath and create a hardlink
         * to the jars softly referenced signers infomation.
        public static void go() {
            if(!isHardLinkerEnabled()) {
                return;
            System.out.println("Starting Resource Preloader Hardlinker");
            Thread t = new Thread(new Runnable() {
                public void run() {
                    try {
                        Set<JarFile> jars = getAllJarsFilesInClassPath();
                        for (JarFile jar : jars) {
                            makeHardSignersRef(jar);
                    } catch (Exception e) {
                        System.out.println("Problem preloading resources");
                        e.printStackTrace();
                    } catch (Error e) {
                         System.out.println("Error preloading resources");
                         e.printStackTrace();
            t.start();
    }

  • Jar files download problems in Java Webstart with JRE 1.6

    We have encountered a few problems in Java Webstart with JRE 1.6
    In JRE 1.5, the jar files are getting downloaded onto the client
    machine with it's original names.
    Example :
    Server File Name : acm.jar
    Client File Name : RMacm.jar
    But in JRE 1.6, the jar files are getting downloaded with improper file names.
    Example :
    Server File Name : acm.jar
    Client File Name : 4fb074cc-66fc7407
    Moreover the path itself seems to be invalid.
    Example Path :
    JRE 1.5 path:
    C:\Documents and Settings\Administrator\Application
    Data\Sun\Java\Deployment\cache\javaws\https\D17.16.23.11\P443\DMtest\DMwebStart
    JRE 1.6 path:
    C:\Documents and Settings\Administrator\Application
    Data\Sun\Java\Deployment\cache\6.0\12
    Due to this, we are facing Classpath problems.
    What changes do we have to make to the code, for Java
    Webstart to work ?
    We are using JBoss 4.0.4 and JDK 1.5 in the Server
    On the client machine, we have IE 6 and JRE 1.6.01
    Help would be appreciated.

    Ask your Java Web Start question at:
    http://forum.java.sun.com/forum.jspa?forumID=38

  • Download error for Java 1.4.0

    I am using Windows ME with IE 6, trying to download Jave 1.4.0. I get 98% finished then I get an internal error. Is it an error on the download or is it on my end? "File download of [j2re-1_4_0_01-windows-i586-i.exe] was not completed successfully, Server has internal error"

    Sounds like it's a problem at the server farm...
    They're normally very good, this burp should pass. Give it an hour or so and retry. Keep what you already d/l'd, they can resume the download if everything worked ok.

  • Download error in windows 95

    Hi,
    We are using windows 2000, and NT. WebStart works well under these OS. We do have a machine running windows 95 and webstart is giving the following error:
    JNLPException[category: Download Error : Exception:
    java.net.UnknownHostException: qa-mvrii.ins :
    LaunchDesc: null ]
    Any Suggestions...
    We have tried making it work by manually changing the proxy settings for the Application Manager, but we still get the same error.

    There is an issue with some older versions of winsock on Windows 95. I am not sure of the version number, but try updating winsock.

  • Java Webstart app fails with Java 1.4?

    My Java Web Start application runs great with JRE 2 v1.5 and later. However, my customers running 1.4 run into a strange download error when they attempt to launch the application. I've reproduced this on multiple different computers running 1.4, so it appears to be specific to that version of the runtime. The exception details are below.
    My best guess is that java is unable to cache the jnlp file locally because it is using the query parameters in the file name. Does anyone have any ideas what is wrong here, and whether there's a way for me to fix it or workaround it?
    Thanks,
    Sean
    JNLPException[category: Download Error : Exception: java.io.FileNotFoundException: D:\Users\seandr\AppData\LocalLow\Sun\Java\Deployment\javaws\cache\http\Dmillisec\P80\DMmillisecond3\DMdownload\DMjws\DM3_0_3_1\java-XMInquisit.jnlp?ScriptPath=http&p3A&p2F&p2Fmillisec&p2Ftestcases&p2F3.x&p2F2.x&p2Fandyedmonds&p2Fanomaly3.exp&&UserId=seandr&&SubjectId=74365108&&MonkeyMode=human&&EncryptionKey=F0397A7A-4C4F-49a8-B330-AEB66D14A32D&&FinishPage=http&p3A&p2F&p2Fmillisec&p2Fmillisecond3&p2Fweb&p2Ffinish.aspx2099tmp (The filename, directory name, or volume label syntax is incorrect) : LaunchDesc: null ]
    at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(Unknown Source)
    at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
    at com.sun.javaws.cache.DownloadProtocol.getLaunchFile(Unknown Source)
    at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
    at com.sun.javaws.Launcher.downloadResources(Unknown Source)
    at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
    at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Java Web Start 1.4.2_17 Console, started Wed Sep 24 18:39:49 PDT 2008
    Java 2 Runtime Environment: Version 1.4.2_17 by Sun Microsystems Inc.

    Try here:
    http://java.sun.com/products/javawebstart/index.html

  • Get error when lauching java webstart.

    Hi all,
    I just use the java webstart framework of Eclipse 3.1. I successfully launch the sample rcp but fail to lauch the real rcp product after successfully downloading all the jar and even popup the sign security window. I check the log, here are the error msg:
    !ENTRY org.eclipse.update.configurator 2005-10-19 21:16:48.49
    !MESSAGE c:\Documents and Settings\Ryan\Application Data\Sun\Java\Deployment\cache\javaws\http\Dlocalhost\P9081\DM.DyWebPortlet\DMproduct\plugins is not a valid plugins directory.
    Actually, I use portlet as the web interface. I think that will not be the problem as I successfully lauch the sample through portal.
    I even take a look on the cache of the javaws, the structure of those two is the same...
    could anyone give me some suggestions? thank you very much!

    A NoClassDefFoundError is thrown not when a class is missing, but rather when a class in the hierachy is not available (e.g. Class B extens Class A; B is available but A is not).
    I would expect that the most likely cause of this is Fedora Core 4 using gnu classpath, which is an open source implmentation of the Java runtime libraries.
    We've not certified using gnu classpath at all; I would suggest as an initial test to download Sun's JRE for Linux from java.sun.com, and re-try launching the workbench
    Regards,
    Dermot.

  • Urgent: download error from webstart

    Hi, Gurus:
    When webstart download some big jar files from server to client side, most of time, we got download error and got to re-connect server to download the rest of that jar file.
    So is it possible to saperate the big jar files into small pieces when download with java web start? Or any good idea to speed up the download with java web start?
    Your prompt reply will be great appreciated!
    Jane

    OK, all my fault. Turns out it was a firewall my office uses that stops streaming!
    All sorted.

  • I'm all of a sudden getting a ( Java Script Application "download error" message) when trying to use Ant Video Downloader. What could cause this?

    When an FLV is playing and I want to download it. I click on the Ant download button. A little window appears reading ( Java Script Application "download error" message)

    This works for me on YouTube.
    Cancel the download and then immediately right click and choose retry.

  • Login Error Window pops up while starting a JAVA Webstart Application

    Hello members,
    I am getting this Login Error window whenever I try to run a downloaded application of Java Web Start. Please help me regarding this.
    Since, I am not able to upload the picture here directly, I cant really show you the image of the error message.
    Please let me know, if you need further details regarding this error message. Kindly get back with a solution as this is critical for my project.

    Could you at least post textual parts of the window? By the way, you can upload the image everywhere in the net and link the url here in the forum.

  • Java download error...different message though

    Having same downloading errors with new Java Update...error reads: Unable to launch - following required field is missing from launch file: <jnlp>
    I am NOT_ a computer person...please HELP! New job working from home and need these downloads!
    Thank you!

    951923 wrote:
    Having same downloading errors with new Java Update...error reads: Unable to launch - following required field is missing from launch file: <jnlp>
    I am NOT_ a computer person...please HELP! New job working from home and need these downloads!Are you downloading any of the java files in these links?
    http://www.java.com/en/download/index.jsp
    http://www.oracle.com/technetwork/java/archive-139210.html
    Thanks,
    Hussein

  • Download Error Exception in 1.6. Works in all older versions.

    I had some customers complaining that Java Web Start stopped working after upgrading to Java 1.6. I got the following after I upgraded.
    JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]
         at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(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)
    I get the following on the console:
    #### Java Web Start Error:
    #### Unable to load resource: http://barracudaserver.com/products/BarracudaDrive/HttpsTunnelWS.jar
    I have cleared the Java cache, but the Java client still sends a " If-Modified-Since" so the server responds with a 304 Not Modified.
    If-Modified-Since: Wed, 31 Dec 1969 23:59:59 GMT
    That is a long time ago.
    I have attached the HTTP headers at the bottom.
    Any ideas?
    BTW, it would be great if SUN could make things backward compatible. This JNLP file is integrated inside a product and requires that all customers upgrade the product.
    A copy of the JNLP file is available online at:
    http://barracudaserver.com/products/BarracudaDrive/HttpsTunnelClient.html
    GET /products/BarracudaDrive/HttpsTunnelWS.jar HTTP/1.1
    content-type: application/x-java-archive
    accept-encoding: pack200-gzip,gzip
    User-Agent: JNLP/6.0 javaws/1.6.0_01 (b06) Java/1.6.0_01
    UA-Java-Version: 1.6.0_01
    Host: barracudaserver.com
    Cache-Control: no-cache
    Pragma: no-cache
    Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
    Connection: keep-alive
    If-Modified-Since: Wed, 31 Dec 1969 23:59:59 GMT
    Cookie: __utma=72791808.1501057734.1166376940.1177887848.1178031465.9; __utmz=72791808.1177300532.7.3.utmccn=(referral)|utmcsr=localhost|utmcct=/setup/wizard/SetAdmin.lsp|utmcmd=referral; phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bi%3A-1%3B%7D
    HTTP/1.1 304 Not Modified
    Date: Tue, 01 May 2007 17:44:38 GMT
    Server: BarracudaServer.com (Posix)
    Connection: Keep-Alive
    Content-Type: application/java
    Etag: 461adac6
    Last-Modified: Tue, 10 Apr 2007 00:31:02 GMT
    Content-Length: 0
    Message was edited by:
    wi_ni
    Message was edited by:
    wi_ni

    JNLP version ?
    i tried to look up in my control panel
    and i have in user tab
    1.6     1.6.0_01     http://java.sun.com/products/autodl/j2se     C:\Program Files\Java\jre1.6.0_01\bin\javaw.exe     true
    system tab
    1.6     1.6.0_01     http://java.sun.com/products/autodl/j2se     C:\Program Files\Java\jre1.6.0_01\bin\javaw.exe     true
    and java -version is
    java version "1.6.0_01"
    Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
    Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
    here is my JNLP test program
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+" codebase="http://172.22.90.128/Rel05_01_052">
    <information>
    <title>JNLPTest</title>
    <vendor>JNLPTest</vendor>
    <description>JNLPTest</description>
    <offline-allowed/>
    </information>
    <security><all-permissions/></security>
    <resources>
    <j2se version="1.5" initial-heap-size="64m" max-heap-size="512m"/>
    <jar href="iMS/STS-6.jar.pack.gz"/>
    <property name="Secure" value="false"/>
    </resources>
    <application-desc main-class="SwingTest"/>
    </jnlp>
    and this same works in machine where i have 1.5.
    I don't know the reason why java 1.6 webstart throw this error
    java.io.IOException: Corrupted pack file: magic/ver = CAFED00D/160.1 should be CAFED00D/150.7
         at com.sun.java.util.jar.pack.NativeUnpack.start(Native Method)
         at com.sun.java.util.jar.pack.NativeUnpack.run(Unknown Source)
         at com.sun.java.util.jar.pack.NativeUnpack.run(Unknown Source)
         at com.sun.java.util.jar.pack.UnpackerImpl.unpack(Unknown Source)
         at com.sun.deploy.net.HttpDownloadHelper.download(Unknown Source)
         at com.sun.deploy.cache.Cache.downloadResourceToCache(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.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.downloadJarFiles(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(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)

  • Java webstart proxy bypass not working

    java webstart does not work through proxy as the jar files is not getting downloaded. most simple solution would of course be to bypass the proxy for the target server (by entering the server in the system network preference panel). however, that does not work. apparently this bypass is not taken into account by java webstart.
    if i remember correctly there once was a possibility to set such things (proxy etc.) in java webstart preferences. this is not existing any more.
    how can i solve the problem?
    tia
    tobias (very desperate)

    Hi,
    Thanks a lot for your reply, Prateek.
    I have already checked SAP Note 1142580 - "Java Proxy is not processing messages in parallel" where they ask to modify the ejb-jar.xml. However, on performing the change in ejb-jar.xml and while building the EAR, I get the following error:
    Error! The state of the source cache is INCONSISTENT for at least one of the request DCs. The build might produce incorrect results.
    Then, on going through the SAP Note 1142580 again, I realised that the SAP Note 1230721 also should be looked onto which will be needed for generating the Java proxy from Message Interfaces in IR for parallel processing.
    Kindly help me if any of you have worked on such a scenario.
    Thanks in advance,
    Regards,
    Rosie Sasidharan.

  • Java Webstart in Windows 7

    I have a Java Webstart application running on a Windows 7 Laptop. An Apache Tomcat webserver is also installed on this laptop so everything is self contained. When the laptop is not connected to a network and I start the application, Webstart gives me two instances of the application. When the laptop is connected to a network, I get one instance.
    I also have an identical installation on a Windows Vista PC. Irrespective of whether or not this PC is connected to a network, I always get one instance of the application when I start it.
    I would like to hear from anyone who has noticed similar behaviour and whether they have an explanation and whether they can advise if this is a 'bug' or a 'feature'.

    Thanks a lot for your reply.
    but no luck. still nothing happens.... javaws just dies without logging anything?
    maybe its a security problem?
    here is the system event log again:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2012-10-01T18:41:12.000000000Z" />
    <EventRecordID>3719</EventRecordID>
    <Channel>Application</Channel>
    <Computer>XXXXXX</Computer>
    <Security />
    </System>
    - <EventData>
    <Data>javaws.exe</Data>
    <Data>10.7.2.10</Data>
    <Data>503d8a47</Data>
    <Data>javaws.exe</Data>
    <Data>10.7.2.10</Data>
    <Data>503d8a47</Data>
    <Data>c0000417</Data>
    <Data>00011d9c</Data>
    <Data>16c0</Data>
    <Data>01cda004542d62eb</Data>
    <Data>C:\Program Files (x86)\Java\jre7\bin\javaws.exe</Data>
    <Data>C:\Program Files (x86)\Java\jre7\bin\javaws.exe</Data>
    <Data>92310d7c-0bf7-11e2-bd20-6cf049e5f1f7</Data>
    </EventData>
    </Event>
    Edited by: 962394 on 01.10.2012 11:44

  • The steps to enable Java Webstart in OSX Mavericks are not working.

    The steps located here:  http://support.apple.com/kb/ht5559 are not re-enabling the Java Webstart for Java 6 in OSX Mavericks.  I have tried all four steps about 20 times and looked at all the settings in all my browsers (chrome, safari, and firefox) and all say "missing plugin" when I go to any website that requires Java -- in this case, the NY Times Crossword Puzzle's "solve with a friend", which is incompatible with Java 7 so upgrading does not help me.  I've tried searching for other answers and all keep directing me to the same four steps that have not worked.
    A note, those steps worked when I had the same problem after upgrading to Mountain Lion.  Should something be altered for Mavericks?
    Please advise.

    You'll possibly need to remove Oracle Java altogether before, see these notes on their WebSite:
    http://www.java.com/en/download/help/mac_uninstall_java.xml
    After you remove it, go through the steps to re-enable Apple Java again; and, inside Safari, you can also go to its menu and choose "Reset Safari".
    Hope this helps.

Maybe you are looking for

  • Having problem implementing array in code?

    I am trying to write a code that will ask the user to either enter in a name of a reds baseball player, a batting average, or a slugging percentage. When this is entered the name of that corresponding player will pop up along with his stats. The code

  • Photo gallery subscribe -anybody?

    i have uploaded my site on a non .mac account. works fine. i have some baby picts in a gallery i want to have family subscibe too. when you hit the subscribe button, 1. open iphoto 2. shows how may pict are on the online gallery 3. displays dotted bo

  • TS2972 Cannot drag and drop to play list

    Hi! I have my music library on a NAS server, it is now connected in Itunes (firefly svn-1696...) but i cannot drag music files to any playlists..... ??? I have enabled Sharing in my home. Any ideas why I cannot put music into my play lists ?? Another

  • "Checkpoint not complete" hangs!

    Hi everyone; I see "Checkpoint not complete" in the alertlog but normally oracle just waits seconds then checkpoints and go on... But the problem is, database sometimes hangs with this message for minutes and never respond until i checkpoint manually

  • Data source not getting imported

    Hi, Triggering following error when I am try to import the DS '/IRM/LIS_RM_IPCRITM' from BW development to quality.I have replicated the data source in qty and imported once again Start of the after-import method RS_RSDS_AFTER_IMPORT for object type(