I've been playing with signed Applets for the first time, and in the process clicked 'Always' to the trust dialog box. I thought once I'd done that I could go into the certificate manager and delete it, but it's not there and the applet is now always trusted.I clicked on 'Always' in ...
12677 byte By
mayceka at 2007-10-1 19:10:42
Hi, i m a little new in JAVA. I searched about encryting methods. And i decide to built a encrypter that reads a string from a textbox and writes the encrypted form to another textbox.. this code is working in eclipse. but i cannot convert this to applet form to use it in internet explorer .. i ...
For posting data on a secure mode, https url, is it correct to use new URL(https://******) or I have to use HttpsURLConnection?
hi all,i'm using signed applet to access the user local comm port, to send/read the data from a RFID device. i've managed to open the comm port and connect to the RFID device, but i can't receive any input from it. Means my serial port event is not invoked at all.below is my coding:public ...
My applet is is making a connection with url(not same as applet host:cross domain) and reading the response.I have alreadyu signed it .It is working for jre 1.4.1 but not for 1.4.2.Can anyone help with this.Sample code will help a lot.
My applet is is making a connection with url(not same as applet host:cross domain) and reading the response.I have alreadyu signed it .It is working for jre 1.4.1 but not for 1.4.2.Can anyone help with this.Sample code will help a lot.
Hi,I'm trying to sign an applet and i'm not having success.When i try to call my signed (?) applet, <applet archive="sms/SSms.jar"></applet> i get an error ("Applet notinitied"). What i did to sign my applet was:C:\Program Files\Apache Tomcat 4.0\webapps\ROOT\sms>jar cvf ...
Hello,I am having troubles loading our signed applet under IE 6.0 (only tested version atm).Firefox loads it without trouble, though the <object> tag that launches each is different.Every time I try to launch the applet, it prompts me to install the java runtime environment. I currently ...
Hello,I have a signed applet but it does not allow me to create new files. I can only read and create new folders.for example, the code:myFile.mkdirs();works okbut with:myFile.createNewFile();I get the exception:java.io.IOException: Access is deniedat ...
i'm getting this exception:java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM)at java.security.AccessControlContext.checkPermission(Unknown Source)at java.security.AccessController.checkPermission(Unknown Source)at ...
Hi everyone,I am finding the solutions to build the project automatically but the situation is still unchanged. When building the project i have use the signcode tool to sign my .cab files therefore the system shows me the "Enter Private Key Password" dialog and ask me to enter my password into ...
I have a signed applet running well on IE 6.0 . This applet connects to a servlet and passes it a list of parameters by post. Everything works fine in Internet Explorer 6.0but in Netscape 7.2 and Mozilla 1.7 gives me a error generating url access denied ...
606 byte By
denroyfa at 2007-10-1 21:05:30
I am new to java development and I created an applet that reads and writes to a database. I have given the applet runtime and property permission using the policy tool. When using appletviewer it works fine but I would like to know if someone can point me the the right direction as to how I can ...
I hope the forum can bear with another usepolicy question...I have read numerous earlier posts, but there is still something I don't quite get.I'm not a Java developer, I'm just trying to get a signed applet to run like we want it to ..I thought the following were true:If you add grant ...
Hi,I've been trying to make the JICA Citrix client work with the JVM. It works well with IE and the Microsoft java machine, but using Firefox, the applet stops loading raising a AccessControlException.I've read in some other forums that writing grant {permission java.lang.RunTimePermission ...
Hello AllI am fetching data from HTTP connection and creating images from that data.My problem is that I am doing this Http connection through applet which works fine in Appletviewer but not in IE browser.It gives exception messages as follows:java.security.AccessControlException: access denied ...
226 byte By
Ludaneka at 2007-10-1 21:42:04
Is anybody knows how to use cache in Applets in java 1.5?I tested URLConnection.setUseCaches(true) on WinXP and it looks not working.Cache provider is used sun.plugin.cache.PluginCacheHandler.Thanks
Hi all,I have a problem with my applets. I know that there is a ticky caching provided bu the java plug-in in order to chache them in the filesystem to improve performance.The problem is that I don't want that feature and the solution to uncheck the combobox in the java plug-in console is not ...
i got a test certificate signed for my applet...but still on running my code with File.mkdir() in it ....AccessControlException is thrownjava.security.AccessControlException: access denied (java.io.FilePermission C:\JavaChat\ContactDetails write)at ...
After turning <applet> tag into <object> tag, no print service found. How to figure out the problem? Thanks
469 byte By
psr2407a at 2007-10-1 22:05:29
Hi,i am kinda new to applets ... correct me if i am doing anything wrong..i have an applet (signed) which tries to access server (Solaris server) and get a file, say file.exe, i am passing the path of server from a jsp page as parameter. when i try to access this from client browser i get error ...
Hello,We are trying to create a java applet that will be hosted in an ASP .NET-based web application, to help a user select an image file from the client computer (such as jpg, gif or another supported image type). After that we want to do jpeg-encode the image on the client side (within the ...
How do i make an applet display a file dialog and save a file to a client's machine? I am using robot to capture the applet screen and want to save this image.... I keep getting accesscontrolexception and have read a lot of articles about signing applets, but nothing seems to work. Please ...
645 byte By
SwErra at 2007-10-1 22:35:03
Hi!I need to generate certificate (programmatically or using keytool), which should contain predefined serial number in. F.e.:, after generating certificate we see:Owner: CN=SomeBody, O=SomeBody.com, L=A, C=BIssuer: CN=SomeBody, O=SomeBody.com, L=A, C=BSerial number: 25fca39dValid from: Fri Feb ...
804 byte By
rjtruesa at 2007-10-1 22:38:36
I have developed an applet that is similar to a chat program and uses OpenJMS. In its current state, the application recognizes each user by their computer name (example: Robs_Computer). The applet is signed and executes correctly with full permissions. My problem is that if a user rejects the ...
452 byte By
purplea at 2007-10-1 22:42:12
Hi,Wonder if any of you can help me. After installing the Java client and navigating to a site I get a request to install a certificate, I choose always and I never get asked again. That is cool, but is there any way of preinstalling the certificate on further machines so the users no longer ...
Hi i have an applet that connects to a database and does stuff. However when I move the applet to a different server i get errors. I did sign the applet but i still getjava.security.AccessControlException: access denied (java.net.SocketPermission <server> resolve)Do I have to explicitly ...
Could anyone please recommend a free *Windows* tool that can be used as a local CA ?I'm looking for a "Certificate Authority" tool which we could ran locally on one of the company's machines. The idea is, we'll use this CA to sign our certificates (Needless to say, this CA will be added to ...
723 byte By
kthunoa at 2007-10-1 22:57:56
I'm in the process of collecting information about the possiblity for applets to use resources from their originating server, so question being: Is it possible for a user to enter a website, load an applet and use this to alter files on the server?If it can be done then would anyone then ...
We are running a third party Java application for our main navigation menu. We use IE 6, and currently we use the Microsoft VM. To get around any problems, I have signed the CAB file for the menu and I have automatically added myself as a Trusted Publisher in IE, and the root CA that I got the ...
Hi,I have an applet that already works on my old server. I want to copy this applet on a new server. I copied the entire directory and sub directories to the new server. SDK1.3.1 and plug-in 1.1.3 are already installed on the new server. When I tried to run the applet, I received a message from ...
Hi,I have make an applet to connect to a comm port and read data from it. I have signed the applet as I know this is necessary if need to connect to comm port. Under my own PC, I am able to modify the java.policy to grant permission for all. However, when I put it to other PC, it show me that I ...
HiCan anyone suggest me some libraries to print pdfs using Java Applets. I have tried using the SmartJPrint library but its giving me error when I try printing pdfs using applets.Thanksnikhil
Hi,I am getting the below error when trying to display image inside an applet.File not found or error reading com.ms.security.SecurityExceptionEx[ach/file/o.y] : cannot connect to "emp31"Can anone know how to resolve this error.Regards,KIshore K S
2418 byte By
BobiBoa at 2007-10-1 23:44:16
[nobr]Hi,first sorry but i don't undersand wery well English. I understand German !I've implement a Applet who open a Comm Port. i've my signed my Applet and create a Policy-File, but wenn I start that Applet with a Browser it don't open a Comm Port. And wenn I start it with a appletviewer, ...
2418 byte By
BobiBoa at 2007-10-1 23:44:17
[nobr]Hi,first sorry but i don't undersand wery well English. I understand German !I've implement a Applet who open a Comm Port. i've my signed my Applet and create a Policy-File, but wenn I start that Applet with a Browser it don't open a Comm Port. And wenn I start it with a appletviewer, ...
837 byte By
Astutea at 2007-10-1 23:50:25
I am able to access an SSL site with no certificate warning popups and the security certificates listed(via the lock button on browser) show as valid.However when I download a signed applet from the site, it fails saying that the SSL certificate cannot be trusted - 'Publisher authenticity can ...
hello,plz tell me what is the default data on smartcards.(smartcard unique number and whatelse..).what is the difference between SIM card and SmartCards other than physical size.what is the default data we find on SIM cards.thanks in advance...
Hi all,I'm having a problem trying to run an applet that connects to a MySQL database. I can run it normally in my workstation, by editing the java.policy. However, I want to make it viewable by people in the intranet.I saw posts about signing JARs for this goal. My problem is that I use two ...
535 byte By
imin83a at 2007-10-2 0:38:03
hii'm creating a program written in C++ and Java and install it in a client's pc.The client will then have to access our website in order to do/buy something from our system.On our website there will be a signed applet (self signed). Will the signed applet be able to call certain function in ...
807 byte By
velodoga at 2007-10-2 0:41:56
In IE on Windows when I sign an applet that is part of a package in a cab file it works like this; The first time the user hits the applet tag, IE downloads the cab and asks if you trust the applet. When the user clicks yes, it is installed to the downloaded program files system folder. The ...
3496 byte By
P@nd@a at 2007-10-2 0:47:46
Help, im using an applet to try to communicate to my db postgre using hibernate and im getting this:...25/09/2005 12:51:31 PM org.hibernate.connection.DriverManagerConnectionProvider configureINFO: autocommit mode: false25/09/2005 12:51:31 PM ...
583 byte By
ekmasda at 2007-10-2 0:58:26
We have a client-server application. Iam trying to take a screenshot from the web-client (using Robot class) for which iam using signed jars. Everything works fine for me.But this requires java-plugin to be installed in the client browsers. This is a usability issue for me. I dont want to ask ...
598 byte By
pbp76a at 2007-10-2 1:02:28
I know that by adding the policy file to my security properties file, I can modify my applet restrictions. That means, I can distribute my applets with a policy file to the users and my modifying their individual security properties file they can modify the distributed applet's restrictions. ...
3737 byte By
almhe03a at 2007-10-2 1:03:58
Hi,it seems that the keystore signer alias (i.e. the alias name which you use to sign a jar file using jarsigner) is not readily accessible from within Java. What am I missing?This piece of code outputs the code source.package main;import java.io.*;import java.security.*;import ...
The code is signed with Verisign certificate, doPrivileged is added to the Applet, and the java policy file is created on browser machine. But somehow the file can not be saved correctly from romote web server. The saved file can not be opened because it is corrupted. But it works fine on local ...
Hi,I need to upload one text file from the client machine using applet (signed) to the server using perl... how would i do that..?How would be the applet that makes the connection n writes the data to perl and the perl program that reads the data from applet....plz hlp...-- ...
Hi!We have a web site using signed applets. The "problem" is that the "Warning - Security" messagebox that appears in IE, when the applet is about to be installed and run, sometimes appears twice. I would like to know what causes this? Any ideas?Magnus
Hello all, I did lot of googling for this but couldnt get anywhere.I have an applet which reads / writes a local xml file. I use dom4j api for xml parsing stuff. I have all the third party apis/jar files in a lib package/folder. And my class files in my own package which reads/writes xml file. ...
9838 byte By
P@nd@a at 2007-10-2 1:39:33
Hi im using an applet that sends info to the server and im using SSL. Ive looked over the net but i dont know how to solve this, any help would be really apreciated.Im getting this errors:***Client side:***javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path ...