Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Signed Applet Issue - Urgent

 
babu krishnan
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the other applets does it load at all?
 
babu krishnan
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
did you check the event viewer?
 
Nicholas Turner
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic