Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Security Exception - com.sun.jersey.api.client.ClientHandlerException java.security.AccessControl

 
Ranch Hand
Posts: 136
Netbeans IDE MySQL Database Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
am getting a security exception when i run a servlet which access the third party API. Am using Google App engine as server. i had listed below the error log can any one help me to solve it
 
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
GAE does not support any and all Java libraries. Check Google's documentation whether you're running into a GAE-specific problem. As you've found out, there's also a security manager present which further limits what you can do (which there isn't generally if you use Tomcat to run your own web apps).
 
Sabarish Venkat
Ranch Hand
Posts: 136
Netbeans IDE MySQL Database Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank for your reply ulf, I had added a keytool file as it rises the security problem. With this help of code SSL CLIENT FOR JAVA am not getting the security error but when in the SSL CLIENT CODE i have to add a base url in the line this shows me 401 not authorized Exception
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!