0 Replies Latest reply on Mar 20, 2008 9:28 AM by jmark.floranet

    Samples Error

    jmark.floranet
      Hi there,
      I'm getting trouble running the samples from flex Lcds. I'm gettin the following error:

      type Exception report

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      javax.servlet.ServletException: access denied (java.lang.RuntimePermission setContextClassLoader)
      flex.bootstrap.BootstrapServlet.init(BootstrapServlet.java:100)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:585)
      org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
      java.security.AccessController.doPrivileged(Native Method)
      javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
      org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
      org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
      org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:114)
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
      org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
      org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11P rotocol.java:705)
      org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
      org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      java.lang.Thread.run(Thread.java:595)

      root cause

      java.security.AccessControlException: access denied (java.lang.RuntimePermission setContextClassLoader)
      java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
      java.security.AccessController.checkPermission(AccessController.java:427)
      java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
      java.lang.Thread.setContextClassLoader(Thread.java:1306)
      flex.bootstrap.BootstrapServlet.init(BootstrapServlet.java:91)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:585)
      org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
      java.security.AccessController.doPrivileged(Native Method)
      javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
      org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
      org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
      org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:114)
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
      org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
      org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11P rotocol.java:705)
      org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
      org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      java.lang.Thread.run(Thread.java:595)

      I'm using Tomcat 5.5 with Apache on Ubuntu Dapper 6.06.

      Please can anyone point me how to resolve this issue?