aspose file tools*
The moose likes Applets and the fly likes Signed Applet Issue - Urgent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Signed Applet Issue - Urgent" Watch "Signed Applet Issue - Urgent" New topic
Author

Signed Applet Issue - Urgent

babu krishnan
Greenhorn

Joined: Jun 09, 2002
Posts: 25
Hi,
I have a signed applet. For that the applet needs JRE 1.3. I have IE ver 5.5.
When I request for the applet, In some machines the certificate window is popping up asking for "Grant permission to download the applet". But in some other machines same Certificate window is not coming up. I'm getting window prompting "Loading applet", that never comes up. Infact both of these machines have same IE Version. Have checked with the plugin also.
Please give me a solution
Nicholas Turner
Ranch Hand

Joined: May 24, 2003
Posts: 126
In the other applets does it load at all?
babu krishnan
Greenhorn

Joined: Jun 09, 2002
Posts: 25
In some machines, it is loading well and it does things properly. Only in few machines, it doesn't load neither it asks for the certification window. I have checked the settings in both of these browsers. Everything seems to be same
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
hi babu,
u can go to the Java Plug-in Control Panel to see the "Certificates" setting which will be used by the browser.
u can go to the Java Plug-in Control Panel and select "Certificates" tab. then you can see the radio button "Signed Applet" to see if the Plug-in accepts the Certificate for the Applet automatically. this assumes that u use , Sun Java Plug-in in the IE and not MSVM.
see what u get in that control panel and let us know ...
regards
maulin
babu krishnan
Greenhorn

Joined: Jun 09, 2002
Posts: 25
Hi Maulin,
I have checked that. As i said in some machines, where Applet is working, the certificate issuing authority name is coming up. But, In macines where applet is not loading,I cudn't see anything in the certificates tab.
Nicholas Turner
Ranch Hand

Joined: May 24, 2003
Posts: 126
I had the same problem. Typically its because of the jre if your using specific packages. I solved it by download the htmlconverter utility on suns website then ran it against all of the jsp pages that used my applet and it was solved.
babu krishnan
Greenhorn

Joined: Jun 09, 2002
Posts: 25
Hi Nicholas,
Can you please tell me the steps, I need to do now. Your advice would be very helpful.
Thanks
Nicholas Turner
Ranch Hand

Joined: May 24, 2003
Posts: 126
Well search for htmlconv.exe. it should be in your jre directory
check this link http://java.sun.com/products/plugin/1.3/docs/htmlconv_01.html
then run it and pick the jsp files that reference your applet. It looks for <APPLET> tags and converts the file
My applets would error out and took me a while to figure this one out. What it does is since the applet tag is deprecated in html not all computers accept it and the utility converts it to an object. It was coo from MicroSoft
try that and let us know if it works.
babu krishnan
Greenhorn

Joined: Jun 09, 2002
Posts: 25
Hi,
This we have tried out. The problem is not machine specific. It is with login specific. The same machine, under different login working in different way. Under one login, itz working fine. Under another login, it fails. Is there any login specific settintgs
Nicholas Turner
Ranch Hand

Joined: May 24, 2003
Posts: 126
Well I would inspect the user settings because it might require admin or other settings which wont enable the jre to install depending on how the administrator set up the permissions
babu krishnan
Greenhorn

Joined: Jun 09, 2002
Posts: 25
Hi,
The problem got solved. But still don't know the root cause. Have changed the profile folder name under "Documents & Settings" for the user who is having problems. And logged again, system created a new profile folder and Applet is working fine. Can you please tell me exactly what settings is the causing problem
Nicholas Turner
Ranch Hand

Joined: May 24, 2003
Posts: 126
did you check the event viewer?
Nicholas Turner
Ranch Hand

Joined: May 24, 2003
Posts: 126
If you can retrieve the users settings back it would be a good test and I would like to know also.
If auditing was set up you can view the event viewer for denials. I imaging and you might be able to recreate it by going to control panels->admin tools->policies and modifying the security policy
the admin probably or accidentally set the user up to not download applets or active x controls.
Ash Rai
Ranch Hand

Joined: Dec 15, 2000
Posts: 34
Hi,
I am facing a similar issue as babu did. For me the certificate pops up but the applet does not load...says can't find the applet class file. I am using a .cab file. If I check on Java Sun VM the applet pops up but the certificate doesn't and if the Uncheck Java Sun VM and check MVM then the certificate pops up but the applets doesn't Please help. It's very urgent.
Thanks.
babu krishnan
Greenhorn

Joined: Jun 09, 2002
Posts: 25
It is better to use jar file instead of cab file. But for this your browser should be IE 5 above. There is some setting in NTUSER.dat file. I couldn't figureout something reasonably from that. We just changed the profile name and relogged in. It was working fine.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Signed Applet Issue - Urgent
 
Similar Threads
Accepting a security certificate automatically during product installation?
Signed Applet problem on Windows 2000 Professional
Certificates trust accept window does not appear
"Java Applet Window" warning shows with signed applet when called from JavaScript
Signed Applet (CAB file )Problem on Windows 2000 Professional