3306 byte By
xblazexa at 2007-10-2 19:15:26
Please, someone can tell me why this applet not work ? I already signed it.MS IE 1.1.x detected*** STARTING POWERFOOTBALL APPLET ***Applet: window display mode Running on Windows 98com.ms.security.SecurityExceptionEx[WebDriver.<init>]: Unable to access system property: java.io.tmpdirat ...
hello,I wrote a signed applet with a method to read files from the user's hard drivethe web page contains 2 buttons :1) one included in the html part : form -> input type button -> javascript function -> java method2) one includes in the java applet : JButton -> ActionListener ...
Hi allI have problems with signed applet (self-made cert), and after reading this forum I see this is more or less common.The problem that I am having is, that I can not use doPrivilege() and similar tricks, because applet needs to be Java 1.1 compatible.So, signing will have to work.Applet is ...
122 byte By
ktm5124a at 2007-10-2 20:01:40
If so, can you please respond to my questions at http://forum.java.sun.com/thread.jspa?threadID=736080&tstart=0
268 byte By
jelutua at 2007-10-2 20:20:00
I have an applet that works fine in applet viewer when I connect to a database. I use another class to connect to a database. When I sign it and i put it on a browser doesn't work. Could anybody help me?Thanks!Message was edited by: jelutu
447 byte By
Donama at 2007-10-2 20:27:04
Hi,I am facing an issue while singning an Applet as Jar files. I tried stpes given in various sites but it didnt work for me. I followed these stesps.1. keytool -genkey -alias sig2.keytool -export -alias sig -rfc -file sig.x5093.jarsigner C:\test.jar sigWhen I execute the step 3, I got an error ...
Hi,I'm in a situation where we have a java applet that requires signing (for local resource and network access) however the end-user (a large organization) does not want the java warning appearing when launching the program.They have specifically told end-users to never accept such warnings ...
Hi All,I have a signed applet that would copy an image and set it to clipboard. Everything was working fine till resently until I got this error javax.imageio.spi.ImageInputStreamSpi: : java.io.FileNotFoundException: ...
Hi, I am not sure if this post belongs here or in the network section, if I need to repost this in the networks section please let me know!The problem is when I use an applet to connect to a remote host I get an error.I am am pasting the error below. Please, advice. Thanks!Error:--Exception ...
432 byte By
cctJavaa at 2007-10-2 21:22:19
We're going nuts trying to figure this out. We've createda keystore, but we don't see any actual file with a .keystoreextension in the file name.When we go to sign a JAR with Jarsigner, it says it cantfind the keystore. However, when you use Keytool -list andpass the keystore name, it shows ...
Hi all, I developed an applet which make some webservice calls,I have given following permission in policy file at client endgrant codeBase " http://nta2311:7001/-" { permission java.lang.RuntimePermission "createClassLoader"; permission java.lang.RuntimePermission "getClassLoader"; permission ...
Hi all. Hopefully someone can answer this.I have a signed applet, that needs to open connections to other hosts.If I load applet in Firefox, it works.If I load applet in IE, it throws security exception.Java plugin is 1.5.0_06 in both cases.So why different behavior?Thanks, Miha ...
420 byte By
niemayda at 2007-10-2 22:45:35
Hi everybody!I hope that's the right forum :)I have a jar archive and i wan to sign it with jarsigner. The problem is, that I want to use a certificate and private key, that were not created with keytool. Both are in a pkcs12 file.Aaaaaaaaaaaand another question: If you change the content of a ...
1481 byte By
phsansa at 2007-10-2 22:50:19
helloI'd like to know how it's possible to put a signed applet in an html file, that needs many jar files.I explain myself: I know that to create a signed applet and to put it in an html file, I need to create a Jar file that contains this applet, create a private key with keytool, sign the ...
Hi,I have the signed applet code in JDK1.1, and for the same code base size of jar file is larger then cab file, this is because of insertion of Manifest files in the jar.Now I am executing the same code using both JRE(jar file) and MVM(cab file). But I am observing time difference between the ...
Hi there!I have some problems testing a signing applet I'm developing. Everytime I make a change I have to export from Eclipse and sing the applet. This is really a pain.I decided to debug directly from the harddisk, so I created a webpage with file:// links instead of normal http://Ok the ...
I have developed a signed applet that works fine when run from the console using this commandC:\Documents and Settings\aneez_backer>appletviewer -J-Djava.security.policy=policy.jp SignedApplet.htmlwherepolicy.jp : is the policy fileSignedApplet.html : is the file that contains the call to ...
There is a Java Applet which digitally signs files after takingprivate key from a smart card.This applet takes external files.I want to do this "Generate digital signature of a web page with thehelp of an applet of which the applet is itself a part"I am trying using Java Applet to Javascript ...
180 byte By
ACRVa at 2007-10-3 1:05:20
Hello to all,I need to install a certain software with an applet. Can be done? Like). I take to day investigating and nonencounter the form.Thank you very much
Hi,I have a signed applet in a JSP page, which is opened from another page using window.open().The problem is , when I close this opened window, the parent window gets closed.I tried setting the window.opener=self; while loading the new page, but that didn't work out.Please help me resolve ...
228 byte By
dyaa at 2007-10-3 1:12:24
We are creting a text file on the server, when a button is preesed onthe screen. After the file is created, that file has to be stored in aspecific directory in the cleint machine. for example c:\dealtimer .
271 byte By
edusora at 2007-10-3 1:15:53
hi, i created an applet that works well in appletviewer,but it does not work within a firefox browser, it issue a message: java.security.AccessControlException: access denied (java.io.FilePermission imgDir/vsam.jpg read). What can i do to solve this issue please ?
552 byte By
mousama at 2007-10-3 1:46:20
hi all,recently i am working with applet. The applet is basically used for printing purpose. So i am working with JPS(Java Printing Service). But when i opened it from Internet Explorer it first showing a default Print Request confirmation dialog box stating "Applet would like to print. Do u ...
714 byte By
Amodnka at 2007-10-3 1:58:08
Dear All,I have created a two files. One is applet and one application file. I am creating a instance of application file in applet. Application file is used for reading, writing and creating files. When I invoke applet from broser it dipslays error wrt file access permission. From the forum ...
Hello,We would like to sign our applets on all computers with the same certificate and lateron import our certificate company-wide into all computers - so that they don't get questioned wether they trust our applet or not.As far as I understand I've to export the certificate first and lateron ...
Hello.I'm developing an applet that writes a log (myApplet.log) to file using FileOutputStream. To avoid the SecurityException, I'm signing the applet, but as strange as this can look, I only can to write to the file from the functions inherited from the Applet class!!! (init, start, stop, ...
I get the following message: Certificate Not VerifiedCode will be treated as unsignedI've signed the applet using the following tutorial: http://forum.java.sun.com/thread.jsp?forum=63&thread=174214 and verified as well using the jarsigner tool, so what can be wrong?I'm using:Java(TM) 2 ...
I get the following error in the Java Console when I run my signed applet:java.lang.VerifyError: (class: a, method: run signature: ()V) Inconsistent stack height 0 != 1I only get this problem when I obfuscate my applet (I use ProGuard).Can anyone help me?Thanks in ...
Hi,we have an applet which writes a file on the local disc. Therefore this applet is signed with a valid verisign certificate. Everything works perfect, as long we use the vm 1.4.2_08. Now we changed the vm to 1.4.2_10 and writing a file is no more possible.I never used a policy file, because ...
467 byte By
Yurya at 2007-10-3 2:45:46
I have signed applet. It has one function “start_thread”. In this function: I start thread and read file in created thread. I use this applet on HTML page (<applet id="MyApplet" code="MyApplet" width=1 height=1 archive="MyApplet.jar" MAYSCRIPT>). And I call start_thread from ...
i had tried this simple code...but the error occured...try{File myFile = new File("C:\\MyFile.txt");if (myFile.exists()){System.out.println(myFile.getAbsolutePath() +" already exists.");}else{if (myFile.createNewFile()){System.out.println("Created file " + ...
Hi,I have written swing code using applets.The code is::import java.awt.*;import javax.swing.*;import java.awt.event.*;public class JButtonDemo extends JApplet implements ActionListener{JTextField jtf;public void init(){Container c = getContentPane();c.setLayout(new FlowLayout());ImageIcon ii = ...
There are examples of singend applet running from appletviewer by passing policy file through command line. Is there any method to pass the policy file from HTML file so that applet is invoked from browser directly.
Hi all,Im unable to open some applet using IE, the error msg " applet (name) notinited" shown at the status bar. Can anyone please tell me what do i need to do to enable the applet to be view correctly? ThanksPlease send me at lchwang_84@yahoo.com
I have an application lets call it ABC, which is trying to access a Java application. It is not able to do so but if I add the following entry in security.policy file of java application, it is able to do so.grant codeBase "file:./classes/-",{permission java.security.AllPermission;};where the ...
463 byte By
harita at 2007-10-3 3:56:11
Hello friends I have Written an applet that will be downloaded on client side and access client webcam and show the Images coming of the Client webcam on the Client side only .but when i test that programm on LAn it works fine But when i upload it on my compnies server and try to run it through ...
Sorry guys I've been trying to figure this out myself for the past 6 hours but nothings working. I've read all I could on signing .jar files and using the policy tool and changing the security properties file but I cant figure it out. I'm trying to get an applet to load two libraries ...
Hi I would like to know whether purchasing a certificate form Verisign/Thwate help in overcoming errors that occurs in applets signed using jarsigner. I just want to know whether getting a certifcate from verisign/thwate is superior to the jarsigner.(what actually is the ...
Hi:I'm trying to use an embedded Derby database from within a browser.I've got this example by Francois Orsini: http://developers.sun.com/prodtech/javadb/overview/product_tour/index.jspIn his demo he's got a jar: Demo.jar which is signed. When I look in the jar I see a single file (the ...
Hi:I'm trying to make a signed applet gain access to my directory structure.I created a simple applet to test with one line:sErr = System.getProperty("user.dir");The code is below.I sign it using the following:keytool -genkey -keyalg rsa -storepass MyCertsAs you can see I'm using the default ...
Hi,I want to download some dll and jar files on client machine and then execute one exe file on client machine to configure his system for my applicaion.Here it comes two ways..1. First to copy all necessary files on client machine.2. Then run a bat file to place it on necessary folders and ...
522 byte By
efratba at 2007-10-3 4:57:08
Hi,I have a web application, that I want to run from a remote machine. (by giving the server's IP: http://server-IP:8080/myApp).I want to run applet from myApp.When I did it locally (server & client on the same machine), I had to change the java.policy, and put the required jars in the ...
What is Callback and how to implement it with the help of interfaces in java.
2502 byte By
d.suhasa at 2007-10-3 5:17:58
hello all, I m getting following error when i used applet class in jsp. It works fine with HTTP but the applet is not inited/failed when i use HTTPSFollowing is the error displayed in the java console...load: class linegraph not found.java.lang.ClassNotFoundException: linegraphat ...
Hi, I will say clearly what I am doing.I created a Applet and ApplicationI kept all my jar file in path C:\Document and Settings\Owner\workspace\Calculator>Then I wanted to create a cirtificate for my applet in that path.So I went to C:\program files\java\jre1.5.0_08\lib\security>And then ...
531 byte By
alexMFNa at 2007-10-3 5:38:54
I'm working on an applet that involves downloading and parsing through html source code. To do this, I'm using the java.net.Socket class. My applet works fine in an Applet Viewer, but throws an exception (I'm not sure which one) when I try to upload it to a webpage. I've been reading ...
Hi everybody,when I call a method of my signed(!!) applet via javascript, I get this error:Exception in Thread-11 java.security.AccessControlException: access denied (java.util.PropertyPermission java.io.tmpdir read)Can you help me?
Hello,We are having some issues with trying to get our build signed both with the .jad and .jar file. We have signed up with Verisign and got a certificate and ran through all of the steps inorder to create a build that is officially signed. Our issue is that when we try to download (OTA)the ...
I'm sorry for the very stupid question, but I can't understand what I have to download to obtain sun.security.pkcs11 package, could someone help me?
88 byte By
JEGANa at 2007-10-3 7:09:38
how to place a image in a Frame(in particular location).?please reply.....