 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Donald Miller Guest
|
Posted: Fri May 06, 2005 2:58 pm Post subject: Applet runs in JBuilder but not in browser |
|
|
OK, this is driving me nuts. I have an applet that uses web services. The
applet runs fine in JBuilder but does not run in the browser. I have tried
everything and have googled it and seen some issues with signing and the
files created in the manifest file. I tried the fixes of deleting those
files and even tried deploying the jars seperately but I still get the
security error. I am using JBuilder 2005. Here is the specific error.
java.lang.SecurityException: no manifiest section for signature file
entry...
Any help or hints would be greatly appreciated. TIA
Don Miller
|
|
| Back to top |
|
 |
Paul Nichols (TeamB) Guest
|
Posted: Fri May 06, 2005 8:42 pm Post subject: Re: Applet runs in JBuilder but not in browser |
|
|
"Donald Miller" <dolfandon (AT) hotmail (DOT) com> wrote
| Quote: | java.lang.SecurityException: no manifiest section for signature file
entry...
Any help or hints would be greatly appreciated. TIA
Don Miller
Java applets run in a sandbox, which limits their ability to run any |
services from any other place except at the server from which they
originate. If you are accessing any local client activities (OS, File
System, etc), or are trying to connect to another server, your applet must
be code signed.
For instructions on code signing applets, look here:
http://www.computer-logic.net/javafaq/CodeSignApplets.html
|
|
| Back to top |
|
 |
Donald Miller Guest
|
Posted: Tue May 24, 2005 1:48 pm Post subject: Re: Applet runs in JBuilder but not in browser |
|
|
I have written a small webservvice that resides in the same application that
the applet does. It is basically a pass through but gets around the issue of
going through the firewall. Unfortunately this did not fix my problem with
this. I am almost positive this is a packaging and signing issue. I realize
the axis jar file is signed and when I try to add it to my jar the
signatures don't match. THe problem is I have tried resigning the new jar,
deleting the sig files from the archive. Nothing seems to work. This used to
work, I have projects built in JBuilderX where I have included axis (yes you
have to delete the sig files). Is there a bug somwhere in JBuilder 2005 with
building the archive? Any other help or suggestions would be appreciated.
Don Miller
"Paul Nichols (TeamB)" <paul (AT) computer-logic (DOT) net> wrote
| Quote: |
"Donald Miller" <dolfandon (AT) hotmail (DOT) com> wrote in message
news:427b8604 (AT) newsgroups (DOT) borland.com...
java.lang.SecurityException: no manifiest section for signature file
entry...
Any help or hints would be greatly appreciated. TIA
Don Miller
Java applets run in a sandbox, which limits their ability to run any
services from any other place except at the server from which they
originate. If you are accessing any local client activities (OS, File
System, etc), or are trying to connect to another server, your applet must
be code signed.
For instructions on code signing applets, look here:
http://www.computer-logic.net/javafaq/CodeSignApplets.html
|
|
|
| Back to top |
|
 |
Lori M Olson [TeamB] Guest
|
Posted: Tue May 24, 2005 6:59 pm Post subject: Re: Applet runs in JBuilder but not in browser |
|
|
Donald Miller wrote:
| Quote: | I have written a small webservvice that resides in the same application that
the applet does. It is basically a pass through but gets around the issue of
going through the firewall. Unfortunately this did not fix my problem with
this. I am almost positive this is a packaging and signing issue. I realize
the axis jar file is signed and when I try to add it to my jar the
signatures don't match. THe problem is I have tried resigning the new jar,
deleting the sig files from the archive. Nothing seems to work. This used to
work, I have projects built in JBuilderX where I have included axis (yes you
have to delete the sig files). Is there a bug somwhere in JBuilder 2005 with
building the archive? Any other help or suggestions would be appreciated.
Don Miller
|
This is not about Applets, per se, but this article about signing stuff
for Java WebStart may offer new paths of investigation:
http://weblogs.java.net/blog/kirillcool/archive/2005/05/signing_jars_fo.html
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|