We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSound,  Music Libraries › Sign your applet for using ESS online.
Pages: 1 2 
Sign your applet for using ESS online. (Read 13270 times)
Re: Sign your applet for using ESS online.
Reply #15 - May 17th, 2008, 11:45am
 
Thanks Tom K for all those informations. It's certainly going to be usefully for everyone.
Re: Sign your applet for using ESS online.
Reply #16 - Dec 29th, 2008, 9:15pm
 
Hey Tom K

Thank you for this post, just to let you know it resolved my problems. So thanks again for going to the effort of writing this up and referencing the other website.

cheers.
Re: Sign your applet for using ESS online.
Reply #17 - May 4th, 2009, 1:43pm
 
I have followed both the instructions on the Krister website and also in the Hacks section, It says that it has signed the applet, yet it still wont show up in the web browser. I have no idea what is going on.
Re: Sign your applet for using ESS online.
Reply #18 - Dec 2nd, 2009, 3:24pm
 
God, this sounds like such a pain. There's gotta be an easier way?!?!?  Shocked
Re: Sign your applet for using ESS online.
Reply #19 - Dec 4th, 2009, 10:43pm
 
Hi,
Okay, so I did all of that as instructed, however now when I run the app, I get a message to sign it, and when I try to sign the app I then get this error message: "The publisher cannot be verified by a trusted source. Code will be treated as unsigned."

The app does not sign, and does not run! Why? Arg!
Re: Sign your applet for using ESS online.
Reply #20 - Dec 11th, 2009, 10:36am
 
Thanks TM this solved my problem!!
Re: Sign your applet for using ESS online.
Reply #21 - Jan 13th, 2010, 11:46am
 
Part 1... I am using a video capture example from processing... the BrightnessTracking..

It works ok in Processing IDE

I exported the sketch and signed all the *.jar files in the applet folder

the proyect does not work even with the signed *.jar files

which are..
1) core.jar
2) video.jar
3) brightnessTracking.jar



This is the error code displayed in the java console


Code:
Exception in thread "Animation Thread" java.lang.NoClassDefFoundError: quicktime/std/StdQTException
at BrightnessTracking.setup(BrightnessTracking.java:34)
at processing.core.PApplet.handleDraw(PApplet.java:1402)
at processing.core.PApplet.run(PApplet.java:1327)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: quicktime.std.StdQTException
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 4 more
Caused by: java.io.FileNotFoundException: C:\Documents and Settings\sueniz\My Documents\Downloads\processing-1.0.9\processing-1.0.9\examples\Libraries\Video (Capture)\BrightnessTracking\applet\quicktime\std\StdQTException.class (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www  
protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www protocol.file.FileURLConnection.getInputStream(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 8 more


Re: Sign your applet for using ESS online.
Reply #22 - Jan 25th, 2010, 5:28pm
 
Hi,
The heads up on needing to sign applets using Ess is great, because i thought i had finally figured out why my sketch wouldn't load online but not that i have followed the instructions in signing the .jar files through the terminal it doesnt seem to have helped? the sketch doesn't run, when exported and put on the browser?

any thoughts?
Re: Sign your applet for using ESS online.
Reply #23 - Feb 22nd, 2010, 12:34am
 
hi,

i signed all the *.jar in the applet folder, when i start the index.html, it opens in the browser and asking to accept the licens. ---> ok
but the sketch doesnt work full. i cant get the audio input from browser.
is it possible that minim cant get audio input when opened in a browser??

i get this in java console:
Code:
==== JavaSound Minim Error ====
==== Error acquiring TargetDataLine: access denied (javax.sound.sampled.AudioPermission record)

ControlP5 0.3.14 infos, comments, questions at http://www.sojamo.de/libraries/controlP5
### WARNING AccessControlException.
you are probably running in applet mode.
make sure fields and methods which you want to
access in your processing code are public.
java.security.AccessControlException: access denied (java.lang.reflect.ReflectPermission suppressAccessChecks)



regards maik
Re: Sign your applet for using ESS online.
Reply #24 - Feb 22nd, 2010, 2:09am
 
SOLVED

the reason was ---> no permission to acces audio input!!
ad this to your java.policy

Code:
permission javax.sound.sampled.AudioPermission "record"; 


you have to be admin to save the java.policy file,into the file %JRE_ROOT%\lib\security\java.policy on the client computer, where %JRE_ROOT% is the installation path of JRE.

then signe the *.jar's again .
and it will work perfect.

regards maik
Re: Sign your applet for using ESS online.
Reply #25 - Feb 25th, 2010, 9:17am
 
thanks for that extra info Maik

on a separate note, i noticed that Wordpress doesn't like signed microphone input applets, even though they work in a separate HTML file.

haven't yet figured out why though.

to be honest, signing all the .jar files is a right pain in the ass. the java developers definately didn't go through this process many times, or they would've found a more human friendly way to do it.  i love processing, but Java's web implementation is pretty damn shoddy and klunky. I live in hope of ProcessingJS.

would be nice if someone wrote an application, where you could drop a folder onto it, filled out the info and it signed all the files.
Pages: 1 2