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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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?
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 ...
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
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 ...
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 ...
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 ...
How can I make a signed JAR that expires in a week, therefore, not letting anyone launch the program after a week?
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 ...
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 ...
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 ...
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 ...
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 ...
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. ...
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 ...
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 ...
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 ...
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.
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" ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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. ...
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 ...
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 ...
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{ ...
88 byte By
JEGANa at 2007-10-3 7:09:38
how to place a image in a Frame(in particular location).?please reply.....
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?
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 ...
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?
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 ...
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 ...
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 ...