tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric B." <ebe...@hotmail.com>
Subject Re: SEVERE: Parse error in default web.xml
Date Sat, 03 Oct 2009 23:03:16 GMT

"andre" <andrewarnier@gmail.com> wrote in message 
news:003c01ca43b9$0ef57ae0$2ce070a0$@com...
> hi all :
>
> I have install tomcat5.5 the create a new test page in
> /var/lib/tomcat/webapps/test/hello.jsp,
>
> But I can't see the page (http://localhost:8180/test/hello.jsp) , it's 
> show
> the msg as follows :
>
>
>
>
>
> HTTP Status 404 -
>
>
>
> type Status report
>
>
>
> message
>
>
>
> description The requested resource () is not available.
>
> Apache Tomcat/5.5
>
>
>
> I find some error in my tomcat log
>
>
>
>
>
> Oct 3, 2009 12:44:10 AM org.apache.catalina.startup.ContextConfig
> processDefaultWebConfig
>
> SEVERE: Parse error in default web.xml
>
> java.security.AccessControlException: access denied
> (java.lang.RuntimePermission 
> accessClassInPackage.org.apache.catalina.core)
>

Are your all your files readable by the process that is running tomcat?  For 
instance, if tomcat is running under user "tomcat", and your files are only 
readable by "andre", you will get errors like that.

For debugging purposes, first make sure that all files are world-readable, 
and once you get that working, you can start playing with file permissions 
to make sure things are properly secured.

Good luck,

Eric 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message