IIS, Javascript, Signed Applet and ASP Blank Page Problem

Advertisement
Hi,
I'm having a problem using a Signed Applet in a site that runs in a IIS (Windows Server 2003).
My aspx web page uses the applet to read my smart card and get information from it.
This applet uses an auxiliar dll (stored in a second Signed Jar file) in order to read the information from my smart card.
The way the solution is design:
1) Aspx page is asked from server
2) Internet Explorer recieve the page and asks the server for it content (images, applet, javascripts, etc)
3) After this the JVM runs (console opens)
4) After the Aspx page render fully a javascript register onload fires and call an applet method
5) Applet receive the call and run the logic of the method:
     - reads the smart card;
     - calls Javascript function in order to fill aspx fields with information from smart card
     - calls Javascript function the simulates a click in a botton of aspx page (in order to call server side part sending data readed from smart card to server)
5) The server makes some logic with the information receive and responds to client registering in aspx page a call to another Javascrit function
6) The client received the asnwer from server and runs the Javascript function registered on step 5)
     This Javascript calls another method from applet and runs the following logic:
     - reads more information from smart card;
     - call javascript function in order to fill more fields of aspx page with the information readed
     - calls Javascript function the simulates a click in a botton of aspx page (in order to call server side part sending data readed from smart card to server)
7) The server makes some logic and call another pages with no Applets
8) Client asks for a second page with the same applet and we start with another logic express on steps 1);2);3),4);5) and then 7).
This is all ok, until sometimes the server stop responding correcly for requests regarding this two pages with the Applet.
When this happens the server just responds with a blank page.
     - with fiddler I can seer the request for the aspx page (that uses the applet)
     - but server responds with a blank html page
The JVM doesn't fire.
The IIS log don't show errors.
The eventviewer doesn't show errors.
The problem is solved with an IIS reset or a Application Pool reset.
After a while the problem returns.
This problem occours for other user in another machine, the server just stops responding correcly to request regarding pages with applets, the other pages still continue to work.
If we disable Java Control Panel->Advanced->Java Plug-in->Enable the next-generation Java Plug-in the problem seend to stop, but we can't force all clients to disable this option right?
Or there is a way to force the Applet to run with this option disabled?
As anyone experience similar problem?
Regards,
OF
Advertisement

Replay

This is all ok, until sometimes the server stop responding correcly for requests regarding this two pages with the Applet.
When this happens the server just responds with a blank page.
- with fiddler I can seer the request for the aspx page (that uses the applet)
- but server responds with a blank html pageWell, if http requests look identical in case of success and failure (pay attention to cookies, etc) then it has to be something on the server side.
It could be that server gets into this wrong state because of previous requests made by applet but it is hard to tell.
I am not clear how old/new plugin can make a difference unless your applets run in the legacy mode (i.e. you are actually trying to reuse SAME instance of the applet when
it is loaded next time).
I'd start with
1) carefully comparing good/bad sessions
2) checking whether server will serve correct response to another client when it serves "bad" page for current client
3) add debug statements to aspx - it is scripted page, may be some condition is not met and then it returns blank?
4) record all http requests in one session until you get to "error" state and then use any http server testing tool to "replay" this set of requests.
You should be able to get server into the same state without use of applet. Then you can try to tweak set of requests to see what makes a difference.

I have a large document which keeps repaginating and adding blank pages. I can no longer use the print preview at all. I have tried all the usual fixes. Nothing works. Can anyone help?

I have a large document which keeps repaginating and adding blank pages. I can no longer use the print preview at all. I have tried all the usual fixes. Nothing works. Can anyone help?Is your printer selected? <br /> Is '''Print to File''' selected,

I have Adobe Reader XI. Is there a way that I can fix skewed pdfs and delete blank pages? If so, How?

I have Adobe Reader XI. Is there a way that I can fix skewed pdfs and delete blank pages? If so, How?Not possible with Adobe Reader.Read other 2 answers

What EXACTLY is happening when a signed applet loads in a page?

I'd like to know what happens when a signed applet is loaded in a page with the Java Plug-in. What methods are called, in which order, what happens when the user denies the applet, etc. Any links to resources are also welcome. Thanks!!Hi there, Pleas

Signed Applets and Permissions

Hi All, After deploying a selfsigned jar for the applet , and accepting the certificate it gives the following error: java.lang.Exception: java.security.AccessControlException: access denied (java.awt.AWTPermission setWindowAlwaysOnTop). All this hap

Signed Applet and Bluetooth

Is it possible to establish a bluetooth connection with a signed applet?Try this: OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = "600" HEIGHT = "400" codebase="http://java.sun.com/products/plugin/1.3

Signing applets and a dialog box.

What's the procedure to follow when you want an applet to ask the user to grant access to file reading/writing and similar? I have signed the .jar, we have a nice .x509 certification at my company etc., but when I was following the tutorials it seeme

Accessing Signed Applet Method From Javascript

Hi All, In my intranet application i have to retrive the mac addres of the client using the applet. I have to capture the MAC Address and set it as a hidden value in the jsp page. I have used the signed applet and able to retrive the mac address of t

I am using 3.6.13 and ever since I have had a problem with opening a submenu within that site. A blank page always pops up. Please help.

I have used American Greetings website for a long time and also a capability within that site called Suggested Messages. Now it won't open and a blank page from Mozilla pops up. Ihad no problem like this before. Very frustrating.* "Clear the Cache&qu

I'm in a multi-page document, how can i rearrange the pages or insert blank pages in front of pages? Also, is there a way to show the ruler both horizontally and vertically?

I'm in a multi-page Pages document, how can i rearrange the pages or insert blank pages in front of pages? Also, is there a way to show the ruler both horizontally and vertically?Not on my document. I have a 7 page document open. The "flashing vertic

Self signed Applet - still getting Security Exception...

Hi everyone... I m new to Java Mail... Nd I m developing a Applet to send mail from my Gmail account, nd I used keytool, jarsigner to Self sign the applet. Nd I wrote a Html page and when calling my applet method using javascript, I m having Security

Cannot paste text from other application into a signed applet in JRE1.4.1

I have a signed applet. I just upgrade the JRE from 1.4.0 to JRE 1.4.1 (applet has been recompiled with JDK1.4.1). Then I tried to copy-paste text into a JTextArea from another application like Notepad. It doesn�t work. I can only copy-paste text fro

Signed applet problem: signer information does not match...

hi all, i am actually making a upload component using applets that would need to access the local file system for uploading files. I have created a signed applet(i have followed all the steps, such as those of creating a jar, creating a key/value pai

How to avoid blank page in last page?

Hi friends, I have one page layout in my RTF file for Invoice printing. But when submitting the concurrent from Apps, it is showing one page output and one blank page at the end of the output. How can i restrict the blank page.. Pl. help. Thanks Kavi

Batch Process to Remove Blank Pages

Hello! We are using Adobe Acrobat Pro 9 to scan in a bunch of double sided documents and OCR them to a specific folder.  Most of the documents are double sided, some arent.  What I would like to do is to leave the scanner on double sided to scan in a

Confused about signed applets

Hello! I've been reading the documentation on signing applets and I'm having trouble with a few concepts. I'm working on an internal project that involves an applet. This applet needs access to other hosts, therefore I need to sign it. Am I on the ri

My print setup will not work and Fire fox only prints blank pages. Help?

I tried to change the margins on my printer set up. Since I did this my printer will only print blank pages from Firefox. (If I open a PDF it prints fine) I have tried to go into print set up but it only comes up as a big black page. Any thoughts??So

I have install io6 and now Music doesn't work, sometimes it stay with a blank page with no possibility to press anithing, sometimes it crash. I have match music active with more than 15000 title. Someone could help me?

I have install io6 and now Music doesn't work, sometimes it stay with a blank page with no possibility to press anithing, sometimes it crash. I have match music active with more than 15000 title. Someone could help me?What is your current Flash Playe

Click on the icon and a white blank page comes on, the bottom says opening but nothing happens!

when ever i open firefox, nothing happens, just a white blank page comes on, on the bottom left, the default page is trying to open" i.e waiting for xxxxxxx to open, I tried re starting my computer "MAC" also quit Firefox and opened it but

Reader won't work- blank page and says "done"

I can't get reader to show any documents from websites.  It says downloading but then says done with a blank page.  I have windows xp and ie. I've uninstalled and reinstalled and rebooted a few times.  Everything from Adobe help pages seems ok.* "Cle