Results 1 to 3 of 3
  1. #1

    Java/Tomcat on RaQ550

    Hi Could some one help me with this problem i have with java servlets/Tomcat.

    We get this error when tring to use java

    Error: 500
    Location: /servlet/ConnectionServlet
    Internal Servlet Error:

    java.security.AccessControlException: access denied (java.io.FilePermission /home/.sites/10/site95/web/WEB-INF/classes read)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
    at java.security.AccessController.checkPermission(AccessController.java:399)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.lang.SecurityManager.checkRead(SecurityManager.java:890)
    at java.io.File.isDirectory(File.java:564)
    at org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java:481)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
    at ConnectionServlet.init(ConnectionServlet.java:62)
    at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
    at org.apache.tomcat.core.Handler.init(Handler.java:215)
    at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
    at org.apache.tomcat.core.Handler.service(Handler.java:254)
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
    at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
    at java.lang.Thread.run(Thread.java:484)

    Please Help

    Pete

  2. #2
    Join Date
    Jun 2003
    Posts
    961
    access denied (java.io.FilePermission /home/.sites/10/site95/web/WEB-INF/classes read)
    what permissions does that dir have? world readable is needed i would guess

  3. #3
    Hi

    the directories at chmoded drwxrwsr-x 765

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •