wood burning stoves 2.0*
The moose likes Other Java Products and Servers and the fly likes Security Exception - com.sun.jersey.api.client.ClientHandlerException java.security.AccessControl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Security Exception - com.sun.jersey.api.client.ClientHandlerException java.security.AccessControl" Watch "Security Exception - com.sun.jersey.api.client.ClientHandlerException java.security.AccessControl" New topic
Author

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

Sabarish Venkat
Ranch Hand

Joined: Jan 18, 2012
Posts: 136

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
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41060
    
  43
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).


Ping & DNS - my free Android networking tools app
Sabarish Venkat
Ranch Hand

Joined: Jan 18, 2012
Posts: 136

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Security Exception - com.sun.jersey.api.client.ClientHandlerException java.security.AccessControl
 
Similar Threads
Problem with Ext - GWT and hibernate (without Spring)
GWT with database connection
database connection problem in gwt
Error starting Applikation in Eclipse Developer Mode
Error when calling EntityManager