tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: HTTP Status 500 error
Date Thu, 27 Jul 2006 16:28:19 GMT
More specifically..

wrap your code in a try 
with a catch on PrivilegedActionException
http://java.sun.com/j2se/1.3/docs/api/java/security/AccessController.html

check out your $TOMCAT_HOME/conf/catalina.policy for correct grants

M-
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



----- Original Message ----- 
From: "Propes, Barry L" <barry.l.propes@citigroup.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, July 27, 2006 12:13 PM
Subject: RE: HTTP Status 500 error


I'd pay close attention to these:

       java.security.AccessController.doPrivileged(Native Method)
       javax.security.auth.Subject.doAsPrivileged(Subject.java:517)

and see what the doAsPriveleged methods are calling.

-----Original Message-----
From: OOzy Pal [mailto:oozypal@gmail.com]
Sent: Thursday, July 27, 2006 1:38 AM
To: Tomcat Users List
Subject: HTTP Status 500 error


Hello

When I run the program I am using, I get this error. What does it
mean. How can I interpret it?

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.catalina.security.SecurityUtil.execute(SecurityUtil.java:290)
       org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
       org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:114)
       org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
       org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
       org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
       org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
       org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
       org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
       java.lang.Thread.run(Thread.java:595)

root cause

java.lang.ExceptionInInitializerError
       org.w3c.css.servlet.CssValidator.init(CssValidator.java:109)
       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:272)
       org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
       org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:114)
       org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
       org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
       org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
       org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
       org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
       org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
       java.lang.Thread.run(Thread.java:595)

note The full stack trace of the root cause is available in the Apache
Tomcat/5.0 logs.
Apache Tomcat/5.0

-- 
OOzy
Kubuntu-Dapper

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


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

Mime
View raw message