David Smith 写道: > And how did you install tomcat (rpm package or .tar.gz dl from > tomcat.apache.org)? Did you set permissions on all the folders and files > so tomcat can read them? > > > --David
Hello again, I have disabled the security manager, then it works now. So i think it should be some permission missing in the catalina.policy. I am trying to find it know, if you know that, please let me know. Thanks Wang. > > Wang Penghui wrote: > >> Hello, Everyone, >> >> After install tomcat 5.5.20 in RHEL4, i have tested the jsp-examples >> which distributed with the tomcat package. >> >> The uri i have used is http://domainname:8080/jsp-examples. >> >> But there is two example features report errors. >> >> 1. <jsp:attribute> and <jsp:body> >> 2. Custom tag example >> >> HTTP Status 500 - >> -------------------------------------------------------------------------------- >> type Exception report >> message >> description The server encountered an internal error () that prevented >> it from fulfilling this request. >> exception >> javax.servlet.ServletException >> org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:843) >> org.apache.jasper.runtime.PageContextImpl.access$1100(PageContextImpl.java:65) >> org.apache.jasper.runtime.PageContextImpl$12.run(PageContextImpl.java:763) >> java.security.AccessController.doPrivileged(Native Method) >> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:761) >> org.apache.jsp.jsp2.jspattribute.jspattribute_jsp._jspService(jspattribute_jsp.java:70) >> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >> 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:275) >> org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161) >> >> root cause >> java.lang.NoClassDefFoundError >> org.apache.jasper.runtime.PageContextImpl.pushBody(PageContextImpl.java:707) >> org.apache.jasper.runtime.PageContextImpl.pushBody(PageContextImpl.java:697) >> org.apache.jsp.jsp2.jspattribute.jspattribute_jsp._jspService(jspattribute_jsp.java:51) >> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >> 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:275) >> org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161) >> >> note The full stack trace of the root cause is available in the Apache >> Tomcat/5.5.20 logs. >> >> >> So i think i must missing some class in the tomcat installation. Could >> someone pick me up? >> >> Thanks very much >> >> Wang Penghui >> >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]