Hi steve, Before starting the server, I used sudo -s to loggin as root. and then run the server and then access tomcat online(http://localhost:8080/) when i do ls -l /usr/local/tomcat/webapps/ROOT i get:
-rw-r--r-- 1 mohadesz mohadesz 5866 2007-07-19 22:20 asf-logo-wide.gif -rwx------ 1 mohadesz mohadesz 0 2008-10-01 18:34 betaNeighbours.js~ -rwx------ 1 mohadesz mohadesz 0 2008-10-01 18:34 Beta.xml~ -rw-r--r-- 1 mohadesz mohadesz 2625 2007-07-19 22:20 build.xml -rw-r--r-- 1 mohadesz mohadesz 21630 2007-07-19 22:20 favicon.ico -rwx------ 1 mohadesz mohadesz 0 2008-10-01 18:34 hecontact.html~ -rwx------ 1 mohadesz mohadesz 0 2008-10-01 18:34 helixNeighbours.js~ -rwx------ 1 mohadesz mohadesz 0 2008-10-01 18:34 hesearch.html~ -rwx------ 1 mohadesz mohadesz 9040 2008-12-19 17:54 index.html -rw-r--r-- 1 mohadesz mohadesz 7819 2007-07-19 22:20 index.jsp -rw-r--r-- 1 mohadesz mohadesz 6656 2007-07-19 22:20 RELEASE-NOTES.txt -rwx------ 1 mohadesz mohadesz 0 2008-10-01 18:34 showme.html~ -rwx------ 1 mohadesz mohadesz 0 2008-10-01 18:34 test1.html~ -rwx------ 1 mohadesz mohadesz 0 2008-10-01 18:34 test.html~ -rwx------ 1 mohadesz mohadesz 0 2008-10-01 18:34 test.js~ -rw-r--r-- 1 mohadesz mohadesz 1934 2007-07-19 22:20 tomcat.gif -rw-r--r-- 1 mohadesz mohadesz 2324 2007-07-19 22:20 tomcat-power.gif -rw-r--r-- 1 mohadesz mohadesz 65428 2007-07-19 22:20 tomcat.svg -rwx------ 1 mohadesz mohadesz 0 2008-10-01 18:34 turnNeighbours.js~ drwxr-xr-x 4 mohadesz mohadesz 4096 2008-12-22 18:48 WEB-INF -rw-r--r-- 1 mohadesz mohadesz 1213 2007-07-19 22:20 web.xml and when I try ls -l /usr/local/tomcat/webapps/ROOT/mms_test" I get error: ls: cannot access /usr/local/tomcat/webapps/ROOT/mms_test: No such file or directory. because mms_test is not in this directory is located at: /usr/local/tomcat/webapps/mms_test( as you have told me , I should do last time). Do I need to change the permission of some files, or is mms_test in the wrong directory? thank u again for all the help! On Tue, Dec 23, 2008 at 4:33 PM, Gregor Schneider <rc4...@googlemail.com>wrote: > > java.security.AccessControlContext.checkPermission(AccessControlContext.java:323) > > > This message is pretty obvious: > > Is it possible that you've started Tomcat as root incidently and now > try to run Tomcat as another user (such as "tomcat")? > > Looks as if there is at least one file where the rights are not set > correctly. > > What give "ls -l /usr/local/tomcat/webapps/ROOT" and "ls -l > /usr/local/tomcat/webapps/ROOT/mms_test" ? > > Gregor > -- > just because your paranoid, doesn't mean they're not after you... > gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 > gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >