Why this applet not work ?

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 ...

security exception fired by javascript and ok inside the applet

730 byte By screen_jcj_forumsa at 2007-10-2 19:51:44
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 ...

(yet again) signed applet throws security exceptions

503 byte By Miha.Vitorovica at 2007-10-2 19:56:46
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 ...

Does Anyone Read This Forum?!?!

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

Signed applet can't connect to an Oracle Database

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

How to sign an applet as JAR

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 ...

Pushing Certificates to Large Organizations

786 byte By ChristopherStephena at 2007-10-2 20:32:25
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 ...

sun.misc.ServiceConfigurationError:

1085 byte By jeyanth23a at 2007-10-2 20:44:26
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: ...

Error when Connecting to Remote Host

841 byte By AiboUsera at 2007-10-2 21:02:17
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 ...

Jarsigner cannot find Keystore

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 ...

self sign applet without doing any change in policy file at client end

665 byte By Abhishek.Gayakwada at 2007-10-2 21:36:09
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 ...

Same plugin, two browsers, security exception in one of them

389 byte By Miha.Vitorovica at 2007-10-2 21:44:58
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 ...

Sign jar archive

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 ...

include many jars for a complex signed applet in html file?

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 ...

Why execution of jar is taking larger time?

591 byte By Nitin_Chaudharya at 2007-10-2 22:57:11
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 ...

PrivilegedActionException error in applet. Unsigned applet.

6789 byte By gad@seglana at 2007-10-3 0:02:05
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 ...

how to Override default policy file so that applet can execute

561 byte By aneez_backera at 2007-10-3 0:30:39
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 ...

Java Applet JavaScript Communication

894 byte By My_Queries_Javaa at 2007-10-3 0:33:31
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 ...

Install software with applet

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

Closing a Window containing a Signed Applet closes Opener Window

356 byte By jimjacobka at 2007-10-3 1:09:04
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 ...

i have specific need for a clientside download applet

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 .

applet work well in appletviewer but do not work within browser

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 ?

Java Printing service problem with applet

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 ...

Read, Write and create files from java applet.

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 ...

Howto export/import certificates?

643 byte By linuxhippya at 2007-10-3 2:06:29
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 ...

SecurityException in signed applet, but only in non-inherited functions...

1215 byte By Alvaro_Palmaa at 2007-10-3 2:19:37
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, ...

Problem with applet

390 byte By ramonklowna at 2007-10-3 2:29:34
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 ...

java.lang.VerifyError: (class: a, method: run signature: ()V)....

320 byte By jhodgskia at 2007-10-3 2:37:21
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 ...

Signed Applet and no permission

1059 byte By thorsti16a at 2007-10-3 2:42:13
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 ...

Call method of applet from JavaScript

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 ...

access permission for java.io.file

2880 byte By leileichua at 2007-10-3 3:14:28
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 " + ...

java.security.AccessControlException: access denied (java.io.FilePermission

1942 byte By srinivas1a at 2007-10-3 3:16:52
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 = ...

signed applets

222 byte By shirish_desha at 2007-10-3 3:31:44
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.

Applet notinited

268 byte By lchwang_84a at 2007-10-3 3:33:38
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

confusing security.policy file

863 byte By jumman007a at 2007-10-3 3:41:09
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 ...

About accessing Client Webcam From Applet

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 ...

Permissions for applet loading external libraries

1976 byte By whitsle433a at 2007-10-3 4:05:29
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 ...

Verisign-Thwate certificate for signed applets

330 byte By Shibu.N.Naira at 2007-10-3 4:06:41
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 ...

Signed Applet Can't Gain Access to Files

1435 byte By MarlAtkinsa at 2007-10-3 4:22:34
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 ...

NIGHTMARE! Signed Applet - No Access. Please Help.

4853 byte By MarlAtkinsa at 2007-10-3 4:24:21
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 ...

SignedApplet problem for Runtime.exec()...

2942 byte By Sachin.Kulkarnia at 2007-10-3 4:27:05
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 ...

Run applet from remote machine

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 ...

Callbacks

84 byte By sumitmodia at 2007-10-3 4:58:48
What is Callback and how to implement it with the help of interfaces in java.

SSLException while using applet in JSP

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 ...

Java Beginner trying to create a cirtificate and sign the applet

535 byte By qazwsx_qaza at 2007-10-3 5:38:26
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 ...

downloading HTML source code in an online applet

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 ...

AccessControl Exception : call Java-method of signed Applet via JavaScript

260 byte By SupaBastia at 2007-10-3 5:52:56
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?

Problems with .jad and .jar signing

1144 byte By wirelessguya at 2007-10-3 6:38:10
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 ...

package

157 byte By thrantira at 2007-10-3 6:58:40
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?

swings........

88 byte By JEGANa at 2007-10-3 7:09:38
how to place a image in a Frame(in particular location).?please reply.....