Hi Thangavel, Since your mail the engine classloader has been reworked and doesn't rely on the system classloader. You shouldn't get this exception anymore.
Best regards, Jerome -- Restlet ~ Founder and Technical Lead ~ http://www.restlet.org Noelios Technologies ~ http://www.noelios.com -----Message d'origine----- De : SelvaGold [mailto:[email protected]] Envoyé : mercredi 30 juin 2010 18:20 À : [email protected] Objet : Restlet + GAE Security Exception !! Hi !! Am creating the simple Restlet App with Spring running in GAE, i am accessing the another server and wanna get response from that server. I am using the below code try { Client client = new Client(Protocol.HTTP); Response response = client.get("http://staging.webservices.com"); log.info("The Status is ::: "+response.getStatus()); Representation representation = response.getEntity(); message = representation.getText(); System.out.println("The Message is ::: "+message); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } While running in GAE am facing the below exception , ======= java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:355) at java.security.AccessController.checkPermission(AccessController.java:567) at java.lang.SecurityManager.checkPermission(Unknown Source) at com.google.apphosting.runtime.security.CustomSecurityManager.checkPermission(CustomSecurityManager.java:45) at java.lang.ClassLoader.getSystemClassLoader(Unknown Source) at org.restlet.util.Engine.getInstance(Engine.java:141) at org.restlet.Restlet.<init>(Restlet.java:82) at org.restlet.Connector.<init>(Connector.java:83) at org.restlet.Client.<init>(Client.java:82) at org.restlet.Client.<init>(Client.java:101) at org.restlet.Client.<init>(Client.java:121) at com.adaptavant.restlet.webservice.RestletClientGAEServlet.handleRequest(RestletClientGAEServlet.java:32) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:824) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:769) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:613) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:525) at javax.servlet.http.HttpServlet.service(HttpServlet.java:693) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) at com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:97) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) ====== i am having the org.restlet.jar, org.restlet.ext.spring.jar and org.restlet.ext.servlet.jar for GAE Any Suggestion on this please help me on this issue.... ------------------- Thangavel -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/Restlet-GAE-Security-Exception-tp5237924p5237924.html Sent from the Restlet Discuss mailing list archive at Nabble.com. ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2627807 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2659723

