how to avoid .java.policy file in applet application

1187 byte By Raja_Ma at 2007-11-27 11:58:53
Applet expects .java.policy file in user's home dir for Security and File Permission though applet jars are signed well.The jars are signed as follows:<echo message="Creating KeyStore" /><exec dir="${dest.dir}" executable="keytool"><arg line="-genkey -alias keyname -keystore epskeystore ...

Signing Failure ,help me

1219 byte By ardmorea at 2007-11-27 11:27:32
What is wrong?Do I need create file migsuncert.crt in advance. ThanksC:\Program Files\Java\jdk1.6.0_01\bin>keytool -genkey -keyalg rsa -alias migkeyEnter keystore password:What is your first and last name? [Unknown]: Michel GallantWhat is the name of your organizational unit? [Unknown]: HomeWhat is ...

problems reloading web applet. keyStore or Provider.!

4474 byte By Bozaa at 2007-11-27 10:41:15
First of all, thanks for reading.INTRODUCTIONWe are implementing a Document Signing applet and got some serious problems when reloading the applet with the following structure:1 Applet loads, and if no card is inserted, it shows a warning message and waits.2 Applet download a document to be ...

Drag & Drop Upload Applet - How to simulate HTTP MULTIPART POST

7618 byte By mherrmanna at 2007-11-27 10:31:58
Hi there!First off: It's been quite a while since i was messing with java the last time. I usually use rails in my projects. But there are some things you just can't do in rails... *gg* Having said that, here is my mission:I am trying to put together a java-applet, later on to be used in my ...

javax.comm.properties and win32com.dll

2021 byte By monk3ya at 2007-11-27 8:14:58
HiI have tried searching the forums with no luck, and googleI there a workaround or a solution to not having to place the javax.comm.properties file and the win32com.dll file in their respective forlders?I can get access to the comm ports and everything works fine if i put those files where ...

How to copy a signed jar file?

3468 byte By xlinuksa at 2007-11-27 6:16:41
I have a jar file that is singed. I only need to update a text file inside this .jar file every few minutes by replacing it with another file from outside (same name but different size and contents). So I'm just copying the files from the old jar to a newly created one, then delete the old one ...

Signed applet in Intranet site

352 byte By kulkarni_asha at 2007-11-27 6:10:57
HiI have an applet which i want to make a signed applet, has anyone created an internal certificate and use it with the applet, are there any disadvantages for doing so, rather then getting a certificate from verisign or some third party company.is there any expiration date for my generated ...

A new webcam with applets problems

1130 byte By Hegdea at 2007-11-27 5:42:03
hi I have some doubt abot webcam with applets here are my questions...... 1. There is client(s) and server systems.....webcam is connected to clientside and image from webcam should be captured fromclient(s)and to be sent to server ,through web only. Is there are any possibilities to do this ...

Applet saving to file

147 byte By superhalo117a at 2007-11-27 5:38:45
I have program that I will be running on a LAN, and I want the applet to be able to write to a file on one of our servers, is this possible?

how can i get alias from pfx keystore?

319 byte By crichtona at 2007-11-27 5:22:11
i have two files: cert.spc and cert.pvk. i genereted cert.pfx. now i want to sign applet by using jarsigner: jarsigner -keystore cert.pfx -storetype PKCS12 applet.jar? - what alias?, but i haven't alias for certificate in keystore. how can i get it? or can i sign without alias and how? thank ...

java.util.ConcurrentModificationException when launching aa signed applet .

189 byte By rp123a at 2007-11-27 5:18:21
I am getting the following error while trying to launch a signed applet with JRE 1.6.0_01. It works fine on most of the machines. Any help, advise is appreciated.Thanks

"System.loadLibrary" From JApplet

861 byte By Fada at 2007-11-27 4:18:38
When I try to run: "System.loadLibrary("myDll")" from a JApplet I receive this error message:java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.SNJApi) at java.security.AccessControlContext.checkPermission(Unknown Source)I use Java 1.6.0_01I run my ...

Write Permissions for signed applet

1344 byte By ktommyka at 2007-11-27 4:17:42
Hi, i'm using a signed applet to get a file access for my applet to the lacal disk. I want to write a file to a local directory. When i'm trying it in the appletviewer it works, but it is not running in the browser. I'm using the version 1.5.0_11 of the JRE.I got the follwing ...

login in pop-up window

450 byte By servelta at 2007-11-27 2:06:44
Hi,I not a technical guy. I need a help on this issue. I would appreciate your help!while continuous working on a application ( java based) , unexpectedly a login pop-up comes between and ask for username and password. Now I would like to know what parameter setting causes this problem of ...

Making a signed JAR that expires

121 byte By ChromoXNHa at 2007-11-27 2:04:53
How can I make a signed JAR that expires in a week, therefore, not letting anyone launch the program after a week?

How to access filesystem in Java 1.6

688 byte By mpallesena at 2007-11-27 1:45:15
HiI have a signed JApplet running just fine, accessing various places on my harddrive to read and write files, with Java 1.5.x. But this morning my Java version upgraded to Java 1.6 and this functionality has stopped working. I get the :java.security.AccessControlException: access denied ...

How to handle 2 or more .jar files with an applet

755 byte By X999a at 2007-11-27 1:42:37
Hey out there I have created an ftpClient application that uses "jakarta ftpClient". It works fine as an JFrame application ?But when I converted the Application into an JApplet I get the following Exception: java.lang.NoClassDefFoundError: org/apache/commons/net/ftp/FTPClient I have bundled ...

Can't catch SecurityException?

595 byte By not_terrya at 2007-11-27 1:18:04
Hello,I have an photo book Applet that I use to search and download images, it mostly works but sometimes will fail with a SecurityException when it attempts to download certain images.I've tried this in a try { } catch { } but it just ignores it and still throws the SecurityException.I have ...

Signed Applets - grant codeBase doesn't work!

564 byte By Haidaa at 2007-11-26 23:09:53
I've a signed applet that needs to read wave files from a folder in C:\Program Files. In the policy file, I've added these lines:grant codeBase " http://www.mysite.com/-" {permission java.io.FilePermission "C:Program Files\\folder-", "read";}The problem is I still get ...

Runtime error :java.lang.NoClassDefFoundError: com/sun/security/auth/module

2045 byte By SureshKumar.V.Sa at 2007-11-26 22:38:38
This is the error at runtime.."java.lang.NoClassDefFoundError: com/sun/security/auth/module/NTSystem at GLOBAL.getProperty(GLOBAL.java:20) at oracle.forms.handler.UICommon.onGet(Unknown Source) at oracle.forms.engine.Runform.onGetHandler(Unknown Source) at ...

Scripting applet and security permissions strange behaviour

3036 byte By ivan_ka at 2007-11-26 19:09:11
I have a following problemI need to use JFileChooser in Applet. Applet is signed, of course. When I call JFileChooser from method invoked from applet's GUI everything works. But when I call JFileChooser in public method called from javascript in browser the AccessControlException is thrown. ...

hard disk access to applet

406 byte By Olakaraa at 2007-11-26 18:33:57
hi, I have made a signed applet.. my trouble is this applet needs access to the client hard disk as it save the file transfered from the server to a perticular location. I do not want to change the policy file for each client. Can anybody tell me how to solve this problem of accessing the local ...

Problem acces denied

981 byte By papiara at 2007-11-26 18:17:13
Hi,I have a signed applet which works fine with the jre1.4, but now when I try to use it with the version 1.5, I get an error.I have readed that some people are having problems with signed applets, but i have never seen my exception, could anyone help me? I get the following ...

My signed applet throws AccessControlException

1213 byte By blueskiwia at 2007-11-26 17:47:11
Dear java experts,I am trying to hack some of my own code into a file upload applet I got off Sourceforge. I know two things so far... my code works when it's in my separate test applet and the ZUpload applet works before I modify it.I have put my code into ZUpload and it compiles ok. I have ...

How Can i COM Component inside Applet.

220 byte By vonnya at 2007-11-26 16:04:02
Hi All,I want to use a COM component which is calling C API's inside an Java applet. Is there any way i can load COM dll inside applet and directly calls COM's functions. Pls give your suggestions.

problem loading an applet

595 byte By kris@sunresortsa at 2007-11-26 15:55:18
hello guys,i am getting the following error when trying to display my applet. I have a jar which I am also calling.java.lang.NoClassDefFoundError: UTFuntional (wrong name: appletTesting/UTFuntional)here is the html<HTML><BODY><APPLET CODE="UTFuntional.class" ...

What stops users from extracting the JAR, decompiling to get FTP details?

330 byte By glovenya at 2007-11-26 15:44:30
So I have made an applet to upload files to a server which uses FTp details.How can I stop them from getting the JAR file , extracting the files and decompiling the classes to get the FTP details. When I sign the pplet, the process asks for a passwors, will the extraction process ask for this ...

Problem in signed applet

3430 byte By Gangotri.a at 2007-11-26 15:34:12
Hi Experts,I have signed an applet, the certificate is imported and the certificate is in the trusted sertificate lists.but even after that I am getting accesscontrolexception()The java console gives as followsJava Plug-in 1.5.0_10Using JRE version 1.5.0_10 Java HotSpot(TM) Client VMUser home ...

Using Visibroker in Signed Applet - access denied (java.net.SocketPermissio

1957 byte By cunparisa at 2007-11-26 14:50:07
Hello,I have an signed applet which using visibroker to connect to the server.I'm getting this exception:org.omg.CORBA.COMM_FAILURE: java.security.AccessControlException: accessdenied (java.net.SocketPermission x.x.x.x:51175 connect,resolve) minorcode: 0 completed: NoThe IP address listed in ...

No Grant Permissions Dialog Showing

3533 byte By Jimmmeha at 2007-11-26 14:22:15
Hey guys, I am trying to write a simple applet that executes a file on the users local filesystem. I have signed the applet by first creating a keystore and then using jarsigner to self-sign the applet. However, when the applet is executed it throws an AccessControlException when trying to ...

clipboard security issues

892 byte By hellpa at 2007-11-26 13:32:38
Using jre 1.5.0_06 i can copy and paste to and from an unsigned applet using the keystrokes, with no special policy settings. However if I try to access the system clipboard through the code i.e. Toolkit.getDefaultToolkit().getSystemClipboard() I will get a security exception.My hunch is that ...

How to sign and get dynamic authorization?

1012 byte By gbazilioa at 2007-11-26 13:29:51
Hello....I'm new here and would like to have some help with my applet...My plan is to do an applet with database access, but I did one to connect, nothing else, to a web page.I think this is the same history everyones tells....My applet works on my IDE, but does not on my browser. It throws a ...

Problem signing Applets with sound recording

3880 byte By Hush_puppiea at 2007-11-26 13:27:23
I'm working on a project to have live conversation in one to many clients scenario. i have tested the code as a command line app No problem but hell let loose when i converted the code into an applethere are the error messages i'm gettingException in ...

Error when loading java spades applet

3489 byte By mensuckvillea at 2007-10-3 11:42:59
I updated the new java now i can't play spades.I am unable to uninstall java and reinstall because it was originally installed under a user that has since been deleted from my computer.Is there anything I can do? I am able to play other games online like gin in yahoo but the spades applet will ...

new to signed applets......need help

727 byte By JNooreza at 2007-10-3 11:35:16
Hi...I'm new to signed applets and I have some questions, that several tutorials i read did not really answer..1) When doing keytool -genkey.... what are each of these used for-alias -keystore -storepass -keypass.......I the tutorials seem to be confusing what each of these are actually used ...

grant codeBase - Problem

431 byte By ankush111_daiicta at 2007-10-3 11:30:51
hi all,I am using a aplet which is on some server http://xyz.com:9080/application. Server is JBoss4.0.4In the java.policy file, i am usinggrant codeBase " http://xyz.com:9080/application/*"{permission java.security.AllPermission;};But still i am getting AccessControlException while the applet is ...

Help need in Signed Applets.....Urgent

620 byte By BharathVasudevana at 2007-10-3 11:13:21
Hi,I am stuck with a problem. Please help me out.The requirement is :I have an applet which has to run an executable which produces a .txt. The applet should use this .txt to produce its output.I made the applet into a signed jar and ran the executable to produce the .txt . But the .txt is ...

Applet servlet communication.

429 byte By rk_lakamsania at 2007-10-3 11:03:58
I have a Applet servlet communication that is working fine. I am able to communicate from the applet to servlet and vice versamy servlet is running on port 80. we have moved the server behind the firewall and we have opened only port 80 on the firewall.after these changes, i am not able to make ...

jogl Applets and AccessControlExceptions

730 byte By mspkylea at 2007-10-3 9:41:06
We're trying to deploy jogl-enabled Applets from our site. The Applet tags are generated by Javascript. We're trying to launch the Applets via the JOGLAppletLauncher. When we do this, we get the following Exception:java.security.AccessControlException: access denied ...

Weblogic and JAAS login module

387 byte By v12345a at 2007-10-3 9:19:20
I have developed a custom JAAS login policy for my application and deployed it correctly on JBOSS server.Now i need to chek the same on Weblogic 8.1 server, but I am unable to find a file where I could place the policy information that i placed in the login-config.xml file of the Jboss server. ...

JFileChooser permission error.

630 byte By timmoyera at 2007-10-3 8:48:11
Our application, or applet if you will has been working fine. We have not needed to create any specific security permissions on the client PC as the applet is signed.As of late, and only in IE we get a:java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir ...

When we call applet from another system?

374 byte By ChatAppa at 2007-10-3 8:24:24
HiI have one Problem :When we call one applet using localhost is working fine but when we call same applet by IP address it doesn't work :Please help me...... http://localhost:8080/ChatServletTopicUnicode/index.htmlbut http://IP:8080/ChatServletTopicUnicode/index.htmlit won't work ....thanks ...

Regrading NoClassDefFoundError

545 byte By priyapa at 2007-10-3 8:00:09
I set classpath and command promt and Env.var...my program is at d:\java\binWhen i compile my prog using javac it is compiling ..but when i run my prog my prog using java it is not running and creating the prob isException in thread "main" java.lang.NoClassDefFoundError My code isclass temp{ ...

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

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?

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

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?

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

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

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