Applet unable to access servlet

644 byte By Syrixa at 2007-10-2 1:39:43
I have just made an applet which is hosted together on my server with the rest of my servlets.Below is a code of the applet . Where getInfo is my servlet nameString Servletadd = " http://testing15.homedns.org:8084/testing/getInfo";URL u = new URL(Servletadd);con = u.openConnection();However i ...

Trying to access a sever from my school...

1171 byte By Static_Impulsea at 2007-10-2 1:57:46
Here's the scoop. I'm trying to access this server;Host: 204.209.44.8Port: 9000Now here's the message I get when I try.java.security.AccessControlException: access denied (java.net.SocketPermission your.web.server.com resolve)at java.security.AccessControlContext.checkPermission(Unknown ...

Signed Applet - JNI problem

508 byte By @shishGa at 2007-10-2 1:57:48
hi alli have written one Signed applet which is making some JNI calls. Everything is going fine and I am able to make calls. But problem comes when i am trying to call my java class methods from c++ jni methods. I am calling static method using:jmethodID mid = g_pEnv->GetStaticMethodID (cls, ...

problem writing an applet

8431 byte By michelledwooda at 2007-10-2 1:59:49
I can't figure out how to write the if-else code to determine the outcome of the game. This is because I can't figure out how to write the value of the variable for the picked card! I've commented on the part where I am having problems.// User is asked to guess which of the two face down ...

Java Desktop Database

510 byte By Muniraja at 2007-10-2 2:03:06
HI I am in the process of developing a Java Desktop app. My app should be packgaged with an embedded relational database. I am currently going over the couple of emedded versions(Apache Derby is one in that). I am more concerned about the database security which stand inside client machine(not ...

Applet hangs during https communication

861 byte By xunita at 2007-10-2 2:10:27
I have an application using applet to servlet communication,the https communication is established by URLConnection.However after certain time of communication the applet just hangs at getOutputStream .without any error or exception.The environment is JRE 1.4.2_07 and Tomcat with SSL enabled.I ...

How can I get a guest's MAC address from an applet

118 byte By Johnnylee78a at 2007-10-2 2:12:38
I want to get the guest's net adapter MAC address when the guest visit my page.Can I use an applet to do this?

Connecting Driver class to an UntrustedApplet

323 byte By Lalitha.Vaddea at 2007-10-2 2:25:44
How to include a policy file to an <applet> tag?*I want to connect to an Driver Class in an init() method of applet. Instead of using Appletviewer such as> appletviewer -J-Djava.security.policy=securityfilename appletpgmname.java--I want to include policy file in an Applet tag of ...

Hello everybody. I need some help.

971 byte By mikel23a at 2007-10-2 2:32:30
Hi, I am from Spain. Sorry, but my english is so bad...I am doing a project in JAVA. I need to know if exists a code that shows in the screen a panel with numbers for login in a website for example. I need panel similar to the banks panels.........when you login in internet in a bank磗 ...

setProperty-access in start-method but not in other methods of my applet ?

3179 byte By Jurgena at 2007-10-2 2:41:31
Hi,User downloads html with signed applet, the applet started after trust.Then I want to set the keystore property with a method that I call from javascript in the html-page. I get a java.security.AccessControlException: access denied (java.util.PropertyPermission javax.net.ssl.keyStore ...

Signed applet cannot make HTTPS back to server via HTTP proxy

983 byte By petrsta at 2007-10-2 2:44:58
Dears,please help with following issue:we have client-server application. - client is signed Java applet, communicating via HTTPS (HttpURLConnection.class) to the server.- server is sitting in our DMZWhen connecting from our network or public internet everything works fine.If the client is in ...

How to pre-import certificat before starting an signed applet?

704 byte By Veecka at 2007-10-2 2:45:06
Hello everyone,I am developing some signed applets which are deployed together with a setup-programm. Those applets are then run from a local webserver therefore the "Do you trust this certificat"-dialog appears when the applets are loaded. But since those applets are deployed with a ...

Having trouble with my signed applet(if it's properly signed that is)

7728 byte By thallisha at 2007-10-2 2:48:29
hi I'm having trouble with my supposedly signed applet. I'm trying to execute a specific program in this case trilian from my browser. i'm using firefoxfirst my java codepackage applet;import java.awt.*;import java.awt.event.*;import javax.swing.*;import java.io.*;public class RunApplet ...

Signed applet in java script

170 byte By Lcube162a at 2007-10-2 2:51:14
I am getting exception if i invoke signed applet function in java script.I dont what to do.I am working JRE 1.4.2_07 in IE.Reply me soon ASAP.

Problem running applet with Microsoft VM

11020 byte By saibal_kumar_ghosha at 2007-10-2 2:58:11
Dear All, I am trying to run this applet code which also created a server socket at 8189 of the local machine to accept sockets(client). It is running fine with Sun VM and Interner Explorer 6.0. But the problem has to be run using Microsoft VM(Microsoft (R) VM for Java, 5.0 Release ...

Signed applet to upload Wav file

532 byte By Chandrakantha at 2007-10-2 2:58:28
I m using signed applet to create a wav file and upload to the server. at the server side i am using perl scrit for upload.process goes like this,applet reads the wav file and writes byte stream by opening http connection to perl file. at the server side perl programs reads from STDIN in binary ...

Problem with integrating CORBA and applet

456 byte By Shen_LIna at 2007-10-2 3:12:10
In my project, I am developing a CORBA based applet client. I have allowed my applet to have read and write access to the client. I also need to allow the client to connect two more than one servers. But it seems my client can only connect to the server if this is the same server where my ...

javax.servlet.ServletException: Servlet execution threw an

5734 byte By Christopher99a at 2007-10-2 3:33:30
Hi All,First time posting, I'm hoping I'm in the right section. The above overflow appears to be caused by something having to do with certs or security. The basic app (its an online file storage, web accessible) continues to function after this, but uploads break and are unusable. We use ...

Help Need Excution Of Runtime.exec(String) Command and native code

793 byte By RahulSharnaa at 2007-10-2 3:53:42
Hi Friends,I have a small problem out here.I badly need help from U guys.....Well,i started coding an applet and tried to use Runtime.exec(String) in it and i got a java.io.FilePermission error.I tried to search about that.So i got some help that policytool can help me.When i tried to run the ...

Need your help!!

345 byte By perspolisa at 2007-10-2 3:55:21
Hello everybody, I have faced with a problem.The problem is related to security in sending datafrom output file in a java applet into a temporary file.This writing is done through a 3rd party application used by the applet.Do you think you could possibly help me to solve this problem?Thanks in ...

Javascript calling Java in Mozilla Problem

913 byte By badch0wa at 2007-10-2 4:03:06
Hi All,I currently have a javascript function calling a public method in a signed applet.document.app_frag.addGameAndCategory(gameName,categoryName,poolId);The call works flawlessy and quickly in IE 6.0 but in FireFox 1.0.7 I see the following trace in the Java Console:liveconnect: JavaScript: ...

What are the steps to sign an applet

973 byte By mynameisa at 2007-10-2 4:22:46
I've been searching and reading for weeks now and just recently I though I had it... I put my Uploader tool online, and the "grant yes/no" came up!! I was excited, and then the applet showed up. This was the farthest i'd gotten thus far, and then... it didn't pop up the JFileChoser. It ...

URLClassLoader + dynamically loading signed jar files

356 byte By shonaba at 2007-10-2 4:46:16
I have an applet that does not know all of the jar files it will need to load at startup. I would like to dynamically load these signed jar files using the URLClassLoader, however it does not recognize these jar files as being signed and I get java.security.AccessControlException: access denied ...

Applet not initialised? Please Help very urgent?

740 byte By harry_singha at 2007-10-2 5:11:35
Does any one know this problem ... My applet is running on my server..i am using appache web server and chat server in java...This is what happening....I can connect to my chat server from anywhere else ..even from local machines .. no problem... but very few people getting errors like applet ...

JNI and Applets - really big bugs with browsers

1149 byte By Flo-skarpa at 2007-10-2 5:56:15
Hi,I am implementing an applet using dll with JNI. I followed the instructions and proceeded step by step, but I have a really "strange" error.The point is that I download my dll from a zip file taken from the web (untill here no problem); and I save them into a temp directory ...

java.security.AccesControlException:acces denied

385 byte By cristianmontesa at 2007-10-2 6:08:58
I do a signed applet that send a stream of an archive, to a servlet, this servlet, save the stream in the other archive, but now i want to do same calling this applet method with JavaScript, but when i call this method, i see this message "java.security.AccesControlException:acces denied ...

accessing mysql db from applet problem ..help !

669 byte By Servant@AKa at 2007-10-2 6:09:44
hi guys,I have an applet that I self-signed , which access a MySQL database. Unfortuneatly , it is giving me an error:The SQLException: Unable to connect to any hosts due to exception: java.security.AccessControlException: access denied (java.util.PropertyPermission file.encoding read)I assumed ...

Signed jar still won't allow remote connection

737 byte By utdrmaca at 2007-10-2 6:12:44
I've compiled this Java applet and rolled it into a jar and signed the jar with an authentic cert from Thawte.The jar lives on server X. I'm trying to make a connection to server Y. I am not allowed to do this for some reason. I keep getting a SecurityPermission exception when creating the ...

SOAP Server embedded in an applet

495 byte By skendera at 2007-10-2 6:22:16
Hi,I did an C++ activex which communicated with a GSOAP Server. Actually, this activex was a GSOAP Server as well because I needed that client was up to date to the last event in the system without polling. At the moment I would like to translate the client to java ,leaving untouched the ...

Problem with signed applet jar-file launching from jre1.5.0_04

1721 byte By AndreyNea at 2007-10-2 6:23:00
During launching applet from ie I receive next exception in ie pop-up window(Warning-Security, Certificate not verified):java.security.cert.CertificateException: Check leaf key usage failed in certificateat com.sun.deploy.security.CertUtils.checkUsageForCodeSigning(Unknown Source)at ...

HOW DO I SIGN AN APPLET?

254 byte By I_be_ama at 2007-10-2 6:36:42
I have an uplet which use jfilechooser & i know that in order for it to work i need to sign it.what does it mean?how do i do it? In the html file? in the java file?Please help me cause i'm a beginner...Thanks alot!

HELP ! Policy file to allow signed applets to access local printer/.

681 byte By debo_naira at 2007-10-2 6:39:09
I have a signed applet which is accessing the default client printer. I am currently upgrading to use Java 1.4.2_08 plugin version...There is javascript which accesses the applet methods so even though it is signed I still need to use java policy file ...what permission should i setup so that ...

signed applet is not granted its permission

260 byte By jojolaa at 2007-10-2 6:40:11
hii have an applet thats calling a method from another class from the same signed jar file. granting all permissions to everything it works, but as soon as i use "signedBy" i cant read or write. what am i doing wrong?thanksjo

ran update yesterday, now my connects fail

990 byte By bsandliera at 2007-10-2 7:01:25
I ran some quick updates yesterday from a popup alert and now my signed applets throw an AccessControlException. I'm displaying the following message in the browser's status bar:java.security.AccessControlException: access denied(java.net.SocketPermission xxx.xxx.xxx.xxx:xxxx connect, ...

Firefox rejects my optional package installation

673 byte By dvm.daedalusa at 2007-10-2 7:06:21
Hi, I've created an applet that requires a couple of .jar's to install beforehand. It uses the Sound API. I've tested the applet before and it works fine (both in windows and linux) but now, I've installed a fresh copy of ubuntu in my computer and I'm using firefox 1.5 (with a custom ...

Loading Image Files in an Unsigned Applet from the Server

452 byte By Cheiron86a at 2007-10-2 7:06:50
Sorry, i didn't find a proper Forum.I want to load Image Files from the Server in the JApplet -but everytime i try i get the message:/Schadenskizze/classes/applet/pics/szenariosaccess denied (java.io.FilePermission \Schadenskizze\classes\applet\pics\szenarios read)in the Internet Explorer Java ...

Connection between signed applets over the Internet

950 byte By MoleyHareya at 2007-10-2 7:06:52
Hi all,I have 2 applets (A and B) that are launched from different servers and I would like to invoke one method of applet B from applet A.Both applets have their jar files signed using signtool and the Netscape certificate.I have tried to call applet B from applet A installing both applets in ...

Need help with XML and Applets

560 byte By psr2407a at 2007-10-2 7:06:56
Hi,I have a JSP page which displays events (eg: Club events), say I have 10 events, i can select whatever events I want and create an XML on the server and then dowload it to client using a signed applet. The problem is, say, if I select 1 and 2 events at first and say save, an XML is created ...

How signing applets works

3225 byte By mikey_pa at 2007-10-2 7:08:41
I have a lot of questions.I've programmed a game in a java applet that will require me to save the state of a game character. I thought it would be best to have my character class implement Serializable and write the object to a file. Then read the file to load the saved game.So I found out ...

Certificates in lieu of Oracle connection Manager for our Applets -- Help!!

4651 byte By Estona at 2007-10-2 7:09:24
I support an application named IDEA out of New York. The IDEA application is an INTRANET application for use within our company Firewall.Currently, the IDEA application's front end resides on a Windows 2000 Server running IIS 5 and JRun 3.0. The back-end runs on Oracle 8.1.7 database on a UNIX ...

Client To Volano Chat

222 byte By suxxa at 2007-10-2 7:10:34
Hi therei was made a client to VolanoChat(elchat.com) in VB but i can't understand itcan anybody help me pleasethe client connect to elchat.com on port 8000but the server dont send reply

Signed Applet able to connect to distant webservice?

630 byte By joy5a at 2007-10-2 7:32:34
Hello :)I was wondering if an applet would be able to connect to a web service located on a distant server (Axis 1.3). I have signed the applet but it still doesn't work...Architecture:Signed Applet >> Axis 1.3 web service >> MySQL requests Is it possible without editing the ...

signed jars getting access denied exception in jdk 141 - help!!

750 byte By david.landsberga at 2007-10-2 7:41:21
The applet opens successfully when using plugin 142 but gets the following exception when using plugin 141:java.security.AccessControlException: access denied (java.util.PropertyPermission com.kintana.core.logging.APPLICATION_LOCATION write)at ...

Reopen window with query of trusting to the signed applet.

922 byte By Liona at 2007-10-2 7:43:44
If user calls applet then the IE calls Java plug-in (JVM), this JVM checks sign of applets and asks user for trust and saves answer in internal java session. If user calls applet which was checked, JVM doesnt ask user about trust, because JVM already has answer. This answer is used (always ...

security problems

4725 byte By pmuppalaa at 2007-10-2 8:02:22
Hello all, This is the first time, I am using this forums. I wanted to implement servlet agent ( siteminder) for an sso application. I get the following error, we use siteminder version 5.5 sp3jre and jdk 1.3 versionerror:Starting WebLogic Server ....<Dec 17, 2005 11:35:58 PM CST> ...

Applet access local file

343 byte By rubyyana at 2007-10-2 8:04:50
I have an applet that access local files and directory.I have create the applet policy file.When viewing with appletviewer, we can type:appletviewer -J-Djava.security.policy=applet.policy MainApplet.htmlHowever, when I want to embed the applet in a html, how can the policy file be included?Thx ...

Applet Problems

7898 byte By oohmana at 2007-10-2 8:44:29
Hi , I have been facing some problems in running applets. Just as an example , I would like to use this website. http://www.javafile.com/animation/flags/flags.phpWhen I run this page , I get this "exception:java.lang.NullPointerException" in status bar.However , I go Tools ->Internet Options ...

Getting AccessControlException with a signed applet.

8739 byte By jofersa at 2007-10-2 8:45:29
[nobr]I'd like to use a Java applet as a means to allow a Javascript program to create a socket connection. I wrote a simple applet with a method called getWebSite(String addr) which retrieves a webpage's contents using URL and Socket. I packaged and signed the applet, and the browser asks my ...

How to Sign an Applet...

2702 byte By MadKovalchuk17a at 2007-10-2 8:59:30
I am new at this and I am trying to sign an applet which I created. After googling around II see some places on the net that tell me steps to do. It says I need to use Keytool and jarsigner which when I search my computer, I see both of them, but when I try to run them, they close as fast as ...

Applet starting to give 'No print service found' exception !!

1899 byte By debo_naira at 2007-10-2 9:08:55
My applet access the local default printer on the client. We moved to 1.4.2_08 recenlty and i am using the AccessController class inside the applet to access the local printer...It was working the last time we tested but today it started giving this problem ...java.lang.RuntimeException: ...