Results 1 to 2 of 2
  1. #1
    alex1988 is offline Member
    Join Date
    Jan 2011
    Posts
    8
    Rep Power
    0

    Default java.io.IOException: There is not enough space on the disk

    Java Code:
    In the Exception i am getting 
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: 
    
    http://150.236.9.70:8080/JavaWebStartTest/Test.jnlp
    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.deploy.net.DownloadEngine.getResource(Unknown Source)
    at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
    at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
    at com.sun.javaws.Launcher.prepareToLaunch(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)
    
    In the Wrapped Exception i am getting 
    
    java.io.IOException: There is not enough space on the disk
    at com.sun.deploy.cache.CacheEntry$9.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.cache.CacheEntry.writeFileToDisk(Unknown Source)
    at com.sun.deploy.cache.CacheEntry.writeFileToDisk(Unknown Source)
    at com.sun.deploy.cache.Cache.downloadResourceToTempFile(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.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.deploy.net.DownloadEngine.getResource(Unknown Source)
    at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
    at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
    at com.sun.javaws.Launcher.prepareToLaunch(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)
    Hi all,

    I am trying to launch an applet from my linux web server through JNLP.I have did a reading on the JNLP Developers Guide from Oracle and started working on this.

    I have packaged my class files into a jar file and have specifically signed the jar file.On opening the applet through JNLP it is giving an exception "There is no enough space on the disk".

    I have spent several hours in making this done , but i am unable to do so .

    Anybody could help me out in solving this and put me in the right direction.

    Any Guidance is highly appreciated.

    Thanks in advance

    i have posted the error message in the code tags

  2. #2
    alex1988 is offline Member
    Join Date
    Jan 2011
    Posts
    8
    Rep Power
    0

    Default

    Java Code:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+" codebase="http://150.236.9.70:8080/JavaWebStartTest/" href="Test.jnlp">
            <information>
                    <title>Jnlp Testing</title>
                    <vendor>YONG MOOK KIM</vendor>
                    <homepage href="http://150.236.9.70:8080/JavaWebStartTest/" />
                    <description>Testing Testing</description>
            </information>
            <security>
                    <all-permissions/>
            </security>
            <resources>
                    <j2se version="1.6+" />
                    <jar href="/TestJnlp.jar" main="true"/>
            </resources>
            <application-desc main-class="com.mkyong.TestJnlp" />
    </jnlp>

    I got some of the issue. I cleared the cache and the this issue was resolved.But now i am getting this error

    java.lang.ClassNotFoundException: com.mkyong.TestJnlp
    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 com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)



    I have the JNLP,JAR file inside the JavaWebStartTest Directory and the classes in the directory com/mkyong/.Not Sure how to clear the issue

    Anybody Please help.

    Thanks in advance

Similar Threads

  1. Replies: 0
    Last Post: 01-21-2011, 01:43 PM
  2. limit disk space for my customers accounts
    By mtz1406 in forum Java Servlet
    Replies: 6
    Last Post: 04-04-2010, 05:38 PM
  3. java.io.IOException: Premature EOF
    By CrazyVag in forum New To Java
    Replies: 5
    Last Post: 01-26-2010, 11:55 PM
  4. Replies: 1
    Last Post: 03-06-2009, 12:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •