[Bug 727] New: Transient failures when running JNLP applications
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Thu May 19 15:31:25 PDT 2011
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=727
Summary: Transient failures when running JNLP applications
Product: IcedTea-Web
Version: hg
Platform: all
URL: http://www.sweethome3d.com/SweetHome3D.jnlp
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: NetX
AssignedTo: asu at redhat.com
ReportedBy: omajid at redhat.com
CC: unassigned at icedtea.classpath.org
Steps to reproduce:
$ ~/code/icedtea-web-image/bin/javaws
http://www.sweethome3d.com/SweetHome3D.jnlp
$ ~/code/icedtea-web-image/bin/javaws
http://www.sweethome3d.com/SweetHome3D.jnlp
$ ~/code/icedtea-web-image/bin/javaws
http://www.sweethome3d.com/SweetHome3D.jnlp
(yes, just run this multiple times).
Here is what happened with me:
$ ~/code/icedtea-web-image/bin/javaws SweetHome3D.jnlp
Starts up fine the first time. So run it again.
$ ~/code/icedtea-web-image/bin/javaws SweetHome3D.jnlp
java.io.FileNotFoundException:
/home/omajid/.icedtea/cache/0/http/www.sweethome3d.com/SweetHome3D.jnlp.info
(No such file or directory)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:118)
at net.sourceforge.jnlp.util.FileUtils.getFileLock(FileUtils.java:310)
at net.sourceforge.jnlp.cache.CacheUtil.lockFile(CacheUtil.java:634)
at net.sourceforge.jnlp.cache.CacheEntry.lock(CacheEntry.java:176)
at
net.sourceforge.jnlp.cache.ResourceTracker.initializeResource(ResourceTracker.java:766)
at
net.sourceforge.jnlp.cache.ResourceTracker.processResource(ResourceTracker.java:609)
at
net.sourceforge.jnlp.cache.ResourceTracker.access$400(ResourceTracker.java:70)
at
net.sourceforge.jnlp.cache.ResourceTracker$Downloader.run(ResourceTracker.java:1103)
at java.lang.Thread.run(Thread.java:679)
java.io.FileNotFoundException:
/home/omajid/.icedtea/cache/0/http/www.sweethome3d.com/SweetHome3D.jnlp.info
(No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
at java.io.FileOutputStream.<init>(FileOutputStream.java:160)
at
net.sourceforge.jnlp.util.PropertiesFile.store(PropertiesFile.java:137)
at net.sourceforge.jnlp.cache.CacheEntry.store(CacheEntry.java:162)
at
net.sourceforge.jnlp.cache.ResourceTracker.initializeResource(ResourceTracker.java:808)
at
net.sourceforge.jnlp.cache.ResourceTracker.processResource(ResourceTracker.java:609)
at
net.sourceforge.jnlp.cache.ResourceTracker.access$400(ResourceTracker.java:70)
at
net.sourceforge.jnlp.cache.ResourceTracker$Downloader.run(ResourceTracker.java:1103)
at java.lang.Thread.run(Thread.java:679)
.... snip ....
java.io.FileNotFoundException:
/home/omajid/.icedtea/cache/10/http/www.sweethome3d.com/lib/linux/x64/java3d.jar.info
(No such file or directory)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:118)
at net.sourceforge.jnlp.util.FileUtils.getFileLock(FileUtils.java:310)
at net.sourceforge.jnlp.cache.CacheUtil.lockFile(CacheUtil.java:634)
at net.sourceforge.jnlp.cache.CacheEntry.lock(CacheEntry.java:176)
at
net.sourceforge.jnlp.cache.ResourceTracker.downloadResource(ResourceTracker.java:633)
at
net.sourceforge.jnlp.cache.ResourceTracker.processResource(ResourceTracker.java:621)
at
net.sourceforge.jnlp.cache.ResourceTracker.access$400(ResourceTracker.java:70)
at
net.sourceforge.jnlp.cache.ResourceTracker$Downloader.run(ResourceTracker.java:1103)
at java.lang.Thread.run(Thread.java:679)
JAR http://www.sweethome3d.com/lib/linux/x64/java3d.jar not found. Continuing.
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not
initialize application.
at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:773)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:551)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:884)
Caused by: net.sourceforge.jnlp.LaunchException: Fatal: Application Error:
Cannot grant permissions to unsigned jars.
at
net.sourceforge.jnlp.runtime.JNLPClassLoader.setSecurity(JNLPClassLoader.java:260)
at
net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:180)
at
net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:294)
at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:765)
... 2 more
Caused by:
net.sourceforge.jnlp.LaunchException: Fatal: Application Error: Cannot grant
permissions to unsigned jars.
at
net.sourceforge.jnlp.runtime.JNLPClassLoader.setSecurity(JNLPClassLoader.java:260)
at
net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:180)
at
net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:294)
at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:765)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:551)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:884)
Failed Starting the application. Lets run it again.
$ ~/code/icedtea-web-image/bin/javaws SweetHome3D.jnlp
java.io.FileNotFoundException:
/home/omajid/.icedtea/cache/0/http/www.sweethome3d.com/SweetHome3D.jnlp.info
(No such file or directory)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:118)
at net.sourceforge.jnlp.util.FileUtils.getFileLock(FileUtils.java:310)
at net.sourceforge.jnlp.cache.CacheUtil.lockFile(CacheUtil.java:634)
at net.sourceforge.jnlp.cache.CacheEntry.lock(CacheEntry.java:176)
at
net.sourceforge.jnlp.cache.ResourceTracker.initializeResource(ResourceTracker.java:766)
at
net.sourceforge.jnlp.cache.ResourceTracker.processResource(ResourceTracker.java:609)
at
net.sourceforge.jnlp.cache.ResourceTracker.access$400(ResourceTracker.java:70)
at
net.sourceforge.jnlp.cache.ResourceTracker$Downloader.run(ResourceTracker.java:1103)
at java.lang.Thread.run(Thread.java:679)
java.io.FileNotFoundException:
/home/omajid/.icedtea/cache/0/http/www.sweethome3d.com/SweetHome3D.jnlp.info
(No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
at java.io.FileOutputStream.<init>(FileOutputStream.java:160)
at
net.sourceforge.jnlp.util.PropertiesFile.store(PropertiesFile.java:137)
at net.sourceforge.jnlp.cache.CacheEntry.store(CacheEntry.java:162)
at
net.sourceforge.jnlp.cache.ResourceTracker.initializeResource(ResourceTracker.java:808)
at
net.sourceforge.jnlp.cache.ResourceTracker.processResource(ResourceTracker.java:609)
at
net.sourceforge.jnlp.cache.ResourceTracker.access$400(ResourceTracker.java:70)
at
net.sourceforge.jnlp.cache.ResourceTracker$Downloader.run(ResourceTracker.java:1103)
at java.lang.Thread.run(Thread.java:679)
java.io.FileNotFoundException:
/home/omajid/.icedtea/cache/0/http/www.sweethome3d.com/SweetHome3D.jnlp.info
(No such file or directory)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:118)
at net.sourceforge.jnlp.util.FileUtils.getFileLock(FileUtils.java:310)
at net.sourceforge.jnlp.cache.CacheUtil.lockFile(CacheUtil.java:634)
at net.sourceforge.jnlp.cache.CacheEntry.lock(CacheEntry.java:176)
at
net.sourceforge.jnlp.cache.ResourceTracker.downloadResource(ResourceTracker.java:633)
at
net.sourceforge.jnlp.cache.ResourceTracker.processResource(ResourceTracker.java:621)
at
net.sourceforge.jnlp.cache.ResourceTracker.access$400(ResourceTracker.java:70)
at
net.sourceforge.jnlp.cache.ResourceTracker$Downloader.run(ResourceTracker.java:1103)
at java.lang.Thread.run(Thread.java:679)
I get a few exceptions on startup, but the application itself works fine.
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the distro-pkg-dev
mailing list