« Return to Thread: jEditOQMath

Re: jEditOQMath

by Salvatore Enrico Indiogine :: Rate this Message:

Reply to Author | View in Thread

Paul:

2008/8/12 Paul Libbrecht <paul@...>:
>
> It would be interesting to debug that but I acknowledge that Java web start
> on Linux tends to be picky. Try
>  javaws
>  http://dave.activemath.org/~ilo/jnlpDev/jEditOQMath/jnlps/jEditOQMath-over-jnlp-0.4-SNAPSHOT.jnlp

I replaced OpenJDK with Sun JDK and ran the above command.  Here is
the error message:

henk@bahji:~$ javaws
http://dave.activemath.org/~ilo/jnlpDev/jEditOQMath/jnlps/jEditOQMath-over-jnlp-0.4-SNAPSHOT.jnlp
Now launching WebstartJEditLauncher
Trouble at single-instance-service:
javax.jnlp.UnavailableServiceException:
javax.jnlp.SingleInstanceService
org.activemath.author.webstart.simpleinstaller.JNLPUtil$JNLPUtilException:
Can't read muffin of path
http://dave.activemath.org/~ilo/jnlpDev/jedit-home-install-witness.
        at org.activemath.author.webstart.simpleinstaller.JNLPUtil.getMuffinValue(JNLPUtil.java:122)
        at org.activemath.author.webstart.simpleinstaller.JNLPUtil.getInstalledDirectory(JNLPUtil.java:167)
        at org.activemath.author.webstartjedit.WebstartJEditLauncher.findjEditHomeFromJNLPUtil(WebstartJEditLauncher.java:223)
        at org.activemath.author.webstartjedit.WebstartJEditLauncher.ensureJEditHome(WebstartJEditLauncher.java:207)
        at org.activemath.author.webstartjedit.WebstartJEditLauncher.main(WebstartJEditLauncher.java:91)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:328)
        at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:561)
Caused by: java.lang.reflect.UndeclaredThrowableException
        at $Proxy8.getInputStream(Unknown Source)
        at org.activemath.author.webstart.simpleinstaller.JNLPUtil.getMuffinValue(JNLPUtil.java:109)
        ... 10 more
Caused by: java.security.PrivilegedActionException:
java.lang.reflect.InvocationTargetException
        at java.security.AccessController.doPrivileged(Native Method)
        at net.sourceforge.jnlp.services.ServiceUtil$PrivilegedHandler.invoke(ServiceUtil.java:162)
        ... 12 more
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at net.sourceforge.jnlp.services.ServiceUtil$PrivilegedHandler$1.run(ServiceUtil.java:158)
        ... 14 more
Caused by: java.io.FileNotFoundException:
/tmp/pcache/http/dave.activemath.org/~ilo/jnlpDev/jedit-home-install-witness
(No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:137)
        at net.sourceforge.jnlp.services.XFileContents.getInputStream(XFileContents.java:68)
        ... 19 more
Can't find jEdit-home from JNLP.
jEdit home found: "null"
java.lang.IllegalStateException: The jEdit-home found doesn't seem to
match. Found at "null".
        at org.activemath.author.webstartjedit.WebstartJEditLauncher.ensureJEditHome(WebstartJEditLauncher.java:211)
        at org.activemath.author.webstartjedit.WebstartJEditLauncher.main(WebstartJEditLauncher.java:91)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:328)
        at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:561)






--
Enrico Indiogine

Mathematics Education
Texas A&M University
hindiogine@...
_______________________________________________
Users@... mailing list
Users@...@dfki.de
http://www.dfki.de/mailman/listinfo/users.activemath.org

 « Return to Thread: jEditOQMath