358 byte By
scaroa at 2007-10-2 9:33:31
I create my jars with a manifest file with some entrieslike Specifiaction and implementation versionshowever when I sign them the manifest is replaced and I lose my manifest entriesAm I doing something wrong is that what is supposed to happen?If that is normal what do I do to keep my original ...
Hey guys... this is my first post on these forums.I just recently created a Java applet to run on my webpage that will produce a graph (with the data being read from a text file that is populated by a CRONJOB php script). I decided to go object oriented in the design having 3 classes. Anyways, ...
I have a signed Applet that read file from local system.It is working fine under Sun JRE.But when I try to run on the PC that doesn抰 have Sun JRE (running using IE抯 1.1.6 JRE), it gives following error.[CODE]java.security.AccessControlException: access denied (java.io.FilePermission C:\abc.txt ...
My collegue and I are accessing the same development (intranet) site from two different computers, both of us using Windows 2000, IE 6.We are accessing a server, which provides unsigned applets.I am able to copy text from the applet and paste it into a word document for example, whereas my ...
5544 byte By
sotocana at 2007-10-2 10:55:39
Hi,Yet another case where, updating to a newer version(Java 1.5) causes problems...Basically I'm getting an exception(with Java 1.4.2 it was just fine!!!):basic: Loading applet ...basic: Initializing applet ...basic: Starting applet ...basic: httpCompression = truenetwork: Connecting ...
Hi AllI have a privately signed applet which works fine on Netscape Navigator. However it won't work on MS Explorer 6. I get the following error.Error loading class: TestAppletjava.lang.NoClassDefFoundErrorjava.lang.ClassNotFoundException: TestAppletat ...
Hi,I am using tomcat 4.1 and jdk 1.4.All the class files and xml files are put into the one jar file.While running our application a jar file is called from jsp file. in that file we are embedded applet coding. here by i am sending my applet code with this...<OBJECT ...
1049 byte By
yuvaraja at 2007-10-2 11:08:05
Hai give some solution to find correct path using applet below give is the applet code ,when i run this using IE ,path found is to be incorrect ,how to solve this problemimport java.io.*;import java.applet.*;import java.awt.*;import javax.swing.*;/*<applet code ="Appdemo" width=300 height ...
Hi,I have a jarsigner signed applet with a self certificate which seems to throw java.security.AccessControlException: access denied (java.io.FilePermission when trying to read a file from the user temp internet folder.What puzlles me is that this applet seems to work in different environment.I ...
Dear all,I found a free Code Signing website ( http://www.ascertia.com/OnlineCA/codesign.aspx?linkID=40) and I followed their guide (How does object signing work with Ascertia Code Signing Digital IDs). In the step 4 in their guide, I met blow error message.C:> keytool 杋mport 朼lias MyCert ...
Hi all,I'm having all sorts of problems with my (signed) applet and premissions.JVM 1.5.0_06I am trying all possible combinations of Codebase to make it work, and it doesn't seem to work according to the docs. Here is what tried so far:The applet is stuck in a jar file on the following URL ...
Hi,I am still getting a FilePermissionExcption when my applet is trying to read a file from IE tmp internet folder even though the applet has been signed with a trusted certificate from verisign.jre1.4.2_10java.security.AccessControlException: access denied (java.io.FilePermission ...
How can I download any type of java applet and run it locally, offline in my pc? Because the most java applets run only when I am on line connected on the server. When I download them the Internet Explorer does not download the '.class' file, firefox download it but not runs ...
Hi there.I am pretty new to dynmaic class loading and applet security.I have figured out how to sign an applet (with a free, "private" license) so that the user can grant it the permission to do all the prohibited things such as opening Socket connections to anywhere. It works fine.Now I ...
361 byte By
cacia at 2007-10-2 13:09:20
Hello,I've got an applet that comunicates with a servlet with a urlConnection object. If I test de application without permissions of security (Applet Viewer ->Eclipse), the program runs perfectly, but when I test it in the server throws a security exception when the URLConnection connects ...
HelloI have an applet that compiles and runs fine. The 3rd party jars successfully updated the applet jar, but the problem is signing. When I try to sign it I get the following:Signing JAR: F:\Projects\applets\applets\dist\applets.jar updating: META-INF/MANIFEST.MFadding: ...
3398 byte By
Kantaa at 2007-10-2 13:29:37
Hi everyone...I m new to Java Mail... Nd I m developing a Applet to send mail from my Gmail account, nd I used keytool, jarsigner to Self sign the applet. Nd I wrote a Html page and when calling my applet method using javascript, I m having Security Exception... And I m using Java 1.5 (i.e., ...
Hi, allWe have an application running under BEA Weblogic. This application collects data from a Java applet that the user runs on his terminal. This java applet (correctly signed) sends information using a HTTPS connection.Our users have got three certificates: one for client authentication, ...
Environment:I have two browsers (Mozilla and Firefox) on my computer. Also I have JRE 1.4 and JRE 1.5.Firefox uses JRE 1.5 (the last installed JRE).After installation of JRE 1.5, Mozilla have been reconfiguredback to use JRE 1.4 (via the control panel of JRE 1.4 )Problem: If I run a signed ...
3381 byte By
aslanEa at 2007-10-2 13:59:48
I created an applet that can connect to a IRC server by using PircBot . This working find when I launch the applet from Netbeans. But when I do it outside Netbeans I get this exception:java.security.AccessControlException: access denied (java.net.SocketPermission uk.quakenet.org resolve)at ...
562 byte By
Forsha at 2007-10-2 14:15:25
I have a system that has little security; no certificates/signed files at the moment - they werent necessary, historically, as the system is self-contained. I want to add a degree of security to parts of the system now and would like the client pc's to accept the newly introduced signed files ...
iam devloping an application where an applet should compile and run the java program .iam using the Runtime class's exe("javac "+filename) to compile and exec(" java "+filewithoutextension).i have given grantAllPermissions in the java.policy file.the applet is Helloapp the file to be complied ...
Hello everyone, we have been experiencing a 20 to 100 second delay in the startup of our signed print applet. The browser window with applet box come up quite quickly and then it just sits there for some time after the line "Invoking JS method: URL" has displayed in the console log (see ...
Background info:We have an applet that we use for incremental refresh of data items.The applet model works for all but one of our customersClient info:VeriSIgn signed applet.IE 6.0 browserJava JRE version: 1.5.0_06-b05OS: Windows XP Version 2002 service pack 2Problem description:I am ...
Hi all,I am doing a project with using applet to capture the current screen and then send it to the J2EE server for the background operation. I found that I have to modified the .java.policy file in order to allow this capture function. I think that it is impossible to edit all the policy file ...
How want the following to do in applets how to do this.I want use this applet in jsp.When client clicks on the button or Browse button i want to show a Open Dialog box or Window will be opend in that window i want to show the file stored on server side(in particular folder only not all files on ...
Searched the forum but found nothing about this, so I'm asking...Is there a way to make an applet communicate with a serial port on a client machine? Or it would be beyond an applet's capabilities? I know that with pure java running on a machine you can, but I have to adapt that on an applet. ...
5848 byte By
Popola at 2007-10-2 15:39:41
Hello, I need for help, I have an applet in my jsp page in witch my trying to read the ip and the mac adress of the client. So I can read the ip of the host but I got an java.security.AccessControlException when the applet trying to read mac.What can I do ?--logsInformation R閟eau Local Syst鑝e ...
Hello everyone, we have been experiencing a 2 to 3 minute delay in the startup of our signed print applet. The browser window with applet comes up quite quickly and then it just sits there for 2 to 3 minutes after the line "Invoking JS method: URL" has displayed in the console log and before ...
How to get the path of the user's Windows desktop from signed applet?Actually IE returns the user's desktop folder path when I use the System.getProperty("user.dir").But Netscape and Firefox returns their home folders for the same call.
I'm attempting to sign my .jar file with a certificate from Verisign using the instructions here: http://www.verisign.com/support/code-signing-support/code-signing/digital-id.htmlI have completed all of the steps except the last step where I recieve this error:jarsigner error: ...
184 byte By
_arunca at 2007-10-2 16:19:35
Hi, I want to create an applet which can access some native methods.Can any one tell me the procedures to be followed for doing this.Thanks in advanceArun C
I have signed my applet, and everything is cool, but how do I let the user allow me to open UDP datagram packets? I have seen a whole bunch of stuff about policy files, but Sun doesn't expect the user to have to run some wierd policy tool right? How can it happen that the user allows me to do ...
486 byte By
clausrsa at 2007-10-2 16:29:55
We have an applet that requires the use of 1.3.1_13 due to vendor support requirements. The machines have 1.3.1_13, 1.4.2_08 and 1.5 installed. The applet always tries to launch using the 1.5 version of the plugin even though we have the clsid set to CAFEEFAC-0013-003-0013....If we uninstall ...
HiIf I compile my applet using JDK1.5 then this applet do not get loaded on a system using JRE1.4 however it works fine with systems having JRE 1.5. Isn't JDK 1.5 backward compatible. I am using following command to compile applet code in ANT script<javac srcdir="../../JavaSource" ...
Hi all:I have develope a JApplet. I have made a file named config.xml to provide some configuration settings to it and I most read it when the applet is loaded. After I create my policy file with the structure:grant { permission java.security.AllPermission;};and added to the security.policy at ...
Hi All,Have created a Signed applet, every thing is working fine but the problem is when the security warning is displayed seeking the permission for the applet to run in the client machine , even if I click " ON " the applet is executing. What could be the problem. Can anyone explain me as why ...
Hi everybody:I'm developing an Applet that parse an ontology make a representation of it in a JTree. My applet have the following package structure: appletui |tree |utils|__ config |__ icons |__ lib appletui have the applet's class (MenuApplet.class)tree have the classes to represent the tree ...
hi,Can any one tell me how to get an applet to read the 'user.home' variable. Im using System.getProperty("user.home") but applets aren't allow do this.Thanks,Kevin.
387 byte By
javakida at 2007-10-2 17:02:28
HiI am considering a range of technologies with which to build an application, java applets are one of them.What I would like to know is, suppose I give a signed applet access to a directory, can I know create as many files in that directory as I want without getting the applet security to ...
584 byte By
akhilja at 2007-10-2 17:49:14
I am using unsigned applets.I am trying to dynamically generate filename and create a file with that name on a local computer.The permissions I am giving is as followsgrant { permission java.io.FilePermission "${user.home}/-", "read,write";}; -- This DOESNT WORKThis is not working. I am getting ...
1253 byte By
Sootsa at 2007-10-2 17:56:26
It's been a while since I've done any programming and I'm trying to figure out why this Java applet won't work:import java.io.*;import java.applet.Applet;public class Dumper extends Applet //Dumps some text into a file called stuff.txt{public static void main(String argv[]) throws ...
i hav an applet that needs to write a file to onto local system resource. i came to know that the applet needs to be signed. so i searched some guides to create a signed applet but most of them specify how to use it with applet viewer and not on a browser. plz help me with how to sign an applet ...
Hello,I am doing project email sending in jsp.In this I want to send mail with digital signature.In this case I am creating public & private key using RSA.plz tell me how to create digital signature using that ...
474 byte By
Dellysa at 2007-10-2 18:34:51
Hi i try to connet may applet to oracle data base im using this connexion DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());Connection con = DriverManager.getConnection("jdbc:oracle:thin:@SABSERVER:1521:SATDB.OTALGERIE.COM", "HAM", "HAM");but i have a s閏urity ...
Hi,I want to run an applet on opening an HTML page which contains the <applet> tag for the applet which I want to run. Is this possible? Also how can I call the method of an applet from HTML?Regards,Prasanna
HiI tried placing my signed applet inside web-inf/lib, but after bit of surfing I found out that the browser will not recognize the folder web-inf. Pls let me know if this is the correct info and let me know then where or how do I place my signed applet jar.Regards
279 byte By
Yurya at 2007-10-2 18:45:04
I have written applet and signed it. I start my applet from JavaScript. I see question about trust to signed applet. I press “NO”. But my applet continue work. And I have exception during opening file. Is it possible to detect that user press “No”?
674 byte By
khifaa at 2007-10-2 18:47:37
hi, i'm learning how to signed an applet. i can signed and applet. if i want to call other class in that applet, i've also have to sign that class right? so how can i sign that applet with two jar? thank you.i use the javac ChatApp.javajar cvf ChatA.jar ChatApp.classjarsigner -keystore ...
Hi there,Is there any way to get the java.security.cert.Certificate-Object of a signed class after the class has been loaded by e.g. the AppletClassLoader?Thank you in advance, lg Clemens