Undoing 'Trust Always'

434 byte By nutthick2a at 2007-10-1 19:08:49
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 ...

how can i convert my encrypting file to a applet form to use it in IE?

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

Applet and HTTPS

134 byte By Alortesfbfhfgytytua at 2007-10-1 19:12:08
For posting data on a secure mode, https url, is it correct to use new URL(https://******) or I have to use HttpsURLConnection?

problem in receiving data from the comm port

1266 byte By piano988a at 2007-10-1 19:16:45
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 ...

Io Exception for signed applet in jre1.4.2

270 byte By swapnilba at 2007-10-1 19:22:44
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.

Io Exception for signed applet in jre1.4.2

270 byte By swapnilba at 2007-10-1 19:22:46
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.

Problem in signing applet ("self-signing")

949 byte By nfalmeidaa at 2007-10-1 19:37:14
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 ...

IE Specific problem loading signed applet java 1.5

5364 byte By timothycostaa at 2007-10-1 19:38:17
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 ...

Create a new file

492 byte By Fabricio_Lemos_Bra at 2007-10-1 19:52:44
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 ...

Getting a AccessControlException when no violation has occured

863 byte By No_Germsa at 2007-10-1 20:29:55
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 ...

Is there any way to run signcode.exe program under background mode

667 byte By dzhrbknea at 2007-10-1 20:39:29
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 ...

java.net.socketPermission in Netscape 7.2 but not in I Explorer 6.0

700 byte By blueheartbrokena at 2007-10-1 20:40:06
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 ...

appletviewer to html page

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

usePolicy ... again..

844 byte By Duckling@bga at 2007-10-1 21:12:14
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 ...

Signed Applet - Grant All/No/Always pop up not displayed

583 byte By guezeg81a at 2007-10-1 21:24:01
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 ...

Unable to fetch data from HTTP

979 byte By official_manua at 2007-10-1 21:33:59
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 ...

Cache

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

Applet caching

407 byte By rerere34545a at 2007-10-1 21:45:01
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 ...

AccessControlException is thrown

1478 byte By harsha77bhat96a at 2007-10-1 21:46:45
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 ...

No print service found

126 byte By LaiScotta at 2007-10-1 21:51:00
After turning <applet> tag into <object> tag, no print service found. How to figure out the problem? Thanks

URGENT : Applet Accessing Server

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

Upload Images java applet

1450 byte By ioanapvcluj@yahoo.coma at 2007-10-1 22:24:51
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 ...

Applet save file!! URGENT!!!!!!!!!

303 byte By raamkanna_saranathana at 2007-10-1 22:32:42
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 ...

Generating certificate with predefined certificate SerialNumber field

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

Rejecting Security Warning with Signed Applets

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

Certificates Store

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

Cannot connect to database in a signed applet

465 byte By kikotores@yahoo.coma at 2007-10-1 22:44:15
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 ...

Free , local Certificate Authority tool ?

543 byte By solmyr72a at 2007-10-1 22:48:11
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 ...

Howto use applets to alter remote files...

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

How to Bypass Security Popup with Signed JAR files

1472 byte By spicoli7a at 2007-10-1 23:01:29
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 ...

Applet doesn't run ?

619 byte By chadorbafa at 2007-10-1 23:02:14
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 ...

Signed Applet still unable load applet (how to modify client java.policy)

837 byte By sunnylokea at 2007-10-1 23:31:37
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 ...

Java Applet - Printing Pdf Files

219 byte By nikhilaggarwala at 2007-10-1 23:32:30
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

Getting exception when trying to load image inside applet window

289 byte By vchandramoulia at 2007-10-1 23:37:58
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

signed Applet don't run, but with appletviewer it work

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

signed Applet with Browser don't run, but with appletviewer it work

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

Applet loading over SSL warns of untrusted SSL certificate

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

contents of SIM card and smartcard

279 byte By b_prasada at 2007-10-1 23:59:20
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...

Signing third-parties JARs

1245 byte By alexandre_cursia at 2007-10-2 0:19:14
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 ...

question on the capabilies of signed java applet

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

IE - signed cab vs. signed jar problems

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

Problem with access denied

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

screen capture from client machine

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

Applet Security

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

Finding the signer alias from within Java?

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

Unable to save file correctly from Applet under Java 1.5

436 byte By still_learniga at 2007-10-2 1:08:18
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 ...

Signed applet and CGI

344 byte By Chandrakantha at 2007-10-2 1:16:03
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...-- ...

Signed applet security warning appears twice.

280 byte By Magnus@TACa at 2007-10-2 1:16:23
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

avoiding signing third party library

819 byte By sri_nivasa at 2007-10-2 1:31:18
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. ...

Help with applet and SSL

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