« Return to Thread: jEditOQMath

Re: jEditOQMath

by polx :: Rate this Message:

Reply to Author | View in Thread

Enrico,

this seems to be, again, a bug in the java web-start installation  
which does not seem to be the sun one:
  at  
net
.sourceforge
.jnlp.services.XFileContents.getInputStream(XFileContents.java:68)
can it be the javaws command in the path is still the old one?

thanks

paul


Le 13-août-08 à 23:45, Salvatore Enrico Indiogine a écrit :

> 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


_______________________________________________
Users@... mailing list
Users@...@dfki.de
http://www.dfki.de/mailman/listinfo/users.activemath.org

smime.p7s (2K) Download Attachment

 « Return to Thread: jEditOQMath