hi
i have problem running tomcat with security manager

in server.xml file

i have added context with hosts

like
<Host name="10.10.0.1" >
           <Context path=""
      docBase="c:\sites\host1"
      trusted="false"
             crossContext="false"
                    debug="0"
                    reloadable="true" />

        </Host>
<Host name="10.10.0.2" >
           <Context path=""
      docBase="c:\sites\host2"
      trusted="false"
             crossContext="false"
                    debug="0"
                    reloadable="true" />

        </Host>

my dobase is not in webapps of tomcat home

when i start tomcat with security mode

it will run fine  when requesting
http://localhost:8080/examples/
java.security.AccessControlException: access denied (java.io.FilePermission
C:\sites\host1\web-inf\classes read)
when requesting
http://10.10.0.1:8080/

i have add policy java.io.FilePermission  for reading for
c:\sites\host1\web-inf\-- url in tomcat.policy

still i get the same error
is there any other permission to grant ?????
please help me

thanks in advance

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to