aspose file tools*
The moose likes JNLP and Web Start and the fly likes java.io.IOException: There is not enough space on the disk JNLP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "java.io.IOException: There is not enough space on the disk JNLP" Watch "java.io.IOException: There is not enough space on the disk JNLP" New topic
Author

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

alex antony
Greenhorn

Joined: Jan 26, 2011
Posts: 12


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
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18993
    
    8

So that we don't waste our time suggesting things you tried already, could you itemize all of the things you tried during that several hours?
alex antony
Greenhorn

Joined: Jan 26, 2011
Posts: 12
Thanks Paul for your kind reply.

I tried yesterday and got it to work smoothly. I Cleared the cache such that the "no enough space on disk" got cleared.

I was successfully able to launch the applet.

Thank you for your response .

But i want to get cleared off something from you.The Applet gets stored on the local cache when loaded through JNLP and because of that we need to clear the cache to get proper outputs.

When getting this into live production,it is a bit difficult to prompt the users to clear the cache memory.

Is there any better solution for this?

I am newly using this protocol (JNLP) and i wish to get something clarified.

I am desiging an alarm management system for a network .The Server in which i have the application has connectivity to all the nodes that i want to make notification of the alarms when something goes wrong in that node.The Applet that is launced through JNLP will initially contain the alarms fetched from the database.Suppose that i have a new entry in my database(when anything goes wrong in any node it will automatically fill my database) ,is it possible to update the Applet that the client is looking at without actually refreshing the application again.Is this possible through JNLP.

Your suggestions Please !

thanks in advance
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18993
    
    8

I have had Web Start applications in production at work constantly for a year or two now and we don't have that problem. If your app is causing the cache to overflow then either your app is far too large or the cache settings are far too small. Or else you are doing something so that lots of different resources are being cached. So run your app for a while, then view the cache and see what's in there, particularly under the Resources section.

As for your design question, sure, the database entries don't have to be hard-coded in the applet. It's perfectly possible for the applet to read them from the database and store them in memory.
alex antony
Greenhorn

Joined: Jan 26, 2011
Posts: 12
thanks paul for your advice .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.io.IOException: There is not enough space on the disk JNLP