• Post Reply Bookmark Topic Watch Topic
  • New Topic

Use Sun_micr.Rsa

 
M Mehta
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Before posting the question I admit that I havn't worked on Java security or Java mailing. So my question can be very basic.

I had to send a mail using java coding. I used, activation.jar, mail.jar and some others.. and built all the code I wrote into a jar. On running my jar I got exception

java.lang.SecurityException: no manifiest section for signature file entry com/sun/activation/viewers/ImageViewerCanvas.class

After doing some google serach I found a solution. I removed Sun_micr.Rsa and Sun_micr.sf files from activation.jar and repackaged it.

It started working. But I dont know the reason of it.

Can somebody explain why removing these two files made it work. What is the use of these files.

thanks,
me

 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Me Mehta wrote:


Please check your private messages for an important administrative matter
 
M Mehta
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can somebody please suggest answer to my query posted above.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check your private messages again.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check your PM for a reply.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!